Power supply system, server, fault detection method, device and storage medium
By setting the first electronic switch and a fault handling circuit in the server power supply system, the problem of difficult to record the standby power supply abnormality is solved, and the accurate and complete recording of fault information is achieved, and the reliability and maintenance efficiency of the system are improved.
Patent Information
- Application Number
- CN202510942166.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-09
- Publication Date
- 2025-08-05
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, it is difficult to accurately locate and record after an abnormal standby power supply of the server, resulting in difficulty in troubleshooting and affecting system stability and maintenance efficiency.
The first electronic switch and a fault processing circuit are arranged in the power supply system. The first electronic switch is turned off when a standby power abnormality is detected. The fault processing circuit continues to work, record fault information, and data support is provided through the energy storage device and the fault diagnosis module.
It realizes reliability and complete fault record in standby power failure situations, provides detailed fault analysis data, and improves system stability and maintenance efficiency.
Smart Images

Figure CN120428838A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of server technology, and in particular to a power supply system, a server, a fault detection method, a device, and a storage medium. Background Art
[0002] In the digital age, servers, as the core hub for data storage and computing, are crucial for ensuring business continuity. The normal operation of servers depends on the stability of their power supply.
[0003] In the related art, the focus is usually on monitoring the main power supply after the server is started up. This monitoring is based on the stability of the standby power supply. Therefore, how to effectively monitor the standby power supply is a technical problem that needs to be solved urgently. Summary of the Invention
[0004] The present application provides a power supply system, a server, a fault detection method, a device and a storage medium to achieve effective monitoring of a standby power supply.
[0005] A first aspect of the present application provides a power supply system, comprising:
[0006] Energy storage devices;
[0007] Fault diagnosis module;
[0008] a first electronic switch, having a first end connected to the power distribution board 10 and a second end connected to the first powered device and the energy storage device, configured to enter an on state after AC power is applied to provide a first standby power supply to the first powered device and the energy storage device, enter an off state when the first standby power supply is in an abnormal state, and generate a first power-ready signal based on its own switch state;
[0009] A power-on switch, having a first input end connected to the energy storage device, an output end connected to the fault diagnosis module, and a control end connected to the first electronic switch, configured to connect the energy storage device to the fault diagnosis module when the first power-ready signal indicates that the first electronic switch is in an off state;
[0010] The fault diagnosis module is used to record fault information under the power supply of the energy storage device.
[0011] The present application provides a server, including: the above-mentioned power supply system.
[0012] The present application provides a fault detection method, which is applied to a power supply system. The power supply system includes: an energy storage device, a first electronic switch, a recharge switch, a first controller, a second electronic switch, and a fault diagnosis module; wherein a first end of the first electronic switch is connected to a power distribution board 10, and a second end of the first electronic switch is connected to a first powered device and the energy storage device; a first input end of the recharge switch is connected to the energy storage device, an output end of the recharge switch is connected to the fault diagnosis module, and a control end of the recharge switch is connected to the first electronic switch; the first controller is connected to the second end of the first electronic switch and the control end of the second electronic switch; a first end of the second electronic switch is connected to the power distribution board 10, and a second end of the second electronic switch is connected to the second powered device;
[0013] Methods include:
[0014] Under the power supply of the first standby power supply, the second electronic switch is controlled to enter the on state to provide the second standby power supply to the second powered device; the first standby power supply is generated by the first electronic switch entering the on state after AC power is applied and according to the power distribution board 10;
[0015] Obtaining a second power-ready signal; the second power-ready signal is generated by the second electronic switch according to its own switching state;
[0016] determining first power abnormality information according to the second power ready signal;
[0017] If the first power supply abnormality information indicates that the second standby power supply is abnormal, the first power supply abnormality information is sent to the fault diagnosis module, and the first electronic switch is turned off.
[0018] The present application also provides a fault detection device, comprising:
[0019] The control module is configured to control the second electronic switch to enter an on state under the power supply of the first standby power supply, thereby providing a second standby power supply to the second powered device; the first standby power supply is generated by the power distribution board 10 when the first electronic switch enters an on state after AC power is applied;
[0020] an acquisition module, configured to acquire a second power-ready signal; the second power-ready signal is generated by the second electronic switch according to its own switching state;
[0021] a determining module, configured to determine first power abnormality information according to the second power ready signal;
[0022] The processing module is configured to send the first power supply abnormality information to the fault diagnosis module and turn off the first electronic switch if the first power supply abnormality information indicates that the second standby power supply is abnormal.
[0023] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned fault detection methods when executing the computer program.
[0024] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned fault detection methods are implemented.
[0025] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned fault detection methods when executed by a processor.
[0026] Through the present application, providing a first electronic switch and a fault processing circuit on the mainboard ensures system reliability and complete fault logging in the event of a standby power failure. Specifically, when the first standby power provided by the power distribution board via the first electronic switch is abnormal, the first electronic switch is turned off, and the fault processing circuit can continue to operate after the standby power failure, achieving accurate and complete logging of fault information, providing data support for subsequent fault cause analysis, and thus enabling effective monitoring of the standby power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0028] Figure 1 Schematic diagram of the structure of the power supply system provided in the embodiment of the present application Figure 1 ;
[0029] Figure 2a A second structural diagram of a power supply system provided in an embodiment of the present application;
[0030] Figure 2b Schematic diagram 3 of the structure of the power supply system provided in the embodiment of the present application;
[0031] Figure 3a A schematic diagram of the structure of a circuit board of a power supply system provided in an embodiment of the present application;
[0032] Figure 3b A schematic diagram of an application of an electronic switch in a power supply system according to an embodiment of the present application;
[0033] Figure 4 Schematic diagram of the process of the fault detection method provided in the embodiment of the application Figure 1 ;
[0034] Figure 5 Schematic diagram of the process of the fault detection method provided in the embodiment of the application Figure 1 ;
[0035] Figure 6 A schematic diagram of the structure of a fault detection device provided in an embodiment of the present application;
[0036] Figure 7 This is a schematic diagram of the structure of the electronic device provided in this application.
[0037] Reference numerals:
[0038] 10: Power distribution board; 20: Main board; 100: Fault processing circuit; 200: First electronic switch; 300: First powered device; 101: Fault diagnosis module; 102: Energy storage device; 103: Recharge switch; 104: First voltage regulation module; 400: Management controller; 500: Second voltage regulation module; 600: First controller; 700: Second electronic switch; 800: First storage module; P12V_STBY_1: First standby power supply; P12V_STBY_2: Second standby power supply; P12V_STBY_1_PWRGD: First power ready signal; P12V_STBY_2_PWRGD: Second power ready signal. DETAILED DESCRIPTION
[0039] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0040] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0041] In the digital age, servers, which carry the heavy responsibility of data storage, processing, and transmission, require uninterrupted operation, which is crucial for business continuity. The primary prerequisite for ensuring this is a continuous and stable power supply. Unfortunately, failures in the server motherboard power supply are not uncommon, and the consequences can range from hardware failure to potential fire hazards.
[0042] In related technologies, a power supply unit (PSU) redundancy solution is usually designed to implement different power supply strategies based on the server's operating status and the power requirements of various devices. The voltage regulation module can also detect, report, and handle abnormal power outages.
[0043] However, the above methods usually focus on detecting, reporting, and processing abnormalities in the main (core) power supply signal. The core power supply generally only outputs voltage when the power is turned on, while the standby power (STBY) power supply outputs voltage when connected to alternating current (AC) and is used to power the entire board in standby mode. Since monitoring and management devices on the motherboard, such as the baseboard management controller (BMC) and complex programmable logic device (CPLD), rely on the STBY power supply to function properly, these monitoring devices are often inactivated when the STBY power supply is abnormal. Even if the abnormality can be identified, it is often difficult to log the abnormality information. As a result, it is difficult to accurately locate the abnormality point and quickly locate the cause of the fault, which greatly complicates subsequent maintenance and repair work.
[0044] To solve the above technical problems, the inventors of this application have discovered that a first electronic switch and a fault processing module can be set on the mainboard of the power supply system, with the first electronic switch controlling the power supply from the power distribution board to the mainboard. After the first electronic switch detects an abnormality in the STBY power provided by the power distribution board, the fault processing module continues to complete information recording, thereby providing detailed and accurate data support for fault diagnosis, which is of great significance for ensuring stable operation of the server, improving data security, and reducing operation and maintenance costs. Based on this, the embodiments of this application provide a power supply system.
[0045] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0046] Figure 1 Schematic diagram of the structure of the power supply system provided in the embodiment of the present application Figure 1 ,like Figure 1As shown, an embodiment of the present application provides a power supply system, including: a power distribution board 10 and a main board 20; the main board 20 includes a first powered device 300, a first electronic switch 200 and a fault processing circuit 100; the output end of the power distribution board 10 is connected to the first end of the first electronic switch 200, and the second end of the first electronic switch 200 is connected to the first powered device 300 and the fault processing circuit 100; the power distribution board 10 is used to provide a first standby power supply to the first powered device 300 and the fault processing circuit 100 when the first electronic switch 200 is in the on state; the first electronic switch 200 is used to enter the off state when the first standby power supply is in an abnormal state; the fault processing circuit 100 is used to record fault information when the first electronic switch 200 is in the off state.
[0047] In this embodiment, the first electronic switch 200 is connected between the power distribution board 10 and the first powered device 300. Its primary function is to automatically turn on by default upon AC power application, entering the on state and providing power to the first powered device 300 and the fault handling circuit 100. Upon detecting a power anomaly (e.g., low voltage or power outage), the switch automatically turns off to protect the first powered device 300. The switch also generates a first power-ready signal indicating its current switch status (on or off). Even after the first electronic switch 200 turns off, the fault handling circuit 100 can continue recording fault information.
[0048] For example, Figure 3a As shown, the power distribution board 10 (PDB) 10 can provide P12V_PSU power (ie, the power distribution board 10 ) to the motherboard 20 (MB) 20 input through a vertical power board-to-board connector.
[0049] As can be seen from the foregoing description, the power supply system provided in the embodiment of the present application, by providing the first electronic switch 200 and the fault processing circuit 100 on the mainboard 20, can ensure system reliability and complete fault logging in the event of a standby power supply failure. Specifically, when the first standby power provided by the power distribution board 10 via the first electronic switch 200 is abnormal, the first electronic switch 200 is closed, and the fault processing circuit 100 can continue to operate after the standby power supply fails, achieving accurate and complete recording of fault information, providing data support for subsequent fault cause analysis, and thus enabling effective monitoring of the standby power supply.
[0050] In some embodiments, as Figure 2aAs shown, the fault processing circuit 100 includes: a recharge switch 103, an energy storage device 102 and a fault diagnosis module 101; the input end of the energy storage device 102 is connected to the second end of the first electronic switch 200, the output end of the energy storage device 102 is connected to the first input end of the recharge switch 103, and the output end of the recharge switch 103 is connected to the fault diagnosis module 101; the recharge switch 103 is used to connect the energy storage device 102 and the fault diagnosis module 101 when the first electronic switch is in the closed state; the fault diagnosis module 101 is used to record fault information under the power supply of the energy storage device 102.
[0051] In this embodiment, the energy storage device 102 is a component for storing electrical energy and can be a capacitor or battery. Its primary function is to support the operation of the fault diagnosis module 101 after the first standby power supply is powered down due to a fault or a power failure elsewhere, thereby continuing to record fault information and providing support for subsequent fault cause analysis and location.
[0052] The power-on switch 103 is used to conduct power to the energy storage device 102 only when the first electronic switch 200 is turned off.
[0053] The fault diagnosis module 101 is used to continue working under the power supply of the energy storage device 102 in the event of a power failure. Its main function is to record fault information, such as the time and possible cause of the power anomaly. This fault information is very important for subsequent fault analysis and system maintenance.
[0054] During normal operation, the power distribution board 10 supplies power to the first powered device 300 and the energy storage device 102 via the first electronic switch 200. The energy storage device 102 is charged during this period. When a power anomaly is detected, the first electronic switch 200 turns off, disconnecting the power distribution board 10. A first power-ready signal indicates the off state of the first electronic switch 200, triggering the resume switch 103 to turn on. The energy storage device 102 supplies power to the fault diagnosis module 101 via the resume switch 103, enabling it to record fault information. This recorded fault information can be used for subsequent system analysis and maintenance, improving system reliability and maintainability.
[0055] As can be seen from the above description, the power supply system provided in the embodiment of the present application, by providing an energy storage device 102, a first electronic switch 200, a power-relay switch 103, and a fault diagnosis module 101 on the mainboard 20, can ensure system reliability and complete fault recording in the event of a power failure. When the first standby power supply P12V_STBY_1 is abnormal, the first electronic switch 200 is turned off, and the energy storage device 102 can continue to power the fault diagnosis module 101 after the standby power supply fails, achieving accurate and complete recording of fault information, providing data support for subsequent fault cause analysis, and thus enabling effective monitoring of the standby power supply.
[0056] In some embodiments, as Figure 2b As shown, the fault diagnosis module 101 includes a first control unit and a first storage unit; the first control unit is connected to the energy storage device 102 and the first storage unit, and is used to store fault information in the first storage unit under power supply of the energy storage device 102.
[0057] In this embodiment, the first control unit is the core component of the fault diagnosis module 101, responsible for processing and managing fault information. It can be a microcontroller unit (MCU). The first control unit is connected to the energy storage device 102 to ensure immediate access to backup power from the energy storage device 102 in the event of a power failure. The primary function of the first control unit is to continue to fully record fault information after a fault occurs, facilitating subsequent fault analysis and location.
[0058] The first storage unit is used to store the fault information processed by the first control unit. In order to ensure the integrity, security and persistence of the data, the first storage unit can adopt a non-volatile memory, such as a flash memory or a micro memory card.
[0059] During normal operation, the first control unit is powered by the first standby power supply P12V_STBY_1. If a power failure is detected, the energy storage device 102 supplies power to the first control unit, allowing it to continue operating. The first control unit continues to collect fault information and stores relevant data (such as the time of the power outage and possible causes) in the first storage unit. This stored fault information can be used for system analysis, troubleshooting, and maintenance decisions after power is restored.
[0060] The power supply system provided in this embodiment integrates a microcontroller unit (MCU) and a first storage unit within the fault diagnosis module 101, enabling efficient recording and storage of fault information in the event of a power failure. The MCU ensures that, in the event of a power outage, power can be rapidly switched to the energy storage device 102, continuously collecting and processing fault data. The first storage unit ensures data integrity and persistence, providing a reliable basis for subsequent fault analysis and system maintenance. This improves system stability and fault response capabilities, optimizing maintenance efficiency.
[0061] In some embodiments, as Figure 2b As shown, the first electronic switch 200 is connected to the fault diagnosis module 101; the first electronic switch 200 is used to generate a first power-ready signal according to its own state and send the first power-ready signal to the fault diagnosis module 101; the fault diagnosis module 101 is used to record the first power-ready signal.
[0062] The power supply system provided in the embodiment of the present application, by setting a first electronic switch 200 to be connected to the fault diagnosis module 101, can promptly send the first power ready signal P12V_STBY_1_PWRGD to the fault diagnosis module 101 when the power state changes. This allows the fault diagnosis module 101 to record changes in the power state in real time, including the ready state and fault state of the power supply. This ensures that the system can accurately identify changes in the power state when the power is restored, and record and analyze them. By recording the power ready signal, system maintenance personnel can better understand the frequency and duration of power failures, thereby optimizing the power management strategy and improving the reliability and stability of the system.
[0063] In some embodiments, as Figure 2b As shown, the fault processing circuit 100 also includes: a first voltage regulating module 104; the first voltage regulating module 104, the input end of which is connected to the second end of the first electronic switch 200, and the output end of which is connected to the second input end of the recharge switch 103, for regulating the first standby power supply; the recharge switch 103, for selecting the first voltage regulating module 104 to power the fault diagnosis module 101 when the first electronic switch 200 is in the on state; the fault diagnosis module 101, for recording fault information under the power supply of the first voltage regulating module 104.
[0064] In this embodiment, the primary function of the first voltage regulation module 104 is to regulate the voltage of the first standby power supply P12V_STBY_1. The input of the first voltage regulation module 104 is connected to the second terminal of the first electronic switch 200, ensuring that it receives power when the power is ready. The output of the first voltage regulation module 104 is connected to the second input of the resume switch 103 to provide a stable voltage output. This regulation function is crucial for protecting the fault diagnosis module 101 from voltage fluctuations.
[0065] The function of the regenerative switch 103 is to control the power supply path of the first voltage regulation module 104 based on the state of the first power-ready signal P12V_STBY_1_PWRGD. When the first electronic switch 200 is in the on state, the regenerative switch 103 switches on the first voltage regulation module 104, causing it to power the fault diagnosis module 101. This ensures that the fault diagnosis module 101 receives a regulated power supply when the power supply is stable.
[0066] After obtaining stable power supply from the first voltage regulating module 104, the fault diagnosis module 101 can effectively record fault information. By recording power supply status and fault information, the module provides important data support for system maintenance and optimization.
[0067] During the specific working process, when the first electronic switch 200 detects the power-ready state, it sends a signal to control the recharge switch 103. The recharge switch 103 turns on the first voltage regulation module 104, so that it adjusts the input voltage and supplies stable power to the fault diagnosis module 101. Under stable power supply, the fault diagnosis module 101 continuously records fault information and power status changes. When the first electronic switch 200 detects a power abnormality, the first power-ready signal P12V_STBY_1_PWRGD controls the recharge switch 103 to turn on the energy storage device 102, so that it supplies power to the fault diagnosis module 101, so that the fault diagnosis module 101 can continue to record fault information after abnormal power failure, so as to save complete fault information and provide support for subsequent fault analysis.
[0068] The power supply system provided in the embodiments of the present application, by providing a first voltage regulation module 104 and a power-relay switch 103, can provide a stable power supply to the fault diagnosis module 101 when the power is ready. The voltage regulation module ensures voltage stability, reducing the risk of failures caused by voltage fluctuations; the power-relay switch 103 intelligently controls the power supply path based on the power supply status. This improves the system's power management efficiency, ensures that the fault diagnosis module 101 can reliably record fault information under various power supply conditions, and enhances the system's stability and maintainability.
[0069] In some embodiments, as Figure 2b As shown, the first voltage regulation module 104 is connected to the energy storage device 102 and is used to regulate the first standby power supply and provide a charging voltage for the energy storage device 102. In this embodiment of the present application, by connecting the first voltage regulation module 104 to the energy storage device 102, voltage regulation of the first standby power supply P12V_STBY_1 is achieved, providing a suitable charging voltage for the energy storage device 102. The voltage regulation module can ensure that a stable and appropriate charging voltage is provided to the energy storage device 102, thereby extending the service life of the energy storage device 102 and improving its charging efficiency. In addition, a stable charging voltage helps prevent overcharging or undercharging, reducing losses and potential failure risks of the energy storage device 102.
[0070] In some embodiments, as Figure 2b As shown, the fault information includes operating data, and the main board 20 also includes a management controller 400; the management controller 400 is connected to the second end of the first electronic switch 200 and the fault diagnosis module 101, and is used to obtain operating data when the first standby power supply is powered, and send the operating data to the fault processing circuit 100.
[0071] In this embodiment, the management controller 400 is a key component in the system. It can be a baseboard management controller (BMC), responsible for acquiring system operating data when powered by the first standby power supply P12V_STBY_1. The management controller 400 is connected to the second terminal of the first electronic switch 200 to ensure normal operation when the power is ready. The management controller 400 primarily collects data related to system operation, such as temperature, pressure, current, voltage, and other parameters.
[0072] The fault diagnosis module 101 is connected to the management controller 400 and is configured to receive and record operational data sent by the management controller 400. By recording this data, the fault diagnosis module 101 can provide a detailed historical record of the system's operational status. This record is crucial for analyzing system performance, identifying potential faults, and optimizing system design.
[0073] During operation, when the first standby power supply P12V_STBY_1 is powered, the management controller 400 begins collecting system operating data. This data is sent to the fault diagnosis module 101 via the management controller 400. The fault diagnosis module 101 receives and records this data, providing a basis for subsequent fault analysis and system optimization. If a power failure occurs, the fault diagnosis module 101 continues to record the complete operating data while powered by the energy storage device 102.
[0074] The embodiment of the present application realizes the efficient collection and management of system operation data by introducing the management controller 400. When the management controller 400 is powered by the first standby power supply P12V_STBY_1, it can obtain key operation data in real time and send this data to the fault diagnosis module 101 for recording. Real-time data collection and recording improves the monitoring capability of the system, enabling the system to identify and respond to abnormal situations in a timely manner. Secondly, detailed operation data records provide an important basis for system performance analysis and fault prediction, which is helpful for preventive maintenance and optimized design. In addition, in the event of a power failure, the fault diagnosis module 101 can still continue to record data with the support of the energy storage device 102, ensuring the integrity and continuity of the data, thereby enhancing the reliability and stability of the system.
[0075] In some embodiments, as Figure 2bAs shown, the mainboard 20 also includes a second voltage regulating module 500; the second voltage regulating module 500 has an input end connected to the first electronic switch 200 and an output end connected to the management controller 400, and is used to regulate the first standby power supply and provide power to the management controller 400. The power supply system provided in the embodiment of the present application, by providing the second voltage regulating module 500, can provide a stable and appropriate power supply to the management controller 400, ensuring its continued normal operation under variable power conditions. The voltage output of the first standby power supply P12V_STBY_1 is effectively regulated, avoiding the potential impact of voltage fluctuations on the system, thereby significantly improving the reliability and stability of the system.
[0076] In some embodiments, as Figure 2b As shown, the fault information includes first power abnormality information; the main board 20 further includes: a first controller 600 and a second electronic switch 700; the first controller 600 is connected to the second end of the first electronic switch 200 and the control end of the second electronic switch 700, and is used to control the second electronic switch 700 when the first standby power supply is supplied; the second electronic switch 700 has a first end connected to the power distribution board 10 and a second end connected to the second powered device, and is used to provide the second standby power supply to the second powered device when in the on state, and is also used to enter the off state when the second standby power supply is in an abnormal state;
[0077] The first controller 600 is further configured to generate first power supply abnormality information according to the switch state of the second electronic switch 700 , and send the first power supply abnormality information to the fault processing circuit 100 .
[0078] During operation, when the first standby power supply P12V_STBY_1 is supplying power, the first controller 600 controls the second electronic switch 700 to turn on, ensuring that the second powered device receives power. The second electronic switch 700 generates a second power-ready signal P12V_STBY_2_PWRGD, which is then transmitted to the first controller 600. If the second power-ready signal P12V_STBY_2_PWRGD indicates that the second electronic switch 700 is off, the second standby power supply P12V_STBY_2 is determined to be abnormal. The first controller 600 then generates first power-supply abnormality information and transmits it to the fault diagnosis module 101, providing a basis for subsequent fault analysis and system optimization.
[0079] The power supply system provided in the embodiment of the present application achieves efficient monitoring and management of the power supply status by providing a first controller 600 and a second electronic switch 700. When the first standby power supply P12V_STBY_1 supplies power, the first controller 600 controls the second electronic switch 700 to turn on, providing stable power to the second powered device. The power-ready signal generated by the second electronic switch 700 enables the first controller 600 to promptly detect and report first power supply anomaly information to the fault diagnosis module 101. This improves the system's response speed and reliability to power supply anomalies, ensuring stable operation of the system under abnormal conditions. By providing the first electronic switch 200 and the second electronic switch 700, zone monitoring can be achieved, improving the accuracy of fault location and providing better protection for the powered device.
[0080] In some embodiments, as Figure 2b As shown, the fault information includes the second power supply abnormality information; the power supply system also includes a slave board (such as Figure 3a The slave board includes: a third electronic switch and a third powered device; the third electronic switch has a first end connected to the second end of the first electronic switch 200, a second end connected to the third powered device, and a control end connected to the first controller 600, and is configured to enter an on state under the control of the first controller 600 to provide a third standby power supply to the third powered device, and further configured to enter an off state when the third standby power supply is in an abnormal state; the first controller 600 is configured to generate second power supply abnormality information according to the switching state of the third electronic switch, and send the second power supply abnormality information to the fault diagnosis module 101.
[0081] In this embodiment, the third electronic switch and the first electronic switch 200 form two levels of electronic switches, which can perform hierarchical control on the power supply system.
[0082] During operation, when the first standby power supply P12V_STBY_1 is supplying power, the first controller 600 controls the third electronic switch to the on state, ensuring power is supplied to the third powered device. Simultaneously, the third power-ready signal generated by the third electronic switch is sent to the first controller 600. If an anomaly is detected, the first controller 600 generates second power anomaly information and transmits it to the fault diagnosis module 101, providing a basis for subsequent fault analysis and system optimization. By setting up two levels of electronic switches, the standby power supply can be managed in a hierarchical manner, providing regional protection for the powered devices corresponding to the electronic switches at different levels, reducing the overcurrent protection (OCP) threshold and improving the timeliness of protection.
[0083] This embodiment of the present application implements hierarchical control and regional protection of the standby power supply by employing a two-stage electronic switch. The first controller 600 controls the third electronic switch to provide power to the third powered device and generates a power-ready signal. If an anomaly is detected, second power anomaly information is promptly generated and transmitted to the fault diagnosis module 101. This design effectively reduces the overcurrent protection (OCP) threshold, improves the timeliness of protection, ensures stable system operation in the event of a power anomaly, and enhances system reliability and security.
[0084] In some embodiments, as Figure 2b As shown, the mainboard 20 further includes a first storage module 800 ; the first storage module 800 is connected to the first controller 600 and is used to store the first power supply abnormality information in the first storage module 800 .
[0085] In this embodiment, a first storage module 800 is connected to the first controller 600 and is specifically configured to store first power supply anomaly information. The first storage module 800 may be an electrically erasable programmable read-only memory (EEPROM). By storing anomaly information in the first storage module 800, the system can quickly access fault information.
[0086] When the first controller 600 detects a power supply anomaly, the first controller 600 not only sends the anomaly information to the fault diagnosis module 101, but also stores the information in the first storage module 800. This ensures the integrity and traceability of the anomaly information.
[0087] The fault diagnosis module 101 continues to receive abnormal information from the first controller 600 and performs a more in-depth analysis in combination with the historical data in the storage module, which helps to identify potential long-term problems in the system and provides data support for system optimization.
[0088] During operation, when a power anomaly is detected, the first controller 600 immediately generates anomaly information, stores it in the first storage module 800, and simultaneously sends it to the fault diagnosis module 101. This not only enables real-time response to power anomalies but also enables long-term analysis and improvement based on stored historical data. This improves system reliability and maintenance efficiency, providing more comprehensive support for power management.
[0089] In some embodiments, as Figure 2bAs shown, the power supply system also includes an I2C switch and sensors. The first controller 600 includes an SPI module, an I2C master module, an interrupt module, an I2C slave module, and a timing module. The first controller 600 is configured to transmit fault information to the first control unit MCU in the fault diagnosis module 101 via the SPI module and the Serial Peripheral Interface (SPI). It is also configured to notify the management controller 400 via the interrupt module and the General Purpose Input / Output (GPIO) port to read abnormal information from the first storage module 800 (e.g., EEPROM). The I2C switch is used to switch between the I2C slave module and the sensor, allowing the management controller 400 to read operating information from the first controller 600 or sensor information collected by the sensor via the I2C slave module.
[0090] An embodiment of the present application further provides a server, comprising a power supply system as described in the above embodiment.
[0091] The server provided in the embodiments of the present application, by providing a first electronic switch and a fault processing circuit on the mainboard, can ensure system reliability and complete fault logging in the event of a standby power supply failure. Specifically, when the first standby power provided by the power distribution board via the first electronic switch is abnormal, the first electronic switch is turned off, and the fault processing circuit can continue to operate after the standby power supply fails, achieving accurate and complete recording of fault information, providing data support for subsequent fault cause analysis, and thus enabling effective monitoring of the standby power supply.
[0092] The following combination Figure 3a and Figure 2b An example is given to illustrate the circuit board level structure of the power supply system.
[0093] The system input port P12V_PSU on the motherboard is converted to P12V_STBY_1 (i.e., the first standby power supply P12V_STBY_1) via a first electronic switch 200 (e.g., MP5991), and then to P12V_STBY_2 (i.e., the second standby power supply P12V_STBY_2) via a second electronic switch 700. These two power supply links provide overall input protection for the entire system.
[0094] Among them, P12V_STBY_1 supplies power to the central processing unit CPU0, the memory module DIMM0, the VR of CPU0, the fault diagnosis module power supply VR (i.e., the first voltage regulation module 104), the hard disk backplane, the third expansion card (for example, a front Open Compute Project (OCP) expansion card), and the second expansion card (which can be provided with a front high-speed Peripheral Component Interconnect Express (PCIe) slot).
[0095] P12V_STBY_2 supplies power to the central processing unit CPU1, memory module DIMM1, fan board FAN, and the first expansion card (for example, the front PCIe slot).
[0096] In the specific working process, after AC power is turned on, the first electronic switch 200 where P12V_STBY_1 is located will be directly turned on by default, providing STBY power for the devices under the line, and the CPLD (i.e., the first controller 600), BMC (i.e., the management controller 400) and other devices are powered on and loaded. At the same time, the first electronic switch 200 will generate a P12V_STBY_1_PWRGD signal (i.e., the first power ready signal P12V_STBY_1_PWRGD) to the MUX (i.e., the power-on switch 103) on the power supply line of the fault diagnosis module for To implement the switching of the power supply for the fault diagnosis module, the MUX switches the channel to the energy storage capacitor (i.e., the energy storage device 102) by default. When the P12V_STBY_1_PWRGD signal is at a high level, it switches to the fault diagnosis module power supply VR (i.e., the first voltage regulation module 104). After the CPLD is loaded, the CPLD controls the second electronic switch 700 where P12V_STBY_2 is located to turn on, thereby providing STBY power to the devices under this line. After the server is powered on, the CPLD can enable each VR and electronic switch under its control according to the timing logic control.
[0097] In some embodiments, MP5991 can be used as the first electronic switch 200, the second electronic switch 700 and the third electronic switch, and its application circuit is as follows: Figure 3b shown.
[0098] The following combination Figure 3a An example is given to illustrate the principle of the system's anti-burn plate.
[0099] The power distribution board 10P12V_PSU provides total input protection for the entire system via the first electronic switch 200 and the second electronic switch 700 placed at the system input port, thereby reducing the unprotected PCB area on the board.
[0100] The fan board FAN and hard disk backplane place secondary electronic switches (i.e., each third electronic switch) on the fan board to provide regional protection, reduce the protection OCP point, and improve the timeliness of protection. The CPLD monitors the status of the enable signal ENABLE and the power-ready signal PWRGD of each third electronic switch 700 and the second electronic switch 700 and records the log.
[0101] A third electronic switch may also be placed on each expansion card to protect the circuit on the expansion card.
[0102] When the power supply of the secondary electronic switches is abnormal, the CPLD can determine that the ENABLE signal of any third electronic switch is high and the PWRGD signal is low, and turn off all electronic switches (including the second electronic switch 700) except the first electronic switch 200 of P12V_STBY_1 and the related VRs to avoid board burnout.
[0103] To prevent the memory from burning out, a third electronic switch can be added to the DIMM0 and DIMM1 power supply lines to quickly shut down the memory power supply when the memory power supply is abnormal.
[0104] When the CPLD detects that the enable signal P12V_STBY_2_ENABLE of the second electronic switch 700 is high and the second power-ready signal P12V_STBY_2_PWRGD is low, the CPLD determines that the P12V_STBY_2 power supply is abnormal and disables all controlled electronic switches and VRs. The CPLD then actively increases the shutdown signal P12V_STBY_1_SHUTDOWN of the first electronic switch 200, actively lowering the OCP value of P12V_STBY_1. This causes the first electronic switch 200 of P12V_STBY_1 at the mainboard system input to actively overcurrent and latch for protection, shutting down the STBY circuit of the entire system and completely powering off the entire system. At this time, the power supply to the fault diagnosis module 101 (DMPU) switches from the VR to the energy storage capacitor. Even after the entire board is powered off, fault information such as the exception log can be stored on the DMPU's TF card.
[0105] When an abnormality occurs in the first standby power supply P12V_STBY_1, the first electronic switch 200 of the power supply will be quickly shut down due to overcurrent. At the same time, the CPLD and the BMC will also be inactivated. Therefore, the entire board will be powered off due to the abnormality of the P12V_STBY_1 power supply. As a result, the CPLD and the BMC cannot record the abnormality of the P12V_STBY_1 power supply. Because a fault diagnosis module 101 is provided on the main board and a power supply switching circuit is designed, even if the P12V_STBY_1 power supply is abnormally shut down, it can be switched to the energy storage capacitor through the MUX to continue to supply power to the fault diagnosis module 101, so that the fault diagnosis module 101 can accurately and completely record the abnormality of the P12V_STBY_1 power supply.
[0106] Figure 4 Schematic diagram of the process of the fault detection method provided in the embodiment of the application Figure 1 ,like Figure 4 As shown, an embodiment of the present application provides a fault detection method, which is applied to the power supply system of the above embodiment. The power supply system includes: a power distribution board and a main board; the main board includes a first powered device, a first electronic switch, a first controller, a second electronic switch, and a fault processing circuit; the output end of the power distribution board is connected to the first end of the first electronic switch, and the second end of the first electronic switch is connected to the first powered device and the fault processing circuit; the first controller is connected to the second end of the first electronic switch and the control end of the second electronic switch; the first end of the second electronic switch is connected to the power distribution board, and the second end is connected to the second powered device. The method is described in detail as follows:
[0107] 401. Under the power supply of the first standby power supply, control the second electronic switch to enter the on state to provide the second standby power supply to the second powered device; the first standby power supply is provided by the power distribution board when the first electronic switch enters the on state after AC power is applied.
[0108] For example, Figure 2bAs shown, after AC power is turned on, the first electronic switch 200 where P12V_STBY_1 is located will be directly turned on by default, providing STBY power for the devices under the line, and the CPLD (i.e. the first controller 600), BMC (i.e. the management controller 400) and other devices are powered on and loaded. At the same time, the first electronic switch 200 will generate a P12V_STBY_1_PWRGD signal (i.e. the first power ready signal P12V_STBY_1_PWRGD) to the MUX (i.e. the power-on switch 103) on the power supply line of the fault diagnosis module for realizing fault diagnosis. The power supply for the fault diagnosis module is switched. The MUX switches the channel to the energy storage capacitor (i.e., the energy storage device 102) by default. When the P12V_STBY_1_PWRGD signal is at a high level, it switches to the fault diagnosis module power supply VR (i.e., the first voltage regulation module 104). After the CPLD is loaded, the CPLD controls the second electronic switch 700 where P12V_STBY_2 is located to turn on, thereby providing STBY power to the devices under this line. After the server is powered on, the CPLD can enable each VR and electronic switch under its control according to the timing logic control.
[0109] 402. Obtain a second power-ready signal. The second power-ready signal is generated by the second electronic switch according to its own switching state.
[0110] 403. Determine first power abnormality information according to the second power ready signal.
[0111] 404. If the first power supply abnormality information indicates that the second standby power supply is abnormal, the first power supply abnormality information is sent to the fault processing circuit, and the first electronic switch is turned off.
[0112] In some embodiments, failure to quickly shut down the power supply when an STBY power anomaly occurs may cause further damage to the server hardware, or even burn out the motherboard, causing it to become scrapped, increasing repair costs and downtime. Therefore, shutting down the first electronic switch may include: setting the first overcurrent threshold voltage of the first electronic switch to a second overcurrent threshold voltage, so that the first electronic switch enters overcurrent protection and shuts down; the second overcurrent threshold voltage is less than the first overcurrent threshold voltage and less than the first standby power supply.
[0113] For example, Figure 2bAs shown, when the CPLD (i.e., the first controller 600) detects that the enable signal P12V_STBY_2_ENABLE of the second electronic switch 700 is high and the second power ready signal P12V_STBY_2_PWRGD is low, the CPLD will determine that the P12V_STBY_2 power supply is abnormal, and the CPLD will turn off all the controlled electronic switches and VR enables. Then, the CPLD will actively push high the shutdown signal P12V_STBY_1_SHU of the first electronic switch 200. TDOWN actively lowers the OCP value of P12V_STBY_1, causing the first electronic switch 200 of P12V_STBY_1 at the mainboard system input port to actively overcurrent and latch for protection, shutting down the STBY circuit of the entire system and completely powering off the entire system. At this time, the power supply of the fault diagnosis module 101 (DMPU) will be switched from the fault diagnosis module power supply VR to the energy storage capacitor. Even after the entire board is powered off, fault information such as the exception log can be stored in the DMPU's TF card (i.e., the first storage unit).
[0114] The fault detection method provided in the embodiment of the present application can significantly improve the reliability and safety of the power supply system by integrating a multi-level power supply monitoring and fault diagnosis mechanism. First, through the coordinated control of the first electronic switch 200 and the second electronic switch 700, independent monitoring of the first standby power supply P12V_STBY_1 and the second standby power supply P12V_STBY_2 is achieved, ensuring timely response in any power supply abnormality. Secondly, when the fault diagnosis module 101 detects a power supply abnormality, it can quickly switch the power supply source to the energy storage device 102 to ensure that when the system is completely powered off, key fault information can still be stored in the first storage unit. It not only improves the fault recovery capability of the system, but also provides important data support for subsequent fault analysis and maintenance. In addition, by optimizing the power switching and protection mechanism, it can effectively prevent equipment damage caused by overcurrent or other power supply abnormalities and extend the service life of the equipment.
[0115] In some embodiments, the mainboard further includes a second powered device; the second powered device is connected to the second end of the second electronic switch; and the method further includes: shielding abnormal error information of the second powered device.
[0116] Specifically, such as Figure 2bAs shown in the figure, when the abnormality is identified as caused by P12V_STBY_2, the CPLD blocks the monitoring function of other abnormal signals. The reason for blocking the monitoring function of other abnormal signals is that when the P12V_STBY_2 power supply is abnormal, the electronic switch (such as MP5991) on its line will cause the voltage to drop due to the abnormality. In turn, the VR modules of devices such as CPU1 on the line will actively shut down due to identifying the abnormal power supply voltage, thereby cutting off the power supply of CPU1. After the power supply of CPU1 is cut off, some unpredictable abnormalities will be falsely reported. Therefore, the CPLD internally blocks the false alarm of CPU1 caused by the abnormal P12V_STBY_2 power supply.
[0117] In some embodiments, the mainboard further includes a first storage module; the first storage module is connected to the first controller; the method further includes: if the first power supply abnormality information indicates that there is an abnormality in the second standby power supply, the first power supply abnormality information is stored in the first storage module.
[0118] The fault detection method provided in this embodiment of the application utilizes both a first storage module 800 (e.g., an EEPROM) and a fault diagnosis module 101 (including a TF card) to record anomalies, enabling the construction of a hierarchically redundant logging system to address data reliability requirements in various fault scenarios. The EEPROM typically has a relatively small storage capacity and is attached to the I2C interface of the CPLD. This allows the CPLD to record anomalies in the second standby power supply, P12V_STBY_2. The TF card has a large capacity, allowing the fault diagnosis module 101 to store the entire server's status data on the TF card.
[0119] In some embodiments, the mainboard also includes a management controller, which is connected to the second end of the first electronic switch, the fault handling circuit and the first controller; the method also includes: after the AC power is turned on, reading the latest stored first power supply abnormality information from the first storage module; controlling the management controller to generate an abnormality log according to the first power supply abnormality information, and displaying the abnormality log on the display interface.
[0120] For example, Figure 2bAs shown, after the CPLD is loaded, the CPLD reads back the data in the first storage module 800 (for example, EEPROM) connected to it through the I2C master module and performs data analysis. If the data contains a record of P12V_STBY_2 abnormal information after analysis, the CPLD writes the abnormal value to a specific bit of the first register (for example, byte3 bit7 of register 0x20 shown in Table 2), and writes a specific bit of the second register (for example, byte1 bit2 value of register 0x01 shown in Table 1) to 0. At the same time, the interrupt GPIO between the CPLD and the BMC is pulled low to inform the BMC to read the abnormal status. The BMC completes the log recording and WEB display of the abnormal status.
[0121] The fault detection method provided in the embodiment of the present application automatically reads historical exception information (such as P12V_STBY_2 fault records) stored in the EEPROM by the CPLD when the AC is powered on, and triggers the BMC linkage response mechanism. This method can identify historical hardware faults (such as power module abnormalities) during the cold start phase, prevent repeated power-on of damaged components, avoid secondary damage and fire hazards, and proactively intercept risky equipment. The fault type is solidified by register bit mapping (such as 0x20 byte3 bit7), combined with the visual presentation of the BMC web interface, to shorten the fault location time from hours to minutes, thereby accurately locating the fault source. The three-level collaboration of the hardware layer (CPLD register tag), the firmware layer (GPIO interrupt triggering), and the software layer (BMC logging) forms a closed-loop evidence chain from exception detection to operation and maintenance decision-making, significantly improving system reliability.
[0122] In some embodiments, the power supply system also includes a third electronic switch and a third powered device; the first end of the third electronic switch is connected to the second end of the first electronic switch, the second end is connected to the third powered device, and the control end is connected to the first controller; the method also includes: under the power supply of the first standby power supply, controlling the third electronic switch to enter the on state to provide a third standby power supply to the third powered device; obtaining a third power ready signal; the third power ready signal is generated by the third electronic switch according to its own switching state; determining the second power abnormality information based on the third power ready signal; if the second power abnormality information indicates that there is an abnormality in the third standby power supply, the second power abnormality information is sent to the fault handling circuit, and the second electronic switch and the third electronic switch are turned off.
[0123] For example, Figure 2bAs shown in the figure, when an abnormal state is detected, if it is determined that the cause of the abnormality is the third electronic switch (that is, the secondary electronic switch) rather than P12V_STBY_2, the CPLD controls to turn off the third electronic switches except P12V_STBY_1 and enable the relevant VRs to avoid burning the board, causing the server core to power down to S5 state and unable to restart without replugging the AC; the relevant abnormal error is recorded in the 0x20 register, and the value in the 0x01 register byte1 bit2 is written to 0, pulling down the interrupt signal between the BMC and the BMC for recording the abnormality log.
[0124] The fault detection method provided in the embodiment of the present application monitors the power-ready signal (PWRGD) of the third electronic switch (secondary efuse) in real time and performs multi-level protection actions based on abnormality determination. When the third electronic switch is abnormal (such as overcurrent protection), the corresponding power supply domain (secondary / third electronic switch) is immediately shut down, thereby compressing the fault impact range to the smallest unit and preventing single-point faults from spreading to the entire board. The method also forces power off to the S5 state and locks the restart to prevent the risk of thermal runaway caused by repeated power-on of abnormal components. At the same time, the method records the abnormality code (0x20) and the global fault flag (0x01) in the register to provide a structured diagnostic basis for the BMC. The method also synchronizes the secondary power supply abnormality information to the fault diagnosis module 101, and combines it with capacitor backup power supply to implement millisecond-level abnormality snapshot storage, fully record the voltage drop time sequence, and improve the root cause location accuracy.
[0125] Table 1 0x01 register definition --- BMC reads the overall abnormal status
[0126]
[0127] Table 2 0x20 register definition --- BMC read timing related signal status
[0128]
[0129] Figure 5 Flowchart 2 of the fault detection method provided in the embodiment of the present application is as follows: Figure 5 As shown, the following description is given by taking the first controller 600 as a CPLD and the first storage unit as an EEPROM as an example.
[0130] 501. AC power on. When AC power is on, P12V_STBY_1 supplies power to the CPLD (ie, the first controller 600).
[0131] 502. After P12V_STBY_1 is powered on, CPLD loading is completed.
[0132] Specifically, after the AC is powered on, the first electronic switch 200 where P12V_STBY_1 is located will be directly turned on by default, providing STBY power for the devices under the line, and devices such as CPLD (i.e., the first controller 600) and BMC (i.e., the management controller 400) will be powered on and loaded. At the same time, the first electronic switch 200 will generate a P12V_STBY_1_PWRGD signal (i.e., the first power ready signal P12V_STBY_1_PWRGD) to the MUX (i.e., the recharge switch 103) on the fault diagnosis module power supply line to realize the switching of the fault diagnosis module power supply. The MUX will switch the channel to the energy storage capacitor (i.e., the energy storage device 102) by default. When the P12V_STBY_1_PWRGD signal is high, it will switch to the fault diagnosis module power supply VR (i.e., the first voltage regulation module 104).
[0133] 503. The CPLD reads back the data in the EEPROM and analyzes it. If the analyzed data contains abnormal power failure of the P12V_SYBY_2 signal, the CPLD notifies the BMC of the abnormality by writing to the I2C register for logging and WEB display.
[0134] Specifically, after the CPLD is loaded, the CPLD reads back the data in the first storage module 800 (for example, EEPROM) connected to it through the I2C master module and performs data analysis. If the data contains a record of P12V_STBY_2 abnormal information after analysis, the CPLD writes the abnormal value to a specific bit of the first register (for example, byte 3 bit 7 of the 0x20 register) and writes a specific bit of the second register (byte 1 bit 2 value of the 0x01 register) to 0. At the same time, the interrupt GPIO between the CPLD and the BMC is pulled low to inform the BMC to read the abnormal status. The BMC completes the log recording and web display of the abnormal status.
[0135] 504. The CPLD monitors in real time the enable signal ENABLE and the power ready signal PWRGD of the controlled VR, as well as the PWRGD signal status of the P12V_SYBY_2 power supply.
[0136] Specifically, after loading is completed, the CPLD will continue to monitor the enable signal ENABLE and the power-ready signal PWRGD of the controlled VR and electronic switch.
[0137] 505. CPLD detects an abnormal power failure in the server.
[0138] 506 , determine whether the PWRGD of the P12V_SYBY_2 power supply is low, if so, execute step 508 , if not, execute step 507 .
[0139] 507. The CPLD pulls down the ENABLE signal of the controlled VR, causing the server CORE to power off to S5 state and unable to restart without replugging the AC; the relevant abnormal error is recorded in the 0x20 register, and the value in the 0x01 register byte1 bit2 is written to 0, pulling down the interrupt signal between the CPLD and the BMC.
[0140] Specifically, when an abnormal state is detected, if it is determined that the cause of the abnormality is the third electronic switch (i.e., the secondary electronic switch) rather than P12V_STBY_2, the CPLD controls the shutdown of the third electronic switches except P12V_STBY_1 and the enabling of related VRs to avoid burning the board, causing the server core to be powered off to S5 state and unable to be restarted without replugging the AC; the relevant abnormal error is recorded in the 0x20 register, and the value in the 0x01 register byte1 bit2 is written to 0, pulling down the interrupt signal between the BMC and the BMC for recording the abnormality log.
[0141] 508. The CPLD shields the monitoring function of other abnormal signals and performs the following actions at the same time: ① The CPLD pulls down the ENABLE signal of the controlled VR, including the ENABLE signal of the P12V_STBY_2 VR; ② Reports the abnormal status to the fault diagnosis module 101 through SPI; ③ Records the abnormality in the EEPROM attached to the CPLD through I2C.
[0142] Specifically, such as Figure 2b As shown in the figure, when the abnormality is identified as caused by P12V_STBY_2, the CPLD blocks the monitoring function of other abnormal signals. The reason for blocking the monitoring function of other abnormal signals is that when the P12V_STBY_2 power supply is abnormal, the electronic switch (such as MP5991) on its line will cause the voltage to drop due to the abnormality. In turn, the VR modules of devices such as CPU1 on the line will actively shut down due to identifying the abnormal power supply voltage, thereby cutting off the power supply of CPU1. After the power supply of CPU1 is cut off, some unpredictable abnormalities will be falsely reported. Therefore, the CPLD internally blocks the false alarm of CPU1 caused by the abnormal P12V_STBY_2 power supply.
[0143] At the same time, perform the following actions to complete the fault information recording:
[0144] ①CPLD pulls down the ENABLE signal of the controlled VR, including the ENABLE signal of P12V_STBY_2 VR.
[0145] ② Report the abnormal status to the fault diagnosis module 101 via SPI.
[0146] ③ Record the exception in the EEPROM attached to the CPLD through I2C.
[0147] 509. Determine whether the abnormal status has been reported. If not, return to step 508. If yes, go to step 510.
[0148] 510 . The CPLD pushes a shutdown signal P12V_STBY_1_SHUTDOWN high to the first electronic switch of P12V_STBY_1 .
[0149] 511. The P12V_STBY_1 power supply is turned off, the P12V_STBY_1_PWRGD signal becomes low, and the server is powered off.
[0150] 512. The fault diagnosis module power supply MUX is switched, and the energy storage capacitor is used to power the DMPU module to complete the storage of log data.
[0151] Specifically, after the abnormal information is reported, the CPLD will push high the shutdown signal P12V_STBY_1_SHUTDOWN connected to the first electronic switch 200 on the P12V_STBY_1 power supply line. After receiving the signal, the first electronic switch 200 will actively shut down, powering off the entire board, and at the same time pull down the first power ready signal P12V_STBY_1_PWRGD. After receiving the P12V_STBY_1_PWRGD signal and pulling low, the fault diagnosis module power supply line switching MUX (i.e., the recharge switch 103) switches the power supply of the fault diagnosis module from P12V_STBY_1 to the energy storage capacitor, so as to ensure that the fault diagnosis module 101 can completely and accurately record the abnormal information in the TF card (i.e., the first storage unit), while ensuring that the power supply is quickly cut off.
[0152] The fault detection method provided in the embodiment of the present application, by introducing the fault diagnosis module 101 on the basis of the original server motherboard, can not only realize the recording of server operation data, but also provide guarantees for recording and locating the cause of the fault after an exception occurs and the entire machine is powered off. According to the advantages of the three devices / modules of CPLD, BMC, and fault diagnosis module 101, different functional divisions are performed, and a collaborative control strategy is set to achieve rapid power off of the entire machine after an exception occurs, accurate recording of the exception log, and recovery function of the exception log after power is restored.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0154] Figure 6 This is a schematic diagram of the structure of the fault detection device provided in the embodiment of the present application. Figure 6 As shown, an embodiment of the present application further provides a fault detection device 60, comprising: .
[0155] The control module 601 is used to control the second electronic switch to enter the on state under the power supply of the first standby power supply to provide the second standby power supply to the second powered device; the first standby power supply is provided by the power distribution board when the first electronic switch enters the on state after AC power is applied.
[0156] The acquisition module 602 is configured to acquire a second power-ready signal; the second power-ready signal is generated by the second electronic switch according to its own switching state.
[0157] The determining module 603 is configured to determine first power abnormality information according to the second power ready signal.
[0158] The processing module 604 is configured to send the first power abnormality information to the fault processing circuit and turn off the first electronic switch if the first power abnormality information indicates that the second standby power supply is abnormal.
[0159] The fault detection device provided in the embodiment of the present application can significantly improve the reliability and safety of the power supply system by integrating multi-level power supply monitoring and fault diagnosis mechanisms. First, through the coordinated control of the first electronic switch and the second electronic switch, independent monitoring of the first standby power supply and the second standby power supply is achieved, ensuring timely response in any power supply abnormality. Secondly, when the fault diagnosis module detects a power supply abnormality, it can quickly switch the power supply source to the energy storage device to ensure that when the system is completely powered off, the key fault information can still be stored in the first storage unit. It not only improves the fault recovery capability of the system, but also provides important data support for subsequent fault analysis and maintenance. In addition, by optimizing the power switching and protection mechanism, it can effectively prevent equipment damage caused by overcurrent or other power supply abnormalities and extend the service life of the equipment.
[0160] For the description of the features in the embodiment corresponding to the fault detection device, reference can be made to the relevant description of the embodiment corresponding to the fault detection method, which will not be repeated here.
[0161] In some embodiments, the mainboard further includes a second powered device; the second powered device is connected to the second end of the second electronic switch; and the processing module 604 is further configured to shield abnormal error information of the second powered device.
[0162] In some embodiments, the processing module 604 is specifically used to: set the current first overcurrent threshold voltage of the first electronic switch to a second overcurrent threshold voltage, so that the first electronic switch enters overcurrent protection and is turned off; the second overcurrent threshold voltage is less than the first overcurrent threshold voltage and less than the first standby power supply.
[0163] In some embodiments, the mainboard also includes a first storage module; the first storage module is connected to the first controller; the processing module 604 is also used to: if the first power supply abnormality information indicates that there is an abnormality in the second standby power supply, the first power supply abnormality information is stored in the first storage module.
[0164] In some embodiments, the mainboard also includes a management controller, which is connected to the second end of the first electronic switch, the fault processing circuit and the first controller; the processing module 604 is also used to: after the AC power is turned on, read the latest stored first power supply abnormality information from the first storage module; control the management controller according to the first power supply abnormality information to generate an abnormality log according to the first power supply abnormality information, and display the abnormality log on the display interface.
[0165] In some embodiments, the power supply system further includes a third electronic switch and a third powered device; the first end of the third electronic switch is connected to the second end of the first electronic switch, the second end is connected to the third powered device, and the control end is connected to the first controller; the processing module 604 is further used to: under the power supply of the first standby power supply, control the third electronic switch to enter the on state to provide a third standby power supply to the third powered device; obtain a third power ready signal; the third power ready signal is generated by the third electronic switch according to its own switching state; determine the second power abnormality information based on the third power ready signal; if the second power abnormality information indicates that there is an abnormality in the third standby power supply, the second power abnormality information is sent to the fault processing circuit, and the second electronic switch and the third electronic switch are turned off.
[0166] Figure 7 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 7 As shown, the electronic device 70 provided in this embodiment includes: at least one processor 701 and a memory 702. Optionally, the electronic device 70 further includes a communication component 703. The processor 701, the memory 702 and the communication component 703 are connected via a bus.
[0167] During the specific implementation process, at least one processor 701 executes the computer-executable instructions stored in the memory 702 , so that the at least one processor 701 executes the above-mentioned fault detection method embodiment.
[0168] The specific implementation process of the processor 701 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.
[0169] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0170] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.
[0171] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0172] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above-mentioned XX method embodiments when run.
[0173] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0174] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above-mentioned fault detection method embodiments are implemented.
[0175] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above-mentioned fault detection method embodiments are implemented.
[0176] 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 above description has generally described the components and steps of each example according to their functions. 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 beyond the scope of this application.
[0177] The above is a detailed introduction to a power supply system, server, fault detection method, device and storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application 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 application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A power supply system, characterized in that: include: A power distribution board and a main board; the main board includes a first powered device, a first electronic switch and a fault processing circuit; The output end of the power distribution board is connected to the first end of the first electronic switch, and the second end of the first electronic switch is connected to the first powered device and the fault processing circuit; The power distribution board is used to provide a first standby power supply to the first powered device and the fault processing circuit when the first electronic switch is in an on state; The first electronic switch is configured to enter a closed state when the first standby power supply is in an abnormal state; The fault processing circuit is used to record fault information when the first electronic switch is in the closed state.
2. The system according to claim 1, wherein: The fault processing circuit includes: a power-on switch, an energy storage device and a fault diagnosis module; The input end of the energy storage device is connected to the second end of the first electronic switch, the output end of the energy storage device is connected to the first input end of the recharge switch, and the output end of the recharge switch is connected to the fault diagnosis module; The power-on switch is configured to connect the energy storage device to the fault diagnosis module when the first electronic switch is in the closed state; The fault diagnosis module is used to record fault information under the power supply of the energy storage device.
3. The system according to claim 2, characterized in that The fault diagnosis module includes a first control unit and a first storage unit; The first control unit is connected to the energy storage device and the first storage unit, and is configured to store the fault information in the first storage unit under power supply by the energy storage device.
4. The system according to claim 2, wherein: The first electronic switch is connected to the fault diagnosis module; The first electronic switch is configured to generate a first power-ready signal according to its own state, and send the first power-ready signal to the fault diagnosis module; The fault diagnosis module is configured to record the first power-ready signal.
5. The system according to claim 2, wherein: The fault processing circuit further includes: a first voltage regulating module; The first voltage regulating module has an input end connected to the second end of the first electronic switch and an output end connected to the second input end of the recharge switch, and is used to regulate the first standby power supply; The power-on switch is configured to enable the first voltage regulating module to supply power to the fault diagnosis module when the first electronic switch is in the on state; The fault diagnosis module is used to record fault information under the power supply of the first voltage regulation module.
6. The system according to claim 5, characterized in that The first voltage regulating module is connected to the energy storage device and is used to regulate the first standby power supply to provide a charging voltage for the energy storage device.
7. The system according to claim 1, wherein: The fault information includes operating data, and the mainboard also includes a management controller; The management controller is connected to the second end of the first electronic switch and the fault processing circuit, and is used to obtain operation data and send the operation data to the fault processing circuit when the first standby power supply is powered.
8. The system according to claim 7, characterized in that The mainboard further includes a second voltage regulating module; The second voltage regulating module has an input end connected to the first electronic switch and an output end connected to the management controller, and is used to regulate the first standby power supply and provide power for the management controller.
9. The system according to any one of claims 1 to 8, characterized in that: The fault information includes first power supply abnormality information; the mainboard further includes: a first controller and a second electronic switch; The first controller is connected to the second end of the first electronic switch and the control end of the second electronic switch, and is used to control the second electronic switch when the first standby power supply is powered; The second electronic switch has a first end connected to the power distribution board and a second end connected to the second powered device, and is configured to provide a second standby power supply to the second powered device when in an on state, and to enter an off state when the second standby power supply is in an abnormal state; The first controller is further configured to generate the first power supply abnormality information according to the switching state of the second electronic switch, and send the first power supply abnormality information to the fault processing circuit.
10. The system according to claim 9, characterized in that The fault information includes second power supply abnormality information; the power supply system further includes a slave board, the slave board includes: a third electronic switch and a third powered device; The third electronic switch has a first end connected to the second end of the first electronic switch, a second end connected to the third powered device, and a control end connected to the first controller, and is configured to enter an on state under the control of the first controller to provide a third standby power supply to the third powered device, and further configured to enter an off state when the third standby power supply is in an abnormal state; The first controller is configured to generate the second power supply abnormality information according to the switch state of the third electronic switch, and send the second power supply abnormality information to the fault processing circuit.
11. The system according to claim 9, wherein: The mainboard further includes a first storage module; The first storage module is connected to the first controller, and is used to store the first power supply abnormality information in the first storage module.
12. A server, characterized in that: Comprising the power supply system according to any one of claims 1 to 11.
13. A fault detection method, characterized in that: Applicable to the power supply system according to any one of claims 9 to 11, the power supply system comprising: a power distribution board and a main board; the main board comprising a first powered device, a first electronic switch, a first controller, a second electronic switch, and a fault processing circuit; an output end of the power distribution board is connected to a first end of the first electronic switch, a second end of the first electronic switch is connected to the first powered device and the fault processing circuit; the first controller is connected to the second end of the first electronic switch and a control end of the second electronic switch; a first end of the second electronic switch is connected to the power distribution board, and a second end is connected to a second powered device; The method comprises: Under the power supply of the first standby power supply, the second electronic switch is controlled to enter the on state to provide the second standby power supply to the second powered device; the first standby power supply is provided by the power distribution board when the first electronic switch enters the on state after AC power is applied; Obtaining a second power-ready signal; the second power-ready signal is generated by the second electronic switch according to its own switching state; determining first power abnormality information according to the second power ready signal; If the first power supply abnormality information indicates that the second standby power supply is abnormal, the first power supply abnormality information is sent to the fault processing circuit, and the first electronic switch is turned off.
14. The method according to claim 13, characterized in that The mainboard further includes a second powered device; the second powered device is connected to the second end of the second electronic switch; and the method further includes: The abnormal error information of the second powered device is shielded.
15. The method according to claim 13, characterized in that Turning off the first electronic switch includes: The first overcurrent threshold voltage of the first electronic switch is set to a second overcurrent threshold voltage so that the first electronic switch enters overcurrent protection and is turned off; the second overcurrent threshold voltage is less than the first overcurrent threshold voltage and less than the first standby power supply.
16. The method according to claim 13, characterized in that The mainboard further includes a first storage module; the first storage module is connected to the first controller; and the method further includes: If the first power supply abnormality information indicates that the second standby power supply is abnormal, the first power supply abnormality information is stored in the first storage module.
17. The method according to claim 16, characterized in that The mainboard further includes a management controller, the management controller being connected to the second end of the first electronic switch, the fault processing circuit, and the first controller; the method further includes: After the AC power is turned on, reading the latest stored first power supply abnormality information from the first storage module; The management controller is controlled according to the first power abnormality information to generate an abnormality log according to the first power abnormality information, and the abnormality log is displayed on a display interface.
18. The method according to claim 13, wherein The power supply system further includes a third electronic switch and a third powered device; a first end of the third electronic switch is connected to the second end of the first electronic switch, a second end is connected to the third powered device, and a control end is connected to the first controller; the method further includes: Under the power supply of the first standby power supply, controlling the third electronic switch to enter an on state to provide a third standby power supply to the third powered device; Obtaining a third power-ready signal; the third power-ready signal is generated by the third electronic switch according to its own switching state; determining second power abnormality information according to the third power ready signal; If the second power supply abnormality information indicates that the third standby power supply is abnormal, the second power supply abnormality information is sent to the fault processing circuit, and the second electronic switch and the third electronic switch are turned off.
19. A fault detection device, characterized in that: include: a control module, configured to control the second electronic switch to enter an on state under the power supply of the first standby power supply, so as to provide a second standby power supply to the second powered device; The first standby power supply is provided by the power distribution board when the first electronic switch enters the on state after AC power is applied; an acquisition module, configured to acquire a second power-ready signal; the second power-ready signal is generated by the second electronic switch according to its own switching state; a determining module, configured to determine first power abnormality information according to the second power ready signal; The processing module is configured to send the first power supply abnormality information to a fault processing circuit and turn off the first electronic switch if the first power supply abnormality information indicates that the second standby power supply is abnormal.
20. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the fault detection method according to any one of claims 13 to 18 when executing the computer program.
21. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the fault detection method according to any one of claims 13 to 18 when executed by a processor.
22. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the fault detection method according to any one of claims 13 to 18 are implemented.
Citation Information
Patent Citations
Operable system when standby power fails, computer realization method and medium
CN108983938A
Power supply system and fault detection method and device thereof, medium and program product
CN119376516A
Cited By
Power supply fault detection circuit and method based on state monitoring, and electronic equipment
CN121050558A
Power supply fault detection circuit and method based on state monitoring, and electronic device
CN121050558B
Switch system
CN121585631A
