Standby power test system, method and device and computer readable storage medium

By real-time acquisition and processing of the voltage detection value of the energy storage element, automatically disconnecting the power supply circuit and using an oscilloscope to display the signal waveform, the problems of low efficiency and accuracy of backup power testing are solved, and efficient and accurate backup power testing is achieved.

CN120685994APending Publication Date: 2025-09-23SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510911944.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-09-23

AI Technical Summary

Technical Problem

The existing technology lacks a mature backup power test solution, resulting in low efficiency and poor accuracy of backup power testing.

Method used

The data acquisition unit collects the voltage detection value of the energy storage element in real time. The data processing unit disconnects the power supply circuit when the voltage detection value is equal to the preset starting voltage. The oscilloscope is used to display the signal waveform to determine the backup power duration, and the backup power test is automatically started in combination with the hardware and the preset starting voltage.

Benefits of technology

The efficiency and accuracy of the backup power test are improved, and the timing of starting the backup power test can be determined efficiently and accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120685994A_ABST
    Figure CN120685994A_ABST
Patent Text Reader

Abstract

The invention discloses a standby power test system, method and device and a computer readable storage medium, and belongs to the field of standby power tests.A data acquisition unit in the standby power test system can acquire a voltage detection value of an energy storage element of a to-be-tested part in real time, and a data processing unit can start a standby power test when the voltage detection value is equal to a preset starting voltage. The power supply circuit of the to-be-tested component is disconnected through the switch control unit so as to start the standby power test, the standby power duration of the energy storage element can be determined through the signal waveform of the specified signal in the to-be-tested component displayed by the oscilloscope, and the starting time of the standby power test can be efficiently and accurately determined through related hardware and preset starting voltage. And the standby power test is automatically started, so that the efficiency and the precision of the standby power test are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of backup power testing, and in particular to a backup power testing system, method, device and computer-readable storage medium. Background Art

[0002] Many server components contain backup energy storage elements. These elements can continue to supply power to the component for a period of time in the event of an abnormal power outage, allowing the component to be powered off normally. Before these components leave the factory, it is usually necessary to test the backup power duration of the component (that is, the minimum duration that the energy storage element can continuously supply power) to ensure that the backup power duration meets the requirements. However, the relevant technology lacks a mature backup power testing solution, resulting in poor efficiency and low accuracy of backup power testing.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the Invention

[0004] The purpose of the present invention is to provide a backup power test system, method, device and computer-readable storage medium. The data acquisition unit in the present invention can collect the voltage detection value of the energy storage element of the component to be tested in real time, and the data processing unit can disconnect the power supply circuit of the component to be tested through the switch control unit when the voltage detection value is equal to the preset starting voltage to start the backup power test. Then, the signal waveform of the specified signal in the component to be tested displayed by the oscilloscope can be used to determine the backup power duration of the energy storage element. The timing of starting the backup power test can be determined efficiently and accurately through relevant hardware and the preset starting voltage, and the backup power test can be automatically started, thereby improving the efficiency and accuracy of the backup power test.

[0005] To solve the above technical problems, the present invention provides a backup power test system, comprising:

[0006] A switch control unit connected to the server and the component under test, respectively, for controlling the on / off of the power supply circuit from the server to the component under test;

[0007] A data acquisition unit connected to the energy storage element of the component to be tested, for acquiring a voltage detection value of the energy storage element of the component to be tested in real time;

[0008] a data processing unit connected to the switch control unit and the data acquisition unit, respectively, for disconnecting the power supply circuit from the server to the component under test via the switch control unit when the voltage detection value is equal to the preset starting voltage, so as to start the backup power test;

[0009] The oscilloscope connected to the component to be tested is used to display the signal waveform of the specified signal of the component to be tested, so as to determine the backup power time of the energy storage element through the signal waveform.

[0010] On the other hand, the backup power test system further includes:

[0011] The server is used to perform stress testing on the component to be tested so as to simulate the power consumption of the component to be tested;

[0012] The pressure test of the component to be tested includes:

[0013] Sending stress test instructions to the component under test in sequence according to the execution order of instructions in the preset stress test script, and controlling the component under test to perform corresponding operations to generate different degrees of workload;

[0014] During the execution of the stress test script, the operating status parameters of the component to be tested are monitored in real time and the monitoring data are recorded;

[0015] Stop running the stress test script according to the preset stress test duration or test termination conditions;

[0016] The operating status parameters include at least one of the following: operating temperature, voltage, current and response time; and the preset test termination conditions include failure of the component to be tested, operating status parameters exceeding a safety threshold or reaching a specific performance indicator.

[0017] In another aspect, the energy storage element comprises a capacitor;

[0018] The server is further configured to control a capacitor in the component to be tested to perform a self-test so that the capacitor exhibits a voltage valley value;

[0019] Controlling the capacitance in the component under test to perform self-test includes:

[0020] Obtaining specification parameters of the capacitor in the component to be tested, and setting initial operating parameters of the capacitor self-test program according to the specification parameters;

[0021] Starting a capacitor self-test program, controlling the capacitor self-test program to send a self-test initialization instruction to the capacitor, so that the capacitor enters a self-test preparation state;

[0022] The capacitor self-test program performs capacitor discharge and charge operations in sequence according to a preset self-test process;

[0023] The specification parameters of the capacitor include rated voltage, capacitance value and maximum allowable operating current. The discharge current and discharge time of the discharge operation are determined according to the initial operating parameters so that the voltage of the capacitor gradually decreases during the discharge process.

[0024] On the other hand, controlling the capacitance in the component under test for self-testing also includes:

[0025] During the discharge and charge operations, the capacitor self-test program monitors the voltage change of the capacitor in real time, and adjusts the discharge current and discharge time according to the monitored voltage data to ensure that the capacitor can present a voltage valley value;

[0026] When the voltage of the capacitor reaches a preset voltage valley range, the capacitor self-test program controls to stop the discharge operation and the charge operation of the capacitor, completes the operation of the capacitor self-test program, and keeps the capacitor in the voltage valley state.

[0027] On the other hand, the oscilloscope is specifically used for:

[0028] Displaying the signal waveforms of the power supply voltage indication signal and the power-off control signal of the component to be tested, so as to determine the backup power duration of the energy storage element through the signal waveforms of the power supply voltage indication signal and the power-off control signal;

[0029] The power supply voltage indication signal is used to indicate the in-place state of the power supply voltage of the component under test, which includes in-place and out-of-place. The power-off control signal is used to indicate that the component under test does not have a power supply that meets the minimum operating voltage and starts to power off.

[0030] Displaying the voltage waveform of the energy storage element of the component to be tested, so as to assist in determining whether the start time of the backup power test is accurate through the voltage waveform;

[0031] The output voltage of the power chip of the component under test is displayed so as to determine the real-time power supply voltage of the component under test.

[0032] On the other hand, the backup power test system further includes:

[0033] A human-computer interaction unit connected to the data processing unit, configured to set the preset starting voltage and generate a test start instruction and a test end instruction;

[0034] The data processing unit is specifically used for:

[0035] Upon receiving the test start instruction, the backup power test steps are cyclically executed: when the voltage detection value is equal to the preset starting voltage, the switch control unit disconnects the power supply circuit from the server to the component under test; when the voltage detection value is zero, the switch control unit connects the power supply circuit from the server to the component under test;

[0036] When the test termination instruction is received, the backup power test step is stopped.

[0037] On the other hand, the data processing unit is further configured to:

[0038] When the voltage detection value is higher than the preset starting voltage for a duration exceeding a preset duration, controlling the alarm to sound an alarm;

[0039] The backup power test system further includes the alarm.

[0040] To solve the above technical problems, the present invention further provides a backup power test method, which is applied to the data processing unit of the backup power test system described above, comprising:

[0041] Obtaining a voltage detection value of an energy storage element of a component under test;

[0042] When the voltage detection value is equal to the preset starting voltage, the power supply circuit from the server to the component under test is disconnected by the switch control unit to start the backup power test;

[0043] The backup power test system includes:

[0044] A switch control unit connected to the server and the component under test respectively;

[0045] A data acquisition unit connected to the energy storage element of the component to be tested, for acquiring a voltage detection value of the energy storage element of the component to be tested in real time;

[0046] a data processing unit connected to the switch control unit and the data acquisition unit respectively;

[0047] The oscilloscope connected to the component to be tested is used to display the signal waveform of the specified signal of the component to be tested, so as to determine the backup power time of the energy storage element through the signal waveform.

[0048] To solve the above technical problems, the present invention further provides a backup power test device, comprising:

[0049] An acquisition unit, used for acquiring a voltage detection value of an energy storage element of a component to be tested;

[0050] a control unit, configured to disconnect the power supply circuit from the server to the component under test through the switch control unit when the voltage detection value is equal to the preset starting voltage, so as to start the backup power test;

[0051] The backup power test system includes:

[0052] A switch control unit connected to the server and the component under test respectively;

[0053] A data acquisition unit connected to the energy storage element of the component to be tested, for acquiring a voltage detection value of the energy storage element of the component to be tested in real time;

[0054] a data processing unit connected to the switch control unit and the data acquisition unit respectively;

[0055] The oscilloscope connected to the component to be tested is used to display the signal waveform of the specified signal of the component to be tested, so as to determine the backup power time of the energy storage element through the signal waveform.

[0056] To solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned backup power test method are implemented.

[0057] Beneficial effect: The present invention provides a backup power test system, taking into account that the data processing unit can, on the one hand, accurately determine the start timing of the backup power test by "monitoring the voltage detection value of the energy storage element to be equal to the preset starting voltage", and on the other hand, can automatically disconnect the power supply circuit of the component to be tested through the switch control unit when the start timing is determined to start the backup power test. Therefore, the data acquisition unit in the present invention can collect the voltage detection value of the energy storage element of the component to be tested in real time, and the data processing unit can disconnect the power supply circuit of the component to be tested through the switch control unit when the voltage detection value is equal to the preset starting voltage to start the backup power test. Then, the signal waveform of the specified signal in the component to be tested displayed by the oscilloscope can be used to determine the backup power duration of the energy storage element. The start timing of the backup power test can be determined efficiently and accurately through relevant hardware and the preset starting voltage, and the backup power test can be automatically started, thereby improving the efficiency and accuracy of the backup power test.

[0058] The present invention also provides a backup power test method, device and computer-readable storage medium, which have the same beneficial effects as the above backup power test system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0060] Figure 1 A schematic structural diagram of a backup power test system provided by the present invention;

[0061] Figure 2 A schematic structural diagram of a backup power test system provided by the present invention;

[0062] Figure 3 A timing diagram of a signal waveform provided by the present invention;

[0063] Figure 4 A schematic structural diagram of another backup power test system provided by the present invention;

[0064] Figure 5 A schematic diagram of a flow chart of a backup power test method provided by the present invention;

[0065] Figure 6 A schematic structural diagram of a backup power test device provided by the present invention;

[0066] Figure 7 A schematic structural diagram of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0067] The core of the present invention is to provide a backup power test system, method, device and computer-readable storage medium. The data acquisition unit in the present invention can collect the voltage detection value of the energy storage element of the component to be tested in real time, and the data processing unit can disconnect the power supply circuit of the component to be tested through the switch control unit when the voltage detection value is equal to the preset starting voltage to start the backup power test. Then, the signal waveform of the specified signal in the component to be tested displayed by the oscilloscope can be used to determine the backup power duration of the energy storage element. The timing of starting the backup power test can be determined efficiently and accurately through relevant hardware and the preset starting voltage, and the backup power test can be automatically started, thereby improving the efficiency and accuracy of the backup power test.

[0068] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0069] Please refer to Figure 1 , Figure 1 A schematic diagram of a backup power test system provided by the present invention, the backup power test system comprising:

[0070] A switch control unit 1 connected to the server and the component under test, respectively, for controlling the on / off of the power supply circuit from the server to the component under test;

[0071] A data acquisition unit 2 connected to the energy storage element of the component to be tested, for collecting voltage detection values ​​of the energy storage element of the component to be tested in real time;

[0072] The data processing unit 3 is connected to the switch control unit 1 and the data acquisition unit 2, respectively, and is used to disconnect the power supply circuit from the server to the component under test through the switch control unit 1 when the voltage detection value is equal to the preset starting voltage, so as to start the backup power test;

[0073] The oscilloscope 4 connected to the component to be tested is used to display the signal waveform of the specified signal of the component to be tested, so as to determine the backup power time of the energy storage element through the signal waveform.

[0074] Specifically, taking into account the technical problems in the above background technology, and considering that the data processing unit 3 can, on the one hand, accurately determine the start time of the backup power test by "monitoring the voltage detection value of the energy storage element to be equal to the preset starting voltage", and on the other hand, can automatically disconnect the power supply circuit of the component to be tested through the switch control unit 1 when the start time is determined in order to start the backup power test, therefore, in the embodiment of the present invention, based on the data acquisition unit 2, the voltage detection value of the energy storage element of the component to be tested is collected in real time, and then the data processing unit 3 disconnects the power supply circuit from the server to the component to be tested through the switch control unit 1 when the voltage detection value is equal to the preset starting voltage. The power supply circuit of the component is checked to start the backup power test. After the test starts, the oscilloscope 4 can display the signal waveform of the specified signal of the component to be tested so as to determine the backup power duration of the energy storage element through the signal waveform. In the present invention, the lowest value of the voltage fluctuation of the energy storage element can be set as the preset starting voltage. Then, the data processing unit 3 can efficiently determine the "moment when the voltage detection value of the energy storage element is equal to the "lowest value of the voltage fluctuation"", and trigger the start of the backup power test when the voltage detection value of the energy storage element is equal to the "lowest value of the voltage fluctuation", thereby efficiently and accurately realizing the backup power test of the energy storage element.

[0075] The preset starting voltage may be a flexibly set value, and the present invention does not limit the specific value.

[0076] Specifically, to better illustrate the embodiments of the present invention, please refer to Figure 2 , Figure 2 This is a structural diagram of a backup power test system provided by the present invention. The test fixture can be regarded as a whole composed of the parts of the backup power test system except the oscilloscope 4. The test fixture can be used to control the server to disconnect the power supply circuit of the component to be tested at a preset starting voltage, so that the signal waveform of each specified signal displayed by the oscilloscope 4 can be used to determine the backup power time of the energy storage element.

[0077] Specifically, the server usually powers the component under test through a connector, and the test component in the embodiment of the present invention can be connected to the component under test and the server respectively through the connector, thereby serving as an intermediate part to connect the connector signal (including the power supply circuit) to the component under test. For example, the server can be connected to the SSD (Solid State Disk) through the U.2 interface (a small form factor (SFF) connector that supports SAS (Serial Attached SCSI), SATA (Serial Advanced Technology Attachment) / PCIe (Peripheral Component Interconnect Express)) and powered by 12V. The test fixture can be set between the server and the SSD. Its hardware circuit integrates voltage monitoring and automatic power-off functions. When it is detected that the voltage of the energy storage element drops to a preset starting voltage, the power-off operation is automatically performed to achieve automated testing.

[0078] Switch control unit 1 can utilize MOSFET (metal-oxide-semiconductor field-effect transistor) switches, connected to the server and the SSD (solid state disk) under test, respectively. It receives control signals from data processing unit 3 via a GPIO (general-purpose input / output) interface to control the on / off status of the 12V power supply circuit. Data acquisition unit 2 can utilize a 12-bit analog-to-digital converter (ADC) chip, with its input terminals soldered to the ends of the SSD backup capacitor via wires. It acquires capacitor voltage measurements in real time at a 100kHz sampling rate. Data processing unit 3 can utilize an ARM (Advanced RISC Machines) controller chip with a built-in voltage comparison algorithm. When the ADC voltage measurement value reaches a preset threshold voltage (e.g., 9V), it outputs a low-level signal via the GPIO to disconnect the switch, simulating a sudden SSD power outage.

[0079] Of course, in addition to the specific examples of the switch control unit 1, data processing unit 3 and data acquisition unit 2 in the above paragraph, the switch control unit 1, data processing unit 3 and data acquisition unit 2 can also be other specific types, which are not limited in the embodiments of the present invention.

[0080] The present invention provides a backup power test system. Considering that the data processing unit can, on the one hand, accurately determine the start timing of the backup power test by "monitoring the voltage detection value of the energy storage element to be equal to the preset starting voltage", and on the other hand, can automatically disconnect the power supply circuit of the component to be tested through the switch control unit when the start timing is determined to start the backup power test, the data acquisition unit in the present invention can collect the voltage detection value of the energy storage element of the component to be tested in real time, and the data processing unit can disconnect the power supply circuit of the component to be tested through the switch control unit when the voltage detection value is equal to the preset starting voltage to start the backup power test, and then the signal waveform of the specified signal in the component to be tested displayed by the oscilloscope can be used to determine the backup power time of the energy storage element. The start timing of the backup power test can be determined efficiently and accurately through relevant hardware and the preset starting voltage, and the backup power test can be automatically started, thereby improving the efficiency and accuracy of the backup power test.

[0081] Based on the above embodiment:

[0082] As an optional embodiment, the backup power test system further includes:

[0083] A server is used to perform stress testing on the component to be tested so as to simulate the power consumption of the component to be tested;

[0084] Pressure testing of the components to be tested includes:

[0085] According to the execution order of the instructions in the preset stress test script, stress test instructions are sent to the components under test in sequence, and the components under test are controlled to perform corresponding operations to generate different degrees of workload;

[0086] During the stress test script execution, the operating status parameters of the components to be tested are monitored in real time and the monitoring data is recorded;

[0087] Stop running the stress test script according to the preset stress test duration or test termination conditions;

[0088] The operating status parameters include at least one of the following: operating temperature, voltage, current and response time. The preset test termination conditions include failure of the component to be tested, operating status parameters exceeding a safety threshold or reaching a specific performance indicator.

[0089] Specifically, in order to make the test scenario closer to the actual workload, the embodiment of the present invention can simulate the backup power capacity of the component to be tested under the power consumption state. By running the stress test script on the server, the load can be effectively loaded to avoid the deviation between the no-load test and the actual application scenario.

[0090] The server is a rack-mounted device equipped with an Intel Xeon processor, connected to the test fixture via a U.2 interface. A stress test script developed using Python (a crawler) runs within the server operating system. For example, the script sends continuous read and write commands to the SSD, sets a queue depth of 32, and tests for 30 minutes, putting the SSD under high load. While the stress test script is running, it also monitors SSD parameters such as temperature and power consumption in real time to ensure that the test environment meets the operating specifications of enterprise-class SSDs.

[0091] Specifically, when performing backup power testing on the energy storage components of server components (such as solid-state drives (SSDs)), to more accurately assess the backup power capabilities of the energy storage components under the actual power consumption of the component under test, it is necessary to first simulate the power consumption of the component under test under different workloads. Considering that the component under test will generate varying levels of power consumption due to different operations during actual operation, simulating its power consumption through stress testing can provide more realistic test conditions for subsequent backup power testing of the energy storage components. Therefore, this solution is designed.

[0092] Specific example: The SSD in a certain server model is used as the component under test. The server uses a high-performance processor and operating system, such as an Intel Xeon processor server running Windows Server. A stress test script is written using a specialized testing tool, such as a Python-based script containing various test instructions, including sequential read and write, random read and write, and other instructions. These instructions are used to simulate the operating state of the SSD in different application scenarios.

[0093] During a stress test, the server sends stress test commands to the SSD in the order specified in the pre-set stress test script. For example, sequential write commands are sent first, causing the SSD to perform a large number of continuous data writes. This places a heavy workload on the SSD, increasing power consumption. Random read commands are then sent to simulate multiple tasks simultaneously reading data, placing varying degrees of workload on the SSD.

[0094] During the stress test script execution, the SSD's operating status parameters are monitored in real time using appropriate monitoring equipment and the data is recorded. Specifically, the SSD's integrated temperature sensor is used to monitor the operating temperature (unit: °C), the current detection circuit monitors the operating current (unit: A), and the power supply voltage (unit: V) is obtained from the server's power management module. The SSD's response time to commands (unit: ms) is also recorded.

[0095] Specifically, the preset stress test duration is set to 3 hours, or the stress test script is stopped when the following test termination conditions occur: SSD failure, such as inability to read and write data normally; operating status parameters exceed the safety threshold, such as the operating temperature exceeds 80°C; or specific performance indicators are achieved, such as random read and write IOPS (Input / Output Operations Per Second) is lower than the set standard value. Through such stress testing, the power consumption of the SSD in actual operation can be more accurately simulated, providing a reliable foundation for the subsequent backup power test of the energy storage element. As an optional embodiment, the energy storage element includes a capacitor;

[0096] The server is further used to control the capacitor in the component under test to perform self-test so that the capacitor presents a voltage valley value;

[0097] Controlling the capacitance in the component under test to perform self-test includes:

[0098] Obtaining specification parameters of the capacitor in the component to be tested, and setting initial operating parameters of the capacitor self-test program according to the specification parameters;

[0099] Start the capacitor self-test program, control the capacitor self-test program to send a self-test initialization instruction to the capacitor, and put the capacitor into a self-test preparation state;

[0100] The capacitor self-test program performs capacitor discharge and charge operations in sequence according to the preset self-test process;

[0101] The specifications of the capacitor include the rated voltage, capacitance value, and maximum allowable operating current. The discharge current and discharge time of the discharge operation are determined according to the initial operating parameters so that the voltage of the capacitor gradually decreases during the discharge process.

[0102] Specifically, capacitors, as common energy storage components, have a voltage valley that is a key node in backup power testing (this can be considered the lowest voltage value at which the capacitor voltage fluctuates, and can be used as the preset starting voltage). Running the capacitor self-test program puts the capacitor into a standard discharge state, ensuring consistent starting conditions for each test and improving the repeatability of test results.

[0103] Specifically, the energy storage element can be a 220μF / 25V electrolytic capacitor soldered to the SSD's power management module. The server's capacitor self-test program, developed based on the SSD's firmware interface, triggers the SSD's internal capacitor detection circuit by sending specific instructions. The self-test program first fully charges the capacitor to Vmax (e.g., 12V) and then initiates the discharge process. When the capacitor voltage drops to Vmin (e.g., 10V), the program outputs a self-test completion signal. At this point, the capacitor is in a standard discharged state, providing a consistent starting point for backup power testing.

[0104] Specifically, when performing backup power tests on energy storage components in server components, the performance stability of capacitors, a common energy storage component, is crucial to the accuracy of the backup power test. Considering that capacitors may experience performance degradation after long-term use, performing self-tests and displaying voltage valleys can better understand the capacitor's status, thereby ensuring accurate backup power testing. Therefore, this solution is designed.

[0105] Specific embodiment: The component to be tested is an energy storage capacitor in a server SSD. An electrolytic capacitor with a rated voltage (RV) of 10V, a capacitance (CV) of 1000μF, and a maximum working current (MWC) of 1.5A is selected.

[0106] Specifically, the server obtains the capacitor's specifications through the SSD's communication interface and then sets the initial operating parameters of the capacitor self-test program based on these specifications. For example, the initial discharge current value is set to 0.5A, and the initial discharge time is set to 8 seconds. After completing the initial parameter settings, the capacitor self-test program is started. The server controls the program to send a self-test initialization command to the capacitor, putting the capacitor into a self-test preparation state and preparing for subsequent charge and discharge operations.

[0107] Specifically, the capacitor self-test program performs capacitor discharge and charge operations in sequence according to the preset self-test process. The discharge current and discharge time of the discharge operation are determined according to the set initial operating parameters. During the discharge process, the charge stored in the capacitor is released and the voltage gradually decreases. For example, when discharging at a current of 0.5A for 8 seconds, the capacitor voltage will gradually decrease from the initial charging voltage. In this way, the capacitor will present a voltage valley value, so that its performance can be more accurately evaluated during the subsequent backup power test.

[0108] As an optional embodiment, controlling the capacitor in the component under test to perform self-test further includes:

[0109] During the discharge and charge operations, the capacitor self-test program monitors the voltage changes of the capacitor in real time, and adjusts the discharge current and discharge time according to the monitored voltage data to ensure that the capacitor can present the voltage valley value;

[0110] When the voltage of the capacitor reaches a preset voltage valley range, the capacitor self-test program controls the discharging and charging operations on the capacitor to stop, completing the operation of the capacitor self-test program and keeping the capacitor in the voltage valley state.

[0111] Specifically, during the capacitor self-test, to ensure the capacitor accurately reaches its voltage valley, thereby providing a reliable energy storage component status for subsequent precise backup power testing, real-time monitoring and adjustment of the capacitor's voltage changes are required. This solution is designed to ensure that capacitors in various states accurately reach their voltage valleys, given the performance differences and varying degrees of aging experienced by different capacitors.

[0112] Specific embodiment: Continuing with the energy storage capacitor in a server SSD as the component under test, a high-precision voltage monitoring circuit, working in conjunction with a capacitor self-test program, monitors the capacitor voltage changes in real time during discharge and charge operations. The voltage monitoring circuit transmits the collected voltage data in real time to the capacitor self-test program, which analyzes and processes the data.

[0113] When the monitored capacitor voltage changes are not consistent with expectations, such as when the voltage drops too quickly or too slowly, the capacitor self-test program will adjust the discharge current and discharge time based on the monitored voltage data. For example, if the voltage drops too quickly, which may indicate capacitor aging or a fault, the program will automatically reduce the discharge current and extend the discharge time to ensure that the capacitor can smoothly reach the voltage valley. Conversely, if the voltage drops too slowly, the program will appropriately increase the discharge current and shorten the discharge time.

[0114] When the capacitor voltage reaches a preset voltage valley range, for example, 2V-3V, the capacitor self-test program will promptly stop discharging and charging the capacitor, completing the self-test and maintaining the capacitor in the valley. At this point, the capacitor is in a stable voltage valley, providing excellent conditions for subsequent, more accurate backup power testing of the energy storage element of the component under test, ensuring that the backup power test results accurately reflect the actual performance of the energy storage element.

[0115] As an optional embodiment, the oscilloscope 4 is specifically used for:

[0116] Display the signal waveforms of the power supply voltage indication signal and the power-off control signal of the component under test, so as to determine the backup power duration of the energy storage element through the signal waveforms of the power supply voltage indication signal and the power-off control signal;

[0117] The power supply voltage indication signal is used to indicate the in-place state of the power supply voltage of the component under test, which includes in-place and out-of-place. The power-off control signal is used to indicate that the component under test does not have a power supply that meets the minimum operating voltage and starts to power off.

[0118] Display the voltage waveform of the energy storage element of the component to be tested, so as to assist in determining whether the start time of the backup power test is accurate through the voltage waveform;

[0119] Displays the output voltage of the power chip of the component under test so that the real-time power supply voltage of the component under test can be determined.

[0120] Specifically, considering that the multi-dimensional signal waveform display can fully reflect the electrical status during the backup power test. The timing relationship between the power supply voltage indication signal and the power-off control signal is the direct basis for determining the backup power duration, the capacitor voltage waveform can verify the accuracy of the power-off timing, and the power chip output voltage can reflect the power supply stability. Therefore, reference Figure 2 As shown, the oscilloscope 4 in the embodiment of the present invention can be a four-channel digital oscilloscope 4, the first channel of which is connected to the P12V power supply signal of the SSD (that is, the output voltage of the power chip, a high level (12V) of the signal indicates that the power is in place, and a low level (0V) indicates that the power is disconnected), the second channel can be connected to the capacitor voltage signal (when the waveform drops to a preset starting voltage (such as 9V), the data processing unit 3 controls the switch tube to disconnect, and the oscilloscope 4 is triggered and records the waveform), the third channel can be connected to the POWER_SEQ power-off control signal (when the signal is pulled down from a high level (3.3V) to 0V, it indicates that the SSD starts to execute the power-off process), and the fourth channel can be connected to the SHUTDOWN power supply voltage indication signal. The waveform is captured through the trigger mode, and the time interval from "SHUTDOWN signal is pulled low" to "POWER_SEQ signal is pulled low" is used as the backup power duration.

[0121] Specifically, to better illustrate the embodiments of the present invention, please refer to Figure 3 , Figure 3 This is a timing diagram of a signal waveform provided by the present invention. In the diagram, Vmax is the peak voltage during the voltage self-test process, Vmin is the valley voltage during the voltage self-test process (which can be regarded as the preset starting voltage), and T is the backup power time.

[0122] As an optional embodiment, the backup power test system further includes:

[0123] A human-computer interaction unit connected to the data processing unit 3, used to set a preset starting voltage and generate a test start instruction and a test end instruction;

[0124] The data processing unit 3 is specifically used for:

[0125] Upon receiving the test start instruction, the backup power test steps are executed cyclically: when the voltage detection value is equal to the preset starting voltage, the switch control unit 1 disconnects the power supply circuit from the server to the component under test; when the voltage detection value is zero, the switch control unit 1 connects the power supply circuit from the server to the component under test;

[0126] When the test termination instruction is received, the backup power test step is stopped.

[0127] Specifically, to better illustrate the embodiments of the present invention, please refer to Figure 4 , Figure 4 This is a structural diagram of another backup power test system provided by the present invention. Considering that the human-computer interaction unit can realize flexible configuration of test parameters and manual control of the test process, it meets the differentiated requirements of different models of SSDs for the preset starting voltage, and supports the cyclic test mode to improve the efficiency of batch testing. Therefore, in the embodiment of the present invention, a human-computer interaction unit connected to the data processing unit 3 can be provided to set the preset starting voltage through it and generate the test start instruction and test termination instruction through it; and the data processing unit 3 can start to cyclically execute the backup power test steps when receiving the test start instruction: when the voltage detection value is equal to the preset starting voltage, the power supply circuit from the server to the component to be tested is disconnected through the switch control unit 1, and when the voltage detection value is zero, the power supply circuit from the server to the component to be tested is connected through the switch control unit 1; and when the test termination instruction is received, the backup power test steps are stopped.

[0128] The human-computer interaction unit can consist of a 4×4 matrix button and a 2.4-inch TFT LCD screen, communicating with the data processing unit 3 via an SPI (Serial Peripheral Interface) interface. The button can set a preset starting voltage (e.g., 9V) and generate test start / stop commands. After receiving the test start command, the data processing unit 3 enters a cyclic test mode: when the capacitor voltage detection value equals the preset starting voltage, the control switch tube is disconnected. When the voltage detection value drops to 0V, the control switch tube is closed, completing a test cycle. The LCD screen displays information such as the current preset starting voltage, the number of test cycles, and the system status in real time. The test termination command can be triggered by long pressing the "Stop" button.

[0129] As an optional embodiment, the backup power test system further includes:

[0130] The prompting unit connected to the data processing unit 3 is used to prompt the current preset starting voltage.

[0131] Specifically, considering that real-time prompting of the preset starting voltage can avoid erroneous operations caused by forgetting parameters during the test process, ensure that the tester is aware of the current test conditions at any time, and improve the reliability of the operation, the embodiment of the present invention can prompt the current preset starting voltage through the prompt unit.

[0132] The prompt unit can utilize a 0.96-inch display screen, connected to the data processing unit 3 via an I2C (Inter-Integrated Circuit) interface. The display screen displays the preset starting voltage value (e.g., "Vmin: 9.0V") in real time in a prominent font and emits a beeping prompt when the voltage value changes. The display screen also simultaneously displays the current capacitor voltage in real time and a test status icon (e.g., "Running" or "Paused").

[0133] As an optional embodiment, the data processing unit 3 is further configured to:

[0134] When the voltage detection value is higher than the preset starting voltage for a duration exceeding the preset time, the alarm is controlled to sound an alarm;

[0135] The backup power test system also includes an alarm.

[0136] Specifically, considering that the voltage abnormality continuous alarm function can timely detect the failure of the energy storage element or the test circuit, avoid the distortion of the test data caused by hardware problems, and improve the reliability of the test system, the data processing unit 3 in the embodiment of the present invention can control the alarm to sound an alarm when the duration of the voltage detection value being higher than the preset starting voltage exceeds the preset time.

[0137] Data processing unit 3 may include a built-in timer. When the capacitor voltage detected by the ADC remains above a preset starting voltage for a predetermined period (e.g., 10 seconds), the unit determines that a voltage abnormality has occurred and, via the PWM interface, drives a buzzer to emit a continuous alarm tone. The alarm can be a 5V active buzzer mounted on the test fixture's front panel. The LED indicator flashes synchronously when an alarm is triggered. The preset duration is configurable through the human-computer interface (ranging from 1 to 60 seconds).

[0138] In addition, as an optional embodiment, the data processing unit 3 is further configured to:

[0139] When the voltage detection value is equal to the preset starting voltage, the timing is started, and when the voltage detection value is equal to the minimum supply voltage of the component to be tested, the timing is stopped, and the total timing time is used as the backup power time detection value, and the control prompt unit prompts the backup power time detection value;

[0140] It is determined whether the backup power time detection value is less than a preset backup power time reference value. If so, the control prompt unit prompts that the backup power test has failed.

[0141] Specifically, considering that for the data processing unit 3, the backup power time can also be determined by voltage detection of the energy storage component, the backup power time determined in this way can be used as a comparison with the "backup power time determined by the oscilloscope 4", and the data processing unit 3 can also automatically evaluate the backup power time determined in this way. Therefore, the data processing unit 3 in the embodiment of the present invention can also start timing when the voltage detection value is equal to the preset starting voltage, stop timing when the voltage detection value is equal to the minimum power supply voltage of the component to be tested, and use the total timing time as the backup power time detection value, and control the prompt unit to prompt the backup power time detection value; and judge whether the backup power time detection value is less than the preset backup power time reference value. If it is less, the control prompt unit prompts that the backup power test has failed, so that the backup power test can be performed more accurately and the failure of the backup power test can be notified in time.

[0142] Please refer to Figure 5 , Figure 5 This is a flow chart of a backup power test method provided by the present invention, which is applied to the data processing unit of the backup power test system in the aforementioned embodiment, including:

[0143] S101: Obtaining a voltage detection value of an energy storage element of a component to be tested;

[0144] S102: When the voltage detection value is equal to the preset starting voltage, disconnecting the power supply circuit from the server to the component under test through the switch control unit to start the backup power test;

[0145] The backup power test system includes:

[0146] A switch control unit connected to the server and the component under test respectively;

[0147] A data acquisition unit connected to the energy storage element of the component to be tested, used to collect voltage detection values ​​of the energy storage element of the component to be tested in real time;

[0148] a data processing unit connected to the switch control unit and the data acquisition unit respectively;

[0149] The oscilloscope connected to the component under test is used to display the signal waveform of the specified signal of the component under test, so as to determine the backup power time of the energy storage element through the signal waveform.

[0150] For an introduction to the backup power test method provided by an embodiment of the present invention, please refer to the aforementioned embodiment of the backup power test system, and the embodiment of the present invention will not be described in detail here.

[0151] Please refer to Figure 6 , Figure 6 This is a schematic structural diagram of a backup power test device provided by the present invention, which includes:

[0152] An acquisition unit 61 is used to acquire a voltage detection value of an energy storage element of a component to be tested;

[0153] The control unit 62 is configured to disconnect the power supply circuit from the server to the component under test through the switch control unit when the voltage detection value is equal to the preset starting voltage, so as to start the backup power test;

[0154] The backup power test system includes:

[0155] A switch control unit connected to the server and the component under test respectively;

[0156] A data acquisition unit connected to the energy storage element of the component to be tested, used to collect voltage detection values ​​of the energy storage element of the component to be tested in real time;

[0157] a data processing unit connected to the switch control unit and the data acquisition unit respectively;

[0158] The oscilloscope connected to the component under test is used to display the signal waveform of the specified signal of the component under test, so as to determine the backup power time of the energy storage element through the signal waveform.

[0159] For an introduction to the backup power test device provided by an embodiment of the present invention, please refer to the aforementioned embodiment of the backup power test system, and the embodiment of the present invention will not be described in detail here.

[0160] The present invention further provides a computer program product, comprising a computer program / instruction, which implements the steps of the backup power test method in the aforementioned embodiment when executed by a processor.

[0161] For an introduction to the computer program product provided by the embodiment of the present invention, please refer to the aforementioned embodiment of the backup power test system, and the embodiment of the present invention will not be described in detail here.

[0162] Please refer to Figure 7 , Figure 7 This is a structural diagram of a computer-readable storage medium provided by the present invention. A computer program 72 is stored on the computer-readable storage medium 71. When the computer program 72 is executed by the processor, the steps of the above backup power test method are implemented.

[0163] For an introduction to the computer-readable storage medium provided in an embodiment of the present invention, please refer to the aforementioned embodiment of the backup power test system, and the embodiment of the present invention will not be described in detail here.

[0164] In this specification, the various embodiments are described in a progressive manner, with each embodiment focusing on the differences from the other embodiments. Similar or identical parts between the various embodiments may be referred to in conjunction with each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and for relevant parts, reference may be made to the method description. It should also be noted that, in this specification, relational terms such as first and second, etc., are used solely to distinguish one entity or operation from another, and do not necessarily require or imply any actual relationship or order between these entities or operations. Furthermore, the terms "comprise," "include," or any other variations thereof are intended to encompass 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. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, article, or device comprising that element.

[0165] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A backup power test system, characterized in that: include: A switch control unit connected to the server and the component under test, respectively, for controlling the on / off of the power supply circuit from the server to the component under test; A data acquisition unit connected to the energy storage element of the component to be tested, for acquiring a voltage detection value of the energy storage element of the component to be tested in real time; a data processing unit connected to the switch control unit and the data acquisition unit, respectively, for disconnecting the power supply circuit from the server to the component under test via the switch control unit when the voltage detection value is equal to the preset starting voltage, so as to start the backup power test; The oscilloscope connected to the component to be tested is used to display the signal waveform of the specified signal of the component to be tested, so as to determine the backup power time of the energy storage element through the signal waveform.

2. The backup power test system according to claim 1, characterized in that: The backup power test system also includes: The server is used to perform stress testing on the component to be tested so as to simulate the power consumption of the component to be tested; The pressure test of the component to be tested includes: Sending stress test instructions to the component under test in sequence according to the execution order of instructions in the preset stress test script, and controlling the component under test to perform corresponding operations to generate different degrees of workload; During the execution of the stress test script, the operating status parameters of the component to be tested are monitored in real time and the monitoring data are recorded; Stop running the stress test script according to the preset stress test duration or test termination conditions; The operating status parameters include at least one of the following: operating temperature, voltage, current and response time; and the preset test termination conditions include failure of the component to be tested, operating status parameters exceeding a safety threshold or reaching a specific performance indicator.

3. The backup power test system according to claim 2, characterized in that: The energy storage element includes a capacitor; The server is further configured to control a capacitor in the component to be tested to perform a self-test so that the capacitor exhibits a voltage valley value; Controlling the capacitance in the component under test to perform self-test includes: Obtaining specification parameters of the capacitor in the component to be tested, and setting initial operating parameters of the capacitor self-test program according to the specification parameters; Starting a capacitor self-test program, controlling the capacitor self-test program to send a self-test initialization instruction to the capacitor, so that the capacitor enters a self-test preparation state; The capacitor self-test program performs capacitor discharge and charge operations in sequence according to a preset self-test process; The specification parameters of the capacitor include rated voltage, capacitance value and maximum allowable operating current. The discharge current and discharge time of the discharge operation are determined according to the initial operating parameters so that the voltage of the capacitor gradually decreases during the discharge process.

4. The backup power test system according to claim 3, characterized in that: Controlling the capacitance in the component under test to perform self-test also includes: During the discharge and charge operations, the capacitor self-test program monitors the voltage change of the capacitor in real time, and adjusts the discharge current and discharge time according to the monitored voltage data to ensure that the capacitor can present a voltage valley value; When the voltage of the capacitor reaches a preset voltage valley range, the capacitor self-test program controls to stop the discharge operation and the charge operation of the capacitor, completes the operation of the capacitor self-test program, and keeps the capacitor in the voltage valley state.

5. The backup power test system according to claim 1, characterized in that: The oscilloscope is specifically used for: Displaying the signal waveforms of the power supply voltage indication signal and the power-off control signal of the component to be tested, so as to determine the backup power duration of the energy storage element through the signal waveforms of the power supply voltage indication signal and the power-off control signal; The power supply voltage indication signal is used to indicate the in-place state of the power supply voltage of the component under test, which includes in-place and out-of-place. The power-off control signal is used to indicate that the component under test does not have a power supply that meets the minimum operating voltage and starts to power off. Displaying the voltage waveform of the energy storage element of the component to be tested, so as to assist in determining whether the start time of the backup power test is accurate through the voltage waveform; The output voltage of the power chip of the component under test is displayed so as to determine the real-time power supply voltage of the component under test.

6. The backup power test system according to claim 1, characterized in that: The backup power test system also includes: A human-computer interaction unit connected to the data processing unit, configured to set the preset starting voltage and generate a test start instruction and a test end instruction; The data processing unit is specifically used for: Upon receiving the test start instruction, the backup power test steps are cyclically executed: when the voltage detection value is equal to the preset starting voltage, the switch control unit disconnects the power supply circuit from the server to the component under test; when the voltage detection value is zero, the switch control unit connects the power supply circuit from the server to the component under test; When the test termination instruction is received, the backup power test step is stopped.

7. The backup power test system according to any one of claims 1 to 6, characterized in that: The data processing unit is further configured to: When the voltage detection value is higher than the preset starting voltage for a duration exceeding a preset duration, controlling the alarm to sound an alarm; The backup power test system further includes the alarm.

8. A backup power test method, characterized in that: A data processing unit applied to the backup power test system according to any one of claims 1 to 7, comprising: Obtaining a voltage detection value of an energy storage element of a component under test; When the voltage detection value is equal to the preset starting voltage, the power supply circuit from the server to the component under test is disconnected by the switch control unit to start the backup power test; The backup power test system includes: A switch control unit connected to the server and the component under test respectively; A data acquisition unit connected to the energy storage element of the component to be tested, for acquiring a voltage detection value of the energy storage element of the component to be tested in real time; a data processing unit connected to the switch control unit and the data acquisition unit respectively; The oscilloscope connected to the component to be tested is used to display the signal waveform of the specified signal of the component to be tested, so as to determine the backup power time of the energy storage element through the signal waveform.

9. A backup power test device, characterized in that: include: An acquisition unit, used to acquire a voltage detection value of an energy storage element of a component to be tested; a control unit, configured to disconnect the power supply circuit from the server to the component under test through the switch control unit when the voltage detection value is equal to the preset starting voltage, so as to start the backup power test; The backup power test system includes: A switch control unit connected to the server and the component under test respectively; A data acquisition unit connected to the energy storage element of the component to be tested, for acquiring a voltage detection value of the energy storage element of the component to be tested in real time; a data processing unit connected to the switch control unit and the data acquisition unit respectively; The oscilloscope connected to the component to be tested is used to display the signal waveform of the specified signal of the component to be tested, so as to determine the backup power time of the energy storage element through the signal waveform.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the backup power test method according to claim 8 are implemented.