Fault determination methods, devices, electronic equipment, and power supply systems in power supply systems

By recording and analyzing key timestamps during main power failures, the problem of inaccurate fault identification during backup power switching in existing technologies has been solved, achieving rapid fault location and reducing system interruptions.

CN120824905BActive Publication Date: 2026-04-03LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-18
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing technologies cannot accurately identify faults during the backup power switching process, resulting in sluggish response or failure to establish output from the backup power supply, which increases the risk of system interruption and data loss.

Method used

By recording key timestamps during main power failures (such as main power failure detection time, backup power hot standby switching detection time, and backup power output voltage establishment time), the timing relationship of the timestamps can be analyzed to accurately identify and locate faults during backup power switching.

Benefits of technology

It enables accurate identification and location of faults during the backup power switching process, ensuring rapid response of backup power, reducing system downtime and data loss risk, and improving the accuracy of fault diagnosis and operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120824905B_ABST
    Figure CN120824905B_ABST
Patent Text Reader

Abstract

This application discloses a fault determination method, apparatus, electronic device, and power supply system for a power supply system. The method includes: when a first power supply signal provided by the main power supply is detected to be lower than a preset reference signal, recording a current first timestamp and sending a first control signal to a backup power supply, wherein the first control signal is used to control the backup power supply to switch to a hot standby state; when the backup power supply is detected to switch to a hot standby state, recording a current second timestamp; when a second power supply signal provided by the backup power supply is detected to reach the reference signal, recording a current third timestamp; and determining the fault condition of the power supply system during the backup power switching process based on the recording status and timing relationship of the first, second, and third timestamps, thereby achieving accurate identification of the fault condition during the backup power switching process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more specifically, to a method, apparatus, electronic device, computer-readable storage medium, computer program product, and power supply system for determining faults in a power supply system. Background Technology

[0002] As data centers continue to expand in scale and computing density increases dramatically, the power consumption of storage systems is rising. Therefore, ensuring a stable power supply to storage systems is crucial for their reliable operation. In the event of a main power failure, a backup power supply is typically used to maintain uninterrupted operation of the storage system.

[0003] However, the fault diagnosis methods in related technologies cannot accurately diagnose faults during the backup power switching process. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, computer-readable storage medium, computer program product, and power supply system for determining faults in a power supply system, in order to at least solve the problem in the related art of being unable to accurately determine faults during backup power switching.

[0005] This application provides a method for determining faults in a power supply system. The power supply system includes a main power supply and a backup power supply. The method includes: when a first power supply signal provided by the main power supply is detected to be lower than a preset reference signal, recording a current first timestamp and sending a first control signal to the backup power supply, wherein the first control signal is used to control the backup power supply to switch to a hot standby state; when the backup power supply is detected to switch to a hot standby state, recording a current second timestamp; when a second power supply signal provided by the backup power supply is detected to reach the reference signal, recording a current third timestamp; and determining the fault condition of the power supply system during the backup power switching process based on the recording status and timing relationship of the first, second, and third timestamps.

[0006] This application also provides a power supply system, including: a main power supply for providing a first power supply signal; a backup power supply for providing a second power supply signal; and a control module connected to both the main power supply and the backup power supply, configured to: record a current first timestamp and send a first control signal to the backup power supply when the first power supply signal provided by the main power supply is detected to be lower than a preset reference signal, wherein the first control signal is used to control the backup power supply to switch to a hot standby state; record a current second timestamp when the backup power supply is detected to have switched to a hot standby state; record a current third timestamp when the second power supply signal provided by the backup power supply reaches the reference signal; and determine the fault condition of the power supply system during the backup power switching process based on the recording status and timing relationship of the first, second, and third timestamps.

[0007] This application also provides a fault determination device for a power supply system, comprising:

[0008] The power supply detection module is used to record the current first timestamp and send a first control signal to the backup power supply when the first power supply signal provided by the main power supply is lower than the preset reference signal. The first control signal is used to control the backup power supply to switch to hot standby mode.

[0009] The status detection module is used to record the current second timestamp when the backup power supply is detected to switch to hot standby mode;

[0010] The signal detection module is used to record the current third timestamp when the second power supply signal provided by the backup power supply reaches the reference signal.

[0011] The analysis module is used to determine the fault status of the power supply system during the backup power switching process based on the records and timing relationships of the first, second, and third timestamps.

[0012] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described fault determination methods for a power supply system.

[0013] This application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of any of the above-described fault determination methods for power supply systems.

[0014] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described fault determination methods for power supply systems.

[0015] This application enables precise identification and location of faults during backup power switching by recording timestamps at a series of key time points when the main power supply fails (including the main power supply failure detection time, i.e., the first timestamp; the backup power supply hot standby switching detection time, i.e., the second timestamp; and the backup power supply output voltage establishment time, i.e., the third timestamp). This design ensures that the backup power supply can respond quickly and accurately at the moment of main power supply failure. Furthermore, by analyzing the timestamps, potential problems during backup power switching, such as slow response or output establishment failure, can be identified in a timely manner, providing specific fault types and possible fault points for rapid repair. This reduces system downtime and data loss risks caused by power switching, achieving accurate identification of fault conditions during backup power switching. Attached Figure Description

[0016] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a hardware structure block diagram of a server device for a power supply system fault determination method according to an embodiment of this application;

[0018] Figure 2 This is a flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0019] Figure 3 This is a second flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0020] Figure 4 This is the third flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0021] Figure 5 This is the fourth flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0022] Figure 6 This is the fifth flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0023] Figure 7 This is a flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0024] Figure 8 This is the seventh flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0025] Figure 9 This is the eighth flowchart of a fault determination method for a power supply system according to an embodiment of this application;

[0026] Figure 10 This is flowchart nine of a fault determination method for a power supply system according to an embodiment of this application;

[0027] Figure 11 This is flowchart ten of a fault determination method for a power supply system according to an embodiment of this application;

[0028] Figure 12 This is flowchart eleven of a method for determining faults in a power supply system according to an embodiment of this application;

[0029] Figure 13This is a schematic diagram of a power supply system according to an embodiment of this application;

[0030] Figure 14 This is a second schematic diagram of a power supply system according to an embodiment of this application;

[0031] Figure 15 This is a third schematic diagram of a power supply system according to an embodiment of this application;

[0032] Figure 16 This is a schematic diagram of the structure of a switching unit according to an embodiment of this application;

[0033] Figure 17 This is a structural block diagram of a fault determination device for a power supply system according to an embodiment of this application.

[0034] Explanation of reference numerals in the attached figures:

[0035] 10-Main power supply, 20-Backup power supply, 30-Control module, 31-First power supply comparison unit, 32-Control unit, 33-Second power supply comparison unit, 34-Switching unit, 35-Timing recording unit, 40-External load. Detailed Implementation

[0036] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0037] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0038] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0039] The specific application environment architecture or specific hardware architecture on which the fault determination method of the power supply system depends is described here.

[0040] The fault determination method for the power supply system provided in this application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 This is a hardware structure block diagram of a server device for a power supply system fault determination method according to an embodiment of this application. For example... Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the image. A processor 102 (which may include, but is not limited to, a central processing unit (CPU), microprocessor (MCU), or programmable logic device (FPGA), etc.) and a memory 104 for storing data are also shown. The server device may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the server equipment described above. For example, the server equipment may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0041] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the power supply system fault determination method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to server devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0042] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the server device. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0043] This application provides a fault determination method for a power supply system, applicable to a power supply system including a main power supply and a backup power supply. The method is described in detail below, along with its execution flow. Figure 2 As shown, the method includes the following steps S200-230:

[0044] Step S200: If the first power supply signal provided by the main power supply is detected to be lower than the preset reference signal, record the current first timestamp and send a first control signal to the backup power supply.

[0045] The first control signal is used to control the backup power supply to switch to hot standby mode.

[0046] Specifically, when the system detects that the voltage provided by the main power supply is lower than the set safety threshold (e.g., 10.8V), it immediately records the current time as the first timestamp (T1). In addition, the system sends a control signal (first control signal) to the backup power supply, instructing the backup power supply to switch from cold standby mode to hot standby mode, ready to take over the power supply of the main power supply, so as to avoid data loss or system crash due to power interruption of the storage system.

[0047] The main power supply is the primary source of power during normal system operation, such as a 12V power supply unit (PowerSupply Unit_12 Volt, PSU_P12V). Backup power supplies are backup energy sources that provide power when the main power supply fails, such as supercapacitors and backup batteries.

[0048] Step S210: When the backup power supply is detected to switch to hot standby mode, record the current second timestamp.

[0049] Specifically, once it is confirmed that the backup power supply is ready to assume the power supply task, that is, when the backup power supply is indeed in hot standby mode, this critical moment is recorded as a second timestamp (T2). Recording the hot standby switchover moment of the backup power supply can help assess its response speed.

[0050] The backup power supply is in a cold standby state when the main power supply is working normally. In this state, the backup power supply can be turned off or in standby mode to save energy. In the hot standby state, the backup power supply is in a running state and can take over the power supply at any time to output the required voltage.

[0051] Step S220: If the second power supply signal provided by the backup power supply reaches the reference signal, record the current third timestamp.

[0052] Specifically, confirm that the backup power supply has started to supply power stably, meaning its output voltage has reached the preset reference signal voltage level. Once the voltage is established, the system can continue to operate relying on the backup power supply. Record this critical moment as a third timestamp for subsequent fault analysis.

[0053] Step S230: Based on the records and timing relationships of the first, second, and third timestamps, determine the fault status of the power supply system during the backup power switching process.

[0054] Specifically, by determining whether the first, second, and third timestamps are recorded, and by comparing the time differences between the first, second, and third timestamps, the system can identify various possible faults during the backup power switchover process. These faults include, but are not limited to, backup power supply response delays, output voltage establishment timeouts, and erroneous control operations.

[0055] The temporal relationship refers to the order and time difference between timestamps, which is used to analyze the sequence of system events and response time.

[0056] In this embodiment, by recording timestamps of a series of key time points when the main power supply fails (including the main power supply failure detection time, i.e., the first timestamp; the backup power supply hot standby switching detection time, i.e., the second timestamp; and the backup power supply output voltage establishment time, i.e., the third timestamp), accurate identification and location of faults during the backup power switching process can be achieved. This design ensures that the backup power supply can respond quickly and accurately at the moment of main power supply failure. Simultaneously, through timestamp analysis, potential problems during the backup power switching process can be identified in a timely manner, such as slow response or output establishment failure, providing specific fault types and possible fault points for rapid repair. This reduces system downtime and data loss risks caused by power switching, achieving accurate identification of fault conditions during the backup power switching process.

[0057] In one embodiment, such as Figure 3 As shown, step S230 determines the fault status of the power supply system during the backup power switchover process based on the records of the first, second, and third timestamps. This includes steps S300-S310:

[0058] Step S300: If the first timestamp is recorded but the second timestamp is not recorded, it is determined that the backup power supply has not switched to hot standby mode, and the component that has failed in the power supply system is determined to be the control module that sends the first control signal to the backup power supply.

[0059] Specifically, when the main power supply (PSU_P12V) voltage drops below the reference voltage (10.8V), the occurrence time of this event is recorded (i.e., the first timestamp T1). If no signal is recorded within the following time period indicating that the backup power supply (Backup_P12V) has switched to hot standby mode (i.e., the second timestamp T2), the system determines that the backup power supply failed to respond in time, i.e., it failed to switch to hot standby mode. This indicates a fault point on the critical path of backup power switching, possibly because the control module controlling the backup power switching failed to successfully send the switching command, causing the backup power supply to fail to enter the hot standby output state as expected. Precisely locating the fault in the backup power switching response using microsecond-level timestamps helps to quickly identify the source of the problem. Whether it is a software defect in the control module or a hardware failure in the backup power supply, it can be quickly identified and targeted measures can be taken, shortening system recovery time and reducing operation and maintenance costs.

[0060] For example, PSU_P12V can be continuously monitored, and once the voltage is detected to be below 10.8V, a T1 timestamp recording is triggered. Subsequently, the control module should immediately send a Backup_ctrl signal (signal value 0) to instruct the backup power supply to switch to hot standby mode. If the control module fails to trigger the T2 timestamp within a predetermined time (e.g., 50μs), the system determines that there may be a fault in the logic control module or the backup power supply response mechanism.

[0061] Step S310: If the second timestamp is recorded but the third timestamp is not recorded, it is determined that the second power supply signal provided by the backup power supply has not reached the reference signal, and the component in the power supply system that has failed is determined to be the backup power supply.

[0062] Specifically, after receiving the first control signal from the control module (Backup_ctrl is 0), i.e., recording timestamp T2, if the system fails to record a signal that the backup power supply output voltage (Backup_P12V) reaches or exceeds the reference voltage (10.8V), i.e., the third timestamp T3, then the system determines that the backup power supply itself has a problem and has failed to start normally or output sufficient energy. By monitoring and recording changes in the backup power supply output voltage in real time, a precise assessment of the backup power supply's functional status is achieved. It can detect whether the backup power supply is working properly within microseconds, thereby quickly pinpointing the cause of the fault and improving maintenance efficiency and system reliability.

[0063] For example, after recording the T2 timestamp, the Backup_P12V can continue to be monitored. Once the voltage value of Backup_P12V exceeds 10.8V, the T3 timestamp is recorded immediately. If the T3 timestamp is not recorded within a specified time (e.g., 200μs), the system determines that the backup power supply or its connector is faulty and has failed to output a valid voltage within the specified time.

[0064] In this embodiment, through precise recording and analysis using microsecond-level timestamps, two key steps are provided for timing diagnosis of backup power supply failures: first, detecting whether the backup power supply failed to quickly switch to hot standby mode upon receiving the instruction; and second, confirming whether the backup power supply can provide sufficient voltage within the specified time. These steps effectively improve the accuracy of fault diagnosis, reduce the lengthy troubleshooting time caused by ambiguous fault location, thereby reducing the risk of business interruption and maintenance costs, and ensuring the high availability and stability of the system. Specifically, if the backup power supply fails to trigger a hot standby switch in a timely manner after the main power supply fails, the control module or communication mechanism may become the point of failure. If an effective voltage output is not established after the switch, the problem points to the backup power supply or its internal components. This fine-grained fault location strategy provides strong support for rapid fault recovery in high-demand environments such as storage devices and even data centers.

[0065] In one embodiment, such as Figure 4 As shown, step S230 determines the fault status of the power supply system during the backup power switching process based on the timing relationship of the first, second, and third timestamps. This includes steps S400-S430:

[0066] Step S400: If both the first timestamp and the second timestamp are recorded, determine the first time interval between the first timestamp and the second timestamp.

[0067] Specifically, the moment when the main power supply (PSU) fails (first timestamp) and the moment when the backup power supply output voltage stabilizes above a reference voltage (e.g., 10.8V) are determined (second timestamp). The interval between these two timestamps, i.e., the first time interval, is used to assess the response speed of the backup power supply.

[0068] Step S410: If the first time interval is greater than the first threshold, it is determined that the response timeout for switching the backup power supply to hot standby mode has expired, so as to determine that the faulty component of the power supply system is: the control module that sends the first control signal to the backup power supply, and / or the backup power supply.

[0069] Specifically, the system analyzes the first time interval to determine whether the backup power supply's response exceeds a predetermined reasonable time (first threshold), such as 50 microseconds. If the backup power supply fails to complete hot standby switching within the first threshold after the main power supply fails, i.e., the first time interval T2-T1 exceeds 50 microseconds, the system infers a fault. The fault may occur in the control module that sends the first control signal to the backup power supply (i.e., the Backup_ctrl signal is set to 0, requesting the backup power supply to switch to hot standby mode), or in the backup power supply itself.

[0070] Step S420: If a third timestamp is recorded, determine a second time interval between the first timestamp and the third timestamp.

[0071] Specifically, the time from the main power supply failure to the complete stabilization of the backup power supply output voltage (i.e., the time from T1 to T3). The second time interval T3-T1 is used to evaluate the efficiency of the backup power supply output voltage switching.

[0072] Step S430: If the second time interval is greater than the second threshold, it is determined that the output voltage switching timeout of the backup power supply has occurred, so as to determine that the faulty component of the power supply system is the backup power supply.

[0073] Specifically, check if the second time interval exceeds the second threshold, such as 200 microseconds. If it does, it indicates that the backup power supply takes too long to complete the voltage switching, suggesting a fault. The fault may be due to a problem with internal components of the backup power supply, or it may be related to the backup power supply's connectors or power supply lines.

[0074] In this embodiment, by accurately recording and analyzing the hot standby switching response time and output voltage switching time of the backup power supply when the main power supply fails, microsecond-level fault diagnosis can be achieved. Specifically, by comparing the interval between timestamps with a preset threshold, the system can quickly pinpoint the specific stage of the fault, whether it is a signal processing delay in the control module or a response efficiency issue with the backup power supply itself. This high-precision fault diagnosis helps reduce maintenance time and costs, and improves equipment availability.

[0075] In one embodiment, such as Figure 5 As shown, in step S220, after recording the current third timestamp upon detecting that the second power supply signal provided by the backup power supply has reached the reference signal, the method further includes: steps S500-S520:

[0076] In step S500, a second control signal is sent to the switching unit to control the switching unit to close.

[0077] When the switching unit is turned off, the main power supply path is cut off.

[0078] Specifically, upon detecting an anomaly or power failure in the main power supply unit (PSU), the system sends a second control signal via the control module to the switching unit (e.g., a metal-oxide-semiconductor (MOS) switch), instructing it to shut down. The purpose of this operation is to cut off the main power supply path, ensuring the system can continue operating with the support of a backup power source, unaffected by main power supply anomalies.

[0079] For example, after the control module detects a signal of main power supply abnormality through digital circuits or programmable logic devices (such as field-programmable gate arrays (FPGAs) or complex programmable logic devices (CPLDs)), it generates a second control signal and outputs it to the gate of the MOS switch through a dedicated drive circuit, causing it to enter the cut-off state (turn off), thereby cutting off the main power supply to the system.

[0080] Step S510: If it is determined that the switch unit has been successfully turned off, record the current fourth timestamp.

[0081] Specifically, in order to accurately grasp the timing information of power switching, when it is determined that the switching unit (MOS switch) is successfully turned off, the system records the timestamp of the current time point through the timing recording unit, that is, the fourth timestamp, which is used for subsequent analysis of the efficiency and integrity of the power switching process, as well as possible faults.

[0082] For example, after the MOS switch is detected by the timing recording unit (Time-to-Digital Converter, TDC chip), the timing information accurate to nanoseconds can be recorded using an internal clock or an external synchronization clock and stored in the data storage module for subsequent analysis and diagnosis.

[0083] Among them, the TDC chip is a precision circuit used to measure time intervals, typically achieving nanosecond-level resolution, and is used to record the precise timing of signal changes.

[0084] Step S520: If the third timestamp is recorded but the fourth timestamp is not recorded, it is determined that the switching unit failed to close, and the faulty component of the power supply system is identified as the switching unit.

[0085] Specifically, if the fourth timestamp (the timestamp when the backup power output voltage is established) is not recorded after the third timestamp (the timestamp when the switch unit is successfully closed), the system determines that the switch unit has failed to close and confirms that the faulty component in the power supply system is the switch unit.

[0086] For example, the control module determines the response of the MOS switch by comparing the presence and time difference between the third and fourth timestamps stored in the data storage module. If the fourth timestamp is missing, or the time interval between the fourth and third timestamps exceeds a preset threshold, the system automatically triggers a fault diagnosis process, writes the "switch unit failed to close" fault code into the data storage module, and reports the fault information to maintenance personnel through the Baseboard Management Controller (BMC).

[0087] In this embodiment, by quickly responding to main power supply anomalies and recording key time points of power switching, the system can promptly detect and isolate faulty components, avoiding prolonged service interruptions and potential data risks, thereby improving the stability and operational efficiency of the entire power supply system.

[0088] In one embodiment, such as Figure 6 As shown, after sending a second control signal to the switching unit to control the switching unit to close in step S500, the method further includes: steps S600-S620:

[0089] In step S600, when the first power supply signal provided by the main power supply is detected to have recovered to the reference signal, the current fifth timestamp is recorded, and a third control signal is sent to the switching unit to control the switching unit to turn on.

[0090] When the switching unit is closed, the main power supply path is turned on.

[0091] Specifically, when the primary power supply unit (PSU) provides the first power supply signal (PSU_P12V) after an abnormal power outage and then returns to the predetermined reference voltage level (e.g., 10.8V), this change in state is monitored and recorded by the control module. The control module continuously compares PSU_P12V with the reference voltage. Once it detects that the PSU_P12V voltage has recovered and exceeded the reference voltage, it generates a signal to trigger subsequent actions and records the current time as the fifth timestamp (T5). This design allows the system to accurately capture when the PSU resumes normal power supply, providing a time reference for subsequent operations.

[0092] Step S610: If the switch unit is successfully turned on, record the current sixth timestamp.

[0093] Specifically, after the main power supply voltage is restored, the control module sends a third control signal (such as a MOS switch signal) to the switching unit to restart the main power supply path, allowing the main power supply to become the main power source of the system again. Upon receiving this signal, the switching unit should turn on, connecting the main power supply path. If this process is completed successfully, the system will record a sixth timestamp (T6), indicating that the main power supply has been successfully restored and the main power supply path has been reactivated.

[0094] Step S620: If the fifth timestamp is recorded but the sixth timestamp is not recorded, it is determined that the switching unit failed to start, and the faulty component of the power supply system is determined to be the switching unit.

[0095] Specifically, if a sixth timestamp (T6) is not recorded after the fifth timestamp (T5), it means that the switching unit failed to turn on successfully as expected. This situation indicates that the switching unit may be faulty.

[0096] In this embodiment, anomalies during the main power supply restoration and switching unit activation processes are accurately captured and located through microsecond-level timing recording and comparison. First, when the main power supply voltage returns to normal, the system promptly records this time point (T5) and subsequently controls the switching unit to activate. Normally, another time point (T6) is recorded as proof of successful switching unit activation. If T6 is not recorded, the system can quickly identify the switching unit activation failure. This shortens the fault diagnosis time and improves diagnostic accuracy.

[0097] In one embodiment, such as Figure 7 As shown, the method further includes steps S700-S710:

[0098] Step S700: If both the fifth and sixth timestamps are recorded, determine the third time interval between the fifth and sixth timestamps.

[0099] Specifically, the time difference between the main power supply restoration and the restart of the switching unit is monitored and analyzed. The fifth timestamp records the time when the main power supply returns to normal operation (i.e., the time when the voltage exceeds the preset reference value), and the sixth timestamp records the time when the switching unit responds to the main power supply restoration and restarts. By comparing these two timestamps, the time difference between them is calculated, which is the third time interval.

[0100] For example, a timing recording unit (such as a TDC chip) can be used to capture and record the fifth and sixth timestamps in real time. Once the fifth timestamp is recorded, the system begins monitoring for the appearance of the sixth timestamp. The calculation of the third time interval can be achieved by directly reading the fifth and sixth timestamp data from the timing recording unit and then performing a subtraction operation in the control module.

[0101] Step S710: If the third time interval is greater than the third threshold, it is determined that the switching unit has timed out, so that the component in the power supply system that has failed is the switching unit.

[0102] Specifically, the system further analyzes whether the third time interval exceeds the preset safety response time threshold, i.e., the third threshold. If the time from the main power supply to the actual start-up of the switching unit exceeds this threshold, the system will automatically identify it as a timeout of the switching unit and determine that the switching unit is faulty.

[0103] For example, a third threshold is set in the control module, such as 50 microseconds. When the calculated third time interval exceeds this threshold, the control module marks the switching unit as faulty and records this fault information.

[0104] In this embodiment, the time difference (third time interval) between the restoration of main power and the restart of the switching unit is accurately measured by recording key time points (the fifth and sixth timestamps). Then, a preset third threshold is used to determine whether the response of the switching unit is within a reasonable range. If the switching unit's turn-on time exceeds the threshold, the system can quickly identify and locate the fault, determining the switching unit as the fault point.

[0105] In one embodiment, such as Figure 8 As shown, in step S610, after determining that the switch unit has been successfully turned on and recording the current sixth timestamp, the method further includes: steps S800-S820:

[0106] In step S800, a fourth control signal is sent to the backup power supply.

[0107] The fourth control signal is used to control the backup power supply to switch to cold standby mode.

[0108] Specifically, a specific control signal (the fourth control signal) is sent to the backup power supply to instruct it to switch to cold standby mode. Cold standby mode means the backup power supply is not outputting power but is in an energy-saving and readily available state. This ensures that it can quickly enter energy-saving mode when backup power is not needed, and guarantees a rapid and accurate switchback to cold standby mode when the main power supply is restored. By precisely controlling the backup power supply's operating state, unnecessary power consumption is reduced, and the system's energy efficiency is improved.

[0109] Step S810: When the backup power supply is detected to switch to cold standby mode, record the current seventh timestamp.

[0110] Specifically, once the control module successfully receives feedback confirming that the backup power supply has switched to cold standby mode, it triggers the timing recording unit to record a new time point (the seventh timestamp). This timestamp marks the exact moment when the backup power supply successfully enters cold standby mode, providing a crucial time reference for subsequent fault diagnosis.

[0111] For example, after the control module sends a switching command to the backup power supply, it waits for an acknowledgment signal. Once it receives acknowledgment from the backup power supply (indicating that the switch to cold standby mode has been successfully completed), it records the current time through the timing recording unit.

[0112] Step S820: If the sixth timestamp is recorded but the seventh timestamp is not recorded, it is determined that the backup power supply has not switched to cold standby mode, and the component that has failed in the power supply system is determined to be the control module that sends the fourth control signal to the backup power supply.

[0113] Specifically, if the expected seventh timestamp is not recorded after the sixth timestamp is recorded, it indicates a fault has occurred. The system will determine that this fault is caused by the control module failing to correctly send the cold standby switching signal to the backup power supply.

[0114] For example, if the control module does not receive the information of the seventh timestamp within a reasonable time (such as 200us) after reading the sixth timestamp, it will infer that the control module or the part communicating with it may be faulty and unable to send the cold standby switchover signal correctly.

[0115] In this embodiment, microsecond-level fault location of the power system is achieved by precisely controlling and monitoring the state switching time of the backup power supply. Specifically, firstly, by sending a cold standby switching signal (fourth control signal) to the backup power supply, the energy consumption of the backup power supply is effectively controlled, while extending its service life. Secondly, recording the timestamps of key state changes provides an accurate time basis for fault diagnosis. Finally, by comparing the timestamps, the system can quickly identify the fault state of the control module, thereby achieving rapid fault location and preventive maintenance.

[0116] In one embodiment, such as Figure 9 As shown, the method further includes steps S900-S910:

[0117] Step S900: If the sixth timestamp and the seventh timestamp are recorded, determine the fourth time interval between the sixth timestamp and the seventh timestamp.

[0118] Specifically, after recording the sixth and seventh timestamps, the time difference between these two timestamps is calculated, which is the fourth time interval. This is to evaluate the response time of the backup power supply switching from hot standby to cold standby, in order to determine whether a fault exists.

[0119] For example, when the main power supply is restored, the system records the sixth timestamp. Subsequently, when the control module sends a signal to put the backup power supply into cold standby mode, the seventh timestamp is recorded. The timing recording unit within the system (such as a TDC chip) is responsible for detecting these two key events and recording the corresponding timestamps. The fourth time interval can be calculated using a simple subtraction operation: T7 - ​​T6 = fourth time interval. If this interval exceeds a preset fourth threshold, the system will trigger a fault diagnosis process to determine the source of the fault.

[0120] Step S910: If the fourth time interval is greater than the fourth threshold, it is determined that the response timeout for switching the backup power supply to cold standby mode has occurred, so as to determine that the faulty component of the power supply system is: the control module that sends the fourth control signal to the backup power supply, and / or the backup power supply.

[0121] Specifically, if the calculated fourth time interval exceeds the preset fourth threshold, it means that there is an abnormal delay in the process of the backup power supply switching from hot standby output state to cold standby state. This may be a problem with the backup power supply itself or a failure of the control module that controls its state transition.

[0122] In this embodiment, by accurately measuring the time interval from the restoration of power supply from the main power supply to the switching of the backup power supply to the cold standby state, potential faults in the backup power supply and control module can be effectively identified.

[0123] In one embodiment, such as Figure 10 As shown, in step S410, after determining that the faulty component in the power supply system is the control module that sends a first control signal to the backup power supply, and / or the backup power supply, the method further includes: steps S1000-S1030:

[0124] Step S1000: Send the first test signal to the control module and record the current eighth timestamp.

[0125] The first test signal is used to trigger the control module to send a first control signal to the backup power supply.

[0126] Specifically, the system actively sends a first test signal to the control module. This simulates a power switching trigger condition to test whether the control module can respond promptly and send a first control signal to the backup power supply to activate its output. The recorded eighth timestamp is the time record at the moment the first test signal is sent.

[0127] For example, the first test signal can be generated by software or hardware, such as by sending a specific command signal through the BMC controller, or by simulating a main power supply failure through circuitry to trigger the response mechanism of the control module. Recording the timestamp can be achieved using a timing recording unit (such as a TDC chip) to ensure that the precise time of signal transmission is recorded.

[0128] Step S1010: When the control module issues a first control signal in response to the first test signal, record the current ninth timestamp.

[0129] Specifically, when the control module receives the first test signal and responds correctly, issuing the first control signal to the backup power supply, this time point is recorded as the ninth timestamp. This is to measure the response time of the control module from receiving the test signal to issuing the control signal.

[0130] Step S1020: Determine the fifth time interval between the eighth and ninth timestamps.

[0131] Specifically, the time difference between the issuance of the first test signal (eighth timestamp) and the issuance of the first control signal (ninth timestamp) by the control module, i.e. the fifth time interval, is calculated to evaluate the response time of the control module.

[0132] Step S1030: If the fifth time interval is greater than the fifth threshold, it is determined that the control module has malfunctioned.

[0133] Specifically, if the measured fifth time interval exceeds the preset fifth threshold, it indicates that the response time of the control module after receiving the test signal is too long, and its performance or status may have problems.

[0134] In this embodiment, by actively sending a first test signal and recording a key timestamp, the system can accurately measure the response time of the control module and determine whether the control module has malfunctioned based on this.

[0135] In one embodiment, such as Figure 11 As shown, in step S410, after determining that the faulty component in the power supply system is the control module that sends a first control signal to the backup power supply, and / or the backup power supply, the method further includes: steps S1100-S1130:

[0136] Step S1100: Send the first control signal to the backup power supply and record the current tenth timestamp.

[0137] Specifically, a first control signal can be sent to the backup power supply, instructing it to start outputting voltage and enter hot standby mode. Simultaneously, the system will record the time of this event, i.e., the tenth timestamp.

[0138] Step S1110: When the backup power supply switches to hot standby mode in response to the first control signal, record the current eleventh timestamp.

[0139] Specifically, if the backup power supply correctly responds to the first control signal, switches to hot standby mode and starts outputting voltage (Backup_P12V), the system will record the time point of this state change, i.e., the eleventh timestamp, for subsequent fault analysis.

[0140] Step S1120: Determine the sixth time interval between the tenth and eleventh timestamps.

[0141] Specifically, the time interval from sending the first control signal to the backup power supply to successfully switching to hot standby mode is calculated, which is the sixth time interval. Measuring this interval reflects the response speed of the backup power supply.

[0142] Step S1130: If the sixth time interval is greater than the sixth threshold, it is determined that the backup power supply has failed.

[0143] Specifically, if the sixth time interval exceeds the preset sixth threshold, it indicates that the backup power supply response time is too long and there is a fault.

[0144] In this embodiment, by actively sending a first control signal to the backup power supply and determining the response time of the backup power supply, it is possible to determine whether the backup power supply is faulty.

[0145] In one embodiment, such as Figure 12 As shown, the method further includes steps S1200-S1220:

[0146] Step S1200: When the first power supply signal provided by the main power supply is higher than or equal to the reference signal, monitor the output parameters of the main power supply.

[0147] Specifically, when the main power supply (PSU) is operating normally, i.e., when the voltage it provides is not lower than the set reference voltage, the system continuously monitors various output parameters of the main power supply, such as voltage, current, and temperature, to determine whether it is in a stable and healthy state. By continuously monitoring the output parameters of the main power supply, the system can detect potential instability or overheating signs in the main power supply at an early stage, providing a data basis for fault warning and preventive maintenance.

[0148] Step S1210: Determine the operating status of the main power supply based on the output parameters of the main power supply.

[0149] The operating conditions include voltage stability, current fluctuation, and temperature change.

[0150] Specifically, based on the collected output parameters of the main power supply, the system evaluates its operating status, including whether the voltage is stable, whether the current fluctuates, and whether the temperature rises beyond the safe range, and uses this as the basis for decision-making on the next steps.

[0151] For example, the control module or processor compares historical data with preset thresholds to determine whether the current voltage, current, and temperature are maintained within a reasonable range. For instance, if the voltage drops below 10%, or the current fluctuates by more than 20%, or the temperature rises to a preset warning level, it will be considered an abnormal operating condition.

[0152] Step S1220: If it is determined that the first power supply signal output by the main power supply has an abnormal downward trend based on the working condition of the main power supply, the backup power supply is controlled to start pre-charging in order to improve the response speed of the backup power supply switching to hot standby mode.

[0153] Specifically, once an abnormal drop in the main power supply voltage is detected, the system immediately initiates a pre-charging process for the backup power supply to ensure that it can switch to hot standby mode quickly and take over the power supply task. This pre-charging strategy significantly shortens the switching time from cold standby to hot standby mode, reducing the risk of service interruption.

[0154] For example, when the main power supply's first power supply signal is detected to drop to near a preset threshold, the control module sends a command to activate the backup power supply's pre-charging circuit. This circuit can quickly charge the backup power supply to full capacity, typically using a high-efficiency charging mode, such as constant current constant voltage charging. After pre-charging is complete, the backup power supply prepares to switch to hot standby mode, awaiting the control module's switching command.

[0155] In this embodiment, by continuously monitoring the operating status of the main power supply, intelligently analyzing the trend changes of its output parameters, and adopting a pre-charging strategy to prepare for the backup power supply to switch to hot standby mode, the backup power supply can seamlessly take over the power supply task at a microsecond speed when the main power supply shows signs of abnormal decline. This rapid response mechanism not only reduces the time of service interruption but also improves the overall availability and reliability of the system.

[0156] In one embodiment, such as Figure 13 As shown, a power supply system is provided, including: a main power supply 10, a backup power supply 20, and a control module 30, wherein:

[0157] The main power supply 10 is used to provide the first power supply signal.

[0158] Specifically, the main power supply 10 is a device used to provide the main power source for electronic equipment or systems, and is typically designed to provide a stable first power supply signal, such as PSU_P12V, i.e., a 12-volt power output, under normal operating conditions.

[0159] The backup power supply 20 is used to provide a second power supply signal.

[0160] Specifically, the backup power supply 20 serves as a backup energy source in case the main power supply 10 fails. Initially, it may be in a cold standby state to reduce energy consumption and maintain a longer standby time. When it receives the first control signal from the control module 30, the backup power supply 20 switches to a hot standby state, which means it begins to prepare to provide a second power supply signal.

[0161] The control module 30, connected to both the main power supply 10 and the backup power supply 20, records a first timestamp and sends a first control signal to the backup power supply 20 when the first power supply signal provided by the main power supply 10 is detected to be lower than a preset reference signal. The first control signal controls the backup power supply 20 to switch to hot standby mode. When the backup power supply 20 is detected to be in hot standby mode, it records a second timestamp. When the second power supply signal provided by the backup power supply 20 is detected to reach the reference signal, it records a third timestamp. Based on the recording and timing relationship of the first, second, and third timestamps, the fault condition of the power supply system during the backup power switching process is determined.

[0162] In this embodiment, by recording a series of key time points (including the main power supply 10 failure detection time, i.e., the first timestamp; the backup power supply 20 hot standby switching detection time, i.e., the second timestamp; and the backup power supply 20 output voltage establishment time, i.e., the third timestamp) by the control module 30 when the main power supply 10 fails, accurate identification and location of faults during the backup power switching process can be achieved. This design ensures that the backup power supply 20 can respond quickly and accurately at the moment the main power supply 10 fails. At the same time, through the analysis of timestamps, potential problems during the backup power switching process can be discovered in a timely manner, such as slow response and output establishment failure, and specific fault types and possible fault points can be given, which facilitates rapid repair and reduces the system interruption time and data loss risk caused by power switching, thus achieving accurate identification of fault conditions during the backup power switching process.

[0163] In one embodiment, such as Figure 14 As shown, the control module includes: a first power supply comparison unit 31 and a control unit 32, wherein:

[0164] The first input terminal of the first power supply comparison unit 31 is connected to the reference signal, and the second input terminal of the first power supply comparison unit 31 is connected to the main power supply 10. The first power supply comparison unit 31 is used to output a first level signal when the first power supply signal provided by the main power supply 10 is lower than the reference signal.

[0165] Specifically, the first input terminal of the first power supply comparison unit 31 is connected to the reference signal: here, the reference signal is set to 10.8V, which is a threshold voltage used to determine whether the main power supply 10 is malfunctioning. When the main power supply 10 is supplying power normally, its output voltage is higher than the reference signal (10.8V), and the first power supply comparison unit 31 will not be triggered at this time; once the voltage of the main power supply 10 drops below 10.8V, the first power supply comparison unit 31 will detect this change and output a first level signal.

[0166] Control unit 32 is connected to the output terminal of the first power supply comparison unit 31 and the backup power supply 20, respectively, and is used to send a first control signal to the backup power supply 20 when a first level signal is received.

[0167] Specifically, when the control unit 32 receives the high-level signal output by the first power supply comparison unit 31, it quickly sends a first control signal to the backup power supply 20, causing the backup power supply 20 to switch from cold standby state to hot standby output state.

[0168] In this embodiment, when the voltage of the main power supply 10 is lower than the set reference signal, the first power supply comparison unit 31 is immediately triggered and outputs a high-level signal. After receiving this signal, the control unit 32 reacts quickly and switches the backup power supply 20 to hot standby output state.

[0169] In one embodiment, please see [link to embodiment]. Figure 14 The control module also includes: a second power supply comparison unit 33.

[0170] The first input terminal of the second power supply comparison unit 33 is connected to the reference signal, and the second input terminal of the second power supply comparison unit 33 is connected to the backup power supply 20. The second power supply comparison unit 33 is used to output a second level signal when the second power supply signal provided by the backup power supply 20 reaches the reference signal.

[0171] Specifically, the second power supply comparison unit 33 can detect the power supply status of the backup power supply 20. When the output voltage of the backup power supply 20 reaches or exceeds the reference signal level, the second power supply comparison unit 33 will immediately output a second level signal.

[0172] The control unit 32 is connected to the output terminal of the second power supply comparison unit 33 and the main power supply 10, and is used to control the main power supply 10 to stop supplying power when a second level signal is received.

[0173] Specifically, when the control unit 32 receives the second-level signal, indicating that the backup power supply 20 has successfully established power supply and met the system's power requirements, it immediately controls the main power supply 10 to stop supplying power to ensure the system's stability and continuity. This operation avoids switching conflicts between power supplies and ensures that the backup power supply 20 can seamlessly take over from the main power supply 10 to continuously supply power to the system.

[0174] In this embodiment, the second power supply comparison unit 33 can accurately detect whether the output voltage of the backup power supply 20 has reached an effective power supply level. After receiving the signal from the second power supply comparison unit 33, the control unit 32 quickly controls the main power supply 10 to stop supplying power, ensuring a seamless switch from the main power supply 10 to the backup power supply 20, avoiding fluctuations and interference during the power switching process, and effectively improving the stability and continuity of the system.

[0175] In one embodiment, such as Figure 15 As shown, the control module also includes a switch unit 34.

[0176] The switching unit 34 is connected to the main power supply 10 and the backup power supply 20 respectively, and is used to connect to external loads.

[0177] Specifically, the switching unit 34 is connected to both the main power supply 10 and the backup power supply 20, and can establish a path to external loads (such as servers, storage systems, etc.). The function of the switching unit 34 is to ensure continuous power supply to external loads during power switching. It achieves seamless switching from the main power supply 10 to the backup power supply 20, or from the backup power supply 20 back to the main power supply 10, by precisely controlling the state of internal switches (such as MOSFETs). This ensures that even in the event of a failure in the main power supply 10, the system can quickly switch to the backup power supply 20, thereby avoiding the impact of power outages on business operations.

[0178] For example, such as Figure 16 As shown, the switching unit 34 includes: a MOSFET Q1 and an inductor L1. The control terminal of the MOSFET Q1 is connected to the control unit 32. The first terminal of the MOSFET Q1 is connected to the main power supply 10. The second terminal of the MOSFET Q1 is connected to the external load 40 and the backup power supply 20. An inductor L1 is connected between the external load 40 and the backup power supply 20.

[0179] The control unit 32 is connected to the switch unit 34. The control unit 32 is used to control the switch unit 34 to cut off the path between the main power supply 10 and the external load and to open the path between the backup power supply 20 and the external load when the first power supply signal provided by the main power supply 10 is lower than the preset reference signal and the second power supply signal provided by the backup power supply 20 reaches the reference signal.

[0180] Specifically, when the control unit 32 detects that the first power supply signal provided by the main power supply 10 is lower than a preset reference signal, it means that the main power supply 10 may be unable to provide stable power or has failed. At this time, the control unit 32 will activate the emergency mechanism by sending a control signal to the switching unit 34, instructing it to cut off the path between the main power supply 10 and the external load. At the same time, if the second power supply signal provided by the backup power supply 20 has reached or exceeded the reference signal, the control unit 32 will further control the switching unit 34 to open the path between the backup power supply 20 and the external load, thereby seamlessly switching to the backup power supply 20 to ensure the stable operation of the load.

[0181] The control unit 32 is also used to control the switching unit 34 to open the path between the main power supply 10 and the external load when it detects that the first power supply signal provided by the main power supply 10 has recovered to the reference signal, and to control the backup power supply 20 to switch to cold standby mode.

[0182] Specifically, when the fault of the main power supply 10 is resolved, and the control unit 32 detects that the first power supply signal of the main power supply 10 has returned to the preset reference signal level, meaning that the main power supply 10 can stably supply power, it will reassess the system's power supply requirements. The control unit 32 will send a signal to the switching unit 34, instructing it to reconnect the main power supply 10 to the external load, restoring the power supply of the main power supply 10, thereby realizing the normal operation mode of the system. After the main power supply 10 returns to normal, the control unit 32 will not only restore the power supply of the main power supply 10, but also switch the backup power supply 20 back to cold standby mode. This is because the cold standby mode can reduce the energy consumption of the backup power supply 20, extend its service life, and ensure a rapid response when needed. The backup power supply 20 will then be switched back to cold standby mode.

[0183] In this embodiment, when the main power supply 10 signal is lower than a set threshold, the system can quickly identify the fault and automatically switch to the backup power supply 20 if the conditions are met, ensuring continuous power supply to the external load. When the main power supply 10 returns to normal, the system can switch the power supply back to the main power supply 10 and switch the backup power supply 20 back to cold standby mode to save energy and extend the service life of the backup power supply 20.

[0184] In one embodiment, please see [link to embodiment]. Figure 15 The control module 30 also includes a timing recording unit 35. The timing recording unit 35 is connected to the output terminal of the first power supply comparison unit 31, the output terminal of the second power supply comparison unit 33, the backup power supply 20, and the control unit 32, respectively. The timing recording unit 35 is used to record the first timestamp, the second timestamp, and the third timestamp.

[0185] Specifically, the timing recording unit 35 can record the time points of key signals with high precision, capturing signal changes with nanosecond-level accuracy. The first power supply comparison unit 31 monitors the voltage of the main power supply 10. Once the voltage is detected to be lower than a preset threshold (e.g., 10.8V), indicating that the main power supply 10 has failed, this unit will send a signal to the timing recording unit 35. The timing recording unit 35 records the time point of this event, i.e., the first timestamp T1, to identify the precise moment when the main power supply 10 failed. The backup power supply 20 directly or indirectly affects the timing recording unit 35 through changes in the state of its output signal. When the control module 30 issues a command to switch the backup power supply from cold standby to hot standby output state, the timing recording unit 35 will record the time point when the command is issued, i.e., the second timestamp T2. This step ensures the recording of the backup power supply's response speed, which is crucial for fault diagnosis. The second power supply comparison unit 33 is responsible for monitoring the output voltage of the backup power supply. When the backup power supply is activated and begins to provide a voltage higher than 10.8V, the second power supply comparison unit 33 will send a signal, and the timing recording unit 35 will record the time point of this voltage establishment, namely the third timestamp T3, which is used to mark the precise moment when the backup power supply output voltage establishment is completed.

[0186] For example, the multiple timestamps recorded by the timing recording unit 35 can be stored in a database on the one hand, and sent to the BMC for analysis on the other hand. The BMC can use the power supply system fault determination in the above embodiment to analyze the timestamps. The specific analysis method has been described in the above embodiment and will not be repeated here.

[0187] In this embodiment, by recording timing data with nanosecond-level precision, events occurring at the microsecond level can be captured, such as the response time of the backup power supply (T2-T1) and the establishment time of the output voltage (T3-T1), thereby improving the accuracy of fault location.

[0188] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0189] Embodiments of this application also provide a fault determination device for a power supply system. Figure 17 This is a structural block diagram of a fault determination device for a power supply system according to an embodiment of this application. The device includes:

[0190] The power supply detection module 1701 is used to record the current first timestamp and send a first control signal to the backup power supply when the first power supply signal provided by the main power supply is lower than the preset reference signal. The first control signal is used to control the backup power supply to switch to hot standby mode.

[0191] The status detection module 1702 is used to record the current second timestamp when the backup power supply is detected to switch to hot standby status.

[0192] The signal detection module 1703 is used to record the current third timestamp when it detects that the second power supply signal provided by the backup power supply has reached the reference signal.

[0193] Analysis module 1704 is used to determine the fault status of the power supply system during the backup power switching process based on the records and timing relationships of the first, second, and third timestamps.

[0194] In one exemplary embodiment, the above-described apparatus is further configured to: determine that the backup power supply has not switched to hot standby mode when a first timestamp is recorded but a second timestamp is not recorded, and determine that the component in the power supply system that has failed is: a control module that sends a first control signal to the backup power supply. Also, determine that the second power supply signal provided by the backup power supply has not reached a reference signal when a second timestamp is recorded but a third timestamp is not recorded, and determine that the component in the power supply system that has failed is: the backup power supply.

[0195] In one exemplary embodiment, the apparatus is further configured to: determine a first time interval between the first and second timestamps when both a first and second timestamps are recorded; determine a response timeout for switching the backup power supply to hot standby mode when the first time interval is greater than a first threshold, thereby identifying the faulty component of the power supply system as: the control module that sends the first control signal to the backup power supply, and / or the backup power supply itself; determine a second time interval between the first and third timestamps when a third timestamp is recorded; and determine an output voltage switching timeout for the backup power supply when the second time interval is greater than a second threshold, thereby identifying the faulty component of the power supply system as: the backup power supply.

[0196] In one exemplary embodiment, the above-described apparatus is further configured to: send a second control signal to the switching unit to control the switching unit to close, wherein, when the switching unit is closed, the power supply path of the main power supply is cut off. If it is determined that the switching unit has successfully closed, a current fourth timestamp is recorded. If a third timestamp is recorded but a fourth timestamp is not recorded, it is determined that the switching unit has failed to close, thus identifying the faulty component in the power supply system as the switching unit.

[0197] In one exemplary embodiment, the apparatus is further configured to: upon detecting that the first power supply signal provided by the main power supply has recovered to reach the reference signal, record the current fifth timestamp and send a third control signal to the switching unit to control the switching unit to turn on, wherein when the switching unit is closed, the power supply path of the main power supply is turned on. Upon determining that the switching unit has successfully turned on, record the current sixth timestamp. If the fifth timestamp is recorded but the sixth timestamp is not recorded, determine that the switching unit has failed to turn on, thus identifying the faulty component in the power supply system as the switching unit.

[0198] In one exemplary embodiment, the above-described apparatus is further configured to: determine a third time interval between the fifth and sixth timestamps when both a fifth and a sixth timestamp have been recorded; and determine a switching unit turn-on timeout when the third time interval is greater than a third threshold, thereby identifying the switching unit as the component in the power supply system that has malfunctioned.

[0199] In one exemplary embodiment, the above-described apparatus is further configured to: send a fourth control signal to the backup power supply, wherein the fourth control signal is used to control the backup power supply to switch to a cold standby state. Upon detecting that the backup power supply has switched to a cold standby state, a current seventh timestamp is recorded. If a sixth timestamp is recorded but a seventh timestamp is not recorded, it is determined that the backup power supply has not switched to a cold standby state, and the component that has caused the power supply system failure is identified as: the control module that sends the fourth control signal to the backup power supply.

[0200] In one exemplary embodiment, the above-described apparatus is further configured to: determine a fourth time interval between the sixth and seventh timestamps when both a sixth and a seventh timestamp have been recorded; and determine a response timeout for switching the backup power supply to a cold standby state when the fourth time interval is greater than a fourth threshold, thereby identifying the faulty component in the power supply system as: the control module that sends the fourth control signal to the backup power supply, and / or the backup power supply itself.

[0201] In one exemplary embodiment, the apparatus is further configured to: send a first test signal to the control module and record a current eighth timestamp, wherein the first test signal is used to trigger the control module to send a first control signal to the backup power supply. If the control module sends the first control signal in response to the first test signal, a current ninth timestamp is recorded. A fifth time interval between the eighth and ninth timestamps is determined. If the fifth time interval is greater than a fifth threshold, a fault in the control module is determined.

[0202] In one exemplary embodiment, the apparatus is further configured to: send a first control signal to the backup power supply and record the current tenth timestamp; record the current eleventh timestamp when the backup power supply switches to hot standby mode in response to the first control signal; determine a sixth time interval between the tenth and eleventh timestamps; and determine that the backup power supply has failed if the sixth time interval is greater than a sixth threshold.

[0203] In one exemplary embodiment, the apparatus is further configured to: monitor the output parameters of the main power supply when the first power supply signal provided by the main power supply is higher than or equal to the reference signal; determine the operating condition of the main power supply based on the output parameters, wherein the operating condition includes voltage stability, current fluctuation, and temperature change; and, if the operating condition of the main power supply determines that the first power supply signal output by the main power supply exhibits an abnormal downward trend, control the backup power supply to begin pre-charging to improve the response speed of the backup power supply switching to hot standby mode.

[0204] For a description of the features in the embodiment corresponding to the fault determination device of the power supply system, please refer to the relevant description of the embodiment corresponding to the fault determination method of the power supply system, which will not be repeated here.

[0205] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above embodiments of the fault determination method for a power supply system.

[0206] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described embodiments of the fault determination method for a power supply system.

[0207] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0208] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described embodiments of the fault determination method for a power supply system.

[0209] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described embodiments of the fault determination method for a power supply system.

[0210] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can 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.

[0211] The foregoing has provided a detailed description of a fault determination method, apparatus, electronic device, computer-readable storage medium, and computer program product for a power supply system provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A method for determining faults in a power supply system, characterized in that, The power supply system includes: a main power supply and a backup power supply; the method includes: If the first power supply signal provided by the main power supply is detected to be lower than the preset reference signal, the current first timestamp is recorded and a first control signal is sent to the backup power supply, wherein the first control signal is used to control the backup power supply to switch to hot standby mode. If the backup power supply is detected to have switched to hot standby mode, record the current second timestamp; If the second power supply signal provided by the backup power source is detected to reach the reference signal, the current third timestamp is recorded; Based on the records and timing relationships of the first timestamp, the second timestamp, and the third timestamp, the fault status of the power supply system during the backup power switching process is determined; Wherein, if both the first timestamp and the second timestamp are recorded, a first time interval between the first timestamp and the second timestamp is determined; If the first time interval is greater than the first threshold, it is determined that the response timeout of the backup power supply switching to hot standby state has occurred, and the faulty component of the power supply system is determined to be: the control module that sends the first control signal to the backup power supply, and / or the backup power supply. If the third timestamp is recorded, a second time interval between the first timestamp and the third timestamp is determined; If the second time interval is greater than the second threshold, it is determined that the output voltage switching of the backup power supply has timed out, so that the faulty component of the power supply system is the backup power supply.

2. The fault determination method for a power supply system according to claim 1, characterized in that, Determining the fault status of the power supply system during the backup power switchover process based on the records of the first timestamp, the second timestamp, and the third timestamp includes: If the first timestamp is recorded but the second timestamp is not recorded, it is determined that the backup power supply has not switched to hot standby mode. The component that is determined to be faulty in the power supply system is: the control module that sends the first control signal to the backup power supply. If the second timestamp is recorded but the third timestamp is not recorded, it is determined that the second power supply signal provided by the backup power supply has not reached the reference signal, and the component in the power supply system that has failed is determined to be the backup power supply.

3. The fault determination method for a power supply system according to claim 1 or 2, characterized in that, After detecting that the second power supply signal provided by the backup power source reaches the reference signal, and recording the current third timestamp, the method further includes: A second control signal is sent to the switching unit to control the switching unit to close, wherein, when the switching unit is closed, the power supply path of the main power supply is cut off; If it is determined that the switch unit has been successfully turned off, record the current fourth timestamp; If the third timestamp is recorded but the fourth timestamp is not recorded, it is determined that the switching unit failed to close, and the faulty component of the power supply system is identified as the switching unit.

4. The fault determination method for a power supply system according to claim 3, characterized in that, After sending a second control signal to the switching unit to control the switching unit to close, the method further includes: If the first power supply signal provided by the main power supply is detected to recover to the reference signal, the current fifth timestamp is recorded, and a third control signal is sent to the switching unit to control the switching unit to turn on, wherein the power supply path of the main power supply is turned on when the switching unit is closed; If the switch unit is successfully turned on, record the current sixth timestamp; If the fifth timestamp is recorded but the sixth timestamp is not recorded, it is determined that the switching unit failed to turn on, and the faulty component of the power supply system is determined to be the switching unit.

5. The fault determination method for a power supply system according to claim 4, characterized in that, The method further includes: If the fifth timestamp and the sixth timestamp are both recorded, a third time interval between the fifth timestamp and the sixth timestamp is determined; If the third time interval is greater than the third threshold, it is determined that the switching unit has timed out, and the faulty component of the power supply system is determined to be the switching unit.

6. The fault determination method for a power supply system according to claim 4, characterized in that, After confirming that the switch unit has been successfully turned on and recording the current sixth timestamp, the method further includes: A fourth control signal is sent to the backup power supply, wherein the fourth control signal is used to control the backup power supply to switch to cold standby mode; Upon detecting that the backup power supply has switched to the cold standby state, record the current seventh timestamp; If the sixth timestamp is recorded but the seventh timestamp is not recorded, it is determined that the backup power supply has not switched to the cold standby state. Therefore, the component that has failed in the power supply system is the control module that sends the fourth control signal to the backup power supply.

7. The fault determination method for a power supply system according to claim 6, characterized in that, The method further includes: If the sixth timestamp and the seventh timestamp are both recorded, a fourth time interval between the sixth timestamp and the seventh timestamp is determined; If the fourth time interval is greater than the fourth threshold, the response timeout for switching the backup power supply to cold standby mode is determined to be, and the faulty component of the power supply system is determined to be: the control module that sends the fourth control signal to the backup power supply, and / or the backup power supply.

8. The fault determination method for a power supply system according to claim 1 or 2, characterized in that, After determining that the faulty component in the power supply system is the control module that sends the first control signal to the backup power supply, and / or the backup power supply itself, the method further includes: Send a first test signal to the control module and record the current eighth timestamp, wherein the first test signal is used to trigger the control module to send a first control signal to the backup power supply; When the control module issues the first control signal in response to the first test signal, the current ninth timestamp is recorded; Determine the fifth time interval between the eighth timestamp and the ninth timestamp; If the fifth time interval is greater than the fifth threshold, it is determined that the control module has malfunctioned.

9. The fault determination method for a power supply system according to claim 1 or 2, characterized in that, After determining that the faulty component in the power supply system is the control module that sends the first control signal to the backup power supply, and / or the backup power supply itself, the method further includes: Send a first control signal to the backup power supply and record the current tenth timestamp; When the backup power supply switches to hot standby mode in response to the first control signal, the current eleventh timestamp is recorded; Determine the sixth time interval between the tenth timestamp and the eleventh timestamp; If the sixth time interval is greater than the sixth threshold, it is determined that the backup power supply has failed.

10. The fault determination method for a power supply system according to claim 1 or 2, characterized in that, The method further includes: When the first power supply signal provided by the main power supply is higher than or equal to the reference signal, the output parameters of the main power supply are monitored; The operating status of the main power supply is determined based on its output parameters, including voltage stability, current fluctuation, and temperature change. If, based on the operating status of the main power supply, it is determined that the first power supply signal output by the main power supply has an abnormal downward trend, the backup power supply is controlled to start pre-charging to improve the response speed of the backup power supply switching to the hot standby state.

11. A power supply system, characterized in that, include: Main power supply, which is used to provide a first power supply signal; A backup power supply, wherein the backup power supply is used to provide a second power supply signal; A control module, connected to both the main power supply and the backup power supply, is used to record a first timestamp and send a first control signal to the backup power supply when the first power supply signal provided by the main power supply is detected to be lower than a preset reference signal. The first control signal controls the backup power supply to switch to hot standby mode. When the backup power supply is detected to be in hot standby mode, a second timestamp is recorded. When the second power supply signal provided by the backup power supply is detected to reach the reference signal, a third timestamp is recorded. Based on the recording and timing relationship of the first, second, and third timestamps, the module determines the fault condition of the power supply system during the backup power switching process. In the process of recording both the first and second timestamps, a first time interval between the first and second timestamps is determined; if the first time interval is greater than a first threshold, a response timeout for switching the backup power supply to hot standby mode is determined, thus identifying the faulty component of the power supply system as: the control module that sends the first control signal to the backup power supply, and / or the backup power supply; if the third timestamp is recorded, a second time interval between the first and third timestamps is determined; if the second time interval is greater than a second threshold, an output voltage switching timeout for the backup power supply is determined, thus identifying the faulty component of the power supply system as: the backup power supply.

12. The power supply system according to claim 11, characterized in that, The control module includes: A first power supply comparison unit is configured to output a first level signal when the first power supply signal provided by the main power supply is lower than the reference signal. The control unit is connected to the output terminal of the first power supply comparison unit and the backup power supply, respectively, and is used to send the first control signal to the backup power supply when the first level signal is received.

13. The power supply system according to claim 12, characterized in that, The control module also includes: The second power supply comparison unit has a first input terminal connected to the reference signal and a second input terminal connected to the backup power supply. The second power supply comparison unit is used to output a second level signal when the second power supply signal provided by the backup power supply reaches the reference signal. The control unit is connected to the output terminal of the second power supply comparison unit and the main power supply, and is used to control the main power supply to stop supplying power when the second level signal is received.

14. The power supply system according to claim 13, characterized in that, The control module also includes: A switching unit, which is connected to the main power supply and the backup power supply respectively, and is used to connect to an external load; The control unit is connected to the switching unit. The control unit is used to control the switching unit to cut off the path between the main power supply and the external load and to open the path between the backup power supply and the external load when the first power supply signal provided by the main power supply is lower than the preset reference signal and the second power supply signal provided by the backup power supply reaches the reference signal. The control unit is also configured to, upon detecting that the first power supply signal provided by the main power supply has recovered to the level of the reference signal, control the switching unit to open the path between the main power supply and the external load, and control the backup power supply to switch to cold standby mode.

15. The power supply system according to claim 13, characterized in that, The control module also includes: A timing recording unit is connected to the output terminal of the first power supply comparison unit, the output terminal of the second power supply comparison unit, the backup power supply, and the control unit, respectively. The timing recording unit is used to record the first timestamp, the second timestamp, and the third timestamp.

16. A fault determination device for a power supply system, characterized in that, include: The power supply detection module is used to record the current first timestamp and send a first control signal to the backup power supply when the first power supply signal provided by the main power supply is lower than the preset reference signal. The first control signal is used to control the backup power supply to switch to hot standby mode. The status detection module is used to record the current second timestamp when the backup power supply is detected to have switched to hot standby mode. The signal detection module is used to record the current third timestamp when it detects that the second power supply signal provided by the backup power supply reaches the reference signal; The analysis module is used to determine the fault status of the power supply system during the backup power switching process based on the recording status and timing relationship of the first timestamp, the second timestamp, and the third timestamp; wherein, when both the first timestamp and the second timestamp are recorded, a first time interval between the first timestamp and the second timestamp is determined; when the first time interval is greater than a first threshold, a response timeout for the backup power supply switching to hot standby mode is determined, thus identifying the faulty component of the power supply system as: the control module that sends the first control signal to the backup power supply, and / or the backup power supply; when the third timestamp is recorded, a second time interval between the first timestamp and the third timestamp is determined; when the second time interval is greater than a second threshold, an output voltage switching timeout for the backup power supply is determined, thus identifying the faulty component of the power supply system as: the backup power supply.

17. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the method as described in any one of claims 1 to 10.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method as described in any one of claims 1 to 10.

19. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Power supply system and failure detection method

    JP2023091462A

  • Uninterruptible power supply device and computer system

    US20130198537A1