Power test method and system and storage medium

Direct supply and program-controlled power supply are provided through the electrical output unit, and the testing parameters are configured according to the connection status, which solves the problem that existing equipment cannot test different voltage products at the same time, and achieves efficient and low-cost power testing.

CN118914700APending Publication Date: 2024-11-08NANJING FALCON EYE ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410957881.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Existing power testing equipment cannot simultaneously conduct power testing of products with different test voltages and test requirements, resulting in inefficiency in testing and increased cost.

Method used

The electrical output unit provides power supply in direct supply mode and program control mode, determine the target test channel according to the connection status of the electrical output terminal, and configure on-off test parameters, generate test instructions to control the electrical signal output, and realize synchronous or asynchronous power testing of different products .

Benefits of technology

It improves the flexibility, accuracy and efficiency of power testing, can meet the testing power requirements of different products, and reduces the testing cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914700A_ABST
    Figure CN118914700A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a power test method and system and a storage medium, and the method comprises the steps: obtaining the electrical connection states of a plurality of electrical output ends of an electrical output unit, and enabling the electrical output unit to provide a power supply in a direct supply mode and a program control mode; target test channels are determined, and for each target test channel, on-off test parameters of the target test channel are configured; and in response to starting of the power test, generating a corresponding test instruction for each target test channel, and executing the power test of the to-be-tested product connected with the electrical output end based on the test instruction. During the electric power test, the requirements of different products on the aspect of the test power supply can be simultaneously met through the electrical output unit, independent electric power test can be carried out on each to-be-tested product connected with the electrical output end, synchronous or asynchronous test on a plurality of to-be-tested products is completed, the test efficiency is improved, and the test cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power testing methods, and in particular to a power testing method, system and storage medium. Background Art

[0002] Some products that require power supply during use usually need to undergo some electrical tests, such as on-off test and power fluctuation test. On-off test refers to the test of the corresponding capability and recovery time of the equipment in the power system by simulating the disconnection and restoration of power supply. It can be used to evaluate the reliability and resilience of the equipment under test when the power is interrupted or restored. The power waveform change test is to evaluate the power adaptability of the equipment under test by simulating the change of the power waveform in the power system. This test can simulate frequency fluctuation, voltage change, voltage sag, voltage fluctuation and other phenomena to determine the stability and performance of the equipment when the power waveform changes.

[0003] Existing power testing equipment usually has multiple test connection terminals, which are used to connect to the products to be tested so as to test multiple products to be tested simultaneously, improve test efficiency, and reduce test costs. However, in the actual testing process, different products have different requirements for power supply when conducting power tests, and products with different test voltages cannot be tested at the same time during the test process. Moreover, in actual testing, the test requirements of products with the same test voltage may also be different, and they cannot be tested synchronously. For products with different test requirements or products with different test voltages, they need to be tested separately or using multiple test equipment, which not only reduces test efficiency but also increases test costs. Summary of the invention

[0004] The embodiments of the present invention provide a power testing method, system and storage medium to improve the flexibility, accuracy and efficiency of power testing and meet the testing requirements of different products.

[0005] In order to solve the above technical problems, the embodiments of the present invention disclose the following technical solutions:

[0006] In a first aspect, a power testing method is provided, comprising:

[0007] Acquire the electrical connection status of multiple electrical output terminals of the electrical output unit, wherein the multiple electrical output terminals correspond one-to-one to multiple test channels, and the electrical output unit is used to provide power in a direct supply mode and power in a program-controlled mode;

[0008] Determine a target test channel participating in the test according to the electrical connection state of each of the electrical output terminals, and configure an on / off test parameter of each of the target test channels;

[0009] In response to the start of the power test, for each target test channel, a corresponding test instruction is generated according to the on-off test parameters, and the electrical signal output of the corresponding electrical output terminal is controlled based on the test instruction, thereby performing a power test on the product to be tested connected to the electrical output terminal.

[0010] In addition to or as an alternative to one or more of the features disclosed above, the configuration of the on / off test parameters of the target test channel at least includes:

[0011] (1) The number of tests of the target test channel;

[0012] (2) The power-on time of the target test channel;

[0013] (3) The power-off duration of the target test channel.

[0014] In addition to or as an alternative to one or more of the features disclosed above, the method further comprises:

[0015] Establishing a communication connection with the product to be tested;

[0016] A corresponding timeout period is configured for the product to be tested based on the power-on duration, and the timeout period is used as an actual detection period.

[0017] In addition to or as an alternative to one or more of the features disclosed above, the method further comprises:

[0018] For each test, obtain the test data of the product to be tested in the current actual detection period, and determine whether the current test is successful based on the test data;

[0019] If yes, continue to the next test;

[0020] Otherwise, the test ends.

[0021] In addition to or as an alternative to one or more of the features disclosed above,

[0022] For each test of each target test channel, generate metadata corresponding to the target test channel under the current test, and overwrite the metadata under the previous test with the metadata under the current test;

[0023] The metadata at least includes: a product identification of a product to be tested connected to the target test channel, a current test number of the target test channel, and actual test parameters and test results linked to the current test number.

[0024] In addition to or as an alternative to one or more features disclosed above, the establishing a communication connection with the product to be tested includes:

[0025] Establishing a communication connection with the product to be tested via Ethernet, or establishing a communication connection with the product to be tested via a bus, or establishing a communication connection with the product to be tested via a serial port;

[0026] Among them, when a communication connection is established with the product to be tested through Ethernet, the basis for judging whether the current test is successful based on the test data is a specific message; when a communication connection is established with the product to be tested through a bus, the basis for judging whether the current test is successful based on the test data is a filter ID; when a communication connection is established with the product to be tested through a serial port, the basis for judging whether the current test is successful based on the test data is the judgment content.

[0027] In addition to or as an alternative to one or more of the features disclosed above, the method further comprises:

[0028] For each target test channel, current data corresponding to the target test channel is acquired, and a corresponding current waveform diagram is generated based on the current data to determine whether the electrical output terminal connected to the product to be tested provides a matching electrical signal.

[0029] In addition to or as an alternative to one or more features disclosed above, in response to the start of the power test, for each target test channel, a corresponding test instruction is generated according to the on-off test parameter, and the electrical signal output of the corresponding electrical output terminal is controlled based on the test instruction, including:

[0030] The target test channel is controlled to be turned on and off based on the test instruction to control the electrical signal output of the corresponding electrical output terminal.

[0031] In a second aspect, a power test system is provided, comprising an electrical output unit, wherein the electrical output unit comprises at least two direct power supply modules and a programmable power supply module; the system further comprises:

[0032] An acquisition unit, used for acquiring electrical connection states of a plurality of electrical output terminals of an electrical output unit, wherein the plurality of electrical output terminals correspond one-to-one to a plurality of test channels, and the electrical output unit is used for providing power in a direct supply mode and power in a program-controlled mode;

[0033] A parameter configuration unit, used to determine a target test channel participating in the test according to the electrical connection state of each of the electrical output terminals, and configure an on / off test parameter of each of the target test channels;

[0034] An execution unit is used to generate a corresponding test instruction according to the on-off test parameters for each target test channel in response to the start of the power test, and control the electrical signal output of the corresponding electrical output terminal based on the test instruction, thereby performing a power test on the product to be tested connected to the electrical output terminal.

[0035] In addition to or as an alternative to one or more of the features disclosed above, the system further comprises:

[0036] The control unit is used to control the programmable power supply module to output power with different programmable waveforms.

[0037] In a third aspect, a computer-readable storage medium is provided, which stores a computer-executable program code. When the computer-executable program code is loaded into an electronic device, the electronic device executes any of the above-mentioned power testing methods.

[0038] One of the above technical solutions has the following advantages or beneficial effects: when conducting power testing, the power supply in the direct supply mode and the power supply in the program-controlled mode are provided by the electrical output unit, which can meet the test power requirements of different products to be tested. Further, during the test, the product to be tested is connected to the electrical output terminal, and the electrical connection status of multiple electrical output terminals can clarify which test channels participate in the test, determine the target test channel, and configure the on-off test parameters for each target test channel. After the on-off test parameters are configured, a test instruction is sent to the target test channel, which can control the electrical signal output of the corresponding electrical output terminal, so that the product to be tested connected to the electrical output terminal starts the power test. In this way, during the power test, the requirements of different products for the test power supply can be met at the same time through the electrical output unit, and each product to be tested connected to the electrical output terminal can be independently tested for power, and synchronous or asynchronous testing of multiple products to be tested can be completed, thereby improving the test efficiency and reducing the test cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The technical solutions and other beneficial effects of the present invention will be made apparent by describing in detail the specific embodiments of the present invention in conjunction with the accompanying drawings.

[0040] Figure 1 is a step diagram of an electric power testing method provided according to an embodiment of the present application;

[0041] Figure 2 A schematic diagram of an electric power test system provided according to an embodiment of the present application Figure 1 ;

[0042] Figure 3 A schematic diagram of an electric power test system provided according to an embodiment of the present application Figure 2 ;

[0043] Figure 4 It is a schematic diagram of an electrical output unit provided according to an embodiment of the present application.

[0044] Description of reference numerals:

[0045] 01. Electrical output unit;

[0046] 02. Acquisition unit; 03. Parameter configuration unit; 04. Execution unit; 05. Control unit; 06. Current monitoring unit. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and beneficial effects of the present invention more clear, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described in this specification are only for explaining the present invention, not for limiting the present invention.

[0048] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present invention, the meaning of "multiple" refers to two or more, unless otherwise clearly and specifically defined.

[0049] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0050] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0051] The embodiment of the present invention discloses a power testing method, referring to Figure 1 , the electrical testing method includes:

[0052] S100. Obtain electrical connection status of multiple electrical output terminals of an electrical output unit, wherein the multiple electrical output terminals correspond one-to-one to multiple test channels, and the electrical output unit is used to provide power in a direct supply mode and power in a program-controlled mode.

[0053] S200. Determine the target test channel participating in the test according to the electrical connection state of each electrical output terminal, and configure the on-off test parameters of each target test channel.

[0054] S300. In response to the start of the power test, for each target test channel, a corresponding test instruction is generated according to the on-off test parameters, and the electrical signal output of the corresponding electrical output terminal is controlled based on the test instruction, thereby performing a power test on the product to be tested connected to the electrical output terminal.

[0055] Specifically, during the power test, the power supply in the direct supply mode is used to provide a stable DC electrical signal to the product under test, and the power supply in the program control mode is used to provide a fluctuating DC electrical signal to the product under test. The fluctuating DC electrical signal is intended to simulate power supply fluctuations such as voltage fluctuations and voltage sags. In some embodiments, at least two direct supply mode power supplies are provided, and the voltage values ​​of the DC electrical signals output by the two direct supply mode power supplies are different. For example, in some embodiments, a power supply with a voltage value of 12V for outputting a DC electrical signal and a power supply with a voltage value of 24V for outputting a DC electrical signal are selected.

[0056] In some embodiments, configuring the on-off test parameters of the target test channel includes at least: the number of tests of the target test channel, the power-on time of the target test channel, and the power-off time of the target test channel.

[0057] In some embodiments, the above step S300. In response to the start of the power test, for each target test channel, a corresponding test instruction is generated according to the on-off test parameters, and the electrical signal output of the corresponding electrical output terminal is controlled based on the test instruction, including: controlling the on-off of the target test channel based on the test instruction to control the electrical signal output of the corresponding electrical output terminal. Specifically, during the test, when the target test channel is turned on, the electrical output terminal outputs an electrical signal, and the product to be tested connected to the electrical output terminal is in a power-on state, and the power-on state is maintained for a time according to the power-on duration configured for the target test channel corresponding to the electrical output terminal; when the target test channel is turned off, the electrical output terminal does not output an electrical signal, and the product to be tested connected to the electrical output terminal is in a power-off state, and the power-off state is maintained for a time according to the power-off duration configured for the target test channel corresponding to the electrical output terminal.

[0058] In some embodiments, the power testing method further comprises:

[0059] Establish a communication connection with the product under test;

[0060] Configure a corresponding timeout period for the product to be tested based on the power-on duration, and use the timeout period as the actual detection period.

[0061] Specifically, different products to be tested have different communication connection methods. In order to be compatible with more products to be tested, in some embodiments, the above step S400. Establishing a communication connection with the product to be tested includes: establishing a communication connection with the product to be tested via Ethernet, or establishing a communication connection with the product to be tested via a bus, or establishing a communication connection with the product to be tested via a serial port. Specifically, in some embodiments, establishing communication with the product to be tested via Ethernet includes establishing a communication connection with the product to be tested via a TCP communication method and establishing a communication connection with the product to be tested via a UDP communication method. In some embodiments, establishing communication with the product to be tested via a bus includes establishing a communication connection with the product to be tested via a CAN communication method and establishing a communication connection with the product to be tested via a CANFD communication method.

[0062] Furthermore, in some embodiments, the power testing method further includes:

[0063] For each test, obtain the test data of the product to be tested during the current actual test period, and determine whether the current test is successful based on the test data;

[0064] If yes, continue to the next test;

[0065] Otherwise, the test ends.

[0066] In some embodiments, when a communication connection is established with a product to be tested via Ethernet, the basis for determining whether the current test is successful based on the test data is a specific message, when a communication connection is established with the product to be tested via a bus, the basis for determining whether the current test is successful based on the test data is a filter ID, and when a communication connection is established with the product to be tested via a serial port, the basis for determining whether the current test is successful based on the test data is a determination content. Specifically, taking the establishment of a communication connection with a product to be tested via Ethernet as an example, in a test, it is possible to determine whether the test data contains a specific message based on the test data of the product to be tested acquired during the detection period. If the test data contains a specific message, the test is successful, and if the test data does not contain a specific message, the test fails.

[0067] In some embodiments, when a communication connection is established with the product to be tested via Ethernet, the basis for determining whether the current test is successful according to the test data may also be a ping instruction or a data packet.

[0068] In some embodiments, when a communication connection is established with the product to be tested via Ethernet, each test can also be configured as a single test or a continuous test. A single test only obtains the test data of the product to be tested within the current actual detection period, while a continuous test not only obtains the test data of the product to be tested within the current actual detection period, but also obtains the test data of the product to be tested outside the current actual detection period. In some embodiments, when a communication connection is established with the product to be tested via a bus, each test can also be configured as a single test or a continuous test.

[0069] In some embodiments, the power test method further includes: for each test of each target test channel, generating metadata corresponding to the target test channel under the current test, and overwriting the metadata under the previous test with the metadata under the current test;

[0070] The metadata at least includes: a product identification of the product to be tested connected to the target test channel, the current test number of the target test channel, and actual test parameters and test results linked to the current test number.

[0071] Specifically, in some embodiments, the actual test parameters include: the number of tests, the actual power-on time, the actual current, the actual power-off time, and the actual test time, wherein the number of tests is the number of tests configured for the target test channel, and the actual power-on time is a timing mode, which is used to indicate the power-on time corresponding to the number of tests, in seconds, such as 0 minutes and 17 seconds. The actual current is used to indicate the current value at the electrical output terminal when the test result is obtained, such as 1.25A. The actual power-off time is also a timing mode, which is used to indicate the power-off time corresponding to the number of tests, in seconds, such as 0 minutes and 11 seconds. The actual test time is used to record the actual time corresponding to the number of tests, such as 2024 / 6 / 11-16:40:17.

[0072] In some embodiments, the power test method further includes: for each target test channel, obtaining current data corresponding to the target test channel, and generating a corresponding current waveform diagram based on the current data to determine whether the electrical output terminal connected to the product to be tested provides a matching electrical signal. In this way, when a test of a product to be tested fails, the electrical signal output by the electrical output terminal can be monitored through the current waveform diagram to ensure the stability and accuracy of the electrical signal output by the electrical output terminal, thereby avoiding the failure of the power test of the product to be tested due to problems with the electrical signal output by the electrical output terminal.

[0073] The embodiment of the present invention discloses a power test system, referring to Figure 2 The electric power testing system includes: an electric output unit 01, an acquisition unit 02, a parameter configuration unit 03 and an execution unit 04.

[0074] The electrical output unit 01 is used to provide power in the direct supply mode and the program-controlled mode. Specifically, the electrical output unit 01 includes a program-controlled power module and at least two direct supply power modules and a plurality of electrical output terminals for connecting to the product to be tested. The program-controlled power module is used to provide power in the program-controlled mode, and the direct supply power module is used to provide power in the direct supply mode. The plurality of electrical output terminals correspond one-to-one to the plurality of test channels.

[0075] The acquisition unit 02 is used to acquire the electrical connection status of multiple electrical output terminals of the electrical output unit 01, wherein the multiple electrical output terminals correspond one-to-one to multiple test channels, and the electrical output unit 01 is used to provide power in direct supply mode and power in program control mode.

[0076] The parameter configuration unit 03 is used to determine the target test channel participating in the test according to the electrical connection state of each electrical output terminal, and configure the on-off test parameters of each target test channel.

[0077] The execution unit 04 is used to generate corresponding test instructions according to the on-off test parameters for each target test channel in response to the start of the power test, and control the electrical signal output of the corresponding electrical output terminal based on the test instructions, thereby performing power testing on the product to be tested connected to the electrical output terminal.

[0078] Furthermore, in order to enable the programmable power supply module to output power with different programmable waveforms to provide a fluctuating DC electrical signal for the product under test, the power testing system also includes a control unit 05, which controls the programmable power supply module to output power with different programmable waveforms.

[0079] In some embodiments, reference Figure 3 The power testing system also includes a current monitoring unit 06, which is used to obtain current data corresponding to each target test channel, and generate a corresponding current waveform diagram based on the current data to determine whether the electrical output terminal connected to the product to be tested provides an adaptive electrical signal.

[0080] Specifically, in some embodiments, referring to Figure 3 and Figure 4 , the electrical output unit 01 includes a current acquisition module and a channel control module, and each test channel is connected to the current acquisition module and the channel control module. The current acquisition module is connected to the current monitoring unit 06 in communication, and the current acquisition module is used to collect current data of each target test channel and transmit the collected current data to the current monitoring unit 06. The channel control module is connected to the execution unit 04 in communication, so that the execution unit 04 controls the on and off of the target test channel based on the test instruction through the channel control module to control the electrical signal output of the corresponding electrical output terminal. In some embodiments, the channel control module includes a plurality of channel control switches, and the channel control switches correspond to the test channels one by one.

[0081] The present invention also discloses a computer-readable storage medium that stores a computer executable program code. When the computer executable program code is loaded into an electronic device, the electronic device executes any of the above-mentioned power testing methods.

[0082] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0083] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A power testing method, characterized in that: include: Acquire the electrical connection status of multiple electrical output terminals of the electrical output unit, wherein the multiple electrical output terminals correspond one-to-one to multiple test channels, and the electrical output unit is used to provide power in a direct supply mode and power in a program-controlled mode; Determine a target test channel participating in the test according to the electrical connection state of each of the electrical output terminals, and configure an on / off test parameter of each of the target test channels; In response to the start of the power test, for each target test channel, a corresponding test instruction is generated according to the on-off test parameters, and the electrical signal output of the corresponding electrical output terminal is controlled based on the test instruction, thereby performing a power test on the product to be tested connected to the electrical output terminal.

2. The power testing method according to claim 1, characterized in that: The configuration of the on / off test parameters of the target test channel at least includes: (1) The number of tests of the target test channel; (2) The power-on time of the target test channel; (3) The power-off duration of the target test channel.

3. The power testing method according to claim 2, characterized in that: The method further comprises: Establishing a communication connection with the product to be tested; A corresponding timeout period is configured for the product to be tested based on the power-on duration, and the timeout period is used as an actual detection period.

4. The power testing method according to claim 3, characterized in that: The method further comprises: For each test, obtain the test data of the product to be tested in the current actual detection period, and determine whether the current test is successful based on the test data; If yes, continue to the next test; Otherwise, the test ends.

5. The power testing method according to claim 4, characterized in that: For each test of each target test channel, generate metadata corresponding to the target test channel under the current test, and overwrite the metadata under the previous test with the metadata under the current test; The metadata at least includes: a product identification of a product to be tested connected to the target test channel, a current test number of the target test channel, and actual test parameters and test results linked to the current test number.

6. The power testing method according to claim 4, characterized in that: The establishing of a communication connection with the product to be tested comprises: Establishing a communication connection with the product to be tested via Ethernet, or establishing a communication connection with the product to be tested via a bus, or establishing a communication connection with the product to be tested via a serial port; Among them, when a communication connection is established with the product to be tested through Ethernet, the basis for judging whether the current test is successful based on the test data is a specific message; when a communication connection is established with the product to be tested through a bus, the basis for judging whether the current test is successful based on the test data is a filter ID; when a communication connection is established with the product to be tested through a serial port, the basis for judging whether the current test is successful based on the test data is the judgment content.

7. The power testing method according to claim 1, characterized in that: The method further comprises: For each target test channel, current data corresponding to the target test channel is acquired, and a corresponding current waveform diagram is generated based on the current data to determine whether the electrical output terminal connected to the product to be tested provides a matching electrical signal.

8. The power testing method according to claim 1, characterized in that: In response to the start of the power test, for each target test channel, a corresponding test instruction is generated according to the on-off test parameter, and the electrical signal output of the corresponding electrical output terminal is controlled based on the test instruction, including: The target test channel is controlled to be turned on and off based on the test instruction to control the electrical signal output of the corresponding electrical output terminal.

9. An electric power testing system, characterized in that: The system comprises an electrical output unit (01), wherein the electrical output unit (01) comprises at least two direct power supply modules and a program-controlled power supply module; the system further comprises: An acquisition unit (02) is used to acquire the electrical connection status of a plurality of electrical output terminals of an electrical output unit (01), wherein the plurality of electrical output terminals correspond one-to-one to a plurality of test channels, and the electrical output unit (01) is used to provide power in a direct supply mode and power in a program-controlled mode; A parameter configuration unit (03) is used to determine a target test channel participating in the test according to the electrical connection state of each of the electrical output terminals, and configure an on / off test parameter of each of the target test channels; An execution unit (04) is used to generate a corresponding test instruction for each target test channel according to the on-off test parameters in response to the start of the power test, and control the output of the electrical signal of the corresponding electrical output terminal based on the test instruction, thereby executing the power test of the product to be tested connected to the electrical output terminal.

10. The power testing system according to claim 9, characterized in that: The system further comprises: A control unit (05) is used to control the programmable power supply module to output power with different programmable waveforms.

11. A computer-readable storage medium, characterized in that: A computer executable program code is stored. When the computer executable program code is loaded into an electronic device, the electronic device executes the power testing method according to any one of claims 1 to 8.