Fault determination method and device of power supply system, electronic equipment and power supply system
By recording and analyzing the key timestamps of main power failure, backup power switching, and voltage establishment, the problem of the existing technology being unable to accurately judge faults during the backup power switching process is solved, rapid fault identification and location are achieved, and the risk of system interruption and data loss is reduced.
Patent Information
- Application Number
- CN202511335393.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-18
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2045-09-18
AI Technical Summary
Existing technologies are unable to accurately identify faults during backup power switching, resulting in an inability to respond and handle them in a timely manner, increasing the risk of system interruption and data loss.
By recording the key timestamps of main power failure, backup power switching, and voltage establishment, the timing relationship can be analyzed to accurately identify and locate faults during the backup power switching process.
It achieves accurate identification and location of faults during backup power switching, reduces system interruption time and data loss risk, and improves fault repair efficiency.
Smart Images

Figure CN120824905A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and more specifically, to a method, device, electronic device, computer-readable storage medium, computer program product, and power supply system for determining a fault in a power supply system. Background Art
[0002] As data centers continue to expand and computing density increases dramatically, storage system power consumption is increasing. Therefore, ensuring a stable power supply is crucial for reliable operation. In the event of a main power failure, a backup power supply is often used to maintain uninterrupted operation of the storage system.
[0003] However, the fault judgment method in the related art cannot accurately judge the fault during the backup power switching process. Summary of the Invention
[0004] The present application provides a method, device, electronic device, computer-readable storage medium, computer program product, and power supply system for determining a fault in a power supply system, so as to at least solve the problem in the related art that it is impossible to accurately determine the fault during the backup power switching process.
[0005] The present application provides a fault determination method for a power supply system, which includes: a main power supply and a backup power supply; the method includes: when it is detected that a first power supply signal provided by the main power supply is 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 it is detected that the backup power supply is switched to a hot standby state, recording a current second timestamp; when it is detected that the second power supply signal provided by the backup power supply reaches 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 conditions and timing relationship of the first timestamp, the second timestamp, and the third timestamp.
[0006] The present application also provides a power supply system, including: a main power supply, the main power supply is used to provide a first power supply signal; a backup power supply, the backup power supply is used to provide a second power supply signal; a control module, respectively connected to the main power supply and the backup power supply, and used to record a current first timestamp and send a first control signal to the backup power supply when it is detected that the first power supply signal provided by the main power supply is 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; when it is detected that the backup power supply is switched to a hot standby state, the current second timestamp is recorded; when it is detected that the second power supply signal provided by the backup power supply reaches the reference signal, the current third timestamp is recorded; based on the recording status and timing relationship of the first timestamp, the second timestamp, and the third timestamp, the fault condition of the power supply system during the backup power switching process is determined.
[0007] The present application also provides a fault determination device for a power supply system, comprising:
[0008] a power supply detection module, configured to, upon detecting that a first power supply signal provided by the main power supply is lower than a preset reference signal, record a current first timestamp and send 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;
[0009] A state detection module, configured to record a current second timestamp when detecting that the backup power supply has switched to a hot standby state;
[0010] A signal detection module, configured to record a current third timestamp when detecting that 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 condition of the power supply system during the backup power switching process according to the recording conditions and time sequence relationship of the first timestamp, the second timestamp, and the third timestamp.
[0012] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned power supply system fault determination methods when executing the computer program.
[0013] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned power supply system fault determination methods are implemented.
[0014] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned power supply system fault determination methods when executed by a processor.
[0015] Through this application, by recording the timestamps of a series of key time points when the main power supply fails (including the main power 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), it is possible to accurately identify and locate the fault during the backup power switching process. This design ensures that the backup power supply can respond quickly and accurately at the moment of the main power failure. At the same time, through the analysis of the timestamps, potential problems in the backup power switching process, such as slow response, output establishment failure, etc., can be discovered in a timely manner, and the specific fault type and possible fault point can be given to facilitate rapid repair, reduce the system interruption time and data loss risk caused by power switching, and achieve accurate identification of fault conditions during the backup power switching process. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0017] Figure 1 This is a hardware structure block diagram of a server device according to a method for determining a fault in a power supply system according to an embodiment of the present application;
[0018] Figure 2 is a flow chart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0019] Figure 3 This is a second flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0020] Figure 4 This is a third flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0021] Figure 5 This is a fourth flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0022] Figure 6 This is a fifth flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0023] Figure 7 This is a sixth flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0024] Figure 8 This is a seventh flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0025] Figure 9 This is an eighth flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0026] Figure 10 This is a ninth flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0027] Figure 11 This is a tenth flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0028] Figure 12 This is a flowchart of a method for determining a fault in a power supply system according to an embodiment of the present application;
[0029] Figure 13is a structural diagram of a power supply system according to an embodiment of the present application;
[0030] Figure 14 This is a second structural diagram of a power supply system according to an embodiment of the present application;
[0031] Figure 15 This is a third structural diagram of a power supply system according to an embodiment of the present application;
[0032] Figure 16 is a structural diagram of a switch unit according to an embodiment of the present 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 the present application.
[0034] Description of reference numerals:
[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 - switch unit, 35 - timing recording unit, 40 - external load. DETAILED DESCRIPTION
[0036] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0037] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0038] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0039] In conjunction with the specific application environment architecture or specific hardware architecture on which the execution of the power supply system fault determination method depends, the specific application environment architecture or specific hardware architecture is described herein.
[0040] The power supply system fault determination method embodiment provided in the embodiment of the present 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 of a method for determining a fault in a power supply system according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a central processing unit (CPU), a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. The server device may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0041] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the fault determination method of the power supply system in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above method. The memory 104 may include a high-speed random access memory, and may also include a 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 a memory remotely located relative to the processor 102, and these remote memories may be connected to a server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0042] Transmission device 106 is used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communication provider of the server device. In one embodiment, transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0043] The embodiment of the present application provides a method for determining a fault in a power supply system, which is applied to a power supply system including a main power supply and a backup power supply. The method is described in detail in conjunction with the execution flow of the method for determining a fault in a power supply system. Figure 2 As shown, the method includes the following steps S200-230:
[0044] Step S200 : When it is detected that the first power supply signal provided by the main power supply is lower than a preset reference signal, a current first timestamp is recorded, and a first control signal is sent to the backup power supply.
[0045] The first control signal is used to control the backup power supply to switch to a hot standby state.
[0046] Specifically, when the system detects that the voltage provided by the main power supply falls below a set safety threshold (e.g., 10.8V), it immediately records the current moment as the first timestamp (T1). Furthermore, the system sends a control signal (the first control signal) to the backup power supply, instructing it to switch from cold standby mode to hot standby mode, ready to take over power from the main power supply. This prevents data loss or system crashes caused by power outages in 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 (PSU_P12V). The backup power supply is a backup energy source that provides power when the main power supply fails, such as a supercapacitor or backup battery.
[0048] Step S210 : When it is detected that the backup power supply is switched to the hot standby state, the current second timestamp is recorded.
[0049] Specifically, when the backup power supply is confirmed to be ready to take on the power supply task, that is, when the backup power supply is indeed in the hot standby state, this key moment is recorded as the second timestamp (T2). Recording the hot standby switching moment of the backup power supply can be used to evaluate the response speed of the backup power supply.
[0050] The backup power supply is in cold standby mode when the main power supply is operating normally. In this state, the backup power supply can be turned off or in standby mode to save energy. In hot standby mode, the backup power supply is in operation and can take over the power supply at any time to output the required voltage.
[0051] Step S220 : When it is detected that the second power supply signal provided by the backup power supply reaches the reference signal, the current third timestamp is recorded.
[0052] Specifically, confirm that the backup power supply has begun to provide stable power. This means that its output voltage has reached the preset reference signal voltage level. The voltage has been established and the system can continue to operate on the backup power supply. Record this critical moment as the third timestamp for subsequent fault analysis.
[0053] Step S230: determining a fault condition of the power supply system during the backup power switching process according to the recording conditions and the time sequence relationship of the first timestamp, the second timestamp, and the third timestamp.
[0054] Specifically, by determining whether the first, second, and third timestamps are recorded and comparing the time differences between the first, second, and third timestamps, the system can identify various possible faults during the backup power switching process. These faults include, but are not limited to, response delays in the backup power supply, timeouts in establishing the output voltage, and erroneous control operations.
[0055] Among them, the timing relationship is the sequence and time difference between timestamps, which is used to analyze the seriality and response time of system events.
[0056] In this embodiment, by recording timestamps of a series of key time points when a main power supply fails (including the main power supply failure detection time (a first timestamp), the backup power supply hot standby switch detection time (a second timestamp), and the backup power supply output voltage establishment time (a third timestamp), it is possible to accurately identify and locate faults during the backup power supply switching process. This design ensures that the backup power supply can respond quickly and accurately at the moment of main power failure. At the same time, through timestamp analysis, potential problems during the backup power supply switching process, such as slow response and output establishment failure, can be promptly identified. The specific fault type and possible fault point are also identified, facilitating rapid repair. This reduces the system interruption time and data loss risk caused by power switching, and accurately identifies fault conditions during the backup power supply switching process.
[0057] In one embodiment, Figure 3 As shown, step S230 determines the fault condition of the power supply system during the backup power switching process based on the records of the first timestamp, the second timestamp, and the third timestamp. It includes: steps S300-S310:
[0058] Step S300 , when the first timestamp is recorded but the second timestamp is not recorded, it is determined that the backup power supply has not switched to the hot standby state, 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.
[0059] Specifically, when the main power supply (PSU_P12V) voltage drops below the reference voltage (10.8V), the system records the time of this event (i.e., the first timestamp T1). If no signal indicating that the backup power supply (Backup_P12V) has switched to hot standby is recorded within the following period (i.e., the second timestamp T2), the system determines that the backup power supply failed to respond in time, i.e., failed to switch to hot standby. This indicates a failure point in the critical path of the backup power switchover, likely due to the control module that controls the backup power switchover failing to successfully send the switchover command, preventing the backup power supply from entering the hot standby output state as expected. Accurately locating the backup power switchover response failure using microsecond-level timestamps helps quickly identify the source of the problem. Whether it is a software defect in the control module or a hardware fault 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. Once the voltage drops below 10.8V, a T1 timestamp is triggered. Subsequently, the control module should immediately send the Backup_ctrl signal (signal 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 the logic control module or the backup power supply response mechanism may be faulty.
[0061] Step S310 : when the second timestamp is recorded but the third timestamp is not recorded, determining that the second power supply signal provided by the backup power supply does not reach the reference signal, so as to determine that the faulty component of the power supply system is the backup power supply.
[0062] Specifically, after receiving the first control signal from the control module (Backup_ctrl is 0), which is recorded at timestamp T2, if the system fails to register the backup power supply output voltage (Backup_P12V) reaching or exceeding the reference voltage (10.8V) at timestamp T3, the system determines that there is a problem with the backup power supply, preventing it from starting properly or outputting sufficient energy. By monitoring and recording changes in the backup power supply output voltage in real time, the system enables a precise assessment of the backup power supply's functional status, determining within microseconds whether the backup power supply is functioning properly. This allows the system to quickly identify the cause of the fault, improving maintenance efficiency and system reliability.
[0063] For example, after recording the T2 timestamp, the system can continue to monitor Backup_P12V. Once the Backup_P12V voltage exceeds 10.8 V, the T3 timestamp is immediately recorded. 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 cannot output a valid voltage within the specified time.
[0064] In this embodiment, through the precise recording and analysis of microsecond-level timestamps, two key steps are provided for the timing diagnosis of backup power supply failures: one is to detect whether the backup power supply fails to switch to the hot standby state quickly after receiving the instruction, and the other is to confirm 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 operation and maintenance costs, and ensuring the high availability and stability of the system. Specifically, if the backup power hot standby switching is not triggered in time after the main power fails, the control module or communication mechanism may become the fault point, and if the effective voltage output cannot be established after the switch, it points to a problem with 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, Figure 4 As shown, step S230 determines the fault condition of the power supply system during the backup power switching process according to the timing relationship of the first timestamp, the second timestamp, and the third timestamp. It includes: steps S400-S430:
[0066] Step S400 : When the first timestamp and the second timestamp are recorded, determine a first time interval between the first timestamp and the second timestamp.
[0067] Specifically, the system determines the time when the main power supply (PSU) becomes abnormal (a first timestamp) and the time when the backup power supply output voltage stabilizes and becomes higher than a reference voltage (e.g., 10.8V) (a second timestamp). The interval between these two timestamps, i.e., the first time interval, is used to evaluate the response speed of the backup power supply.
[0068] Step S410, when the first time interval is greater than the first threshold, determines that the response of the backup power supply switching to the hot standby state has timed out, 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 (a first threshold), such as 50 microseconds. If the backup power supply fails to complete hot standby switching within the first threshold after a primary power supply failure, meaning the first time interval T2 - T1 exceeds 50 microseconds, the system infers a fault. The fault may occur in the control module that issues the first control signal to the backup power supply (i.e., setting the Backup_ctrl signal to 0, requesting the backup power supply to switch to hot standby mode), or in the backup power supply itself.
[0070] Step S420: When the third timestamp is recorded, determine a second time interval between the first timestamp and the third timestamp.
[0071] Specifically, the time from when the main power supply is abnormal to when the backup power supply output voltage is completely stable (ie, the time from T1 to T3) and the second time interval T3-T1 are used to evaluate the efficiency of the backup power supply output voltage switching.
[0072] Step S430 : When 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 as to determine that the faulty component of the power supply system is the backup power supply.
[0073] Specifically, the second time interval is checked to see if it exceeds a second threshold, such as 200 microseconds. If so, it indicates that the backup power supply takes too long to complete voltage switching, indicating a fault. The fault may be caused by a problem with an internal component of the backup power supply, or with the backup power supply's connector or power supply circuit.
[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 in the event of a main power failure, microsecond-level fault diagnosis is possible. Specifically, by comparing the intervals between timestamps with preset thresholds, the system can quickly locate the specific point where the fault occurred, whether it is a signal processing delay in the control module or an issue with the response efficiency of the backup power supply itself. This high-precision fault diagnosis helps reduce maintenance time and costs and improve equipment availability.
[0075] In one embodiment, Figure 5 As shown, in step S220, when it is detected that the second power supply signal provided by the backup power supply reaches the reference signal, after recording the current third timestamp, the method further includes steps S500-S520:
[0076] Step S500: Send a second control signal to the switch unit to control the switch unit to be closed.
[0077] When the switch unit is closed, the power supply path of the main power supply is cut off.
[0078] Specifically, if the system detects an anomaly or power outage in the main power supply (PSU), the system sends a second control signal through the control module to a switch unit (such as a metal-oxide-semiconductor (MOS) switch), instructing it to shut down. This operation is intended to cut off the power supply path of the main power supply, ensuring that the system can continue to operate under the support of the backup power supply without being affected by the main power anomaly.
[0079] For example, after a signal indicating a main power abnormality is recognized by a digital circuit or a programmable logic device (such as a field-programmable gate array (FPGA) or a complex programmable logic device (CPLD)) within the control module, a second control signal is generated and output to the gate of the MOS switch through a dedicated drive circuit, causing it to enter a cut-off state (off), thereby cutting off the main power supply to the system.
[0080] Step S510: When it is determined that the switch unit is closed successfully, 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 closed, 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 detecting the closing signal of the MOS switch through a timing recording unit (Time-to-Digital Converter, TDC chip), the time information accurate to nanoseconds can be recorded using an internal clock or an external synchronous clock and stored in a data storage module for subsequent analysis and diagnosis.
[0083] Among them, the TDC chip is a precision circuit used to measure time intervals, which can usually achieve nanosecond resolution and is used to record the exact time of signal changes.
[0084] Step S520 : When the third timestamp is recorded and the fourth timestamp is not recorded, it is determined that the switch unit fails to be closed, so as to determine that the faulty component of the power supply system is: the switch unit.
[0085] Specifically, if the fourth timestamp (i.e., the timestamp when the backup power output voltage is established) is not recorded after the third timestamp (i.e., the timestamp when the switch unit is successfully closed) is recorded, 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] Exemplarily, the control module determines the MOS switch's response 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 it and the third timestamp exceeds a preset threshold, the system automatically triggers a fault diagnosis process, writes a "Switch Unit Close Failure" fault code to the data storage module, and reports the fault information to maintenance personnel via the baseboard management controller (BMC).
[0087] In this embodiment, by quickly responding to main power anomalies and recording key time nodes of power switching, the system can promptly detect and isolate faulty components, avoiding long-term service interruptions and potential data risks, thereby improving the stability and operation and maintenance efficiency of the entire power supply system.
[0088] In one embodiment, Figure 6 As shown, after step S500, a second control signal is sent to the switch unit to control the switch unit to be closed, the method further includes steps S600-S620:
[0089] Step S600 : When it is detected that the first power supply signal provided by the main power source recovers to reach the reference signal, the current fifth timestamp is recorded, and a third control signal is sent to the switch unit to control the switch unit to turn on.
[0090] When the switch unit is closed, the power supply path of the main power source is turned on.
[0091] Specifically, when the first power signal (PSU_P12V) provided by the primary power supply unit (PSU) experiences an abnormal power outage and then reaches a predetermined reference voltage level (e.g., 10.8V), this state change is detected 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 moment as the fifth timestamp (T5). This design enables the system to accurately capture when the PSU returns to normal power supply, providing a time reference for subsequent operations.
[0092] Step S610: When it is determined that the switch unit is turned on successfully, the current sixth timestamp is recorded.
[0093] Specifically, after the main power supply voltage recovers, the control module sends a third control signal (e.g., a MOS switch signal) to the switch unit to restart the main power supply path, allowing the main power supply to once again serve as the primary power source for the system. Upon receiving this signal, the switch unit should open, reconnecting the main power supply path. If this process is successful, the system records 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 : When the fifth timestamp is recorded and the sixth timestamp is not recorded, it is determined that the switch unit fails to start, so as to determine that the faulty component of the power supply system is the switch unit.
[0095] Specifically, if the sixth timestamp (T6) is not recorded after the fifth timestamp (T5) is recorded, it means that the switch unit has not been successfully turned on as expected, which may indicate that the switch unit is faulty.
[0096] In this embodiment, microsecond-level time series recording and comparison are used to accurately capture and locate anomalies during the system's main power restoration and switch unit activation process. First, when the main power voltage returns to normal, the system promptly records this time point (T5) and subsequently controls the switch unit to activate. Under normal circumstances, another time point (T6) is recorded as proof of successful switch unit activation. If T6 is not recorded, the system can quickly identify a switch unit activation failure. This shortens fault diagnosis time and improves diagnostic accuracy.
[0097] In one embodiment, Figure 7 As shown, the method further includes: steps S700-S710:
[0098] Step S700: When the fifth time stamp and the sixth time stamp are recorded, determine a third time interval between the fifth time stamp and the sixth time stamp.
[0099] Specifically, the time difference between the restoration of the main power supply and the reactivation of the switch unit is monitored and analyzed. The fifth timestamp records the time when the main power supply returns to normal (i.e., the time when the voltage exceeds a preset reference value), and the sixth timestamp records the time when the switch unit responds to the restoration of the main power supply and reactivates. By comparing these two timestamps, the time difference between them is calculated, i.e., the third time interval.
[0100] For example, a timing recording unit (e.g., a TDC chip) can be used to capture and record the fifth and sixth timestamps in real time. After the fifth timestamp is recorded, the system begins monitoring for the sixth timestamp. The third time interval can be calculated 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: When the third time interval is greater than the third threshold, it is determined that the switch unit is turned on for timeout, so as to determine that the faulty component of the power supply system is: the switch unit.
[0102] Specifically, the system further analyzes whether the third time interval exceeds a preset safety response time threshold, i.e., the third threshold. If the time from when the switch unit recovers from main power to when it actually turns on exceeds this threshold, the system automatically identifies the switch unit as a turn-on timeout and, accordingly, determines that the switch unit is faulty.
[0103] For example, a third threshold value, such as 50 microseconds, is set in the control module. When the calculated third time interval exceeds the threshold value, the control module will mark the switch unit as a fault state and record the fault information.
[0104] In this embodiment, by first recording key time points (the fifth and sixth timestamps), the time difference between the restoration of main power and the reactivation of the switch unit (the third time interval) is accurately measured. Furthermore, a preset third threshold is used to determine whether the switch unit's response is within a reasonable range. If the switch unit's activation time exceeds the threshold, the system can quickly identify and locate the fault, determining that the switch unit is the fault point.
[0105] In one embodiment, Figure 8 As shown, in step S610, when it is determined that the switch unit is turned on successfully, after recording the current sixth timestamp, the method further includes steps S800-S820:
[0106] Step S800: Send a fourth control signal to the backup power supply.
[0107] The fourth control signal is used to control the backup power supply to switch to a cold standby state.
[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 does not output power, conserves energy, and remains ready for activation. This ensures that the backup power supply can quickly enter energy-saving mode when it is no longer needed, while also ensuring that it can quickly and accurately switch back to cold standby mode when the main power supply is restored. By precisely controlling the operating state of the backup power supply, unnecessary power consumption is reduced, improving system energy efficiency.
[0109] Step S810: When it is detected that the backup power supply is switched to the cold standby state, the current seventh timestamp is recorded.
[0110] Specifically, when 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 entered cold standby mode, providing a critical time reference for subsequent fault diagnosis.
[0111] For example, after the control module sends a switching instruction to the backup power supply, it waits for a confirmation signal. Once it receives the confirmation from the backup power supply (indicating that the switch to the cold standby state has been successful), it records the current time through the timing recording unit.
[0112] Step S820 , when the sixth timestamp is recorded and the seventh timestamp is not recorded, determining that the backup power supply has not switched to the cold standby state, 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.
[0113] Specifically, if the expected seventh timestamp is not recorded after the sixth timestamp is recorded, it indicates that a fault has occurred. The system will determine that the fault is caused by the control module failing to correctly send a cold standby switching signal to the backup power supply.
[0114] For example, when 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 have a fault and cannot correctly send the cold standby switching signal.
[0115] In this embodiment, precise control and monitoring of the backup power supply's state transition time enables microsecond-level location of power system faults. Specifically, by sending a cold standby switchover signal (the fourth control signal) to the backup power supply, energy consumption is effectively controlled, while extending its service life. Secondly, recording the timestamps of key state changes provides a precise time basis for fault diagnosis. Finally, by comparing timestamps, the system can quickly identify control module fault states, enabling rapid fault location and preventive maintenance.
[0116] In one embodiment, Figure 9 As shown, the method further includes: steps S900-S910:
[0117] Step S900 : When the sixth time stamp and the seventh time stamp are recorded, determine a fourth time interval between the sixth time stamp and the seventh time stamp.
[0118] Specifically, after the sixth and seventh timestamps are recorded, the time difference between the two timestamps, i.e., the fourth time interval, is calculated. This is to evaluate the response time of the backup power supply switching from the hot standby state to the cold standby state 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 signals the backup power supply to enter cold standby mode, the seventh timestamp is recorded. A 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 the preset fourth threshold, the system triggers a fault diagnosis process to determine the source of the fault.
[0120] Step S910: When the fourth time interval is greater than the fourth threshold, it is determined that the response of the backup power supply switching to the cold standby state has timed out, 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, this means that there is an abnormal delay in the process of the backup power supply switching from the hot standby output state to the cold standby state, which 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 when the main power supply resumes power supply to when the backup power supply switches to the cold standby state, potential faults of the backup power supply and the control module can be effectively identified.
[0123] In one embodiment, Figure 10 As shown, in step S410, after determining 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, the method further includes steps S1000-S1030:
[0124] Step S1000: Send a 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 proactively sends a first test signal to the control module, simulating a power switch trigger condition. This signal tests whether the control module can promptly respond and send the first control signal to the backup power supply to activate the backup power supply. The recorded eighth timestamp is the time at which the first test signal was sent.
[0127] For example, the first test signal can be generated through software or hardware, such as by sending a specific command signal from the BMC controller or by simulating a main power anomaly through circuitry to trigger the control module's response mechanism. Recording the timestamp can be implemented 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 sends a first control signal in response to the first test signal, a current ninth timestamp is recorded.
[0129] Specifically, when the control module receives the first test signal and responds correctly, sending 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 sending the control signal.
[0130] Step S1020: Determine a fifth time interval between the eighth timestamp and the ninth timestamp.
[0131] Specifically, the time difference from the issuance of the first test signal (eighth timestamp) to the issuance of the first control signal (ninth timestamp) by the control module, ie, the fifth time interval, is calculated to evaluate the response time of the control module.
[0132] Step S1030: When the fifth time interval is greater than the fifth threshold, it is determined that a fault occurs in the control module.
[0133] Specifically, if the measured fifth time interval exceeds a preset fifth threshold, this indicates that the response time of the control module after receiving the test signal is too long, and there may be a problem with its performance or status.
[0134] In this embodiment, by actively sending the first test signal and recording the key timestamp, the system can accurately measure the response time of the control module and determine whether the control module has a fault based on the response time.
[0135] In one embodiment, Figure 11 As shown, in step S410, after determining 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, the method further includes steps S1100-S1130:
[0136] Step S1100: Send a first control signal to the backup power supply and record the current tenth timestamp.
[0137] Specifically, a first control signal may be sent to the backup power supply to instruct the backup power supply to start outputting voltage and enter the hot standby state. At the same time, the system will record the time point of this event, that is, the tenth timestamp.
[0138] Step S1110 : When the backup power supply switches to the hot standby state 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 the hot standby state and starts outputting voltage (Backup_P12V), the system will record the time point of this state change, that is, the eleventh timestamp, for subsequent fault analysis.
[0140] Step S1120 : Determine a sixth time interval between the tenth timestamp and the eleventh timestamp.
[0141] Specifically, the time duration from when the first control signal is sent to the backup power supply to when the backup power supply successfully switches to the hot standby state is calculated, that is, the sixth time interval. The measurement of this interval can reflect the response speed of the backup power supply.
[0142] Step S1130: When the sixth time interval is greater than a sixth threshold, it is determined that a backup power supply fails.
[0143] Specifically, if the sixth time interval exceeds a preset sixth threshold, it indicates that the response time of the backup power supply is too long and a fault exists.
[0144] In this embodiment, by actively sending the 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, 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 parameter of the main power supply.
[0147] Specifically, when the main power supply (PSU) is operating normally—that is, when the voltage it provides is at least the set reference voltage—the system continuously monitors its output parameters, such as voltage, current, and temperature, to determine whether it is stable and healthy. By continuously monitoring the main power supply's output parameters, the system can detect signs of instability or overheating at an early stage, providing a data foundation for fault warning and preventive maintenance.
[0148] Step S1210: determining the working condition of the main power supply according to the output parameters of the main power supply.
[0149] Among them, the working 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 working conditions, 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 deciding the next course of action.
[0151] For example, the control module or processor compares historical data with preset thresholds to determine whether the current voltage, current, and temperature remain within reasonable ranges. For example, if the voltage drops below 10%, or the current fluctuates by more than 20%, or the temperature rises to a preset warning level, these will be considered abnormal operating conditions.
[0152] Step S1220 , when it is determined that the first power signal output by the main power supply has an abnormal downward trend according to the working condition of the main power supply, 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.
[0153] Specifically, if the system detects an abnormal drop in the main power supply voltage, it immediately initiates a pre-charge process for the backup power supply, ensuring that the backup power supply can quickly switch to hot standby mode and take over power supply duties. This pre-charge strategy significantly shortens the switchover time from cold standby to hot standby mode, reducing the risk of service interruption.
[0154] For example, upon detecting that the first power signal from the main power supply has dropped to near a preset critical value, the control module sends a command to activate the backup power supply's pre-charge circuit. This circuit can quickly charge the backup power supply to full power, typically using a high-efficiency charging method such as constant current and constant voltage charging. After pre-charging is complete, the backup power supply is ready to switch to a hot standby state, awaiting a switch command from the control module.
[0155] In this embodiment, by continuously monitoring the main power supply's operating status, intelligently analyzing trends in its output parameters, and implementing a pre-charging strategy to prepare the backup power supply for hot standby, the backup power supply can seamlessly take over power supply duties in microseconds if the main power supply shows signs of abnormal decline. This rapid response mechanism not only reduces service interruptions but also improves overall system availability and reliability.
[0156] In one embodiment, 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 a first power supply signal.
[0158] Specifically, the main power supply 10 is a device for providing a main power source for electronic equipment or systems, and is generally designed to provide a stable first power supply signal under normal working conditions, such as PSU_P12V, ie, a 12 volt power output.
[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 the event that 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. Upon receiving a first control signal from the control module 30, the backup power supply 20 switches to a hot standby state, meaning it begins preparing to provide a second power supply signal.
[0161] The control module 30 is connected to the main power supply 10 and the backup power supply 20, respectively, and is used to record the current first timestamp and send a first control signal to the backup power supply 20 when it is detected that the first power supply signal provided by the main power supply 10 is lower than the preset reference signal, wherein the first control signal is used to control the backup power supply 20 to switch to the hot standby state. When it is detected that the backup power supply 20 switches to the hot standby state, the current second timestamp is recorded. When it is detected that the second power supply signal provided by the backup power supply 20 reaches the reference signal, the current third timestamp is recorded. Based on the recording status and timing relationship of the first timestamp, the second timestamp, and the third timestamp, the fault condition of the power supply system during the backup power switching process is determined.
[0162] In this embodiment, the control module 30 records a series of timestamps at key time points when the main power supply 10 fails (including the main power supply 10 failure detection time, i.e., a first timestamp; the backup power supply 20 hot standby switch detection time, i.e., a second timestamp; and the backup power supply 20 output voltage establishment time, i.e., a third timestamp). This allows for accurate identification and location of faults during the backup power switching process. 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 timestamp analysis, potential problems during the backup power switching process, such as slow response and output establishment failure, can be promptly identified. The specific fault type and possible fault point are also provided, facilitating rapid repairs. This reduces the system interruption time and data loss risk caused by power switching, and enables accurate identification of fault conditions during the backup power switching process.
[0163] In one embodiment, Figure 14 As shown, the control module includes: a first power supply comparison unit 31 and a control unit 32, wherein:
[0164] A first input terminal of the first power supply comparison unit 31 is connected to a reference signal, and a 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 configured 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 receives the reference signal. Here, the reference signal is set to 10.8V, a threshold voltage used to determine whether the main power supply 10 is abnormal. 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 trigger. However, if 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] The control unit 32 is connected to the output end 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 receiving the first level signal.
[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 to switch the backup power supply 20 from the cold standby state to the 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, and the control unit 32 responds quickly after receiving this signal and switches the backup power supply 20 to the hot standby output state.
[0169] In one embodiment, see Figure 14 , the control module also includes: a second power supply comparison unit 33.
[0170] The first input end of the second power supply comparison unit 33 is connected to the reference signal, and the second input end 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 detecting that the output voltage of the backup power supply 20 reaches or exceeds the reference signal level, the second power supply comparison unit 33 immediately outputs a second level signal.
[0172] The control unit 32 is connected to the output end of the second power supply comparison unit 33 and the main power supply 10 , and is configured to control the main power supply 10 to stop supplying power when receiving the second level signal.
[0173] Specifically, when control unit 32 receives the second-level signal indicating that backup power supply 20 has successfully established power supply and meets the system's power requirements, it immediately controls main power supply 10 to stop supplying power to ensure system stability and continuity. This operation avoids switching conflicts between power sources and ensures that backup power supply 20 can seamlessly take over from main power supply 10, providing continuous 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. Upon 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, Figure 15 As shown, the control module further includes: a switch unit 34 .
[0176] The switch unit 34 is connected to the main power source 10 and the backup power source 20 respectively, and is used to connect to an external load.
[0177] Specifically, the switch unit 34 is connected to both the main power supply 10 and the backup power supply 20, and can form a path to external loads (such as servers and storage systems). The switch unit 34 ensures continuous power supply to external loads during power switching. By precisely controlling the state of internal switches (such as MOSFETs), it enables seamless switching from the main power supply 10 to the backup power supply 20, or vice versa. This ensures that even if the main power supply 10 fails, the system can quickly switch to the backup power supply 20, thereby minimizing the impact of power outages on services.
[0178] For example, Figure 16 As shown, the switch unit 34 includes: a MOS transistor Q1 and an inductor L1. The control end of the MOS transistor Q1 is connected to the control unit 32, the first end of the MOS transistor Q1 is connected to the main power supply 10, and the second end of the MOS transistor Q1 is connected to the external load 40 and the backup power supply 20. The 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 connect the path between the backup power supply 20 and the external load when it detects that 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 the preset reference signal, this means that the main power supply 10 may not be able to supply power stably or has failed. At this time, the control unit 32 will activate the emergency mechanism by sending a control signal to the switch 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 switch unit 34 to connect the path between the backup power supply 20 and the external load, thereby seamlessly switching to the backup power supply 20 for power supply, ensuring stable operation of the load.
[0181] The control unit 32 is also used to control the switch unit 34 to turn on the path between the main power supply 10 and the external load, and control the backup power supply 20 to switch to the cold standby state when it is detected that the first power supply signal provided by the main power supply 10 is restored to reach the reference signal.
[0182] Specifically, when the fault of the main power supply 10 is resolved and the control unit 32 monitors that the first power supply signal of the main power supply 10 has returned to the preset reference signal level, that is, when the main power supply 10 is able to supply power stably, it will re-evaluate the system power supply requirements. The control unit 32 will send a signal to the switch unit 34, instructing it to reconnect the main power supply 10 with the external load and restore the power supply of the main power supply 10, thereby realizing the normal operating 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 the cold standby state. This is because the cold standby state can reduce the energy consumption of the backup power supply 20, extend its service life, and ensure that it can respond quickly when needed next time. Switch the backup power supply 20 back to the cold standby state.
[0183] In this embodiment, when the signal from the main power supply 10 falls below a set threshold, the system quickly identifies the fault and, if conditions are met, automatically switches to the backup power supply 20, ensuring continuous power supply to external loads. When the main power supply 10 returns to normal, the system switches power back to the main power supply 10 and simultaneously switches the backup power supply 20 back to cold standby mode, saving energy and extending the life of the backup power supply 20.
[0184] In one embodiment, see Figure 15 The control module 30 further includes a timing recording unit 35. The timing recording unit 35 is respectively connected to the output end of the first power supply comparison unit 31, the output end of the second power supply comparison unit 33, the backup power supply 20, and the control unit 32. 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 accurately record the timing of key signals, capturing signal changes with nanosecond precision. The first power supply comparison unit 31 monitors the voltage of the main power supply 10. Once it detects that the voltage falls below a preset threshold (e.g., 10.8V), indicating a failure of the main power supply 10, it sends a signal to the timing recording unit 35. The timing recording unit 35 records the time of this event, namely the first timestamp T1, which identifies the precise moment of failure of the main power supply 10. The backup power supply 20 directly or indirectly influences 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, the timing recording unit 35 records the time of the command, namely the second timestamp T2. This step ensures the recording of the backup power supply's response speed, which is critical 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 starts 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 when the voltage is established, that is, the third timestamp T3, which is used to identify the exact moment when the backup power supply output voltage is established.
[0186] For example, the multiple timestamps recorded by the timing recording unit 35 can be stored in the database on the one hand, and sent to the BMC for analysis on the other hand. The BMC can analyze the timestamps using the fault determination of the power supply system in the above embodiment. The specific analysis method has been described in the above embodiment and will not be repeated here.
[0187] In this embodiment, nanosecond-level precision timing recording can capture events occurring at the microsecond level, such as the response time of the backup power supply (T2-T1) and the output voltage buildup time (T3-T1), thereby improving the accuracy of fault location.
[0188] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0189] The embodiment of the present application also provides a fault determination device for a power supply system, Figure 17 : is a structural block diagram of a fault determination device for a power supply system according to an embodiment of the present application, the device comprising:
[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 it detects that the first power supply signal provided by the main power supply is lower than the preset reference signal, wherein the first control signal is used to control the backup power supply to switch to the hot standby state.
[0191] The state detection module 1702 is configured to record a current second timestamp when detecting that the backup power supply is switched to the hot standby state.
[0192] The signal detection module 1703 is configured to record a current third timestamp when detecting that the second power supply signal provided by the backup power supply reaches the reference signal.
[0193] The analysis module 1704 is configured to determine a fault condition of the power supply system during the backup power switching process based on the recording conditions and the time sequence relationship of the first timestamp, the second timestamp, and the third timestamp.
[0194] In an exemplary embodiment, the apparatus is further configured to: determine, when a first timestamp is recorded and a second timestamp is not recorded, that the backup power supply has not switched to a hot standby state, thereby determining that the faulty component of the power supply system is: a control module that issues a first control signal to the backup power supply; and, when a second timestamp is recorded and a third timestamp is not recorded, determine that a second power supply signal provided by the backup power supply does not reach a reference signal, thereby determining that the faulty component of the power supply system is: the backup power supply.
[0195] In an exemplary embodiment, the above-mentioned device is also used to: determine a first time interval between the first timestamp and the second timestamp when the first timestamp is recorded and the second timestamp is recorded. Determine that the response of the backup power supply switching to the hot standby state has timed out when the first time interval is greater than a first threshold value, so as to determine that the failed component of 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. Determine a second time interval between the first timestamp and the third timestamp when the third timestamp is recorded. Determine that the output voltage switching of the backup power supply has timed out when the second time interval is greater than a second threshold value, so as to determine that the failed component of the power supply system is: the backup power supply.
[0196] In an exemplary embodiment, the apparatus is further configured to: send a second control signal to the switch unit to control the switch unit to shut down; when the switch unit is shut down, the main power supply path is cut off. If it is determined that the switch unit has been successfully shut down, a fourth timestamp is recorded. If the third timestamp is recorded and the fourth timestamp is not recorded, it is determined that the switch unit has failed to shut down, thereby determining that the faulty component of the power supply system is the switch unit.
[0197] In an exemplary embodiment, the apparatus is further configured to: upon detecting that the first power supply signal provided by the main power source has recovered to reach the reference signal, record the current fifth timestamp, and issue a third control signal to the switch unit to control the switch unit to turn on, wherein when the switch unit is turned off, the power supply path of the main power source is turned on. Upon determining that the switch unit has successfully turned on, record the current sixth timestamp. If the fifth timestamp is recorded and the sixth timestamp is not recorded, determine that the switch unit has failed to turn on, thereby determining that the faulty component of the power supply system is the switch unit.
[0198] In an exemplary embodiment, the apparatus is further configured to: determine a third time interval between the fifth and sixth timestamps when both the fifth and sixth timestamps are recorded; and determine that a switch unit startup timeout has occurred when the third time interval is greater than a third threshold, thereby determining that the faulty component of the power supply system is the switch unit.
[0199] In an exemplary embodiment, the apparatus is further configured to: issue a fourth control signal to the backup power supply, wherein the fourth control signal is configured to control the backup power supply to switch to a cold standby state. Upon detecting that the backup power supply has switched to the cold standby state, the apparatus records the current seventh timestamp. If the sixth timestamp is recorded and the seventh timestamp is not recorded, the apparatus determines that the backup power supply has not switched to the cold standby state, thereby determining that the faulty component of the power supply system is the control module that issues the fourth control signal to the backup power supply.
[0200] In an exemplary embodiment, the apparatus is further configured to: determine a fourth time interval between the sixth and seventh timestamps when both the sixth and seventh timestamps are recorded; and determine that a response to the backup power supply switching to the cold standby state has timed out when the fourth time interval is greater than a fourth threshold, thereby determining that the failed 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.
[0201] In an exemplary embodiment, the apparatus is further configured to: issue a first test signal to the control module and record a current eighth timestamp, wherein the first test signal is configured to trigger the control module to issue a first control signal to the backup power supply; record a current ninth timestamp when the control module issues the first control signal in response to the first test signal; determine a fifth time interval between the eighth and ninth timestamps; and determine that a control module fault has occurred if the fifth time interval is greater than a fifth threshold.
[0202] In an exemplary embodiment, the apparatus is further configured to: send a first control signal to the backup power supply and record a current tenth timestamp; when the backup power supply switches to a hot standby state in response to the first control signal, record a current eleventh timestamp; 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 an exemplary embodiment, the apparatus is further configured to: monitor an output parameter of the main power supply when a first power supply signal provided by the main power supply is greater than or equal to a reference signal; determine an operating condition of the main power supply based on the output parameter of the main power supply, wherein the operating condition includes voltage stability, current fluctuation, and temperature variation; and control the backup power supply to begin precharging if an abnormal downward trend is determined in the first power supply signal output by the main power supply based on the operating condition of the main power supply, thereby improving the response speed of the backup power supply switching to a hot standby state.
[0204] For the 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, and will not be repeated here.
[0205] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned power supply system fault determination method embodiments.
[0206] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above-mentioned power supply system fault determination method embodiments when running.
[0207] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0208] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above-mentioned power supply system fault determination method embodiments are implemented.
[0209] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps in any of the above-mentioned power supply system fault determination method embodiments.
[0210] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0211] The above is a detailed introduction to the fault determination method, device, electronic device, computer-readable storage medium, and computer program product of a power supply system provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A method for determining a fault 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: When detecting that the first power supply signal provided by the main power supply is 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 detecting that the backup power supply is switched to the hot standby state, recording a current second timestamp; When it is detected that the second power supply signal provided by the backup power supply reaches the reference signal, recording a current third timestamp; According to the recording conditions and the time sequence relationship of the first timestamp, the second timestamp, and the third timestamp, a fault condition of the power supply system during the backup power switching process is determined.
2. The method for determining a fault in a power supply system according to claim 1, wherein: The determining, according to the records of the first timestamp, the second timestamp, and the third timestamp, a fault condition of the power supply system during the backup power switching process includes: determining that the backup power supply has not switched to the hot standby state when the first timestamp is recorded and the second timestamp is not recorded, and determining that the failed component of the power supply system is: a control module that sends a first control signal to the backup power supply; When the second timestamp is recorded and the third timestamp is not recorded, it is determined that the second power supply signal provided by the backup power supply does not reach the reference signal, so as to determine that the faulty component of the power supply system is: the backup power supply.
3. The method for determining a fault in a power supply system according to claim 1, wherein: The determining, according to the time sequence relationship between the first timestamp, the second timestamp, and the third timestamp, a fault condition of the power supply system during the backup power switching process includes: In a case where the first timestamp is recorded and the second timestamp is recorded, determining a first time interval between the first timestamp and the second timestamp; determining, when the first time interval is greater than a first threshold, that a response of the backup power supply switching to the hot standby state has timed out, so as to determine that the failed component of the power supply system is: a control module that sends the first control signal to the backup power supply, and / or the backup power supply; In case the third timestamp is recorded, determining a second time interval between the first timestamp and the third timestamp; When the second time interval is greater than a second threshold, it is determined that the output voltage switching of the backup power supply has timed out, so as to determine that the faulty component of the power supply system is: the backup power supply.
4. The method for determining a fault in a power supply system according to any one of claims 1 to 3, wherein: When it is detected that the second power supply signal provided by the backup power supply reaches the reference signal, after recording the current third timestamp, the method further includes: sending a second control signal to the switch unit to control the switch unit to be turned off, wherein when the switch unit is turned off, the power supply path of the main power supply is cut off; If it is determined that the switch unit is closed successfully, recording a current fourth timestamp; When the third timestamp is recorded and the fourth timestamp is not recorded, it is determined that the switch unit fails to be closed, so as to determine that the faulty component of the power supply system is: the switch unit.
5. The method for determining a fault in a power supply system according to claim 4, wherein: After sending a second control signal to the switch unit to control the switch unit to be closed, the method further includes: When detecting that the first power supply signal provided by the main power supply recovers to reach the reference signal, recording a current fifth timestamp and sending a third control signal to the switch unit to control the switch unit to turn on, wherein when the switch unit is turned off, the power supply path of the main power supply is turned on; If it is determined that the switch unit is successfully turned on, recording a current sixth timestamp; When the fifth timestamp is recorded and the sixth timestamp is not recorded, it is determined that the switch unit fails to start, so as to determine that the faulty component of the power supply system is: the switch unit.
6. The method for determining a fault in a power supply system according to claim 5, wherein: The method further comprises: In a case where the fifth time stamp and the sixth time stamp are recorded, determining a third time interval between the fifth time stamp and the sixth time stamp; When the third time interval is greater than a third threshold, it is determined that the switch unit is turned on for timeout, so as to determine that the faulty component of the power supply system is: the switch unit.
7. The method for determining a fault in a power supply system according to claim 5, wherein: When it is determined that the switch unit is successfully turned on, after recording the current sixth timestamp, the method further includes: Sending 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; When detecting that the backup power supply is switched to the cold standby state, recording a current seventh timestamp; When the sixth timestamp is recorded and the seventh timestamp is not recorded, it is determined that the backup power supply has not switched to the cold standby state, 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.
8. The method for determining a fault in a power supply system according to claim 7, wherein: The method further comprises: In a case where the sixth time stamp and the seventh time stamp are recorded, determining a fourth time interval between the sixth time stamp and the seventh time stamp; When the fourth time interval is greater than a fourth threshold, it is determined that the response of the backup power supply switching to the cold standby state has timed out, so as to determine that the failed 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.
9. The method for determining a fault in a power supply system according to claim 3, wherein: After determining 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, the method further includes: Sending a first test signal to the control module and recording 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; When the control module issues the first control signal in response to the first test signal, recording a current ninth timestamp; determining a fifth time interval between the eighth time stamp and the ninth time stamp; When the fifth time interval is greater than a fifth threshold, it is determined that the control module fails.
10. The method for determining a fault in a power supply system according to claim 3, wherein: After determining 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, the method further includes: Sending a first control signal to the backup power supply and recording a current tenth timestamp; When the backup power supply switches to a hot standby state in response to the first control signal, recording a current eleventh timestamp; determining a sixth time interval between the tenth timestamp and the eleventh timestamp; When the sixth time interval is greater than a sixth threshold, it is determined that the backup power supply fails.
11. The method for determining a fault in a power supply system according to any one of claims 1 to 3, wherein: The method further comprises: monitoring an output parameter 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; Determining the working condition of the main power supply according to the output parameters of the main power supply, wherein the working condition includes voltage stability, current fluctuation, and temperature change; When it is determined based on the working condition of the main power supply 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 precharging to improve the response speed of the backup power supply switching to the hot standby state.
12. A power supply system, characterized in that: include: A main power supply, the main power supply being used to provide a first power supply signal; a backup power supply, the backup power supply being used to provide a second power supply signal; A control module, connected to the main power supply and the backup power supply, respectively, for recording a current first timestamp and sending a first control signal to the backup power supply when it is detected that the first power supply signal provided by the main power supply is 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; recording a current second timestamp when it is detected that the backup power supply is switched to a hot standby state; and recording a current third timestamp when it is detected that the second power supply signal provided by the backup power supply reaches the reference signal; According to the recording conditions and the time sequence relationship of the first timestamp, the second timestamp, and the third timestamp, a fault condition of the power supply system during the backup power switching process is determined.
13. The power supply system according to claim 12, wherein: The control module includes: a first power supply comparison unit, wherein a first input terminal of the first power supply comparison unit is connected to the reference signal, a second input terminal of the first power supply comparison unit is connected to the main power supply, and the first power supply comparison unit is configured to output a first level signal when a first power supply signal provided by the main power supply is lower than the reference signal; A control unit is connected to the output end 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.
14. The power supply system according to claim 13, wherein: The control module further includes: a second power supply comparison unit, wherein a first input terminal of the second power supply comparison unit is connected to the reference signal, a second input terminal of the second power supply comparison unit is connected to the backup power supply, and the second power supply comparison unit is configured to output a second level signal when a second power supply signal provided by the backup power supply reaches the reference signal; The control unit is connected to the output end of the second power supply comparison unit and the main power supply, and is configured to control the main power supply to stop supplying power when the second level signal is received.
15. The power supply system according to claim 14, characterized in that: The control module further includes: a switch unit, the switch unit being connected to the main power supply and the backup power supply respectively, and being used to connect to an external load; The control unit is connected to the switch unit, and is configured to control the switch unit to cut off the path between the main power supply and the external load and connect the path between the backup power supply and the external load when detecting that the first power supply signal provided by the main power supply is lower than a preset reference signal and the second power supply signal provided by the backup power supply reaches the reference signal; The control unit is further configured to control the switch unit to conduct the path between the main power supply and the external load, and control the backup power supply to switch to a cold standby state when detecting that the first power supply signal provided by the main power supply recovers to reach the reference signal.
16. The power supply system according to claim 14, characterized in that: The control module further includes: A timing recording unit, wherein the timing recording unit is respectively connected to the output end of the first power supply comparison unit, the output end of the second power supply comparison unit, the backup power supply, and the control unit, and the timing recording unit is used to record the first timestamp, the second timestamp, and the third timestamp.
17. A fault determination device for a power supply system, characterized in that: include: a power supply detection module, configured to, upon detecting that a first power supply signal provided by the main power supply is lower than a preset reference signal, record a current first timestamp and send 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; a state detection module, configured to record a current second timestamp when detecting that the backup power supply is switched to a hot standby state; a signal detection module, configured to record a current third timestamp when detecting that the second power supply signal provided by the backup power supply reaches the reference signal; An analysis module is used to determine a fault condition of the power supply system during a backup power switching process based on the recording conditions and a time sequence relationship of the first timestamp, the second timestamp, and the third timestamp.
18. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the method according to any one of claims 1 to 11 when executing the computer program.
19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method according to any one of claims 1 to 11 when executed by a processor.
20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Method and device for fault location of photovoltaic access power distribution network on basis of synchronous time stamp
CN108333477A
Dual backup power supply switching system and method
CN111211614A
Load power supply control method, system, device and equipment and storage medium
CN116545092A
Power supply switching control method and system for UPS (Uninterrupted Power Supply) device
CN120433402A
Flexible and reliable dual-power-supply automatic switching device
CN216356088U
Cited By
Power supply control method and power supply device
CN121663690A