Power supply system and fault detection method and device thereof, medium and program product

By designing controllable switches, renewal dual pipes, control modules, and detection modules in the server power supply system, a comprehensive detection and fault switching of multi -road power supply supply have been achieved, which solves the difficulty of failure detection in existing technologies. System security and reliability.

CN119376516AInactive Publication Date: 2025-01-28INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411997306.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-01-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Multi-channel power supply fault detection in existing server power supply systems is difficult, and comprehensive detection cannot be achieved, which affects the normal operation of the server and leads to energy waste.

Method used

A power supply system is designed, including controllable switches and continuity diode that connects to the power supply of the N road, as well as the control module and the detection module, and through these components to achieve comprehensive detection and fault switching of multi -channel power supply.

Benefits of technology

A comprehensive detection of multi -road power failure in the server power supply system is achieved, ensuring that the control module can always detect the abnormal conditions of any one -way power supply, and improve the security and reliability of the server system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376516A_ABST
    Figure CN119376516A_ABST
Patent Text Reader

Abstract

The invention discloses a power supply system and a fault detection method and device thereof, a medium and a program product, and relates to the technical field of server power supply. The power supply system comprises a control module and N first controllable switches connected with N paths of power supplies in a one-to-one correspondence manner; n groups of power supplies, namely N paths of power supplies connected to the first controllable switch, are used for supplying power to the control module, when one power supply is abnormal, the control module can actively adjust and switch to the other path of power supply, and meanwhile, when the currently used power supply is abnormal, the power supply is switched to the other path of power supply. The control module can keep normal work through fly-wheel diodes of controllable switches corresponding to other paths of power supplies, so that the operation of power supply switching is realized; no matter which power supply is abnormal, the control module can effectively detect the abnormal condition, so that the control module can comprehensively detect all power supplies in the power supply system of the server, and the safety and the reliability of the whole server system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of server power supply, and in particular to a power supply system and a fault detection method, device, medium and program product thereof. Background Art

[0002] As one of the core components of data centers and enterprise IT infrastructure, the server motherboard is responsible for connecting and managing various hardware resources, including CPU (central processing unit), memory, hard disk, expansion slots, etc. Its stability and performance directly affect the operating efficiency and data security of the entire server system. As servers gradually develop in the direction of high density and high performance, higher requirements are placed on the server's power supply system. Power supply failure not only affects the normal operation of the server, but may also cause energy waste. At present, in order to meet the power supply needs of various devices in the server system, a multi-power supply system is set up, but this method increases the number of fault points in the power supply system and increases the difficulty of diagnosis.

[0003] It can be seen that how to ensure comprehensive detection of multi-power supply failures in the power supply system of the server is a problem that technical personnel in this field need to solve. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a power supply system and a fault detection method, device, medium, and program product thereof, which can solve the problem of comprehensively detecting multi-power supply faults in a server power supply system.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a power supply system, including: N first controllable switches connected one-to-one with the N power supplies, the first ends of the first controllable switches being connected to the corresponding power supplies; N is a positive integer greater than 1; N freewheeling diodes connected to the N first controllable switches in one-to-one correspondence, the freewheeling diodes being connected in parallel at both ends of the corresponding first controllable switches, and the anodes of the freewheeling diodes being connected to the first ends of the corresponding first controllable switches; A control module, wherein the input end is respectively connected to the first ends of N first controllable switches, the output end is respectively connected to the control ends of the N first controllable switches, and the power supply end is respectively connected to the second ends of the N first controllable switches, and is used to select one power supply as the current power supply and control the first controllable switch corresponding to the current power supply to be turned on; if the voltage state of the current power supply is abnormal, the first controllable switch corresponding to the current power supply is controlled to be turned off, and a power supply is reselected from other power supplies with normal voltage states as the new current power supply.

[0006] On the one hand, it also includes: N second controllable switches are connected one-to-one with the N first controllable switches, the control end of the second controllable switch is connected to the output end of the control module, the first end is grounded, and the second end is respectively connected to the first preset power supply and the control end of the corresponding first controllable switch, and is used for controlling the corresponding first controllable switch to be turned off based on the control shutdown of the control module when the voltage state of the corresponding power supply is abnormal.

[0007] On the one hand, it also includes: N voltage-dividing circuits are connected one-to-one with the N first controllable switches, wherein the first input end of the voltage-dividing circuit is respectively connected to the second end of the corresponding first controllable switch and the power supply end of the control module, the second input end is respectively connected to the first preset power supply and the second end of the corresponding second controllable switch, and the output end is connected to the control end of the corresponding first controllable switch.

[0008] On the one hand, the voltage divider circuit includes: A first voltage-dividing resistor, a first end of which is respectively connected to the second end of the first controllable switch and the power supply end of the control module; The second voltage-dividing resistor has a first end connected to the first preset power supply and the second end of the second controllable switch respectively, and a second end connected to the second end of the first voltage-dividing resistor and the control end of the first controllable switch respectively.

[0009] On the one hand, it also includes: N pull-down resistors are connected to the N second controllable switches in a one-to-one correspondence, wherein the first ends of the pull-down resistors are respectively connected to the output end of the control module and the control end of the corresponding second controllable switch, and the second ends are grounded.

[0010] On the one hand, it also includes: N detection modules are connected one-to-one with N power supplies, the input end of the detection module is connected to the corresponding power supply and connected to the first end of the corresponding first controllable switch, and the output end is connected to the input end of the control module, for detecting the voltage state of the corresponding power supply.

[0011] On the one hand, the detection module is a comparator, a first input terminal of the comparator is connected to a corresponding power supply, a second input terminal is connected to a preset voltage threshold, and an output terminal is connected to an input terminal of the control module, and is used to output a first level signal when the voltage of the corresponding power supply is less than the preset voltage threshold, and output a second level signal when the voltage of the corresponding power supply is greater than the preset voltage threshold, and the first level signal and the second level signal are opposite.

[0012] On the one hand, the detection module also includes: A grounding switch tube has a first end connected to the second preset power supply and the input end of the control module respectively, a second end connected to the ground, and a control end connected to the output end of the comparator, and is used to be turned on or off under the control of the comparator.

[0013] On the one hand, the detection module is also used to detect the current output by the corresponding power supply to the first end of the corresponding first controllable switch when the voltage state of the corresponding power supply is abnormal, and determine whether the abnormal cause of the corresponding power supply is overcurrent or circuit short circuit based on the current.

[0014] On the one hand, the detection module is also used to detect the temperature of the output end of the corresponding power supply when the voltage state of the corresponding power supply is abnormal, and determine whether the abnormal cause of the corresponding power supply is overtemperature based on the temperature.

[0015] To solve the above technical problems, an embodiment of the present invention further provides a fault detection method for a power supply system, which is applied to the power supply system as described above. The fault detection method for the power supply system includes: Detect the voltage status of N power supplies connected to the power supply system; the i-th power supply among the N power supplies is a default power supply; i is a positive integer, and i is less than N; If the voltage state of the i-th power supply is normal, the first controllable switch corresponding to the i-th power supply is controlled to be turned on, and the first controllable switches corresponding to the other power supplies except the i-th power supply are controlled to be turned off; If the voltage state of the i-th power supply is abnormal, the j-th power supply with a normal voltage state is determined as the current power supply, the first controllable switch corresponding to the j-th power supply is controlled to be turned on, and the first controllable switches corresponding to the other power supplies except the j-th power supply are controlled to be turned off; j is a positive integer, and j is not equal to i, and j is less than N.

[0016] On the one hand, it also includes: If the voltage state of the current power supply is abnormal, the current voltage state of the current power supply is recorded in the fault log.

[0017] To solve the above technical problems, an embodiment of the present invention further provides an electronic device, including: Memory for storing computer programs; A processor is used to execute a computer program to implement the steps of the aforementioned method for detecting a fault in a power supply system.

[0018] To solve the above technical problems, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the power supply system fault detection method as described above are implemented.

[0019] To solve the above technical problem, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned power supply system fault detection method when executed by a processor.

[0020] It can be seen from the above technical solution that the power supply system includes a control module and N first controllable switches connected to N power supplies in a one-to-one correspondence. The control module is powered by the N groups of power supplies connected by the first controllable switches. When a power supply is abnormal, the control module can actively adjust and switch to another power supply. At the same time, when the power supply currently in use is abnormal, the control module can maintain normal operation through the freewheeling diodes of the controllable switches corresponding to other power supplies to achieve the power switching operation. The beneficial effect of the present invention is that no matter which power supply is abnormal, the control module can effectively detect the abnormal situation, ensuring that the control module fully detects all power supplies in the power supply system of the server, and improving the safety and reliability of the entire server system. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 A schematic diagram of the structure of a power supply system provided by an embodiment of the present invention; Figure 2 A schematic diagram of the structure of a power supply system when there are two power supplies provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of a power supply circuit of a control module provided in an embodiment of the present invention; Figure 4 A schematic diagram of a detection module provided by an embodiment of the present invention; Figure 5 A schematic diagram of a flow chart of a fault detection method for a power supply system provided by an embodiment of the present invention; Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] The terms "including" and "having" in the specification of the present invention and the above-mentioned drawings, as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0026] Next, a power supply system provided by an embodiment of the present invention is described in detail. Figure 1 As shown, Figure 1 A schematic diagram of a power supply system provided in an embodiment of the present invention, V1 to VN represent N power supplies, and the power supply system includes: N first controllable switches 1 connected to N power supplies in one-to-one correspondence, and the first ends of the first controllable switches 1 are connected to the corresponding power supplies; N is a positive integer greater than 1; N freewheeling diodes connected to the N first controllable switches 1 in one-to-one correspondence, the freewheeling diodes being connected in parallel at both ends of the corresponding first controllable switches 1, and the anodes of the freewheeling diodes being connected to the first ends of the corresponding first controllable switches 1; The control module 2 has an input end connected to the first ends of the N first controllable switches 1, an output end connected to the control ends of the N first controllable switches 1, and a power supply end connected to the second ends of the N first controllable switches 1, and is used to select a power supply as the current power supply and control the first controllable switch 1 corresponding to the current power supply to be turned on. If the voltage state of the current power supply is abnormal, the first controllable switch 1 corresponding to the current power supply is controlled to be turned off, and a power supply is reselected from other power supplies with normal voltage states as the new current power supply.

[0027] It is understandable that if there is only one power supply to supply power to the control module 2, the control module 2 can only provide an effective power supply voltage to the control module 2 when the power supply is normal, so that the control module 2 can work normally and perform fault detection and other operations. In this case, the control module 2 cannot detect the fault of the power supply that powers itself. At the same time, considering that there are multiple power supply circuits in the power supply system of the current server, in order to realize the comprehensive detection of fault conditions of all power supply circuits by the control module 2, all power supplies in the power supply system are set to a structure that can provide control power. For any power supply, the output end of the power supply is connected to the first end of the first controllable switch 1, and the second end of the first controllable switch 1 is connected to the control module 2. When the power supply can output voltage normally, if the first controllable switch 1 is turned on, the power supply can supply power to the control module 2 through the turned-on first controllable switch 1; at the same time, a freewheeling diode is also arranged in parallel at both ends of the first controllable switch 1. If the first controllable switch 1 is turned on, the forward voltage of the freewheeling diode will not be higher than the threshold voltage of the diode conduction, and the current directly supplies power to the control module 2 through the turned-on first controllable switch 1; if the first controllable switch 1 is turned off, under the action of the power supply voltage output by the power supply, the forward voltage of the freewheeling diode will be higher than the threshold voltage of the diode conduction, and the freewheeling diode will be turned on to output a certain power supply voltage to the control module 2, which can also supply power to the control module 2 to ensure the normal operation of the control module 2.

[0028] Furthermore, in this topology where multiple power supplies can support power supply, the control module 2 can always maintain normal operation as long as there is a normal power supply output. When the server is just started, one power supply can be arbitrarily selected as the initial current power supply. The first controllable switch 1 corresponding to the initial current power supply is turned on by the control module 2 to supply power to the control module 2. In the subsequent working process, if the voltage state of the initial current power supply is abnormal, it means that the power supply corresponding to the initial current power supply is faulty. The control module 2 can detect the fault of the initial current power supply through the input end connected to the first end of the first controllable switch 1, and execute the operation of turning off the first controllable switch 1 corresponding to the initial current power supply, and reselect a power supply as the new current power supply, and repeat the operation of turning on the first controllable switch 1 corresponding to the current power supply. That is, if the controllable switch 1 is turned on, the control module 2 will be turned off. If the current power supply supplied by the control module 2 fails, the control module 2 can switch the failed current power supply to another normal power supply by controlling the turning off and on of the corresponding first controllable switch 1. During the switching process, the control module 2 can maintain normal operation under the power supply of the freewheeling diodes in other power supplies except the initial current power supply. After the switching is completed, the control module 2 can operate normally under the power supply of the normal current power supply through the turned-on first controllable switch 1. Therefore, as long as any one of the multiple power supplies is normal, the control module 2 can maintain normal operation under its action and realize effective detection of the fault conditions of the power supplies with abnormal voltage states of other power supplies.

[0029] It is not difficult to understand that, generally, when designing the power supply system, one of the multiple power supplies will be pre-designated as the default power supply. When the server is powered on, the default power supply will be directly used as the initial current power supply to perform the initial power supply process on the control module 2. The priority of each power supply can also be pre-set. When the control module 2 needs to switch the power supply, the power supply with a higher priority will be switched first. If the power supplies with higher priorities all fail, the power supply with a lower priority will be considered as the current power supply for the control module 2. The present application does not make any special limitation on the implementation methods such as the specific power switching logic of the control module 2. For example, the N power supplies can be numbered in sequence as the first power supply, the second power supply, and so on to the Nth power supply, and the first power supply is set as the default power supply to preferentially power the control module 2. When the first power supply fails, the control module 2 determines in sequence whether the second power supply is normal. If the second power supply is normal, the first controllable switch 1 of the first power supply is controlled to be turned off, and the first controllable switch 1 of the second power supply is turned on, and the second power supply is switched to power the control module 2. If the second power supply fails, the third power supply is determined to be normal in sequence until it is determined that a certain power supply is normal, and then the power supply is switched.

[0030] It can be understood that the normality of the power supply refers to the normal voltage state of the output voltage of the power supply, that is, the power supply can normally output its own rated power supply voltage; the abnormality or failure of the power supply refers to the abnormal voltage state of the output voltage of the power supply, including the situation that the power supply cannot output voltage and the voltage output of the power supply is too low. The voltage output of the power supply is too low, which means that the output voltage of the power supply cannot reach its own rated power supply voltage. For the normality or abnormality of each power supply, the control module 2 can realize detection by connecting itself to the input end of the first end of each first controllable switch 1. The specific implementation method of how the control module 2 determines whether each power supply is abnormal or not is not specifically limited in this application. The number of power supplies specifically set in each power supply and the power supply system is not specifically limited in this application.

[0031] It should be noted that the power supply in the power supply system not only needs to supply power to the control module 2, but also needs to supply power to other functional modules or devices. For example, when the power supply system is a power supply system for a server, multiple power supplies also need to supply power to loads such as the CPU (Central Processing Unit), DIMM (Dual-Inline-Memory-Modules) memory, hard disk, fan, and intelligent network card in the server, as well as various working devices that need power supply in the server. Considering the different power supply requirements of various loads and various types of equipment in the server, a VRM (Voltage regulator module) is also set in the power supply system to perform voltage conversion. The output end of each power supply can be connected to the input end of the VRM, and the VRM is used to convert the power supply to other voltages to meet the power supply requirements of different loads and devices. For example, when a certain power supply is a 12V power supply, the VRM can convert it into voltages of 3.3V, 1.8V, 1.2V, and 1V, etc., for the normal operation of various loads and devices. This application does not specifically limit the specific types and implementation methods of the devices and loads that need power supply in the server, and can be set and adjusted according to actual application conditions.

[0032] It is not difficult to understand that the present application does not make any special restrictions on the specific types and implementation methods of the first controllable switch 1, the freewheeling diode and the control module 2 in the power supply system. The first controllable switch 1 can be implemented by switching devices such as MOS tubes (Metal-Oxide-Semiconductor Field-Effect Transistor), IGBT (Insulate-Gate Bipolar Transistor), etc. The freewheeling diode can be directly implemented by an ordinary diode. The control module 2 can be directly implemented by reusing the controller in the target device of the power supply system. For example, if the power supply system is a server power supply system, the control module 2 can be implemented by a CPLD (Complex Programmable Logic Device) in the server, or by a combination of a CPLD and a BMC (Baseboard Management Controller) in the server.

[0033] As a specific embodiment, see Figure 2 As shown, Figure 2 A schematic diagram of a power supply system when two power supplies are provided in an embodiment of the present invention; see Figure 3 As shown, Figure 3A schematic diagram of a power supply circuit of a control module provided in an embodiment of the present invention; there are two power supplies VOUT1 and VOUT2 in the power supply system to power the entire server, and the 12V power supply P12V-VIN is converted into P12V_STBY_1 and P12V_STBY_2 respectively, P12V_STBY_1 and P12V_STBY_2 are used as two power supplies for power supply, and both power supplies are 12V STBY power, STBY represents Standby power, which is mainly used for the standby state of the control circuit. Control module 2 is implemented by CPLD of the server, and in order to facilitate control module 2 to detect the fault of the two power supplies, EFUSE (electronic fuse) is respectively set in series at the output end of the two power supplies to help control module 2 detect the two power supplies, P12V_VIN is converted into P12V_STBY_1 by EFUSE_1, and P12V_VIN is converted into P12V_STBY_2 by EFUSE_2. The two power supplies P12V_STBY_1 and P12V_STBY_2 respectively supply power to the CPU, memory, hard disk, fan, smart network card and other loads on the server motherboard. At the same time, the two power supplies are controlled to output P12V_STBY to supply power to the control module 2. By setting EFUSE in series in the power supply circuit of the two power supplies, the power supply circuit can be protected. When abnormal conditions such as overcurrent, overvoltage, overheating, etc. occur in the power supply circuit, EFUSE will trigger the protection mechanism and cut off the power supply circuit to protect the back-end load and other equipment from damage. At the same time, the PG (Power Good) signal of EFUSE can help the control module 2 to detect the status of the two power supplies. A P-MOS tube Q1 is provided in the first power supply as the first controllable switch 1, resistors R1 and R2 are provided to form a voltage divider circuit, an N-MOS tube Q3 is provided as the second controllable switch, and a resistor R11 is provided as a pull-down resistor. A P-MOS tube Q2 is provided in the second power supply as the first controllable switch 1, resistors R3 and R4 are provided to form a voltage divider circuit, an N-MOS tube Q4 is provided as the second controllable switch, and a resistor R12 is provided as a pull-down resistor.The D pole of the P-MOS tube Q1 is connected to P12V_STBY_1, the S pole is connected to P12V_STBY, and the G pole is connected to the connection between the resistor R1 and the resistor R2; the D pole of the P-MOS tube Q2 is connected to P12V_STBY_2, the S pole is connected to P12V_STBY, and the G pole is connected to the connection between the resistor R3 and the resistor R4; the D pole of the N-MOS tube Q3 is connected to P12V_STBY and the resistor R2, the S pole is connected to GND (ground), and the G pole is connected to the GPIO pin of the CPLD; the D pole of the N-MOS tube Q4 is connected to P12V_STBY and the resistor R4, the S pole is connected to GND, and the G pole is connected to the GPIO pin of the CPLD; the CPLD outputs a level signal through the GPIO pin to control the action of the second controllable switch, thereby realizing the control of whether the first controllable switch 1 and the corresponding power supply circuit are turned on or off. The PWRGD signals (PG signals for short) of EFUSE_1 and EFUSE_2 are connected to the pins of CPLD, and cooperate with CPLD to monitor the status of the two power supply circuits. Resistors R11 and R12 are pull-down resistors, which can ensure that the CTRL_1 and CTRL_2 signals are in a certain low-level state before the CPLD does not work normally; in the default state, all first controllable switches 1 and second controllable switches are turned off. Resistors R1 and R2 are a group of voltage-dividing resistors, which are matched with N-MOS tube Q3 to control the conduction of P-MOS tube Q1; resistors R3 and R4 are a group of voltage-dividing resistors, which are matched with N-MOS tube Q4 to control the conduction of P-MOS tube Q2.

[0034] like Figure 3 As shown, P12V_STBY is converted into the power supply P3V3_STBY, P1V8_STBY, P1V2_STBY and P1V0_STBY etc. required by CPLD through VRM. The power converted from P12V_STBY will only supply power to CPLD to ensure the normal operation of control module 2. Considering that BMC will be needed to identify and detect the specific fault type of the power supply later, this power supply can also supply power to BMC at the same time. For other loads in the server motherboard, such as CPU, DIMM, hard disk, fan and network card except control module 2, P12V_STBY_1 and P12V_STBY_2 are needed to supply power to them. VRM can also be set to perform voltage conversion on P12V_STBY_1 and P12V_STBY_2 to meet the different power supply requirements of other loads.

[0035] Next, the working process of the entire power supply system is described by taking the two power supplies set in the server as an example. When the server is just powered on, that is, when the server is powered on for the first time, before the CPLD works normally, P12V_STBY_1 and P12V_STBY_2 provide P12V_STBY through the freewheeling diodes of P-MOS tubes Q1 and P-MOS tubes Q2, and then P12V_STBY converts the power supply voltage of BMC and CPLD through VRM, and the CPLD works normally at this time; before the CPLD works normally, the G poles of N-MOS tubes Q3 and N-MOS tubes Q4 are grounded through pull-down resistors R11 and R12, maintaining a low level, and N-MOS tubes Q3 and N-MOS tubes Q4 are not turned on. At this time, due to the freewheeling diodes of P-MOS tubes Q1 and P-MOS tubes Q2, the G poles and S poles of P-MOS tubes Q1 and P-MOS tubes Q2 are at the same level, and P-MOS tubes Q1 and P-MOS tubes Q2 are not turned on. After the CPLD works normally, CTRL_1 is controlled to be high level, and CTRL_2 is synchronously controlled to be low level, so that the N-MOS tube Q3 is turned on, and the N-MOS tube Q4 is still turned off. At this time, the resistor R2 is grounded through the turned-on N-MOS tube Q3, and the level of CTRL3 is the voltage-divided level of P12V_STBY through the resistor R1 and the resistor R2. At this time, the P-MOS tube Q1 can be fully turned on, and the P-MOS tube Q2 is still in the off state. At this time, the voltage source of the CPLD comes from P12V_STBY_1. If the voltage state of P12V_STBY_1 is abnormal, the power supply of CPLD can still maintain the normal operation of CPLD through the freewheeling diode of P-MOS tube Q2. When CPLD detects that the PWRGD level corresponding to P12V_STBY_1 becomes low, it will synchronously control CTRL_1 to a low level and CTRL_2 to a high level, so that P-MOS tube Q2 is fully turned on and P-MOS tube Q1 is turned off. At this time, the voltage source of CPLD comes from P12V_STBY_2. Thus, the process of switching the abnormal first power supply to the normal second power supply is realized.

[0036] It should be noted that, while the present invention uses the freewheeling diode of the first controllable switch 1 for freewheeling, it is considered that the current of the PMOS tube flows from the D pole to the S pole, so there will be no leakage from P12V_STBY to P12V_STBY_1 and P12V_STBY_2; the freewheeling diode is used to avoid the current backflow at the same time. By matching the P-MOS tube as the first controllable switch 1 and the N-MOS tube as the second controllable switch, the switching of the power supply voltage source of the input CPLD can be realized, ensuring that after a failure occurs in one of P12V_STBY_1 and P12V_STBY_2, the CPLD can actively adjust and switch to another power supply, ensuring that the CPLD and BMC can always maintain normal operation, realizing the simultaneous monitoring of the abnormal voltage state of all power supplies, and at the same time, the abnormal voltage state that occurs can also be recorded in the log and operation and maintenance system. A new power supply fault diagnosis implementation method is creatively proposed to ensure that the power supply fault of the mainboard can be successfully recorded and diagnosed by the control module 2, and the specific fault type can be further recorded in detail.

[0037] The present invention provides a power supply system. Based on the power supply architecture of multiple power supplies adopted by the mainboard of the current server, a novel power supply fault diagnosis implementation method is proposed. The multiple power supplies are used to realize reliable, effective and stable power supply to the control module 2, so as to ensure that the control module 2 can always receive the effective power supply voltage and maintain the normal working state. When the power supply for the control module 2 is abnormal, the control module 2 is not powered, and the fault in the power supply system cannot be detected and recorded by the control module 2, so as to ensure that the power supply fault of the mainboard of the server can be successfully recorded and diagnosed. By designing and studying the power supply fault diagnosis technology, these hidden fault points can be discovered and repaired in time, so as to ensure the stability of the entire server system and the data security, effectively improve the energy efficiency ratio, and control the operation cost.

[0038] On the one hand, it also includes: N second controllable switches are connected one-to-one with the N first controllable switches 1, and the control end of the second controllable switch is connected to the output end of the control module 2, the first end is grounded, and the second end is respectively connected to the first preset power supply and the control end of the corresponding first controllable switch 1, and is used for controlling the corresponding first controllable switch 1 to be turned off based on the control shutdown of the control module 2 when the voltage state of the corresponding power supply is abnormal.

[0039] It is not difficult to understand that in order to ensure the accuracy and reliability of the control module 2 over the first controllable switch 1, a second controllable switch corresponding to the control end of the first controllable switch 1 is further provided in the circuit, the control end of the second controllable switch is directly connected to the output end of the control module 2, and the second end is connected to the control end of the first controllable switch 1, so that the first controllable switch 1 can be turned on as the second controllable switch is turned on. The specific type and implementation method of the second controllable switch are not particularly limited in this application, and can be implemented using MOS tubes, IGBTs and other switching devices, such as Figure 2 As shown, a PMOS tube can be used to implement this.

[0040] Specifically, a two-stage control circuit consisting of a first controllable switch 1 and a second controllable switch can be used to implement control of the first controllable switch 1 by the control module 2. This structure can effectively reduce switching losses and electromagnetic interference, improve the response speed of the first controllable switch 1, further protect the safety of the first controllable switch 1, reduce the power consumption generated by the control process, and ensure the reliability and safety of the control module 2's switching control of each power supply.

[0041] On the one hand, it also includes: N voltage-dividing circuits are connected one-to-one with the N first controllable switches 1, the first input end of the voltage-dividing circuit is respectively connected to the second end of the corresponding first controllable switch 1 and the power supply end of the control module 2, the second input end is respectively connected to the first preset power supply and the second end of the corresponding second controllable switch, and the output end is connected to the control end of the corresponding first controllable switch 1.

[0042] It is understandable that in order to further improve the safety and reliability of the process in which the control module 2 controls the action of the first controllable switch 1 through the second controllable switch, a voltage divider circuit can be further provided at the control end of the first controllable switch 1. The voltage divider circuit can provide an accurate output voltage to the first controllable switch 1, thereby improving the accuracy and reliability of the action of the first controllable switch 1. The voltage divider circuit can further protect the control end of the first controllable switch 1, thereby preventing the control end of the first controllable switch 1 from breaking down under abnormally high voltage conditions, and further reducing the switching loss during the action of the first controllable switch 1. The specific type and implementation method of the voltage divider circuit and the first preset power supply are not particularly limited in this application. The first preset power supply is preferably implemented directly using the power supply voltage output to the power supply end of the control module 2, which can further save costs and simplify control. Figure 2 As shown, the first preset power supply is directly implemented by P12V_STBY which supplies power to the control module 2 .

[0043] Specifically, the accuracy and reliability of the operation of the first controllable switch 1 can be further improved by adding a voltage divider circuit at the control end of the first controllable switch 1. The voltage divider circuit can also play a role in protecting the circuit, avoiding safety problems such as damage to the first controllable switch 1, and improving the safety and reliability of the entire control process and the entire power supply system.

[0044] On the one hand, the voltage divider circuit includes: A first voltage-dividing resistor, a first end of which is respectively connected to the second end of the first controllable switch 1 and the power supply end of the control module 2; The second voltage-dividing resistor has a first end connected to the first preset power supply and the second end of the second controllable switch respectively, and a second end connected to the second end of the first voltage-dividing resistor and the control end of the first controllable switch 1 respectively.

[0045] It is not difficult to understand that the voltage divider circuit can be implemented by two resistors connected in series. The first voltage divider resistor and the second voltage divider resistor are connected in series and are respectively connected to the second end of the second controllable switch and the power supply end of the control module 2. After the power supply voltage for the control module 2 is divided, the divided voltage is used to control the first controllable switch 1. The specific type and implementation method of the first voltage divider resistor and the second voltage divider resistor are not particularly limited in this application. Figure 2 As shown, in the first power supply, resistor R1 is used as the first voltage-dividing resistor, and resistor R2 is used as the second voltage-dividing resistor. In the second power supply, resistor R3 is used as the first voltage-dividing resistor, and resistor R4 is used as the second voltage-dividing resistor.

[0046] Specifically, the voltage divider circuit can be directly implemented by using the first voltage divider resistor and the second voltage divider resistor connected in series. The structure is simple and easy to implement. The components used are low-cost, small in size, and low in power consumption, which is conducive to the simple implementation of the entire power supply system.

[0047] On the one hand, it also includes: N pull-down resistors are connected to the N second controllable switches in a one-to-one correspondence, wherein the first ends of the pull-down resistors are respectively connected to the output end of the control module 2 and the control end of the corresponding second controllable switch, and the second ends are grounded.

[0048] It is understandable that, considering that when the target power supply device is not powered on, the power supply system does not need to provide voltage to the control module 2, at this time, the first controllable switch 1 corresponding to all power supplies can always remain in the off state, that is, by default, when the control module 2 does not output a control signal, the first controllable switch 1 and the second controllable switch can remain off. Therefore, a pull-down resistor connected to the control end of the second controllable switch can be added to the power supply system. The pull-down resistor can keep the control end of the second controllable switch in a low-level state when the control module 2 does not output a control signal, thereby keeping all the first controllable switches 1 and the second controllable switches in the default state turned off. The specific type and implementation method of the pull-down resistor are not particularly limited in this application. In actual applications, a pull-up resistor connected to a preset power supply can also be selected to realize the shutdown of all the first controllable switches 1 and the second controllable switches in the default state. This embodiment is a specific implementation method using low-level control to keep the first controllable switch 1 and the second controllable switch turned off as an example.

[0049] Specifically, by setting a pull-down resistor, all first controllable switches 1 and second controllable switches can be effectively kept off in the default state, thereby avoiding abnormal power supply when the power supply system is not working. The structure is simple and easy to implement. The components used are low-cost and small in size, which is conducive to the simple implementation of the entire power supply system.

[0050] On the one hand, it also includes: N detection modules are connected one-to-one with N power supplies, the input end of the detection module is connected to the corresponding power supply and connected to the first end of the corresponding first controllable switch 1, and the output end is connected to the input end of the control module 2, for detecting the voltage state of the corresponding power supply.

[0051] It is not difficult to understand that, considering that the control module 2 needs to detect the voltage status of the output voltage of each power supply in real time, in order to facilitate the detection of the control module 2, a detection module connected to each power supply in a one-to-one correspondence can be added to achieve more accurate and reliable detection of each corresponding power supply. The detection module can directly detect the voltage status of the corresponding power supply, and directly output a high-level signal or a low-level signal to the control module 2 to inform whether the corresponding power supply is abnormal. The specific type and implementation method of the detection module are not particularly limited in this application. There are also many options for the specific implementation method of how the detection module detects whether the power supply is abnormal, such as Figure 2As shown, the detection module can be directly implemented by using an EFUSE connected in series in the corresponding power supply circuit. The EFUSE can not only protect the power supply circuit, but also detect the voltage state of the power supply by using the PG signal of the EFUSE. The PG signal of the EFUSE can indicate whether the output voltage of the power supply is within the specified range, thereby ensuring that the PG signal of the EFUSE works normally and can provide a stable power supply for the downstream equipment. When the output voltage of the power supply corresponding to the power supply circuit where the EFUSE is located is within the normal range, the PG signal is high, indicating that the power supply is working normally; when the output voltage exceeds the normal range, the PG signal will become low, indicating that there is a problem with the power supply, which may be a situation where the output voltage is too high or too low. Therefore, the control module 2 can directly determine whether there is an abnormality in each power supply according to the level signal received by itself.

[0052] Specifically, by setting up a detection module to detect the corresponding power supplies, the control module 2 itself does not need to have functions such as voltage detection. It only needs to receive the detection result of the detection module to realize the detection of the power supply, thereby reducing the equipment requirements for the control module 2, improving the flexibility of the entire power supply system, and expanding the scope of application of the entire power supply system.

[0053] On the one hand, the detection module is a comparator, a first input terminal of the comparator is connected to the corresponding power supply, a second input terminal is connected to a preset voltage threshold, and an output terminal is connected to the input terminal of the control module 2, and is used to output a first level signal when the voltage of the corresponding power supply is less than the preset voltage threshold, and output a second level signal when the voltage of the corresponding power supply is greater than the preset voltage threshold, and the first level signal and the second level signal are opposite.

[0054] It is understandable that the detection module can use a comparator to detect whether the voltage state of the power supply is normal or not. The second input terminal of the comparator is pre-connected to a preset voltage threshold corresponding to the normal voltage state of the power supply, and then the comparator compares the output voltage of the power supply connected in real time with the preset voltage threshold, thereby determining whether the voltage state of the current power supply is normal. The specific type and implementation method of the comparator are not particularly limited in this application. Taking the high level indicating normal voltage as an example, when the first level signal is high and the second level signal is low, the comparator can realize the judgment of whether the output voltage of the power supply is overvoltage, and when the first level signal is low and the second level signal is high, the comparator can realize the judgment of whether the output voltage of the power supply is undervoltage. In practical applications, the comparator and the first level signal and the second level signal can be set according to the specific working conditions of the power supply, and two comparators can also be set at the same time to judge the overvoltage and undervoltage of the output voltage of the power supply respectively.

[0055] Specifically, the detection module can directly use a comparator to detect the voltage state of the corresponding power supply, which is simple, effective and easy to implement. The level signal directly output by the comparator also facilitates direct reception and identification by the control module 2, which is conducive to the simple implementation of the entire power supply system.

[0056] On the one hand, the detection module also includes: The grounding switch tube has a first end connected to the second preset power supply and the input end of the control module 2 respectively, a second end connected to the ground, and a control end connected to the output end of the comparator, and is used to turn on or off under the control of the comparator.

[0057] It is not difficult to understand that in order to ensure the accuracy and reliability of the level signal output by the comparator, a grounding switch tube can be added to the output end of the comparator. One end of the grounding switch tube is grounded, and the control end is connected to the output end of the comparator. It can be turned on or off under the action of the level signal output by the comparator. When it is turned on, the output end of the comparator can be pulled down to the ground to ensure that the signal output by the detection module to the control module 2 is a stable and reliable low-level signal; when it is turned off, the output end of the comparator can be pulled up to the second preset power supply to ensure that the signal output by the detection module to the control module 2 is a stable and reliable high-level signal. The specific type and implementation method of the grounding switch tube are not specifically limited in this application, and the specific value and implementation method of the second preset power supply are not specifically limited in this application. For example, when the PG signal of EFUSE is realized through the OD (open drain) output pin of the grounding switch tube, it is confirmed by the external pull-up level. When the server is just turned on, when EFUSE is not turned on or after EFUSE triggers protection, the output voltage of EFUSE is lower than the fixed threshold, indicating that the output voltage is not established. At this time, the internal control logic controls the grounding switch tube of the internal OD to be turned on to the ground, which is in the grounding state. At this time, the PG signal is grounded and is low level, and the CPLD will receive a low level signal. After the internal control logic detects that the output voltage of EFUSE reaches and exceeds the fixed threshold, the grounding switch tube of OD will be turned off and not turned on to the ground. At this time, the PG signal is determined by the external pull-up signal and can give a high level to the CPLD, indicating that the voltage is normal.

[0058] Specifically, the accuracy and reliability of the level signal finally output to the control module 2 can be improved by adding a grounding switch tube and utilizing the open-drain output structure of the grounding switch tube, and the low-level signal and the high-level signal can be realized respectively by utilizing the ground pull-down and the pull-up of the second preset power supply, thereby ensuring the accuracy and reliability of the detection results of the voltage status of each power supply.

[0059] See also Figure 4 As shown, Figure 4A schematic diagram of a detection module provided in an embodiment of the present invention; on the one hand, the detection module is also used to detect the current output by the corresponding power supply to the first end of the corresponding first controllable switch 1 when the voltage state of the corresponding power supply is abnormal, and determine whether the abnormal cause of the corresponding power supply is overcurrent or circuit short circuit based on the current.

[0060] It is understandable that, considering that the control module 2 can detect voltage anomalies and power drops in a certain power supply through the detection module, it is still unable to specifically determine what kind of fault has caused the voltage anomaly of the power supply, which is not conducive to the subsequent troubleshooting of the operator and the normal operation of the entire power supply system. Therefore, the detection module can further identify and determine the cause of the power supply failure. The causes of voltage anomalies of the power supply include overcurrent, undercurrent, short circuit, overtemperature, overvoltage, undervoltage, open circuit, etc. For overcurrent, undercurrent and short circuit, which are caused by current, the current output by the power supply can be further determined by the detection module. For overvoltage, undervoltage and open circuit, which are caused by voltage, they can be effectively identified when the detection module detects whether the voltage state is abnormal, without further detection. The specific implementation method of how the detection module detects current is not particularly limited in this application.

[0061] Specifically, by further setting up a current detection process in the detection module, it is possible to effectively identify the corresponding current situation when there is an abnormality in the output voltage of the power supply, and further determine whether there is an abnormality in the output current of the power supply, thereby judging whether the failure of the power supply is caused by overcurrent or short circuit.

[0062] On the one hand, the detection module is also used to detect the temperature of the output end of the corresponding power supply when the voltage state of the corresponding power supply is abnormal, and determine whether the abnormal cause of the corresponding power supply is overtemperature based on the temperature.

[0063] It is not difficult to understand that for a fault such as overtemperature caused by temperature, the temperature of the output end of the power supply can be further judged by the detection module to further determine whether the working temperature of the power supply is abnormal, thereby judging whether the fault of the power supply is caused by temperature overtemperature and other reasons. The present application does not make any special restrictions on the specific implementation of how the detection module detects the temperature, and the temperature sampling point is not limited to the output end of the power supply provided in this embodiment. Multiple sampling points can be set to achieve comprehensive detection of the temperature of the entire power supply circuit.

[0064] As a specific embodiment, when the detection module is implemented by EFUSE, the FAULTTYPE pin (fault type pin) of EFUSE can be connected to the ADC pin of BMC, and the voltage state of FAULT TYPE pin can be detected in real time by BMC. At the same time, different voltage threshold ranges are set for BMC to represent different error types. The specific cause of the EFUSE fault is pointed out by different voltage threshold ranges, so that the diagnosis and identification of the detailed fault type of the power supply can be realized through the cooperation of EFUSE+ADC+BMC. In the operation of the electronic fuse, when abnormal conditions such as overcurrent, overvoltage, overheating, etc. occur, EFUSE will trigger the protection mechanism and cut off the circuit to protect the downstream equipment from damage. At the same time, the FAULT TYPE pin can provide information about the fault type to the external circuit so that the server system can take corresponding measures, such as recording the fault, notifying the user, or executing the fault recovery program.

[0065] Furthermore, the internal logic of the Fault TYPE pin is that the EFUSE chip is provided with several comparators corresponding to several fault types, and one of the input terminals of each comparator is provided with the corresponding thresholds of various faults, including current thresholds and temperature thresholds. Once a fault signal exceeds the threshold set by the corresponding comparator, the comparator chip will detect that the power supply circuit corresponding to the power supply has failed. At the same time, a voltage output module is placed inside the EFUSE. The voltage output module has several reference output voltages, and each reference output voltage corresponds to each comparator. When a comparator detects that the corresponding fault signal exceeds the set threshold, the voltage output module will output a reference output voltage corresponding to the comparator. For example, the voltage output module includes a plurality of voltage-dividing resistors corresponding to a plurality of comparators one by one, and a switch device connected in parallel corresponding to a plurality of voltage-dividing resistors one by one. The voltage-dividing resistors and the switch device connected in parallel serve as a voltage-dividing module. The plurality of voltage-dividing modules are connected in series. The control end of the switch device in the voltage-dividing module is connected to the output end of the corresponding comparator. The first end of the circuit after all the voltage-dividing modules are connected in series is grounded through a fixed resistor, and the second end is connected to a preset power supply. The connection point between the fixed resistor and the first end of the circuit after the series connection serves as the output end of the reference output voltage. Different voltage values ​​can be obtained by dividing the voltage with different numbers of internal voltage-dividing resistors, corresponding to different fault types. Assuming that the switch device is kept in the on state by default, when a certain fault signal exceeds the threshold set by the corresponding comparator, the corresponding comparator will output a third level signal to control the corresponding switch device to turn off, and the corresponding voltage-dividing resistor is connected to the circuit, so that the output reference output voltage changes, thereby realizing the one-to-one correspondence between the comparator, the reference output voltage and different fault types. When a fault occurs, the corresponding voltage-dividing circuit switch is controlled to be turned on, and the voltage is output to the FaultTYPE pin after voltage division.

[0066] It can be understood that, for example, 1.5V represents that EFUSE has performed SCP (short circuit protection), 1.16V-1.24V represents that EFUSE has performed OCP (overcurrent protection), etc., and different switches are turned on through internal control logic to achieve different reference output voltages output by Fault TYPE pin. When the comparator detects overcurrent and triggers the overcurrent signal, the switch corresponding to the overcurrent fault will be turned on, and the reference output voltage will be adjusted to 1.2V; when SCP is detected, the short circuit signal is triggered, the switch corresponding to the short circuit fault will be turned on, and the reference output voltage will be adjusted to 1.5V; when OTP (overtemperature protection) is detected, the overtemperature signal is triggered, the switch corresponding to the overtemperature fault will be turned on, and the reference output voltage will be adjusted to 0.9V; by default, the default normal voltage switches will be turned off, and the reference output voltage is 0.1V. Therefore, the Fault TYPE pin can be used to more accurately identify the specific cause of the abnormal power failure when the EFUSE fault occurs, and the fault type of the abnormal power supply situation can be identified, so that the power supply fault of the server motherboard can be successfully recorded and diagnosed, and the specific fault type can be recorded in detail.

[0067] Specifically, by monitoring the voltage of the Fault TYPE pin of EFUSE through the ADC pin of the BMC, the voltage abnormality of the power supply can be determined through fault diagnosis to determine what specific fault caused the power supply abnormality, so that subsequent operators can promptly troubleshoot the fault according to the fault type.

[0068] See also Figure 5 As shown, Figure 5 A schematic flow chart of a method for detecting a fault in a power supply system provided by an embodiment of the present invention; To solve the above technical problem, an embodiment of the present invention further provides a method for detecting a fault in a power supply system, which is applied to the power supply system as described above, and the method for detecting a fault in a power supply system includes: S11: Detecting the voltage status of N power supplies connected to the power supply system; the i-th power supply among the N power supplies is a default power supply; i is a positive integer, and i is less than N; S12: if the voltage state of the i-th power supply is normal, determine the i-th power supply as the current power supply, control the first controllable switch corresponding to the i-th power supply to be turned on, and control the first controllable switches corresponding to other power supplies except the i-th power supply to be turned off; S13: If the voltage state of the i-th power supply is abnormal, the j-th power supply with a normal voltage state is determined as the current power supply, the first controllable switch corresponding to the j-th power supply is controlled to be turned on, and the first controllable switches corresponding to the other power supplies except the j-th power supply are controlled to be turned off; j is a positive integer, and j is not equal to i, and j is less than N.

[0069] It is not difficult to understand that the i-th power supply and the j-th power supply are both power supplies selected arbitrarily from the N power supplies, and the specific basis for their selection and implementation methods are not particularly limited in this application; considering that only one first controllable switch corresponding to a normal power supply needs to be turned on at the same time to realize the power supply to the control module, when the first controllable switch corresponding to the current power supply is controlled to be turned on, it is necessary to control the first controllable switches corresponding to other power supplies except the current power supply to be turned off. After the control module executes step S13, it will also detect the voltage status of each power supply in real time. If the voltage status of the j-th power supply is abnormal, it is necessary to repeat the operation of switching the power supply, determine the k-th power supply as the current power supply, control the first controllable switch corresponding to the j-th power supply to be turned off, and control the first controllable switch corresponding to the k-th power supply to be turned on, k is a positive integer, and k is not equal to i and j, and k is less than N; repeat this step to ensure that as long as there is a normal power supply, the control module can be effectively powered.

[0070] On the one hand, it also includes: If the voltage state of the current power supply is abnormal, the current voltage state of the current power supply is recorded in the fault log.

[0071] It is understandable that, in order to facilitate the operator's viewing and fault repair, if the current power supply voltage state is abnormal, it is necessary to record this abnormal voltage state in the log, realize the function of monitoring the abnormal voltage state and recording the log at the same time, and can also record the specific fault type in detail in the log, so that the operator can perform accurate fault repair operations in time. The specific type and implementation method of the fault log are not particularly limited in this application.

[0072] For the description of the features in the fault detection method of the power supply system provided in the embodiment of the present invention, reference can be made to the relevant description of the above-mentioned embodiment of the power supply system, which will not be described in detail here.

[0073] See also Figure 6 As shown, Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention; the electronic device includes: A memory 60, for storing computer programs; The processor 61 is used to implement the steps of the power supply system fault detection method as described in the above embodiment when executing the computer program.

[0074] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0075] Among them, the processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 61 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 61 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 61 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 61 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0076] The memory 60 may include one or more computer-readable storage media, which may be non-transitory. The memory 60 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 60 is at least used to store the following computer program 601, wherein, after the computer program is loaded and executed by the processor 61, it can implement the relevant steps of the fault detection method of the power supply system disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 60 may also include an operating system 602 and data 603, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 602 may include Windows, Unix, Linux, etc. Data 603 may include, but is not limited to, data in the fault detection method of the power supply system, etc.

[0077] In some embodiments, the electronic device may further include a display screen 62 , an input / output interface 63 , a communication interface 64 , a power supply 65 , and a communication bus 66 .

[0078] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure.

[0079] For the description of the features in the electronic device provided by the embodiments of the present invention, reference may be made to the relevant description of the embodiments of the power supply system and the fault detection method thereof, which will not be described in detail here.

[0080] It is understandable that if the fault detection method of the power supply system in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the current technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk or optical disk and other media that can store program codes.

[0081] Based on this, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the fault detection method for the power supply system as described above are implemented.

[0082] For the description of the features in the electronic device provided by the embodiments of the present invention, reference may be made to the relevant description of the embodiments of the power supply system and the fault detection method thereof, which will not be described in detail here.

[0083] To solve the above technical problem, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the aforementioned power supply system fault detection method when executed by a processor.

[0084] For the description of the features in the computer program product provided by the embodiments of the present invention, reference can be made to the relevant description of the embodiments of the power supply system and the fault detection method thereof, which will not be described in detail here.

[0085] The above is a detailed introduction to a power supply system and its fault detection method, device, medium, and program product provided by an embodiment of the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method and power supply system description.

[0086] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0087] The above is a detailed introduction to a power supply system and its fault detection method, device, medium, and program product provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A power supply system, characterized in that: include: N first controllable switches connected to the N power supplies in a one-to-one correspondence, wherein the first ends of the first controllable switches are connected to the corresponding power supplies; N is a positive integer greater than 1; N freewheeling diodes connected to the N first controllable switches in one-to-one correspondence, the freewheeling diodes being connected in parallel at both ends of the corresponding first controllable switches, and the anodes of the freewheeling diodes being connected to the first ends of the corresponding first controllable switches; A control module, wherein the input end is respectively connected to the first ends of the N first controllable switches, the output end is respectively connected to the control ends of the N first controllable switches, and the power supply end is respectively connected to the second ends of the N first controllable switches, and is used to select a power supply as the current power supply and control the first controllable switch corresponding to the current power supply to be turned on; if the voltage state of the current power supply is abnormal, control the first controllable switch corresponding to the current power supply to be turned off, and reselect a power supply from other power supplies with normal voltage states as the new current power supply.

2. The power supply system according to claim 1, characterized in that: Also includes: N second controllable switches are connected to the N first controllable switches in a one-to-one correspondence, wherein the control end of the second controllable switch is connected to the output end of the control module, the first end is grounded, and the second end is respectively connected to the first preset power supply and the control end of the corresponding first controllable switch, and is used for controlling the corresponding first controllable switch to be turned off based on the control shutdown of the control module when the voltage state of the corresponding power supply is abnormal.

3. The power supply system according to claim 2, characterized in that: Also includes: N voltage-dividing circuits are connected one-to-one with the N first controllable switches, wherein the first input end of the voltage-dividing circuit is respectively connected to the second end of the corresponding first controllable switch and the power supply end of the control module, the second input end is respectively connected to the first preset power supply and the second end of the corresponding second controllable switch, and the output end is connected to the control end of the corresponding first controllable switch.

4. The power supply system according to claim 3, characterized in that: The voltage divider circuit comprises: a first voltage-dividing resistor, a first end of which is respectively connected to the second end of the first controllable switch and the power supply end of the control module; A second voltage-dividing resistor has a first end connected to the first preset power supply and the second end of the second controllable switch respectively, and a second end connected to the second end of the first voltage-dividing resistor and the control end of the first controllable switch respectively.

5. The power supply system according to claim 2, characterized in that: Also includes: N pull-down resistors are connected to the N second controllable switches in a one-to-one correspondence, wherein the first ends of the pull-down resistors are respectively connected to the output end of the control module and the control end of the corresponding second controllable switch, and the second ends are grounded.

6. The power supply system according to any one of claims 1 to 5, characterized in that: Also includes: N detection modules are connected one-to-one with N power supplies, the input end of the detection module is connected to the corresponding power supply and is connected to the first end of the corresponding first controllable switch, and the output end is connected to the input end of the control module, for detecting the voltage state of the corresponding power supply.

7. The power supply system according to claim 6, characterized in that: The detection module is a comparator, a first input end of the comparator is connected to the corresponding power supply, a second input end is connected to the preset voltage threshold, and an output end is connected to the input end of the control module, and is used to output a first level signal when the voltage of the corresponding power supply is less than the preset voltage threshold, and output a second level signal when the voltage of the corresponding power supply is greater than the preset voltage threshold, and the first level signal is opposite to the second level signal.

8. The power supply system according to claim 7, characterized in that: The detection module also includes: A grounding switch tube, having a first end connected to the second preset power supply and the input end of the control module respectively, a second end connected to the ground, and a control end connected to the output end of the comparator, for being turned on or off under the control of the comparator.

9. The power supply system according to claim 6, characterized in that: The detection module is also used to detect the current output by the corresponding power supply to the first end of the corresponding first controllable switch when the voltage state of the corresponding power supply is abnormal, and determine whether the abnormal cause of the corresponding power supply is overcurrent or circuit short circuit based on the current.

10. The power supply system according to claim 6, characterized in that: The detection module is also used to detect the temperature of the output end of the corresponding power supply when the voltage state of the corresponding power supply is abnormal, and determine whether the abnormal cause of the corresponding power supply is overtemperature based on the temperature.

11. A method for detecting a fault in a power supply system, characterized in that: Applied to the power supply system according to any one of claims 1 to 10, the fault detection method of the power supply system comprises: Detecting the voltage status of N power supplies connected to the power supply system; the i-th power supply among the N power supplies is a default power supply; i is a positive integer, and i is less than N; If the voltage state of the i-th power supply is normal, the first controllable switch corresponding to the i-th power supply is controlled to be turned on, and the first controllable switches corresponding to the other power supplies except the i-th power supply are controlled to be turned off; If the voltage state of the i-th power supply is abnormal, the j-th power supply with a normal voltage state is determined as the current power supply, the first controllable switch corresponding to the j-th power supply is controlled to be turned on, and the first controllable switches corresponding to the other power supplies except the j-th power supply are controlled to be turned off; j is a positive integer, and j is not equal to i, and j is less than N.

12. The fault detection method of the power supply system according to claim 11, characterized in that: Also includes: If the voltage state of the current power supply is abnormal, the current voltage state of the current power supply is recorded in the fault log.

13. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program to implement the steps of the fault detection method of the power supply system as claimed in claim 11 or 12.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the fault detection method for the power supply system according to claim 11 or 12 are implemented.

15. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the fault detection method for the power supply system according to claim 11 or 12 are implemented.

Citation Information

Patent Citations

  • Super capacitor module and collaborative robot system

    CN112671069A

  • Power signal system and switching control method thereof

    CN114123500A

  • Server power supply method, device and equipment and storage medium

    CN115480626A

  • Power supply management equipment, server cabinet and computing system

    CN116317079A

  • Dry contact output detection circuit and method, energy storage system and storage medium

    CN116794504A

Cited By

  • Combination control circuit and control method thereof, equipment, medium and product

    CN120237936A

  • Power supply system, server, fault detection method, device and storage medium

    CN120428838A

  • Equipment management system, server and method

    CN120929411A

  • Power supply switching circuit, power supply circuit, control method, server and server cluster

    CN121546790A