Test method, test system, device and equipment of energy storage system and storage medium
Testing the energy storage submodule controller by receiving and feedback signals solves the problem of difficulty in testing hardware and software logic at the same time in the prior art, and realizes efficient software and hardware testing of the energy storage submodule controller.
Patent Information
- Application Number
- CN202311738951.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2025-06-17
AI Technical Summary
The prior art is difficult to conduct efficient software and hardware testing of the energy storage submodule controller, and it is impossible to achieve simultaneous testing of the hardware and software logic of the energy storage submodule controller.
By receiving the drive signal sent by the energy storage submodule controller to be tested in the energy storage system, sending a feedback signal to the energy storage submodule controller to be tested according to the drive signal, and receiving the driving results reported therein, and obtaining the test results based on the feedback signal and the driving results. This method allows the test equipment to interact multiple signals with the energy storage submodule controller, and to implement testing of software logic through statistical analysis.
Simultaneous testing of the software and hardware of the energy storage submodule controller is realized. Compared with the traditional method's physical interface data transmission, hardware testing can only be achieved, which has wider application and lower testing costs.
Smart Images

Figure CN120161806A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of flexible DC energy storage valve testing, and particularly to a testing method, testing system, device, equipment and storage medium for an energy storage system. Background Art
[0002] The high-voltage direct-connected energy storage system is composed of multiple cascaded energy storage sub-modules, and high-frequency interactions are usually carried out between the multiple energy storage sub-modules to complete information transmission, control and energy storage. Moreover, the interactions, control and energy storage are all realized by the energy storage module controllers of each module. Therefore, the reliable operation of the high-voltage direct-connected energy storage system depends on the reliable operation of the energy storage sub-module controllers of each module. Therefore, it is very necessary to conduct strict tests on the energy storage sub-module controllers before they are put into use.
[0003] Therefore, how to efficiently test the energy storage sub-module controllers has become a technical problem to be solved urgently in the current technical field of flexible DC energy storage valve testing. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a testing method, testing system, device, equipment and storage medium for an energy storage system that can perform performance testing on the energy storage sub-module controllers.
[0005] In a first aspect, the present application provides a testing method. The method is applied to a testing device, and the method includes:
[0006] Receiving a driving signal sent by a to-be-tested energy storage sub-module controller in an energy storage system;
[0007] Sending a feedback signal to the to-be-tested energy storage sub-module controller according to the driving signal;
[0008] Receiving a first driving result reported by the to-be-tested energy storage sub-module controller based on the feedback signal;
[0009] Obtaining a test result according to the feedback signal and the first driving result.
[0010] The energy storage system testing method described in the embodiment of the present application, the test device in the method can provide feedback based on any type of drive signal, that is, the hardware test of the energy storage sub-module controller can be achieved by performing signal interaction with any type of drive device to be tested on the energy storage sub-module controller to be tested; in addition, the test device can perform multiple signal interactions with the energy storage sub-module controller, and perform statistical analysis on the multiple interactive signals to test the software logic of the energy storage sub-module controller to be tested, that is, the above method realizes the simultaneous testing of the software and hardware on the energy storage sub-module controller to be tested, and compared with the traditional testing technology that completes the test by transmitting data between the physical interfaces of the device, which can only achieve the effect of hardware testing, the above testing method has wider applicability and lower testing cost.
[0011] In one embodiment, the receiving a driving signal sent by a controller of an energy storage submodule to be tested in the energy storage system, and sending a feedback signal to the controller of the energy storage submodule to be tested according to the driving signal, comprises:
[0012] Receiving a driving signal sent by the energy storage submodule controller to be tested through a target interface;
[0013] A feedback signal is sent to a target interface of the controller of the energy storage submodule to be tested according to the driving signal.
[0014] The method described in the embodiment of the present application completes the test by setting a target interface on the energy storage submodule controller to be tested and setting a corresponding interface of the same type on the test device, sending a drive signal through the target interface on the energy storage submodule controller to be tested, and driving the interface on the test device to generate a feedback signal, thereby realizing a path performance test of the hardware interface on the submodule to be tested, and the feedback signal is generated by the test device according to the drive signal, thereby realizing a test of the corresponding software function.
[0015] In one embodiment, obtaining a test result according to the feedback signal and the first driving result includes:
[0016] Determine a second driving result according to the feedback signal;
[0017] The test result is determined according to the first driving result and the second driving result.
[0018] The test method described in the embodiment of the present application determines the test result by counting the feedback status of the feedback signal of the test device and counting the feedback status of the feedback signal of the energy storage sub-module controller to be tested, so as to realize rapid performance testing of the corresponding energy storage sub-module controller to be tested.
[0019] In one embodiment, determining the second driving result according to the feedback signal includes:
[0020] Determine the driving state indicated by the driving signal according to the preset configuration information;
[0021] If the state represented by the feedback signal is consistent with the driving state indicated by the driving signal, determine that the second driving result indicates that the target interface is in a normal state;
[0022] If the state represented by the feedback signal is inconsistent with the driving state indicated by the driving signal, determine that the second driving result indicates that the target interface is in an abnormal state.
[0023] In the method described in the embodiments of the present application, the test device can implement the path function test of the corresponding interface on the energy storage sub-module controller by analyzing the driving state of the received driving signal and the feedback state of the feedback signal. This method only needs to configure the interfaces corresponding to each interface on the test device, and this method is simple and easy to implement.
[0024] In one of the embodiments, the determining the test result according to the first driving result and the second driving result includes:
[0025] If the first driving result and the second driving result are consistent, the test result indicates that the energy storage sub-module controller to be tested passes the test;
[0026] If the first driving result and the second driving result are inconsistent, the test result indicates that the energy storage sub-module controller to be tested fails the test.
[0027] In the method described in the embodiments of the present application, by analyzing and comparing the test data of the energy storage sub-module controller to be tested and the test device, the accurate test of the energy storage sub-module controller to be tested can be realized to a certain extent.
[0028] In one of the embodiments, the determining the second driving result according to the feedback signal includes:
[0029] When receiving multiple feedback signals sent by the energy storage sub-module controller to be tested through the target interface, compare whether the feedback states represented by the feedback signals are consistent with the driving state indicated by the driving signal to determine the second driving result; the second driving result includes at least one of the number of feedback signals, the number of feedback signals representing the normal feedback state, and the number of feedback signals representing the abnormal feedback state.
[0030] The test method described in the embodiments of the present application can implement the statistical function of the test, that is, it can implement the statistical analysis of the feedback states of multiple feedback signals, so as to determine the various interface function tests of the energy storage sub-module controller to be tested according to the statistical results.
[0031] In one embodiment, sending a feedback signal to a target interface of the energy storage sub-module controller under test according to the drive signal includes:
[0032] Driving a model board card corresponding to the target interface according to the drive signal to generate a feedback signal;
[0033] Sending the feedback signal to the target interface of the energy storage sub-module controller under test.
[0034] The test method described in the embodiments of the present application can implement the statistical function of the test, that is, it can perform statistical analysis on the feedback states of multiple feedback signals, so as to determine the test of each interface function of the energy storage sub-module controller under test according to the statistical results.
[0035] In one embodiment, driving a model board card corresponding to the target interface according to the drive signal to generate a feedback signal includes:
[0036] Invoking a drive module corresponding to the model board card, and driving the model board card corresponding to the target interface according to the drive signal to generate a feedback signal.
[0037] The test method described in the embodiments of the present application can simulate different feedback states of IGBTs, bypass switches, and busbar switches through physical board cards, and then verify the performance of the energy storage sub-module controller under test in different feedback states, and can achieve rapid testing of the energy storage sub-module controller under test. In addition, the test equipment uses the same hardware board card as the energy storage sub-module controller under test, has high usability, and can also implement testing of software and hardware.
[0038] In one embodiment, the method further includes:
[0039] Sending a test instruction to the energy storage sub-module controller under test; the test instruction is used to determine the target interface and generate a drive signal corresponding to the target interface.
[0040] The test method described in the embodiments of the present application can monitor IGBT drive instructions, bypass switch drive instructions, busbar switch instructions, etc., and has a statistical function for the correctness and number of instructions, realizing software testing of the energy storage sub-module controller under test.
[0041] In one embodiment, the target interface is any one of a transistor switch interface, a busbar switch interface, and a bypass switch interface.
[0042] In a second aspect, the present application provides a test method. The method is applied to an energy storage sub-module controller under test, and the method includes:
[0043] Sending a drive signal to a test device;
[0044] Receive the feedback signal generated by the test device based on the drive signal, and determine a first drive result according to the feedback signal;
[0045] Return the first drive result to the controller of the energy storage sub-module under test, so as to instruct the test device to obtain a test result according to the first drive result and the feedback signal.
[0046] In one embodiment, the sending the drive signal to the test device and receiving the feedback signal generated by the test device based on the drive signal includes:
[0047] Send the drive signal to the test device through a target interface;
[0048] Receive, through the target interface, the feedback signal generated by the test device based on the drive signal.
[0049] In one embodiment, the determining the first drive result according to the feedback signal includes:
[0050] Determine the drive state indicated by the drive signal according to preset configuration information;
[0051] If the state represented by the feedback signal is consistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in a normal state;
[0052] If the state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in an abnormal state.
[0053] In one embodiment, the method further includes:
[0054] Receive a test instruction sent by the test device;
[0055] Generate the drive signal according to the test instruction, and determine the target interface from multiple interfaces to be tested according to the test instruction.
[0056] In a third aspect, the present application further provides a test system. The test system includes a test device and a controller of an energy storage sub-module under test; wherein, the test device executes the test method as described in the first aspect; the controller of the energy storage sub-module under test executes the test method as described in the second aspect.
[0057] In a fourth aspect, the present application further provides a test device for an energy storage system. The device includes:
[0058] A first receiving module, configured to receive a drive signal sent by a controller of an energy storage sub-module under test in an energy storage system;
[0059] A first sending module, configured to send a feedback signal to the energy storage sub-module controller under test according to the driving signal;
[0060] A second receiving module, configured to receive a first driving result reported by the energy storage sub-module controller under test based on the feedback signal;
[0061] A determining module, configured to obtain a test result according to the feedback signal and the first driving result.
[0062] In a fifth aspect, the present application further provides a test device for an energy storage system. The device includes:
[0063] A sending module, configured to send a driving signal to a test device;
[0064] A third receiving module, configured to receive a feedback signal generated by the test device based on the driving signal, and determine a first driving result according to the feedback signal;
[0065] A second sending module, configured to return the first driving result to the test device, so as to instruct the test device to obtain a test result according to the first driving result and the feedback signal.
[0066] In a sixth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes, the method described in the first aspect is implemented.
[0067] In a seventh aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes, the method described in the second aspect is implemented.
[0068] In an eighth aspect, the present application further provides a computer-readable storage medium. On the computer-readable storage medium, a computer program is stored, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0069] In a ninth aspect, the present application further provides a computer-readable storage medium. On the computer-readable storage medium, a computer program is stored, and when the computer program is executed by a processor, the method described in the second aspect is implemented.
[0070] In a tenth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0071] In a tenth aspect, the present application also provides a computer program product. The computer program product includes a computer program which, when executed by a processor, implements the method described in the second aspect.
[0072] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented in accordance with the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the following specifically illustrates the specific implementation manners of the present application. Description of the Drawings
[0073] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present application. Moreover, in all the drawings, the same reference numerals are used to represent the same components. In the drawings:
[0074] Figure 1 is an application environment diagram of the testing method in an embodiment;
[0075] Figure 2 is a schematic flowchart of a testing method for an energy storage system in an embodiment;
[0076] Figure 3 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0077] Figure 4 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0078] Figure 5 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0079] Figure 6 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0080] Figure 7 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0081] Figure 8 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0082] Figure 9 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0083] Figure 10 is a schematic flowchart of a testing method for an energy storage system in another embodiment;
[0084] Figure 11Schematic flowchart of a testing method for an energy storage system in another embodiment;
[0085] Figure 12 Block diagram of a testing system in one embodiment;
[0086] Figure 13 Block diagram of a testing device in one embodiment;
[0087] Figure 14 Block diagram of a testing device in another embodiment;
[0088] Figure 15 Internal structure diagram of a computer device in one embodiment. Detailed implementation manners
[0089] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0090] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.
[0091] In the description of the embodiments of this application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of this application, "a plurality of" means more than two unless otherwise specifically defined.
[0092] Referring to "embodiment" herein means that a specific feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of this application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0093] In a flexible DC energy storage system, the multi-level cascading technology can be utilized to distributively integrate energy storage units in half-bridge modules to achieve high-voltage direct connection energy storage. It can simultaneously achieve AC-DC power conversion and energy storage, and has advantages such as high modularity, good harmonic characteristics, and low equivalent switching frequency. In related technologies, a high-voltage direct connection energy storage system generally consists of multiple cascaded energy storage sub-module controllers, and the sub-module controllers are used to control and protect individual energy storage sub-module controllers. Therefore, the control software and hardware of the energy storage sub-module controller need to have high security and reliability. Thus, it is very necessary to conduct rigorous tests on it before putting it into use, and the main test contents include: the software control function, software monitoring function, hardware path, and reliability of the energy storage sub-module controller. However, based on the above test contents, in related technologies, a complete energy storage system simulation model needs to be built to test the energy storage sub-module controller, and the energy storage sub-module controller cannot be tested alone. In addition, the test methods in related technologies generally cannot test software and hardware simultaneously. Based on the above problems, this application proposes a test method for an energy storage system, which can achieve automatic testing of the energy storage sub-module controller and can simultaneously test software and hardware. The following embodiments will specifically illustrate this test method.
[0094] The test method for an energy storage system provided by an embodiment of this application can be applied to an application environment as Figure 1 shown. Among them, the test device 102 communicates with the energy storage sub-module controller 104 through a network. Multiple model boards are set on the test device 102, and each model board is used to simulate the corresponding interface to communicate with the hardware interface on the energy storage sub-module controller 104 to complete the test; the energy storage sub-module controller 104 is any energy storage sub-module controller in the energy storage system, and various types of interfaces are set on it, such as, transistor switch interfaces, busbar switch interfaces, and bypass switch interfaces. The test device 102 can be but is not limited to various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices, etc.
[0095] In one embodiment, as Figure 2 shown, a test method for an energy storage system is provided. Taking this method applied to the Figure 1 test device as an example, it includes the following steps:
[0096] S201, receive the drive signal sent by the energy storage sub-module controller to be tested in the energy storage system.
[0097] Among them, different types of hardware interfaces are set on the energy storage sub-module controller to be tested, such as, Insulate-Gate Bipolar Transistor (IGBT) drive optical interfaces, busbar drive optical interfaces, and bypass drive optical interfaces, etc.
[0098] In the embodiments of the present application, when it is necessary to test the energy storage sub-module controller to be tested, the energy storage sub-module controller to be tested can generate a driving signal and send the driving signal to the test device, so that the test device can test the hardware path or the software and hardware of the energy storage sub-module controller based on the driving signal; optionally, the energy storage sub-module controller to be tested can also generate multiple driving signals and send the multiple driving signals to the test device, so that the test device can test the hardware path or the software and hardware of the energy storage sub-module controller based on the multiple driving signals.
[0099] S202. Send a feedback signal to the energy storage sub-module controller to be tested according to the driving signal.
[0100] Among them, the feedback signal is used to represent the feedback state when the test device receives the driving signal, including normal feedback and abnormal feedback.
[0101] In the embodiments of the present application, the test device can pre-collect the test logics of different types of interfaces (including the test logics in normal states and abnormal states) according to different model board manuals, and edit program codes according to the test logics of different types of interfaces to generate different model boards, that is, the program codes of different types of interfaces; the program codes can automatically give feedback based on the driving signal to generate a feedback signal, so as to simulate the corresponding functions of different types of interfaces or simulate the corresponding functions of different model boards. When the test device generates a feedback signal based on the driving signal, the feedback signal can be directly returned to the energy storage sub-module controller to be tested.
[0102] S203. Receive the first driving result reported by the energy storage sub-module controller to be tested based on the feedback signal.
[0103] Among them, the first driving result includes the information of the feedback signal counted by the sub-module to be tested. For example, the information of the feedback signal can include the number of received feedback signals, the number of feedback signals indicating normal states, and the number of feedback signals indicating abnormal states.
[0104] In the embodiments of the present application, when the energy storage sub-module controller to be tested receives the feedback signal, it can analyze the feedback signal to determine the feedback state it represents, that is, determine whether the above information interaction process is normal through the feedback state, and obtain the first driving result. The information interaction process includes several interaction processes in which the energy storage sub-module controller to be tested sends a driving signal, the test device receives the driving signal, and the test device returns a feedback signal to the energy storage sub-module controller to be tested.
[0105] S204. Obtain a test result according to the feedback signal and the first driving result.
[0106] In the embodiments of the present application, when the test device generates a feedback signal, it can analyze the feedback signal to determine the feedback state it represents, that is, determine whether the above information interaction process is normal through the feedback state. The information interaction process includes several interaction processes of the energy storage sub-module controller under test sending a drive signal, the test device receiving the drive signal, and the test device generating a feedback signal. After the test device receives the first drive result, it can further determine whether the above information interaction process is normal by analyzing the first drive result and the feedback state represented by the feedback signal. The information interaction process includes several interaction processes of the energy storage sub-module controller under test sending a drive signal, the test device receiving the drive signal, the test device generating a feedback signal, the test device sending the feedback signal, the energy storage sub-module controller under test generating the first drive result according to the feedback signal, and the energy storage sub-module controller under test returning the first drive result to the test device.
[0107] The test method for the energy storage system described in the embodiments of the present application is applied to a test device. The method receives a drive signal sent by the energy storage sub-module controller under test in the energy storage system, sends a feedback signal to the energy storage sub-module controller under test according to the drive signal, receives the first drive result reported by the energy storage sub-module controller under test based on the feedback signal, and obtains a test result according to the feedback signal and the first drive result. The test device in this test method can give feedback based on any type of drive signal, that is, it can perform signal interaction with any type of device under test on the energy storage sub-module controller to implement hardware testing of the energy storage sub-module controller; in addition, the test device can perform multiple signal interactions with the energy storage sub-module controller and perform statistical analysis on the signals of multiple interactions to implement software logic testing of the energy storage sub-module controller under test. That is, the above method realizes simultaneous testing of the software and hardware on the energy storage sub-module controller under test. Compared with the traditional test technology that completes testing by transmitting data between the physical interfaces of devices and can only achieve the effect of hardware testing, the above test method has a wider application range and lower test cost.
[0108] In one embodiment, as Figure 3 shown, when the test device executes S202 and S203 above, it can specifically execute the steps:
[0109] S205, receive the drive signal sent by the energy storage sub-module controller under test through the target interface.
[0110] Among them, the target interface is any interface set on the energy storage sub-module controller to be tested. For example, the target interface can be any one of the transistor switch interface, the busbar switch interface, and the bypass switch interface. The test device is provided with the same type of interface corresponding to the interface on the energy storage sub-module controller to be tested. For example, if the energy storage sub-module controller to be tested is provided with a transistor switch interface, a busbar switch interface, and a bypass switch interface, correspondingly, the test device is provided with a transistor switch interface, a busbar switch interface, and a bypass switch interface.
[0111] In the embodiment of the present application, when it is necessary to test the energy storage sub-module controller to be tested, the energy storage sub-module controller to be tested can generate a drive signal and send the drive signal to the test device through the target interface. The interface corresponding to the target interface on the test device can receive the drive signal and can test the hardware path or the software and hardware of the energy storage sub-module controller based on the drive signal; optionally, the energy storage sub-module controller to be tested can also generate multiple drive signals. When the multiple drive signals are drive signals of the same type of interface, the energy storage sub-module controller to be tested can send the multiple drive signals to the test device through the target interface. The interface corresponding to the target interface on the test device can receive the multiple drive signals and can test the hardware path or the software and hardware of the energy storage sub-module controller based on the multiple drive signals; optionally, when the multiple drive signals are drive signals of different types of interfaces, and the multiple drive signals are sent to the test device through different interfaces, the interfaces corresponding to the different interfaces on the test device can receive the multiple drive signals and can test the hardware path or the software and hardware of the energy storage sub-module controller based on the multiple drive signals.
[0112] S206, send a feedback signal to the target interface of the energy storage sub-module controller to be tested according to the drive signal.
[0113] In the embodiments of the present application, when the test device generates a feedback signal based on a drive signal, the feedback signal can be directly sent to the energy storage sub-module controller under test through the interface corresponding to the target interface on it, and the energy storage sub-module controller under test can receive the feedback signal sent by the test device through the target interface. Optionally, when the test device generates multiple feedback signals based on multiple drive signals, and these multiple drive signals are drive signals corresponding to the same type of interface, the test device can directly send the multiple feedback signals to the energy storage sub-module controller under test through the interface corresponding to the target interface on it, and the energy storage sub-module controller under test can receive the multiple feedback signals sent by the test device through the target interface; optionally, when the test device generates multiple feedback signals based on multiple drive signals, and these multiple drive signals are drive signals corresponding to different types of interfaces, the test device can directly send the multiple feedback signals to the energy storage sub-module controller under test through the interfaces corresponding to the respective target interfaces on it, and the energy storage sub-module controller under test can receive the feedback signals sent by the test device through the respective target interfaces.
[0114] In the method described in the embodiments of the present application, by setting a target interface on the energy storage sub-module controller under test and a corresponding interface of the same type on the test device, and sending a drive signal through the target interface on the energy storage sub-module controller under test to drive the interface on the test device to generate a feedback signal, the test is completed, realizing the access performance test of the hardware interface on the sub-module under test, and the feedback signal is generated by the test device according to the drive signal, so that the corresponding software function test can be realized.
[0115] In one embodiment, a method for determining a test result is provided, as Figure 4 shown, that is, the above S204 "obtain a test result according to the feedback signal and the first drive result" includes:
[0116] S301, determine a second drive result according to the feedback signal.
[0117] Among them, the feedback signal can represent a normal feedback state or an abnormal feedback state; the second drive result includes the information of the test device for counting the feedback signals. For example, the information of the feedback signal can include the number of received feedback signals, the number of feedback signals representing the normal feedback state, and the number of feedback signals representing the abnormal feedback state.
[0118] In the embodiments of the present application, when the test device generates a feedback signal according to the drive signal, the feedback signal can be analyzed to determine the feedback state it represents, that is, whether the above information interaction process is normal is determined through the feedback state to obtain the second drive result. The information interaction process includes several interaction processes such as the energy storage sub-module controller under test sending a drive signal, the test device receiving the drive signal, and the test device generating a feedback signal based on the drive signal.
[0119] S302. Determine the test result based on the first driving result and the second driving result.
[0120] In the embodiments of the present application, when the test device generates a feedback signal, it can analyze the feedback signal to determine the feedback state it represents, that is, obtain the second driving result. When the to-be-tested energy storage sub-module controller receives the feedback signal sent by the test device, it can analyze the feedback signal to determine the feedback state it represents, that is, obtain the first driving result. Optionally, when the test device receives multiple driving signals and generates multiple feedback signals, it can perform statistical analysis on the feedback states of the feedback signals to obtain the second driving result; correspondingly, when the to-be-tested energy storage sub-module controller receives multiple feedback signals, it can perform statistical analysis on the feedback states of the multiple feedback signals to obtain the first driving result. When the to-be-tested energy storage sub-module controller obtains the first driving result, it can return the first driving result to the test device, and the test device can then determine whether the to-be-tested device passes the test by analyzing the first driving result and the second driving result, that is, obtain the test result.
[0121] The test method described in the embodiments of the present application can realize the corresponding performance test of the to-be-tested energy storage sub-module controller quickly by the test device statistically analyzing the feedback state of the feedback signal and the to-be-tested energy storage sub-module controller statistically analyzing the feedback state of the feedback signal to determine the test result.
[0122] Further, an implementation manner of determining the second driving result according to the feedback signal is provided, as Figure 5 shown, that is, the above S301 "Determine the second driving result according to the feedback signal" includes:
[0123] S401. Determine the driving state indicated by the driving signal according to the preset configuration information; if the feedback state represented by the feedback signal is consistent with the driving state indicated by the driving signal, execute step S402, and if the feedback state represented by the feedback signal is inconsistent with the driving state indicated by the driving signal, execute step S403;
[0124] S402. Determine that the second driving result indicates that the target interface is in a normal state;
[0125] S403. Determine that the second driving result indicates that the target interface is in an abnormal state.
[0126] Among them, the preset configuration information can be collected from the manual information of the model board, which contains the test logics of various model boards or interfaces and the corresponding test parameters.
[0127] In the embodiments of the present application, the test device may pre-acquire preset configuration information and configure various model boards or various interfaces thereon according to the preset configuration information. During the configuration process, the test device may first perform logical configuration on each model board or interface according to the test logic of each model board or interface in the preset configuration information, and may further configure each model board or interface according to the test requirements by setting corresponding test parameters. When the test device receives a drive signal through the corresponding interface of the target interface, it may determine the drive state indicated by the drive signal according to the preset configuration information to determine the test requirements for the energy storage sub-module controller to be tested; and generate a feedback signal according to the drive signal according to the test logic of the corresponding target interface in the preset configuration information, and compare the feedback state of the feedback signal with the drive state of the drive signal to determine the second drive result. When it is determined through comparison that the feedback state represented by the feedback signal is consistent with the drive state indicated by the drive signal, it indicates that the test device has made a normal feedback according to the drive signal, that is, the target interface of the energy storage sub-module controller to be tested has sent a signal normally, so it is determined that the second drive result indicates that the target interface is in a normal state. When it is determined through comparison that the feedback state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, it indicates that the test device has made an abnormal feedback according to the drive signal, that is, the target interface of the energy storage sub-module controller to be tested has an abnormality, so it is determined that the second drive result indicates that the target interface is in an abnormal state.
[0128] In the method described in the embodiments of the present application, the test device can implement the path function test of the corresponding interface on the energy storage sub-module controller by analyzing the drive state of the received drive signal and the feedback state of the feedback signal. This method only needs to configure the interface corresponding to each interface on the test device, and the method is simple and easy to implement.
[0129] In one embodiment, when the test device determines the test result according to the first drive result and the second drive result, it specifically performs: if the first drive result and the second drive result are consistent, the test result indicates that the energy storage sub-module controller to be tested passes the test; if the first drive result and the second drive result are consistent, the test result indicates that the energy storage sub-module controller to be tested fails the test.
[0130] In the embodiments of the present application, if the first drive result and the second drive result are consistent, it indicates that the analysis results of the test device and the energy storage sub-module controller to be tested for the feedback signal are consistent. At this time, it can be determined that the energy storage sub-module controller to be tested passes the test; if the first drive result and the second drive result are inconsistent, it indicates that the analysis results of the test device and the energy storage sub-module controller to be tested for the feedback signal are inconsistent. At this time, it can be determined that the energy storage sub-module controller to be tested fails the test.
[0131] The method described in the embodiments of the present application can, to a certain extent, accurately test the to-be-tested energy storage sub-module controller by analyzing and comparing the test data of the to-be-tested energy storage sub-module controller and the test device.
[0132] In one embodiment, the test device also has a test statistical function, that is, it provides another implementation manner for determining the second driving result according to the feedback signal. This implementation manner includes: when receiving multiple feedback signals sent by the to-be-tested energy storage sub-module controller through the target interface, comparing whether the states represented by the feedback signals are consistent with the driving states indicated by the driving signals to determine the second driving result; wherein, the second driving result includes at least one of the number of feedback signals, the number of feedback signals representing the normal feedback state, and the number of feedback signals representing the abnormal feedback state.
[0133] In the embodiments of the present application, the to-be-tested energy storage sub-module controller can generate multiple driving signals and send the multiple driving signals to the test device through the same target interface; when the test device receives the multiple driving signals, it can generate corresponding feedback signals according to the driving signals, and further analyze the feedback states represented by the feedback signals, and analyze the driving states indicated by the driving signals according to the preset configuration information, and then determine whether the feedback states represented by the feedback signals are consistent with the driving states indicated by the corresponding driving signals, and count at least one of the number of generated feedback signals, the number of feedback signals representing the normal feedback state, and the number of feedback signals representing the abnormal feedback state to obtain the second driving result. It should be noted that the test device can also count the multiple feedback signals generated by the multiple driving signals received by different types of interfaces to complete the test.
[0134] The test method described in the embodiments of the present application can implement the test statistical function, that is, it can perform statistical analysis on the feedback states of multiple feedback signals, so as to determine the various interface function tests of the to-be-tested energy storage sub-module controller according to the statistical results.
[0135] In one embodiment, a method for sending feedback signals is also provided, that is, as Figure 6 shown, the above S205 "sending a feedback signal to the target interface of the to-be-tested energy storage sub-module controller according to the driving signal" includes:
[0136] S501, driving the model board corresponding to the target interface to generate a feedback signal according to the driving signal.
[0137] Among them, the model board is the driver board for different types of devices. Different types of model boards can be set on the test device, and different types of model boards can correspond to different types of interfaces. The test device can simulate the state feedback of multiple different device driver boards through FPGA software, so as to simulate the way different model boards generate feedback signals according to the drive signal. For example, different model boards can include IGBT driver boards, bypass switch driver boards, bus switch driver boards, etc.
[0138] In the embodiment of the present application, when the test device receives a drive signal through the target interface corresponding interface, it can directly drive the model board corresponding to the target interface to generate a feedback signal. Optionally, different types of drive modules corresponding to the model boards can be preset on the test device. When the test device receives a drive signal, it can determine the model board corresponding to the drive signal, and can call the drive module corresponding to the model board to execute the corresponding interface test code, so that the drive module can determine the corresponding feedback signal according to the drive signal, that is, drive the model board corresponding to the target interface to generate a feedback signal according to the drive signal.
[0139] The test method described in the embodiment of the present application can simulate different feedback states of IGBT, bypass switch, and bus switch through a physical board, and then verify the performance of the to-be-tested energy storage sub-module controller under different feedback states, and can achieve rapid testing of the to-be-tested energy storage sub-module controller. In addition, the test device uses the same hardware board as the to-be-tested energy storage sub-module controller, which has high usability, and can also implement the testing of software and hardware.
[0140] In one embodiment, before the test device tests the to-be-tested energy storage sub-module controller, it can also execute the steps of: sending a test instruction to the to-be-tested energy storage sub-module controller; the test instruction is used to determine the target interface and generate a drive signal corresponding to the target interface.
[0141] Among them, the test instruction includes an IGBT drive instruction, a bypass switch drive instruction, a bus switch instruction, etc.
[0142] In the embodiment of the present application, the test device can also send various types of test instructions to the to-be-tested energy storage sub-module controller, that is, monitor various types of test instructions. Specifically, the test device can send a test instruction to the to-be-tested energy storage sub-module controller. After the to-be-tested energy storage sub-module controller receives the test instruction, it can parse the test instruction to determine the target interface to be tested, and generate a drive signal corresponding to the target interface, and send the drive signal to the test device through the target interface. After the test device receives the drive signal, it can drive the model board corresponding to the target interface to generate a feedback signal, and later can determine the correctness of the test instruction by counting the feedback state of the feedback signal.
[0143] The test method described in the embodiments of the present application can monitor IGBT drive instructions, bypass switch drive instructions, busbar switch instructions, etc., and has a function of counting the correctness and number of instructions, realizing the software test of the energy storage sub-module controller to be tested.
[0144] S502. Send a feedback signal to the target interface of the energy storage sub-module controller to be tested.
[0145] In the embodiments of the present application, when the test device generates a feedback signal based on a drive signal, the feedback signal can be directly sent to the energy storage sub-module controller to be tested through the interface corresponding to the target interface on it, and the energy storage sub-module controller to be tested can receive the feedback signal sent by the test device through the target interface. Optionally, when the test device generates multiple feedback signals based on multiple drive signals, and these multiple drive signals are drive signals corresponding to the same type of interface, the test device can directly send the multiple feedback signals to the energy storage sub-module controller to be tested through the interface corresponding to the target interface on it, and the energy storage sub-module controller to be tested can receive the multiple feedback signals sent by the test device through the target interface; optionally, when the test device generates multiple feedback signals based on multiple drive signals, and these multiple drive signals are drive signals corresponding to different types of interfaces, the test device can directly send the multiple feedback signals to the energy storage sub-module controller to be tested through the interfaces corresponding to the respective target interfaces on it, and the energy storage sub-module controller to be tested can receive the feedback signals sent by the test device through the respective target interfaces.
[0146] The test method described in the embodiments of the present application enables the test device to simulate the state feedback of different device model boards, and then realizes the rapid test of the energy storage sub-module controller to be tested by verifying the performance of the energy storage sub-module controller to be tested under different feedback states.
[0147] The above embodiments are all test methods on the test device side. The following embodiments will specifically describe the test method on the side of the energy storage sub-module controller to be tested.
[0148] In one embodiment, another test method is provided. As Figure 7 shown, this test method is applied to the energy storage sub-module controller to be tested as Figure 1 shown, and this method includes:
[0149] S601. Send a drive signal to the test device;
[0150] S602. Receive the feedback signal generated by the test device based on the drive signal, and determine the first drive result according to the feedback signal;
[0151] S603. Return the first drive result to the energy storage sub-module controller to be tested, so as to instruct the test device to obtain a test result according to the first drive result and the feedback signal.
[0152] The above steps have been described above. For detailed content, please refer to the foregoing content and will not be elaborated here.
[0153] In one embodiment, when the energy storage sub-module controller under test executes the above S601 and S602, "sending a driving signal to the test device and receiving a feedback signal generated by the test device based on the driving signal", as Figure 8 shown, the specific execution steps are:
[0154] S701, sending a driving signal to the test device through the target interface;
[0155] S702, receiving a feedback signal generated by the test device based on the driving signal through the target interface.
[0156] The above steps have been described above. For detailed content, please refer to the foregoing content and will not be elaborated here.
[0157] In one embodiment, an implementation manner of determining the first driving result is provided, that is, "determining the first driving result according to the feedback signal", as Figure 9 shown, including:
[0158] S801, determining the driving state indicated by the driving signal according to the preset configuration information; if the state represented by the feedback signal is consistent with the driving state indicated by the driving signal, then execute step S802, if the state represented by the feedback signal is inconsistent with the driving state indicated by the driving signal, then execute step S803.
[0159] S802, determining that the first driving result indicates that the target interface is in a normal state;
[0160] S803, determining that the first driving result indicates that the target interface is in an abnormal state.
[0161] In one embodiment, as Figure 10 shown, Figure 7 the embodiment shown further includes:
[0162] S604, receiving a test instruction sent by the test device;
[0163] S605, generating a driving signal according to the test instruction, and determining the target interface from multiple interfaces to be tested according to the test instruction.
[0164] The above steps have been described above. For detailed content, please refer to the foregoing content and will not be elaborated here.
[0165] Based on the test methods described in all the above embodiments, the present application also provides another test method, as Figure 11 shown, this test method includes:
[0166] S701. The test device configures each model board on it according to preset configuration information. After the configuration is completed, it determines a test instruction according to the test requirements and sends the test instruction to the energy storage sub-module controller under test.
[0167] S702. When the energy storage sub-module controller under test receives the test instruction, it parses the test instruction to determine the target interface on it and generates a drive signal corresponding to the target interface; and sends the drive signal to the test device through the target interface.
[0168] S703. The test device receives the drive signal through the interface corresponding to the target interface, drives the model board corresponding to the target interface on it to generate a feedback signal according to the drive signal, and obtains a second drive result according to the feedback state indicated by the feedback signal and the drive state indicated by the drive signal. At the same time, the feedback signal is sent to the energy storage sub-module controller under test through the interface corresponding to the target interface.
[0169] S704. When the energy storage sub-module controller under test receives the feedback signal through the target interface, it obtains a first drive result according to the feedback state indicated by the feedback signal and the drive state indicated by the drive signal, and sends the first drive result to the test device.
[0170] S705. When receiving the first drive result, the test result can be obtained according to the first drive result and the second drive result.
[0171] In one embodiment, a test system is further provided. As Figure 12 shown, the test system includes a test device and an energy storage sub-module controller under test; wherein, an IGBT drive optical interface, a bus switch drive optical interface and a bypass switch optical interface are provided on the test device, and corresponding IGBT drive optical interfaces, bus switch drive optical interfaces and bypass switch drive optical interfaces are provided on the energy storage sub-module controller under test. The test device executes the test method described in any of the foregoing Figures 2 - 6 embodiments; the energy storage sub-module controller under test executes the test method described in any of the foregoing Figures 7 - 10 embodiments.
[0172] For the test system described in this embodiment, the test device can monitor IGBT drive instructions, bypass switch drive instructions, bus switch instructions, etc., and has a function of counting the correctness and number of instructions; the test device can simulate different feedback states of IGBTs, bypass switches and bus switches, so as to verify the performance of the state to be tested under different feedback states; moreover, the test device uses the same hardware board as the energy storage sub-module controller under test, and can test software and hardware simultaneously. In addition, the test device also supports host computer configuration, so that it can run in different test modes, improving the applicability of the test.
[0173] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limitation, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0174] Based on the same inventive concept, an embodiment of the present application further provides a test device for an energy storage system for implementing the test method of the energy storage system involved above. The implementation solution for solving the problem provided by this device is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the test device for the energy storage system provided below can refer to the limitations on the test method of the energy storage system in the above text, and will not be repeated here.
[0175] In one embodiment, as Figure 13 shown, a test device for an energy storage system is provided, including:
[0176] A first receiving module 10, configured to receive a driving signal sent by a controller of a to-be-tested energy storage sub-module in the energy storage system.
[0177] A first sending module 11, configured to send a feedback signal to the controller of the to-be-tested energy storage sub-module according to the driving signal.
[0178] A second receiving module 12, configured to receive a first driving result reported by the controller of the to-be-tested energy storage sub-module based on the feedback signal.
[0179] A determining module 13, configured to obtain a test result according to the feedback signal and the first driving result.
[0180] In one embodiment, as Figure 14 shown, another test device for an energy storage system is provided, including:
[0181] A sending module 20, configured to send a driving signal to a test device;
[0182] A third receiving module 21, configured to receive a feedback signal generated by the test device based on the driving signal, and determine a first driving result according to the feedback signal;
[0183] A second sending module 22, configured to return the first driving result to the test device, so as to instruct the test device to obtain a test result according to the first driving result and the feedback signal.
[0184] Each module in the above-mentioned test device of the energy storage system can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0185] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as Figure 15 shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store preset configuration information and test data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a test method for an energy storage system.
[0186] Those skilled in the art can understand that Figure 15 the structure shown in
[0187] is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0188] Receiving a driving signal sent by a controller of a to-be-tested energy storage sub-module in an energy storage system;
[0189] Sending a feedback signal to the controller of the to-be-tested energy storage sub-module according to the driving signal;
[0190] Receiving a first driving result reported by the controller of the to-be-tested energy storage sub-module based on the feedback signal;
[0191] Obtaining a test result according to the feedback signal and the first driving result.
[0192] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0193] Receive a drive signal sent by the energy storage sub-module controller to be tested through the target interface;
[0194] Send a feedback signal to the target interface of the energy storage sub-module controller to be tested according to the drive signal.
[0195] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0196] Determine a second drive result according to the feedback signal;
[0197] Determine the test result according to the first drive result and the second drive result.
[0198] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0199] Determine the drive state indicated by the drive signal according to the preset configuration information;
[0200] If the feedback state represented by the feedback signal is consistent with the drive state indicated by the drive signal, determine that the second drive result indicates that the target interface is in a normal state;
[0201] If the feedback state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, determine that the second drive result indicates that the target interface is in an abnormal state.
[0202] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0203] If the first drive result and the second drive result are consistent, the test result indicates that the energy storage sub-module controller to be tested passes the test;
[0204] If the first drive result and the second drive result are inconsistent, the test result indicates that the energy storage sub-module controller to be tested fails the test.
[0205] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0206] When receiving multiple feedback signals sent by the energy storage sub-module controller to be tested through the target interface, compare whether the feedback states represented by the feedback signals are consistent with the drive state indicated by the drive signal to determine the second drive result; the second drive result includes at least one of the number of feedback signals, the number of feedback signals representing the normal feedback state, and the number of feedback signals representing the abnormal feedback state.
[0207] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0208] Drive the model board corresponding to the target interface according to the drive signal to generate a feedback signal;
[0209] Send the feedback signal to the target interface of the energy storage sub-module controller to be tested.
[0210] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0211] Call the drive module corresponding to the model board, and drive the model board corresponding to the target interface according to the drive signal to generate a feedback signal.
[0212] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0213] Send a test instruction to the energy storage sub-module controller to be tested; the test instruction is used to determine the target interface and generate a drive signal corresponding to the target interface.
[0214] For the computer device provided in the above embodiment, its implementation principle and technical effects are similar to those of the above method embodiment, and will not be elaborated here.
[0215] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:
[0216] Send a drive signal to the test device;
[0217] Receive the feedback signal generated by the test device based on the drive signal, and determine the first drive result according to the feedback signal;
[0218] Return the first drive result to the energy storage sub-module controller to be tested, so as to instruct the test device to obtain a test result according to the first drive result and the feedback signal.
[0219] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0220] Send a drive signal to the test device through the target interface;
[0221] Receive the feedback signal generated by the test device based on the drive signal through the target interface.
[0222] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0223] Determine the driving state indicated by the driving signal according to the preset configuration information;
[0224] If the state indicated by the feedback signal is consistent with the driving state indicated by the driving signal, determine that the first driving result indicates that the target interface is in a normal state;
[0225] If the state indicated by the feedback signal is inconsistent with the driving state indicated by the driving signal, determine that the first driving result indicates that the target interface is in an abnormal state.
[0226] In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0227] Receive the test instruction sent by the test device;
[0228] Generate the driving signal according to the test instruction, and determine the target interface from multiple interfaces to be tested according to the test instruction.
[0229] For the computer device provided in the above embodiment, its implementation principle and technical effects are similar to those of the above method embodiment, and will not be elaborated here.
[0230] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0231] Receive the driving signal sent by the controller of the energy storage sub-module to be tested in the energy storage system;
[0232] Send a feedback signal to the controller of the energy storage sub-module to be tested according to the driving signal;
[0233] Receive the first driving result reported by the controller of the energy storage sub-module to be tested based on the feedback signal;
[0234] Obtain the test result according to the feedback signal and the first driving result.
[0235] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0236] Receive the driving signal sent by the controller of the energy storage sub-module to be tested through the target interface;
[0237] Send a feedback signal to the target interface of the controller of the energy storage sub-module to be tested according to the driving signal.
[0238] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0239] Determine the second driving result according to the feedback signal;
[0240] Determine the test result according to the first driving result and the second driving result.
[0241] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0242] Determine the driving state indicated by the driving signal according to the preset configuration information;
[0243] If the feedback state represented by the feedback signal is consistent with the driving state indicated by the driving signal, determine that the second driving result indicates that the target interface is in a normal state;
[0244] If the feedback state represented by the feedback signal is inconsistent with the driving state indicated by the driving signal, determine that the second driving result indicates that the target interface is in an abnormal state.
[0245] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0246] If the first driving result and the second driving result are consistent, the test result indicates that the energy storage sub-module controller under test passes the test;
[0247] If the first driving result and the second driving result are consistent, the test result indicates that the energy storage sub-module controller under test fails the test.
[0248] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0249] When receiving multiple feedback signals sent by the energy storage sub-module controller under test through the target interface, compare whether the feedback states represented by the feedback signals are consistent with the driving state indicated by the driving signal to determine the second driving result; the second driving result includes at least one of the number of feedback signals, the number of times the target interface is in a normal state, and the number of times the target interface is in an abnormal state.
[0250] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0251] Drive the model board corresponding to the target interface according to the driving signal to generate a feedback signal;
[0252] Send the feedback signal to the target interface of the energy storage sub-module controller under test.
[0253] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0254] Call the driver module corresponding to the model board, and drive the model board corresponding to the target interface according to the drive signal to generate a feedback signal.
[0255] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0256] Send a test instruction to the energy storage sub-module controller to be tested; the test instruction is used to determine the target interface and generate a drive signal corresponding to the target interface.
[0257] For the computer-readable storage medium provided in the above embodiment, its implementation principle and technical effects are similar to those of the above method embodiment, and will not be elaborated here.
[0258] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0259] Send a drive signal to the test device;
[0260] Receive the feedback signal generated by the test device based on the drive signal, and determine the first drive result according to the feedback signal;
[0261] Return the first drive result to the energy storage sub-module controller to be tested, so as to instruct the test device to obtain a test result according to the first drive result and the feedback signal.
[0262] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0263] Send a drive signal to the test device through the target interface;
[0264] Receive the feedback signal generated by the test device based on the drive signal through the target interface.
[0265] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0266] Determine the drive state indicated by the drive signal according to the preset configuration information;
[0267] If the state represented by the feedback signal is consistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in a normal state;
[0268] If the state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in an abnormal state.
[0269] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0270] Receive the test instruction sent by the test device;
[0271] Generate the drive signal according to the test instruction, and determine the target interface from multiple interfaces to be tested according to the test instruction.
[0272] For a computer-readable storage medium provided in the foregoing embodiment, its implementation principle and technical effects are similar to those of the foregoing method embodiment, and will not be elaborated here.
[0273] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0274] Receive the drive signal sent by the controller of the energy storage sub-module to be tested in the energy storage system;
[0275] Send a feedback signal to the controller of the energy storage sub-module to be tested according to the drive signal;
[0276] Receive the first drive result reported by the controller of the energy storage sub-module to be tested based on the feedback signal;
[0277] Obtain the test result according to the feedback signal and the first drive result.
[0278] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0279] Receive the drive signal sent by the controller of the energy storage sub-module to be tested through the target interface;
[0280] Send a feedback signal to the target interface of the controller of the energy storage sub-module to be tested according to the drive signal.
[0281] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0282] Determine the second drive result according to the feedback signal;
[0283] Determine the test result according to the first drive result and the second drive result.
[0284] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0285] Determine the drive state indicated by the drive signal according to the preset configuration information;
[0286] If the feedback state represented by the feedback signal is consistent with the drive state indicated by the drive signal, determine that the second drive result indicates that the target interface is in a normal state;
[0287] If the feedback state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, it is determined that the second drive result indicates that the target interface is in an abnormal state.
[0288] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0289] If the first drive result is consistent with the second drive result, the test result indicates that the energy storage sub-module controller under test passes the test;
[0290] If the first drive result is consistent with the second drive result, the test result indicates that the energy storage sub-module controller under test fails the test.
[0291] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0292] When receiving a plurality of feedback signals sent by the energy storage sub-module controller under test through the target interface, compare whether the feedback states represented by the respective feedback signals are consistent with the drive state indicated by the drive signal to determine the second drive result; the second drive result includes at least one of the number of feedback signals, the number of times the target interface is in a normal state, and the number of times the target interface is in an abnormal state.
[0293] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0294] Drive the model board corresponding to the target interface according to the drive signal to generate a feedback signal;
[0295] Send the feedback signal to the target interface of the energy storage sub-module controller under test.
[0296] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0297] Call the drive module corresponding to the model board, and drive the model board corresponding to the target interface according to the drive signal to generate a feedback signal.
[0298] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0299] Send a test instruction to the energy storage sub-module controller under test; the test instruction is used to determine the target interface and generate a drive signal corresponding to the target interface.
[0300] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0301] Send a drive signal to the test device;
[0302] Receive the feedback signal generated by the test device based on the drive signal, and determine the first drive result according to the feedback signal;
[0303] Return the first drive result to the energy storage sub-module controller under test, so as to instruct the test device to obtain a test result according to the first drive result and the feedback signal.
[0304] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0305] Send a drive signal to the test device through the target interface;
[0306] Receive the feedback signal generated by the test device based on the drive signal through the target interface.
[0307] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0308] Determine the drive state indicated by the drive signal according to the preset configuration information;
[0309] If the state represented by the feedback signal is consistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in a normal state;
[0310] If the state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in an abnormal state.
[0311] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0312] Receive the test instruction sent by the test device;
[0313] Generate the drive signal according to the test instruction, and determine the target interface from multiple interfaces to be tested according to the test instruction.
[0314] For the computer program product provided in the above embodiment, its implementation principle and technical effects are similar to those of the above method embodiment, and will not be elaborated here.
[0315] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0316] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, 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, it should be considered as the scope recorded in this specification.
[0317] The above-described embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A testing method for an energy storage system, characterized in that, The method is applied to a test device, and the method includes: Receiving a drive signal sent by a storage sub-module controller to be tested in an energy storage system; Sending a feedback signal to the storage sub-module controller to be tested according to the drive signal; Receiving a first drive result reported by the storage sub-module controller to be tested based on the feedback signal; Obtaining a test result according to the feedback signal and the first drive result.
2. The method according to claim 1, characterized in that, The step of receiving a drive signal sent by a storage sub-module controller to be tested in an energy storage system and sending a feedback signal to the storage sub-module controller to be tested according to the drive signal includes: Receiving the drive signal sent by the storage sub-module controller to be tested through a target interface; Sending a feedback signal to the target interface of the storage sub-module controller to be tested according to the drive signal.
3. The method according to claim 2, characterized in that, The step of obtaining a test result according to the feedback signal and the first drive result includes: Determining a second drive result according to the feedback signal; Determining the test result according to the first drive result and the second drive result.
4. The method according to claim 3, characterized in that, The step of determining a second drive result according to the feedback signal includes: Determining a drive state indicated by the drive signal according to preset configuration information; If the feedback state represented by the feedback signal is consistent with the drive state indicated by the drive signal, determining that the second drive result indicates that the target interface is in a normal state; If the feedback state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, determining that the second drive result indicates that the target interface is in an abnormal state.
5. The method according to claim 3, characterized in that, The step of determining the test result according to the first drive result and the second drive result includes: If the first drive result and the second drive result are consistent, the test result indicates that the storage sub-module controller to be tested passes the test; If the first drive result and the second drive result are inconsistent, the test result indicates that the storage sub-module controller to be tested fails the test.
6. The method according to claim 3, characterized in that, The step of determining a second drive result according to the feedback signal includes: When receiving multiple feedback signals sent by the storage sub-module controller to be tested through the target interface, comparing whether the feedback states represented by the feedback signals are consistent with the drive state indicated by the drive signal to determine the second drive result; the second drive result includes at least one of the number of feedback signals, the number of feedback signals representing a normal feedback state, and the number of feedback signals representing an abnormal feedback state.
7. The method according to claim 2, characterized in that, The step of sending a feedback signal to the target interface of the storage sub-module controller to be tested according to the drive signal includes: Driving a model board corresponding to the target interface to generate a feedback signal according to the drive signal; Sending the feedback signal to the target interface of the storage sub-module controller to be tested.
8. The method according to claim 7, characterized in that, The step of driving a model board corresponding to the target interface to generate a feedback signal according to the drive signal includes: Invoking a drive module corresponding to the model board and driving the model board corresponding to the target interface to generate a feedback signal according to the drive signal.
9. The method according to claim 2, characterized in that, The method further includes: Send a test instruction to the energy storage sub-module controller under test; the test instruction is used to determine the target interface and generate a drive signal corresponding to the target interface.
10. The method according to claim 2, characterized in that, The target interface is any one of a transistor switch interface, a bus switch interface, and a bypass switch interface.
11. A testing method for an energy storage system, characterized in that, The method is applied to an energy storage sub-module controller under test, and the method includes: Send a drive signal to the test device; Receive a feedback signal generated by the test device based on the drive signal, and determine a first drive result according to the feedback signal; Return the first drive result to the energy storage sub-module controller under test to instruct the test device to obtain a test result according to the first drive result and the feedback signal.
12. The method according to claim 11, wherein The sending a drive signal to the test device and receiving the feedback signal generated by the test device based on the drive signal include: Send a drive signal to the test device through the target interface; Receive the feedback signal generated by the test device based on the drive signal through the target interface.
13. The method according to claim 12, wherein The determining a first drive result according to the feedback signal includes: Determine the drive state indicated by the drive signal according to preset configuration information; If the state represented by the feedback signal is consistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in a normal state; If the state represented by the feedback signal is inconsistent with the drive state indicated by the drive signal, determine that the first drive result indicates that the target interface is in an abnormal state.
14. The method according to claim 12 or 13, wherein The method further includes: Receive a test instruction sent by the test device; Generate the drive signal according to the test instruction, and determine the target interface from a plurality of interfaces to be tested according to the test instruction.
15. A test system, wherein The test system includes a test device and an energy storage sub-module controller under test; wherein, the test device executes the test method according to any one of claims 1-10; the energy storage sub-module controller under test executes the test method according to any one of claims 11-14.
16. A test device for an energy storage system, wherein The device includes: A first receiving module, configured to receive a drive signal sent by an energy storage sub-module controller under test in an energy storage system; A first sending module, configured to send a feedback signal to the energy storage sub-module controller under test according to the drive signal; A second receiving module, configured to receive a first drive result reported by the energy storage sub-module controller under test based on the feedback signal; A determining module, configured to obtain a test result according to the feedback signal and the first drive result.
17. A test device for an energy storage system, wherein The device includes: A sending module, configured to send a drive signal to the test device; A third receiving module, configured to receive a feedback signal generated by the test device based on the drive signal, and determine a first drive result according to the feedback signal; A second sending module, configured to return the first drive result to the test device to instruct the test device to obtain a test result according to the first drive result and the feedback signal.
18. A computer device, comprising a memory and a processor, the memory storing a computer program, wherein When the processor executes the computer program, the steps of the method according to any one of claims 1 to 14 are implemented.
19. A computer-readable storage medium, having a computer program stored thereon, wherein When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 14 are implemented.
20. A computer program product, comprising a computer program, wherein When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 14.