Integrated testing method for energy storage controller
By adopting integrated testing methods and semi-physical simulation technology in the energy storage controller, the problems of limited testing conditions and inaccurate digital simulation results are solved, and efficient and accurate test results are achieved.
Patent Information
- Application Number
- CN202411552128.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-01
AI Technical Summary
In the prior art, the pure physical testing conditions of energy storage controllers are limited, difficult to conduct frequently, and the pure digital simulation test results are inaccurate, making it difficult to reflect the complexity and uncertainty of the real hardware environment.
The integrated testing method of energy storage controller is adopted, and the energy storage system is divided through structures, a functional model library and a test working condition library are established, and a semi-physical simulation model is established for testing.
It realizes efficient and safe testing in a more realistic environment, simplifies testing conditions, improves the accuracy of test results, and takes into account the advantages of pure digital model simulation and pure physical testing.
Smart Images

Figure CN119644978A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy storage controller simulation testing, and in particular to an integrated testing method for an energy storage controller. Background Art
[0002] With the rapid development of new energy power generation such as photovoltaic and wind power, considering the randomness and intermittency of these new energy sources, in order to ensure the stable operation of the power grid, a certain capacity of energy storage system is usually equipped as support. With the large-scale grid connection of new energy, the energy storage capacity of the supporting energy storage system is also increasing, and the application of energy storage system is becoming more and more extensive. For example, when the power generation of new energy is high, the energy storage system can absorb the energy that cannot be temporarily absorbed by the load side; and when the power generation of new energy is insufficient or stops, it can provide necessary power support to the load side. Therefore, the energy storage system needs to have good grid connection performance to adapt to the needs of this two-way regulation. At the same time, the problems caused by the energy storage system when it is connected to the grid through power electronic converters are gradually emerging.
[0003] The key to evaluating the performance of energy storage systems in power systems with a high proportion of renewable energy is to effectively test their controllers and control strategies. However, on-site grid-connected tests in actual energy storage power stations are often costly and are affected by factors such as daily operation requirements, site restrictions, and safety considerations, making such tests difficult to conduct frequently. Correspondingly, if only relying on pure digital simulation to test control strategies can reduce costs and risks, it will ignore the complexity and uncertainty of the real hardware environment, which may lead to a large deviation between the simulation results and the actual situation, thereby affecting the actual reference value of the test results. Summary of the invention
[0004] In view of this, the present application provides an integrated testing method for an energy storage controller, the main purpose of which is to solve the technical problems in the prior art that pure physical testing of energy storage controllers is difficult to carry out due to limited conditions, and the test results obtained by pure digital simulation are inaccurate.
[0005] The energy storage controller integrated testing method provided by the present invention comprises:
[0006] Structural division of multiple energy storage systems based on energy storage technology types to obtain multiple energy storage functional units, integrating the energy storage functional units of the same type to establish multiple functional model libraries, and integrating the test conditions of the multiple energy storage systems to establish a test condition library, wherein the functional model library includes an energy storage power loop model library and a control structure model library;
[0007] Determine an initial energy storage system corresponding to the energy storage controller to be tested, obtain structural parameters of the initial energy storage system, call an initial energy storage power loop model in the energy storage power loop model library based on the structural parameters, call an initial control structure in the control structure model library to form a control link, and establish a semi-physical simulation model based on the initial energy storage power model and the control link;
[0008] Setting a signal interface of the semi-physical simulation model and defining an interactive signal to establish a semi-physical simulation platform;
[0009] According to the test requirements, a target test condition is selected from the test condition library, and based on the target test condition, a semi-physical simulation test is performed on the energy storage controller to be tested in the semi-physical simulation platform and test data is collected.
[0010] Optionally, the energy storage power circuit model library includes an energy storage battery module, a converter module, a DC bus capacitor, a grid-connected contactor module and a filter circuit module;
[0011] The energy storage battery module includes a lithium-ion battery module, a lithium iron phosphate battery, a lead-acid battery, a nickel-cadmium battery and a nickel-metal hydride battery;
[0012] The converter module includes a three-phase bridge inverter module and a midpoint clamped three-level inverter module;
[0013] The filter circuit module includes an L filter circuit module, an LC filter circuit module and an LCL filter circuit module.
[0014] Optionally, the control structure model library includes a current control loop module, a voltage control loop module, a power control loop module, a frequency control loop module and a fault ride-through control module.
[0015] Optionally, selecting a target test condition from the test condition library according to the test requirements includes:
[0016] According to the test requirements, multiple initial test conditions are selected from the test condition library, the multiple initial test conditions are combined to form a target test condition, and the target test condition is loaded into a preset test condition template for storage.
[0017] Optionally, the test condition library includes a frequency small disturbance test module, a low voltage ride-through test module, a high voltage ride-through test module and a high and low voltage interlocking ride-through test module;
[0018] The frequency small disturbance test module includes a first switching switch and a resistive load, wherein the first switching switch is used to simulate the situation where the power grid fluctuates within a preset frequency range, and the resistive load is used to adjust the amplitude and range of the power grid frequency fluctuation;
[0019] The low voltage ride through test module comprises a second switching switch and a grounding impedance, wherein the second switching switch is used to form a voltage drop, and the grounding impedance is used to adjust the range of the voltage drop;
[0020] The high voltage ride through test module comprises a third switching switch and a capacitor, wherein the third switching switch is used to form a voltage rise, and the capacitor is used to adjust the range of the voltage rise;
[0021] The high-low voltage interlocking ride-through test module includes a high voltage ride-through test module and a low voltage ride-through test module.
[0022] Optionally, calling the initial control structure in the control structure model library to form a control link includes:
[0023] Calling an initial control structure in the control structure model library, wherein the initial control structure is a double closed-loop control structure;
[0024] Acquire the d-axis current reference value and the d-axis current reference value of the energy storage converter in the voltage outer loop of the dual closed-loop control structure, and the d-axis voltage component and the q-axis voltage component of the energy storage converter in the current outer loop of the dual closed-loop control structure;
[0025] The active power and reactive power output by the energy storage converter are calculated according to the d-axis current reference value, the d-axis current reference value, the d-axis voltage component and the q-axis voltage component.
[0026] Optionally, the semi-physical simulation model includes an energy storage converter CPU model and an energy storage converter eHS model;
[0027] The energy storage converter CPU model is used to simulate signal interaction, command issuance and signal acquisition;
[0028] The energy storage converter eHS model is used to simulate the power electronic circuit of the energy storage system.
[0029] Optionally, the energy storage inverter CPU model specifically includes an eHS solution module, an analog signal configuration module, a digital signal configuration module, an electrical quantity calculation module and a signal recording module, wherein the eHS solution module is used to call the model in the energy storage power loop model library during the semi-physical simulation test to complete the signal interaction between the small-step simulation of the energy storage inverter eHS model and the large-step simulation of the energy storage inverter CPU model.
[0030] Optionally, the interactive signal includes an energy storage converter drive signal, a grid-connected contactor drive signal, a grid-connected contactor flag signal, a grid voltage, a DC voltage, a filter current, and an energy storage converter voltage and current.
[0031] Optionally, the method further includes:
[0032] Saving the test data;
[0033] The test data is preprocessed, and based on preset waveform types and graphic parameters, the preprocessed test data is drawn using a preset graphic drawing tool to generate a test waveform graph.
[0034] The integrated test method for energy storage controller provided by the present invention specifically applies semi-physical simulation technology, effectively takes into account the advantages of pure digital model simulation and pure physical testing, and can efficiently and safely perform tests under the condition of a real-time operating state of a simulated controlled object that is closer to reality, simplifies the conditions for conducting tests and ensures the accuracy of test results; compared with the existing conventional modeling methods, the present application divides the structural frameworks of different energy storage systems according to the type of energy storage technology, divides different energy storage systems into multiple independent and structurally interconnected energy storage functional units, integrates the same type of energy storage functional units, and respectively forms an energy storage power loop model library and a control structure model library, so that the modeling process is structured. During modeling, by calling the models in the functional model library, a variety of different energy storage systems can be quickly combined, and the energy storage system modeling can be completed more quickly and efficiently; and the present application integrates the test conditions of the energy storage system, establishes a test condition library, and standardizes the existing test conditions. During the test process, only the required target test conditions need to be called to automatically complete the test. At the same time, the packaging method of the test conditions is extensible, which is convenient for carrying out other grid-connected tests. In summary, this application adopts semi-physical simulation technology, divides the structural framework of the energy storage system, establishes a functional model library, and establishes a test condition library. Through program calls, the energy storage controller can realize the integrated automatic realization of the entire process from modeling to testing.
[0035] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0037] Figure 1 A schematic diagram of a flow chart of an integrated testing method for an energy storage controller provided by an embodiment of the present invention is shown;
[0038] Figure 2A schematic diagram of the structure of an energy storage system in an energy storage controller integrated testing method provided by an embodiment of the present invention is shown;
[0039] Figure 3 A schematic diagram of the structure of an initial energy storage power loop model in an energy storage controller integrated test method provided by an embodiment of the present invention is shown;
[0040] Figure 4 A schematic diagram showing a control link formed by calling an initial control structure in an integrated test method for an energy storage controller provided by an embodiment of the present invention is shown;
[0041] Figure 5 The AC measuring machine terminal voltage waveform diagram of the energy storage converter under the condition that the low voltage ride-through voltage drops to 50% in the energy storage controller integrated test method provided by the embodiment of the present invention is shown;
[0042] Figure 6 The AC measuring machine terminal voltage waveform diagram of the energy storage converter under the condition that the low voltage ride-through voltage drops to 50% in the energy storage controller integrated test method provided by the embodiment of the present invention is shown;
[0043] Figure 7 The active power waveform of the AC measuring machine end of the energy storage converter under the condition that the low voltage ride-through voltage drops to 50% in the energy storage controller integrated test method provided by the embodiment of the present invention is shown;
[0044] Figure 8 The reactive power waveform of the AC measuring machine end of the energy storage converter under the condition that the low voltage ride-through voltage drops to 50% in the energy storage controller integrated test method provided by the embodiment of the present invention is shown;
[0045] Fig. 9 The AC measuring machine terminal voltage waveform of the energy storage converter under the condition where the high voltage ride-through voltage is raised to 120% in the energy storage controller integrated test method provided by the embodiment of the present invention is shown;
[0046] Fig.10 The AC measuring machine end current waveform of the energy storage converter under the condition where the high voltage ride-through voltage is raised to 120% in the energy storage controller integrated test method provided by the embodiment of the present invention is shown;
[0047] Fig.11 The active power waveform of the AC measuring machine end of the energy storage converter under the condition that the high voltage ride-through voltage is raised to 120% in the energy storage controller integrated test method provided by the embodiment of the present invention is shown;
[0048] Fig.12 The reactive power waveform of the AC measuring machine end of the energy storage converter under the condition where the high voltage ride-through voltage is raised to 120% in the energy storage controller integrated test method provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0049] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0050] The background of the application of the technical solution provided in the present application is introduced. In the prior art, the cost of measuring the grid-connected performance at the on-site test of the energy storage power station is high, the modeling process is slow, the testing efficiency is low, and there are certain risks in the testing process of some extreme working conditions; and the use of pure digital simulation to conduct offline testing of the grid-connected performance of the energy storage system, considering the problems of insufficient computing power and lack of hardware, there is a certain deviation between the simulation results and the measured results, and it is difficult to provide an effective reference for the stable grid-connected operation of the actual energy storage system; therefore, in view of the shortcomings of the above traditional testing methods, the technical solution of the present application is proposed.
[0051] The present invention provides an integrated test method for an energy storage controller. Figure 1 As shown, firstly, a plurality of energy storage systems are structurally divided based on the type of energy storage technology to obtain a plurality of energy storage functional units, the energy storage functional units of the same type are integrated to establish a plurality of functional model libraries, and the test conditions of a plurality of energy storage systems are integrated to establish a test condition library, wherein the functional model library includes an energy storage power loop model library and a control structure model library; then, the initial energy storage system corresponding to the energy storage controller to be tested is determined, the structural parameters of the initial energy storage system are obtained, the initial energy storage power loop model is called in the energy storage power loop model library based on the structural parameters, and the initial control structure is called in the control structure model library to form a control link, and a semi-physical simulation model is established based on the initial energy storage power model and the control link; then, the signal interface of the semi-physical simulation model is set and the interactive signal is defined to establish a semi-physical simulation platform; finally, the target test condition is selected in the test condition library according to the test requirements, and the semi-physical simulation test of the energy storage controller to be tested is performed in the semi-physical simulation platform based on the target test condition and the test data is collected.
[0052] The integrated test method for energy storage controller provided by the present invention specifically applies semi-physical simulation technology, effectively takes into account the advantages of pure digital model simulation and pure physical testing, and can efficiently and safely perform tests under the condition of a real-time operating state of a simulated controlled object that is closer to reality, simplifies the conditions for conducting tests and ensures the accuracy of test results; compared with the existing conventional modeling methods, the present application divides the structural frameworks of different energy storage systems according to the type of energy storage technology, divides different energy storage systems into multiple independent and structurally interconnected energy storage functional units, integrates the same type of energy storage functional units, and respectively forms an energy storage power loop model library and a control structure model library, so that the modeling process is structured. During modeling, by calling the models in the functional model library, a variety of different energy storage systems can be quickly combined, and the energy storage system modeling can be completed more quickly and efficiently; and the present application integrates the test conditions of the energy storage system, establishes a test condition library, and standardizes the existing test conditions. During the test process, only the required target test conditions need to be called to automatically complete the test. At the same time, the packaging method of the test conditions is extensible, which is convenient for carrying out other grid-connected tests. In summary, this application adopts semi-physical simulation technology, divides the structural framework of the energy storage system, establishes a functional model library, and establishes a test condition library. Through program calls, the energy storage controller can realize the integrated automatic realization of the entire process from modeling to testing.
[0053] Specifically, in the above embodiment, the energy storage power loop model library includes an energy storage battery module, a converter module, a DC bus capacitor, a grid-connected contactor module and a filter circuit module; wherein the energy storage battery module includes a lithium-ion battery module, a lithium iron phosphate battery, a lead-acid battery, a nickel-cadmium battery and a nickel-metal hydride battery; the converter module includes a three-phase bridge inverter module and a mid-point clamped three-level inverter module; the filter circuit module includes an L filter circuit module, an LC filter circuit module and an LCL filter circuit module.
[0054] In this embodiment, different types of energy storage systems are first analyzed, and the key components of the energy storage systems are identified and divided from the structural mechanism to form multiple energy storage functional units, such as Figure 2 As shown in FIG. 1 , a specific structural schematic diagram of an energy storage system is given, which specifically includes a battery, an inverter circuit, a filter and an AC contactor, and then the energy storage functional units with the same functions or characteristics are classified to form an energy storage power circuit model library and a control structure model library, wherein the energy storage power circuit model library can specifically include various functional modules such as energy storage battery module, converter module, DC bus capacitor, grid-connected contactor module and filter circuit module according to the functional type, and the energy storage battery module, converter module and filter circuit module can be specifically divided into multiple modules; Figure 3As shown, a specific energy storage power circuit model is given, which specifically includes a simulated grid input module for calling the grid signal of the CPU model; an AC contactor module for simulating the contactor when the energy storage system is connected to / off the grid; a filter module for filtering the voltage and current on the AC side of the converter; a converter module for inverting the DC power on the battery side into AC power; a voltage-stabilizing capacitor module for stabilizing the DC side voltage; and a battery input signal module for calling the battery signal of the CPU model.
[0055] Specifically, in the above embodiment, the control structure model library includes a current control loop module, a voltage control loop module, a power control loop module, a frequency control loop module and a fault ride-through control module.
[0056] In this embodiment, the control structure model library also includes a variety of different functional modules, among which the current control loop module is used to accurately control the current output by the energy storage inverter; the voltage control loop module is used to maintain the DC bus voltage or the AC side voltage at a desired level; the power control loop module is used to control the active power and reactive power exchange between the energy storage system and the power grid; the frequency control loop module is used to maintain the stability of the power grid frequency; and the fault ride-through control module is used to ensure that the energy storage system can operate safely and stably during power grid faults.
[0057] Specifically, in the above embodiment, the initial control structure is called in the control structure model library to form a control link, including first calling the initial control structure in the control structure model library, wherein the initial control structure is a dual closed-loop control structure, and then obtaining the d-axis current reference value and the d-axis current reference value of the energy storage inverter in the voltage outer loop of the dual closed-loop control structure, and the d-axis voltage component and the q-axis voltage component of the energy storage inverter in the current outer loop of the dual closed-loop control structure; finally, according to the d-axis current reference value, the d-axis current reference value, the d-axis voltage component and the q-axis voltage component, the active power and reactive power output by the energy storage inverter are calculated.
[0058] In this embodiment, if Figure 4As shown in the figure, a schematic diagram of the control link is given. The energy storage converter controller specifically adopts a double closed-loop structure. The outer loop is a voltage loop. The DC side voltage Udc is measured from the circuit and compared with the set reference value Udc_ref. After passing through the first proportional-integral regulator, the d-axis current reference value idg_ref is output and output to the current inner loop. The first proportional-integral regulator includes a proportional gain Kp_dc and an integral gain Ki_dc. In the current inner loop, the d-axis current reference value idg_ref is compared with the actual d-axis current idg and then input to the second proportional-integral regulator. At this time, the second proportional-integral regulator includes a proportional gain Kp_id and an integral gain Ki_id. The output of the second proportional-integral regulator is compensated by the cross-coupling term ωp11Lgiqg+us to obtain the grid current The d-axis component Udg of the grid voltage is obtained; for the inverter operating at unity power factor, the q-axis current reference value iqg_ref is generally set to 0, and the three-phase current measured from the circuit is transformed by Park to obtain iqg, which is compared with the q-axis current reference value iqg_ref and sent to the third proportional-integral regulator. The third proportional-integral regulator includes a proportional gain Kp_iq and an integral gain Ki_iq. The output of the third proportional-integral regulator is compensated by the cross-coupling term ωsLgiqg to obtain the q-axis component Uqg of the grid voltage. The q-axis component Uqg and the d-axis component Udg of the grid voltage are then transformed by Park inversely to output the three-phase voltage reference value of the energy storage converter, and finally the gate control signal is output through the pulse width modulation link. After each part is formed, the automatic establishment of the semi-physical simulation model of the energy storage system is completed.
[0059] In order to quickly complete the automation of the control link, the mathematical mechanism model of the control link is used for modeling. The general mathematical expression of the energy storage control link composed of the energy storage system control structure model is as follows:
[0060] First, in the voltage outer loop of the dual closed-loop control, the d-axis and q-axis current reference values idg_ref and iqg_ref of the energy storage converter are:
[0061]
[0062] Among them, Kp5 and Ki5 are the proportional and integral coefficients of the energy storage converter voltage controller respectively; Udc and Udc_ref are the DC bus voltage and its reference value respectively.
[0063] The energy storage converter adopts grid voltage oriented vector control. If uds=us, uqs=0, then in the current inner loop of the double closed-loop control, the d-axis component udg and q-axis component uqg of the energy storage converter voltage are:
[0064]
[0065] Wherein, Kp6 and Ki6 are the d-axis current inner loop ratio and integral coefficient of the energy storage converter, respectively; Kp7 and Ki7 are the q-axis current inner loop ratio and integral coefficient of the energy storage converter, respectively; idg and iqg are the d-axis and q-axis components of the output current of the energy storage converter, respectively; Lg is the inductance of the grid-side filter; us is the grid voltage.
[0066] Therefore, corresponding to the double closed-loop control, the output active power Pg and reactive power Qg of the energy storage converter can be calculated as:
[0067]
[0068] Specifically, a target test condition is selected from a test condition library according to test requirements, including selecting multiple initial test conditions from the test condition library according to test requirements, combining the multiple initial test conditions to form a target test condition, and loading the target test condition into a preset test condition template for storage.
[0069] Furthermore, the test condition library includes a frequency small disturbance test module, a low voltage ride-through test module, a high voltage ride-through test module and a high-low voltage interlocked ride-through test module; the frequency small disturbance test module includes a first switching switch and a resistive load, the first switching switch is used to simulate the fluctuation of the power grid within a preset frequency range, and the resistive load is used to adjust the amplitude and range of the power grid frequency fluctuation; the low voltage ride-through test module includes a second switching switch and a grounding impedance, the second switching switch is used to form a voltage drop, and the grounding impedance is used to adjust the range of the voltage drop; the high voltage ride-through test module includes a third switching switch and a capacitor, the third switching switch is used to form a voltage rise, and the capacitor is used to adjust the range of the voltage rise; the high-low voltage interlocked ride-through test module includes a high voltage ride-through test module and a low voltage ride-through test module.
[0070] In this embodiment, the frequency small disturbance test module specifically includes a controllable first switching switch and a resistive load of a certain size. The first switching switch controls the switching of the resistive load to achieve frequency disturbance above and below 50Hz, and the resistive load value can adjust the frequency disturbance range; the low voltage ride-through test module is a controllable second switching switch and a grounding impedance of a certain size. When the second switching switch is turned on, the system is short-circuited to the ground to form a voltage drop, and the grounding impedance value can adjust the voltage drop range; the high voltage ride-through test module is a controllable third switching switch and a capacitor of a certain size. When the third switching switch is turned on, the system forms a voltage rise, and the capacitor value can adjust the voltage rise range; the high / low voltage interlocking ride-through test module is the superposition of the low voltage ride-through test module and the high voltage ride-through test module.
[0071] Specifically, in the above embodiment, the semi-physical simulation model includes an energy storage converter CPU model and an energy storage converter eHS model; the energy storage converter CPU model is used to simulate signal interaction, command issuance and signal acquisition; the energy storage converter eHS model is used to simulate the power electronic circuit of the energy storage system.
[0072] Furthermore, the energy storage inverter CPU model specifically includes an eHS solution module, an analog signal configuration module, a digital signal configuration module, an electrical quantity calculation module and a signal recording module, wherein the eHS solution module is used to call the model in the energy storage power loop model library during the semi-physical simulation test to complete the signal interaction between the small-step simulation of the eHS model of the energy storage inverter and the large-step simulation of the CPU model of the energy storage inverter.
[0073] In this embodiment, two main models of energy storage converters in the semi-physical simulation model are provided, namely, the CPU model and the eHS (electric Hardware-in-the-Loop Solver) model. The CPU model of the energy storage converter is used to simulate the microprocessor unit in the actual controller, which is responsible for processing control algorithms, signal acquisition, command issuance and other tasks. In the semi-physical simulation test process, the eHS solution module calls the model in the energy storage power loop model library to realize the signal interaction between the small step simulation and the large step simulation; the analog signal configuration module is used to configure and manage the input and output of the analog signal; the digital signal configuration module is used to configure and manage the input and output of the digital signal; the electrical quantity calculation module is used to calculate and process various electrical quantities, such as voltage, current, power, etc.; the signal recording module is used to record the key signal data in the simulation process. The eHS model of the energy storage converter is used to simulate the power electronic circuit of the energy storage system, including inverters, filters, transformers and other components. By setting the eHS solution module, this application performs efficient data exchange between the small step simulation and the large step simulation to ensure the real-time and accuracy of the entire system.
[0074] Specifically, in the above embodiment, the interactive signal includes an energy storage converter drive signal, a grid-connected contactor drive signal, a grid-connected contactor flag signal, a grid voltage, a DC voltage, a filter current, and an energy storage converter voltage and current.
[0075] In this embodiment, according to the automatically generated semi-physical simulation model, it is necessary to automatically compile the digital signal and analog signal interface sequence and set the signal interaction. Signal interaction is the key to ensure the accuracy and real-time performance of the simulation. The interactive signals specifically include various types of control signals, status signals and measurement signals. The interaction between the signals can more accurately simulate the operation of the actual energy storage system.
[0076] Furthermore, after collecting the test data, the test data is saved; then the test data is preprocessed, and based on the preset waveform type and graphic parameters, the preprocessed test data is drawn using a preset graphic drawing tool to generate a test waveform graph.
[0077] In this embodiment, the collected test data is sorted and saved for subsequent analysis and archiving; then the program is used to automatically generate a test waveform graph to intuitively display the test results. First, it is necessary to select a suitable drawing tool and determine the type of waveform to be drawn, such as voltage waveform, current waveform, power waveform, etc., and then set the graphic parameters: configure the title, axis label, legend, color, line style, etc. of the graph to ensure that the graph is clear and readable, and finally run the drawing script to batch generate waveform graphs under all test conditions.
[0078] Based on the integrated testing method for energy storage controller provided in this application, in order to verify its correctness, the fault voltage ride-through test of the energy storage controller is used as an example to illustrate.
[0079] During the test, the working conditions are set and the low voltage ride-through test module is automatically called to make the grid voltage drop to 50%. The drop duration is about 625ms, and then the grid voltage quickly recovers to the rated value. The dynamic characteristic curve in this process will be automatically collected and saved; Figure 5 This is the automatically generated AC test machine voltage waveform of the energy storage converter when the low voltage ride-through voltage drops to 50%. It can be seen that the called low voltage ride-through test module successfully reduces the voltage to 50% of the rated value; Figure 6 Automatically generated AC measuring machine end current waveform of the energy storage converter when the low voltage ride-through voltage drops to 50%; Figure 7 Automatically generated AC measuring machine end active power waveform of energy storage converter when the low voltage ride-through voltage drops to 50%; Figure 8 It is the automatically generated reactive power waveform of the AC measuring machine end of the energy storage converter when the low voltage ride-through voltage drops to 50%. Figure 5 , Figure 6 , Figure 7 and Figure 8 From 6.5s to 7.0s, it can be seen that the energy storage converter can be connected to the grid and operate in a steady state; at about 7.25s, due to the input of grounding impedance, the grid voltage is instantly pulled down to 0.5pu, at this time the active power is instantly reduced, and the reactive power is instantly increased to support the system; at 7.9s, the fault is removed and the voltage returns to normal, the reactive power is instantly restored, and the active power is restored in the form of a slope. Fig. 9 Automatically generated AC voltage waveform at the measuring machine end of the energy storage converter when the high voltage ride-through voltage is raised to 120%; Fig.10Automatically generated AC measuring machine end current waveform of the energy storage converter when the high voltage ride-through voltage is raised to 120%; Fig.11 The AC measuring machine end active power waveform of the energy storage converter is automatically generated when the high voltage ride-through voltage is raised to 120%; Fig.12 The AC reactive power waveform of the energy storage converter is automatically generated when the high voltage ride-through voltage is raised to 120%; the high voltage ride-through test is similar to the low voltage ride-through test and will not be repeated here. In summary, based on the test results, the integrated test method for the energy storage controller provided in this application can efficiently and automatically verify the energy storage grid-connected related tests of the actual energy storage controller.
Claims
1. An integrated testing method for an energy storage controller, characterized in that: include: Structural division of multiple energy storage systems based on energy storage technology types to obtain multiple energy storage functional units, integrating the energy storage functional units of the same type to establish multiple functional model libraries, and integrating the test conditions of the multiple energy storage systems to establish a test condition library, wherein the functional model library includes an energy storage power loop model library and a control structure model library; Determine an initial energy storage system corresponding to the energy storage controller to be tested, obtain structural parameters of the initial energy storage system, call an initial energy storage power loop model in the energy storage power loop model library based on the structural parameters, call an initial control structure in the control structure model library to form a control link, and establish a semi-physical simulation model based on the initial energy storage power model and the control link; Setting a signal interface of the semi-physical simulation model and defining an interactive signal to establish a semi-physical simulation platform; According to the test requirements, a target test condition is selected from the test condition library, and based on the target test condition, a semi-physical simulation test is performed on the energy storage controller to be tested in the semi-physical simulation platform and test data is collected.
2. The method according to claim 1, characterized in that: The energy storage power circuit model library includes an energy storage battery module, a converter module, a DC bus capacitor, a grid-connected contactor module and a filter circuit module; The energy storage battery module includes a lithium-ion battery module, a lithium iron phosphate battery, a lead-acid battery, a nickel-cadmium battery and a nickel-metal hydride battery; The converter module includes a three-phase bridge inverter module and a midpoint clamped three-level inverter module; The filter circuit module includes an L filter circuit module, an LC filter circuit module and an LCL filter circuit module.
3. The method according to claim 1, characterized in that The control structure model library includes a current control loop module, a voltage control loop module, a power control loop module, a frequency control loop module and a fault ride-through control module.
4. The method according to claim 1, characterized in that: The selecting a target test condition from the test condition library according to the test requirements includes: According to the test requirements, multiple initial test conditions are selected from the test condition library, the multiple initial test conditions are combined to form a target test condition, and the target test condition is loaded into a preset test condition template for storage.
5. The method according to claim 1 or 4, characterized in that: The test condition library includes a frequency small disturbance test module, a low voltage ride-through test module, a high voltage ride-through test module and a high and low voltage interlocking ride-through test module; The frequency small disturbance test module includes a first switching switch and a resistive load, wherein the first switching switch is used to simulate the situation where the power grid fluctuates within a preset frequency range, and the resistive load is used to adjust the amplitude and range of the power grid frequency fluctuation; The low voltage ride through test module comprises a second switching switch and a grounding impedance, wherein the second switching switch is used to form a voltage drop, and the grounding impedance is used to adjust the range of the voltage drop; The high voltage ride through test module comprises a third switching switch and a capacitor, wherein the third switching switch is used to form a voltage rise, and the capacitor is used to adjust the range of the voltage rise; The high-low voltage interlocking ride-through test module includes a high voltage ride-through test module and a low voltage ride-through test module.
6. The method according to claim 1, characterized in that The step of calling the initial control structure in the control structure model library to form a control link includes: Calling an initial control structure in the control structure model library, wherein the initial control structure is a double closed-loop control structure; Acquire the d-axis current reference value and the d-axis current reference value of the energy storage converter in the voltage outer loop of the dual closed-loop control structure, and the d-axis voltage component and the q-axis voltage component of the energy storage converter in the current outer loop of the dual closed-loop control structure; The active power and reactive power output by the energy storage converter are calculated according to the d-axis current reference value, the d-axis current reference value, the d-axis voltage component and the q-axis voltage component.
7. The method according to claim 1, characterized in that The semi-physical simulation model includes an energy storage converter CPU model and an energy storage converter eHS model; The energy storage converter CPU model is used to simulate signal interaction, command issuance and signal acquisition; The energy storage converter eHS model is used to simulate the power electronic circuit of the energy storage system.
8. The method according to claim 7, characterized in that The energy storage inverter CPU model specifically includes an eHS solution module, an analog signal configuration module, a digital signal configuration module, an electrical quantity calculation module and a signal recording module, wherein the eHS solution module is used to call the model in the energy storage power loop model library during the semi-physical simulation test to complete the signal interaction between the small-step simulation of the energy storage inverter eHS model and the large-step simulation of the energy storage inverter CPU model.
9. The method according to claim 1, characterized in that: The interactive signals include energy storage converter drive signals, grid-connected contactor drive signals, grid-connected contactor flag signals, grid voltage, DC voltage, filter current, and energy storage converter voltage and current.
10. The method according to claim 1, characterized in that The method further comprises: Saving the test data; The test data is preprocessed, and based on preset waveform types and graphic parameters, the preprocessed test data is drawn using a preset graphic drawing tool to generate a test waveform graph.
Citation Information
Patent Citations
Energy storage system control strategy test optimization platform based on semi-physical simulation
CN108318757A
Comprehensive energy system performance test platform
CN112859645A
Test method for energy storage control system and equipment
CN113741383A
Hybrid energy storage converter simulation test system and performance detection method
CN115792450A
Converter hardware performance in-loop test system and test method thereof
CN115826562A