Modeling method, device and storage medium of cascade multi-level energy storage system
By segmenting the power modules of the cascaded multi-level energy storage system and establishing the switching power supply circuit, the electronic switching devices are reduced, the problems of slow simulation speed and large computing resource requirements are solved, and efficient simulation and system are achieved. Performance optimization.
Patent Information
- Application Number
- CN202410836081.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The simulation speed of the existing cascaded multi-level energy storage system is slow, the computing resource requirements are large, and the battery system and the converter cannot be uniformly equivalently modeled, making it difficult to optimize and verify the system performance.
By dividing the power module into H-bridge and AC side parts, circuit modeling is performed on the battery and DC side capacitor, a switching power supply circuit is established, and the state matrix and initial coefficient matrix are used to characterize the dynamic characteristics of charge and discharge, reducing electronic switching devices and improving simulation speed. .
The simulation speed is greatly improved while ensuring the simulation accuracy, solving the problems of slow simulation speed and high computing resource requirements, achieving unified equivalent modeling of the battery system and the converter, and optimizing the system design and operation strategy.
Smart Images

Figure CN118381096B
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy power rheology, and in particular to a modeling method, device and storage medium for a cascaded multi-level energy storage system. Background Art
[0002] As the importance of energy storage technology gradually emerges, energy storage has been regarded as an important part of the six major links of the power production process, namely "collection-generation-transmission-distribution-use-storage". A complete energy storage system consists of two parts: one is the energy storage device, which is composed of various energy storage media and their auxiliary control and monitoring equipment, and mainly realizes energy storage and monitoring; the other is the energy storage power conversion system (Power Conversion System PCS), which is composed of power electronic devices and is mainly responsible for realizing the battery charging and discharging of the energy storage system. With the popularization of 100-megawatt energy storage power stations, high-voltage and large-capacity cascade energy storage systems have been widely used. Functional models such as power control play a key role in the design, construction, commissioning and maintenance of energy storage systems, helping engineers and researchers understand and predict system behavior and optimize system design and operation strategies.
[0003] Therefore, how to determine a model of a cascaded multi-level energy storage system with better performance has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0004] The present invention provides a modeling method, device and storage medium for a cascaded multi-level energy storage system, in which electronic switching devices are reduced, and the simulation speed can be greatly improved while ensuring the simulation accuracy during the operation and solution process.
[0005] According to a first aspect of an embodiment of the present invention, a modeling method for a cascaded multi-level energy storage system is provided, the system comprising a power module, and the method comprising:
[0006] Modeling the power module to obtain a single model; wherein the step of modeling the power module includes: dividing the power module into an H-bridge and an AC side part, as well as a battery and a DC side capacitor; performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix, wherein the state equation is used to characterize the charging and discharging dynamic characteristics of the power module, wherein the first state matrix includes capacitor voltage, battery current, first polarization voltage and second polarization voltage, and the second state matrix includes DC current and battery open circuit voltage;
[0007] Establishing a switching power supply circuit, the switching power supply circuit comprising two controlled voltage sources, one of which is connected in forward series with a switch in a power module, and the other of which is connected in reverse series with a switch in the power module;
[0008] According to the switching power supply circuit and the single model, a model of a cascaded multi-level energy storage system is obtained, wherein the driving voltage of the controlled voltage source is determined according to the control pulses corresponding to the multiple power modules, and the driving voltages of the two controlled voltage sources include an upper bridge arm voltage and a lower bridge arm voltage.
[0009] In some embodiments, the step of performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix comprises:
[0010] The battery and the DC side capacitor are subjected to circuit equivalence using the superposition theorem, and are divided into a first loop and a second loop, wherein the first loop includes a circuit formed by the DC side capacitor and the first inductor, and the second loop includes a loop formed by the battery and the second inductor;
[0011] Determine, according to the first loop and the second loop, a loop voltage equation of the battery current, a voltage equation of the DC side capacitor, a voltage equation of the first polarization voltage, and a voltage equation of the second polarization voltage;
[0012] A state equation is determined using a loop voltage equation of the battery current, a voltage equation of the DC side capacitor, a voltage equation of the first polarization voltage, and a voltage equation of the second polarization voltage. The state equation includes a first state matrix, a second state matrix, a first initial coefficient matrix, a second initial coefficient matrix, and a history matrix.
[0013] In some embodiments, before establishing the switching power supply circuit, the method further includes:
[0014] According to the state equation, a physical model is constructed; wherein the step of constructing the physical model according to the state equation comprises:
[0015] According to the remaining power of the battery, searching corresponding electrical parameters from a pre-stored table, the electrical parameters including battery open circuit voltage, battery internal resistance, first polarization resistance, second polarization resistance, first polarization capacitance and second polarization capacitance;
[0016] According to the electrical parameters, updating a first initial coefficient matrix, a second initial coefficient matrix and a history matrix, as well as a first target parameter in the state equation;
[0017] The first coefficient matrix, the second coefficient matrix and the second target parameter are calculated according to the first initial coefficient matrix and the second initial coefficient matrix and the history matrix in the updated state equation, as well as the first target parameter.
[0018] In some embodiments, the step of determining the driving voltage of the controlled voltage source according to the control pulses corresponding to the plurality of power modules comprises:
[0019] Determine the upper bridge arm voltage and the lower bridge arm voltage corresponding to the power module according to the control pulse corresponding to the power module;
[0020] All the upper bridge arm voltages are summed, and all the lower bridge arm voltages are summed to determine the upper bridge arm voltage and the lower bridge arm voltage in the driving voltage.
[0021] In some embodiments, the step of determining the upper bridge arm voltage and the lower bridge arm voltage corresponding to the power module according to the control pulse corresponding to the power module includes:
[0022] An alternating current is measured through the switching power supply circuit;
[0023] The upper bridge arm voltage and the lower bridge arm voltage corresponding to the power module are calculated according to the alternating current, the on-resistance of the switch, the capacitor voltage, the control pulse and the coefficient related to the control pulse.
[0024] In some embodiments, the method further comprises:
[0025] Using the upper bridge arm voltage and the lower bridge arm voltage in the driving voltage to update the alternating current;
[0026] The first state matrix is updated using the updated alternating current.
[0027] In some embodiments, the method further comprises:
[0028] updating the DC current using the updated AC current;
[0029] The second state matrix is updated according to the updated direct current.
[0030] According to a second aspect of an embodiment of the present application, a modeling device for a cascaded multi-level energy storage system is provided, comprising:
[0031] A modeling unit, used for modeling the power module to obtain a single model; wherein the step of modeling the power module comprises: dividing the power module into an H-bridge and an AC side part, as well as a battery and a DC side capacitor; performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix, wherein the state equation is used to characterize the charging and discharging dynamic characteristics of the power module, wherein the first state matrix includes capacitor voltage, battery current, first polarization voltage and second polarization voltage, and the second state matrix includes DC current and battery open circuit voltage;
[0032] Establishing a circuit unit for establishing a switching power supply circuit, wherein the switching power supply circuit includes two controlled voltage sources, wherein one of the controlled voltage sources is connected in forward series with a switch in a power module, and the other of the controlled voltage sources is connected in reverse series with a switch in the power module;
[0033] A determination unit is used to obtain a model of a cascaded multi-level energy storage system according to the switching power supply circuit and the single model, wherein the driving voltage of the controlled voltage source is determined according to the control pulses corresponding to the multiple power modules, and the driving voltages of the two controlled voltage sources include an upper bridge arm voltage and a lower bridge arm voltage.
[0034] According to a third aspect of an embodiment of the present application, a storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the modeling method of the cascade multi-level energy storage system is implemented.
[0035] According to a fourth aspect of an embodiment of the present application, a computer device is provided, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements a modeling method for a cascaded multi-level energy storage system when executing the computer program.
[0036] In view of this, a modeling method, device and storage medium of a cascaded multi-level energy storage system are provided in an embodiment of the present application. The method reduces electronic switching devices, and can greatly improve the simulation speed while ensuring the simulation accuracy during the operation and solution process. The method includes: modeling the power module to obtain a single model; establishing a switching power supply circuit, the switching power supply circuit includes two controlled voltage sources, one of which is connected in series with the switch in the power module in the forward direction, and the other is connected in series with the switch in the power module in the reverse direction; according to the switching power supply circuit and the single model, a model of the cascaded multi-level energy storage system is obtained.
[0037] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0039] Figure 1 A flowchart of a modeling method for a cascaded multi-level energy storage system provided according to some embodiments is exemplified;
[0040] Figure 2A flowchart of another modeling method of a cascaded multi-level energy storage system provided according to some embodiments is exemplified;
[0041] Figure 3 A schematic diagram showing the equivalence of a DC link capacitor and a battery circuit according to some embodiments is exemplified;
[0042] Figure 4 A schematic diagram of an overall circuit of a power module provided according to some embodiments is exemplarily shown;
[0043] Figure 5 A schematic diagram showing an equivalent electrical connection of a port voltage according to some embodiments is exemplified;
[0044] Figure 6 A schematic diagram of a mathematical equivalent model and an SPS circuit interface provided according to some embodiments is exemplarily shown;
[0045] Figure 7 An equivalent schematic diagram of a bridge arm provided according to some embodiments is exemplarily shown;
[0046] Figure 8 A schematic diagram of another mathematical equivalent model and an SPS circuit interface provided according to some embodiments is exemplarily shown;
[0047] Fig. 9 A schematic diagram of an AC port output voltage provided according to some embodiments is exemplarily shown;
[0048] Fig.10 A schematic diagram of an AC port output current provided according to some embodiments is exemplarily shown;
[0049] Fig.11 A schematic diagram of a DC link capacitor voltage provided according to some embodiments is exemplarily shown;
[0050] Fig.12 A schematic diagram of a first polarized capacitor voltage provided according to some embodiments is exemplarily shown;
[0051] Fig.13 A schematic diagram of a second polarized capacitor voltage provided according to some embodiments is exemplarily shown;
[0052] Fig.14 A schematic diagram of a battery current provided according to some embodiments is exemplarily shown;
[0053] Fig.15 A schematic diagram of a remaining power provided according to some embodiments is exemplarily shown;
[0054] Fig.16A schematic block diagram of a modeling device for a cascaded multi-level energy storage system provided according to some embodiments is exemplarily shown;
[0055] Fig.17 A schematic diagram of a control device provided according to some embodiments is exemplarily shown. DETAILED DESCRIPTION
[0056] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0058] As the importance of energy storage technology gradually emerges, energy storage has been regarded as an important part of the six links of the power production process, namely "collection-generation-transmission-distribution-use-storage". A complete energy storage system consists of two parts: one is the energy storage device, which is composed of various energy storage media and their auxiliary control and monitoring equipment, and mainly realizes energy storage and monitoring; the other is the energy storage power conversion system (Power Conversion System PCS), which is composed of power electronic devices and is mainly responsible for realizing the battery charging and discharging of the energy storage system. With the popularization of 100MW energy storage power stations, high-voltage and large-capacity cascade energy storage systems have been widely used.
[0059] Functional models such as power control play a key role in the design, construction, commissioning and maintenance of energy storage systems, helping engineers and researchers understand and predict system behavior and optimize system design and operation strategies. With the development of technology, new model algorithms continue to emerge, which need to be further verified by models to improve the performance and economic benefits of energy storage systems.
[0060] Compared with traditional energy storage systems, which generally use the form of independent PCS verification during system verification, cascade energy storage systems are quite different from conventional PCS. From a structural perspective, the cascade energy storage battery module and the H-bridge adopt a common module design. From a control function perspective, its converter has the function of balancing the intra-phase and inter-phase SOC balance. The control function of its PCS is more highly coupled with the battery, and its battery system cannot be ignored when verifying the cascade PCS. In addition, the battery part of the electrochemical energy storage has also become a key element in the operation of the system, directly affecting the system's return on investment and safe and stable operation. In addition, the integrated energy optimization and balancing strategy of the converter system and the battery system also needs to be verified.
[0061] In a multi-module cascade energy storage system, the calculation speed of the model is affected by two aspects: (1) Due to the rapid increase in the number of semiconductor switching devices, the state change of the switch quantity requires the inversion of the node admittance matrix within each calculation step (the time interval between each calculation) of the model, which leads to a slow calculation process and huge demand for computing resources; (2) The integration of large-scale battery cells leads to a sharp increase in the amount of calculation, so it is particularly necessary to perform fast equivalent mathematical modeling of battery embedding in the cascaded multi-level energy storage system.
[0062] In response to the above problems, the present application provides a modeling method for a cascaded multi-level energy storage system, in which electronic switching devices are reduced, and the simulation speed can be greatly improved while ensuring the simulation accuracy during the running solution process. The problems of slow simulation speed, high computing resource requirements, and inability to unify and equivalently model the battery system with the converter are solved. When the scale of the cascade modules of the energy storage system is large, the advantage of using this modeling method will be more obvious.
[0063] In order to facilitate the understanding of the modeling method of the cascaded multi-level energy storage system in the embodiment of the present application, the structure of the cascaded multi-level energy storage system is first introduced. Each phase of the converter in the system is composed of multiple power modules connected in series, wherein each power module is composed of a battery on the DC side, a buffer capacitor (DC side capacitor) on the H-bridge DC bus, and an H-bridge topology.
[0064] Figure 1 The flowchart of a modeling method of a cascade multi-level energy storage system provided according to some embodiments is exemplarily shown. The method includes S100-S300.
[0065] S100: Model the power module to obtain a single model.
[0066] In the embodiment of the present application, each phase in the converter is composed of multiple power modules connected in series. First, it is necessary to complete the equivalent modeling of a single power module and perform a split circuit equivalent analysis on the single power module. Figure 2A flowchart of another modeling method for a cascaded multi-level energy storage system provided according to some embodiments is exemplarily shown. In some embodiments, the step of modeling the power module includes S101-S102.
[0067] S101, dividing the power module into an H-bridge and an AC side part, as well as a battery and a DC side capacitor.
[0068] S102. Perform circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix, wherein the state equation is used to characterize the dynamic characteristics of charge and discharge of the power module, wherein the first state matrix includes a capacitor voltage Vc, a battery current Ibat, a first polarization voltage V1, and a second polarization voltage V2, and the second state matrix includes a DC current Idc and a battery open circuit voltage EMF (SOC) (Voc), wherein the battery open circuit voltage EMF (SOC) is related to SOC (State Of Charge), the remaining power).
[0069] In some embodiments, the step of performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix comprises:
[0070] The battery and the DC side capacitor are subjected to circuit equivalence using the superposition theorem and divided into a first loop and a second loop, wherein the first loop includes a circuit formed by the DC side capacitor and the first inductor, and the second loop includes a loop formed by the battery and the second inductor.
[0071] In the embodiment of the present application, according to the superposition theorem, when two voltage sources act, the circuit is equivalent to the superposition of the effects of the two voltage sources acting alone, so the DC side capacitor and the battery circuit can be Figure 3 The superposition of two independent circuits is equivalent, where the first circuit (circuit ①) is the circuit formed by the H-bridge DC side capacitor and the inductor Lm (the charging and discharging circuit of the capacitor), and the second circuit (circuit ②) is the circuit formed by the battery and the inductor Lm (the charging and discharging circuit of the battery). Figure 4 A schematic diagram of an overall circuit of a power module provided according to some embodiments is exemplarily shown.
[0072] According to the first loop and the second loop, a loop voltage equation of the battery current, a voltage equation of the DC side capacitor, a voltage equation of the first polarization voltage, and a voltage equation of the second polarization voltage are determined.
[0073] Specifically, in the embodiment of the present application, the battery current change is composed of three parts, the DC side capacitor branch current change, the H-bridge to the DC side charge and discharge current change and the battery body voltage change, the battery current change caused by the capacitor DC current change and the battery body voltage change is calculated:
[0074] For circuit ①, we have:
[0075]
[0076] For the two-stage circuit in circuit ②, the current change consists of three parts, namely the battery open circuit voltage EMF (soc) (also known as the battery internal potential, Voc), the cell internal resistance R0 voltage V0 and the first polarization voltage V1 and the second polarization voltage V2, as follows:
[0077]
[0078] From di1, di2 and battery current history I bat (t-dt) Write the loop voltage equation for the battery current: .
[0079] In some embodiments, the battery open circuit voltage, the cell internal resistance R0 voltage V0 (Ibat× R0), the first polarization voltage V1, and the second polarization voltage V2 in the loop voltage equation of the battery current can be determined in the process of determining the battery model port voltage V. In the embodiment of the present application, determining the battery model port voltage V can also be referred to as battery system equivalent modeling.
[0080] Specifically, the battery second-order model is used to calculate its port voltage. The port voltage and its equivalent electrical connection are as follows: Figure 5 As shown. Figure 5 middle, is the internal resistance of the battery cell (simplified = = ), is the first polarization resistance, is the second polarization resistance, is the first polarization capacitance, is the second polarization capacitance, and the internal potential is the open circuit voltage of the battery ( ), according to the circuit equation, we can get the following:
[0081]
[0082]
[0083] Calculate the polarization voltage of the battery according to the above formula:
[0084]
[0085] It can be seen that the DC side capacitor voltage is composed of the historical voltage and the current current, and its battery model port voltage V is calculated as: .
[0086] In the embodiment of the present application, the capacitor voltage is obtained by the historical capacitor voltage, the battery current, and the H-bridge DC side current. Determine and write the DC side capacitor voltage equation in combination with KCL (Kirchhoff's current law):
[0087]
[0088] In the embodiment of the present application, the voltage equation of the first polarization voltage V1 of the battery is written as:
[0089]
[0090]
[0091] In the embodiment of the present application, the voltage equation of the second polarization voltage V2 of the battery is written as:
[0092]
[0093] The loop voltage equation of the battery current, the voltage equation of the DC side capacitor, the voltage equation of the first polarization voltage, and the voltage equation of the second polarization voltage are used to determine the state equation, which includes a first state matrix X, a second state matrix U, a first initial coefficient matrix Ak, a second initial coefficient matrix Bk, and a history matrix I. The determined state equation realizes H-bridge equivalent modeling and equivalent modeling of a battery combined with an H-bridge circuit.
[0094] In the embodiment of the present application, the process of determining the state equation includes:
[0095] Write the state equation matrix, where the current voltage and current are composed of their own historical voltage and current values and other states. The state equation matrix X is recorded as:
[0096]
[0097] The initial state equation with capacitor voltage Vc, battery current Ibat, first polarization voltage V1 and second polarization voltage V2 as state quantities can fully characterize the charging and discharging dynamic characteristics of the module, and the calculated state equation matrix is:
[0098]
[0099] The above state equation matrix is organized into a standard form, and its matrix coefficients are refined to obtain the state equation, where X is the first state matrix, U is the second state matrix, Ak is the first initial system matrix, Bk is the second initial coefficient matrix, and I is the history matrix.
[0100]
[0101] The first of these It is expressed as:
[0102]
[0103] The second term is expressed as:
[0104]
[0105] The third term takes the historical voltage and current as the history matrix I:
[0106] .
[0107] The history matrix I is the value of each state quantity in the previous beat. For example, the history matrix of X contains the values of these four state quantities in the previous beat. Similarly, the matrix of this step is the history matrix of the next step. From the previous description, we can know that each state is related to the historical state. For example, the capacitor voltage is the sum of the voltage and the integral value of the current on the capacitor in the previous beat.
[0108] In some embodiments, the method further comprises: building a physical model according to the above-mentioned state equation.
[0109] When building a physical model, the mathematical equivalent model of AC and battery can be realized based on the above analysis. It should be noted that the energy equivalence and comprehensive modeling of the battery and H-bridge are completed above. In the state equation, it is actually the AC current flowing through the H-bridge into the capacitor. It has a coefficient k relationship with the AC current (K=1, -1, 0 under different working conditions will be mentioned later). It is an AC current itself, but it is marked as flowing through the capacitor. Therefore, the second term is actually the superposition of the energy relationship on the AC side, realizing the mathematical equivalent model of the AC measurement H-bridge and the battery.
[0110] The step of building a physical model according to the state equation includes:
[0111] According to the remaining power SOC of the battery, corresponding electrical parameters are searched from a pre-stored table, and the electrical parameters include a battery open circuit voltage EMF (SOC), a battery internal resistance, a first polarization resistor, a second polarization resistor, a first polarization capacitor, and a second polarization capacitor.
[0112] In some embodiments, the pre-stored table can be used to obtain the electrical parameters of the battery at different remaining capacities by performing multiple tests on the physical battery, or directly obtain the parameters according to the data in the battery manual.
[0113] According to the electrical parameters, the first initial coefficient matrix, the second initial coefficient matrix and the history matrix I in the state equation, as well as the first target parameter Mk are updated.
[0114] In the embodiment of the present application, the battery internal resistance, the first polarization resistance, the second polarization resistance, the first polarization capacitance and the second polarization capacitance in the first initial coefficient matrix and the second initial coefficient matrix can be determined according to the electrical parameters found, and the DC side capacitance Cm, the inductance Lm, Qn and n are constants respectively. Qn is the battery capacity (AH), n is the battery efficiency, and the first target parameter Mk=-n / Qn.
[0115] The values calculated by these table lookups will be operated in the synchronously updated state equations. The result of the operation is the change of the system state quantity, thereby changing the voltage, current, remaining power SOC, etc. in the next operation cycle, thus forming a closed loop of the system.
[0116] According to the first initial coefficient matrix AK and the second initial coefficient matrix Bk and the history matrix I in the updated state equation, as well as the first target parameter Mk, the first coefficient matrix A, the second coefficient matrix B and the second target parameter M are calculated.
[0117] In the embodiment of the present application, A=Ak×dt+I, B=Bk×dt, M=Mk×dt, Mk=-n / Qn, so the first coefficient matrix A, the second coefficient matrix B and the second target parameter M can be calculated.
[0118] The first target parameter Mk is used to calculate the remaining power SOC according to the rated capacity of the battery. As the charging and discharging proceeds, the power is calculated according to the integration of the battery current, and then the remaining power SOC calculation is completed. Specifically, the current integration is the changing power, and the ratio of the power to the rated capacity is the changing SOC. Only the battery current state and the initial remaining power SOCint of the battery are needed to update the new remaining power SOC.
[0119] The format of the first initial coefficient matrix Ak and the second initial coefficient matrix Bk in the state equation mentioned above is organized. This step has two significances: (1) When performing operations on different matrices, the matrix dimension requirements must be met in order to perform direct operations; (2) More importantly, the above-mentioned organization facilitates the implementation of the code. This equation still represents the overall energy relationship on the AC and DC sides, and there is no essential difference from the previous one. It is just that the organization makes it easier for the program to implement. The previous equation was explained in principle, and this equation is converted into a format that can be implemented in code.
[0120] S200, establish a switching power supply circuit (SPS), wherein the SPS circuit includes two controlled voltage sources, wherein one of the controlled voltage sources is connected in series with the switch in the power module in a forward direction, and the other controlled voltage source is connected in series with the switch in the power module in a reverse direction. In the embodiment of the present application, the switch in the power module can be all fully controlled switching devices, such as IGBT (insulated gate bipolar transistor), mosfet (metal-oxide-semiconductor field-effect transistor) or IGCT (integrated gate-commutated thyristor), etc.
[0121] In the embodiment of the present application, the external power output part, that is, the output of the inverter, is taken as the excited object, and its input is the output of the mathematical equivalent model. The mathematical equivalent model is a single model that completes the equivalent calculation of the entire power module, and its external excitation realizes digital and electrical decoupling. The power output is the output of the inverter, and the equivalent mathematical equivalent model will calculate two voltages. The calculated voltage excites the controlled voltage source to transfer the power of the inverter to the SPS circuit.
[0122] In the embodiment of the present application, the output result of a single model (mathematical equivalent model) is coupled with external electrical power through SPS modeling, by instantiating the result of the mathematical equivalent model into an SPS power source entity to complete the electrical connection and operation and realize the decoupling calculation of the whole system. For the mathematical equivalent model, the electrical quantity fluctuation of the SPS will affect the adjustment of the mathematical equivalent model, and the adjustment of the mathematical equivalent model will also stimulate the SPS model to produce corresponding electrical changes.
[0123] In the embodiment of the present application, the SPS circuit, such as Figure 6 As shown, switches such as IGBTs are equivalent to the parallel connection of absorption resistors and diodes, and the H-bridge circuit is equivalent to the series connection of a controlled voltage source and a diode. The output voltages of the upper and lower bridge arms are represented by a symmetrical structure, in which the series diodes of the upper and lower bridge arms are arranged in reverse. Vsp is the voltage of the upper bridge arm, and Vsn is the voltage of the lower bridge arm, which serves as the input to the controllable voltage source.
[0124] The system (including H-bridge, buffer capacitor, and battery) in the embodiment of the present application adopts an overall mathematical modeling approach, and its mathematical equivalent model has an external interface of the power grid. According to the operating characteristics, the energy storage device is equivalent to a forward and reverse series circuit of two controlled voltage sources and an equivalent switch, as follows Figure 7 shown.
[0125] In the embodiment of the present application, the method further comprises: measuring the alternating current Iac through the SPS circuit;
[0126] According to the AC current Iac, the on-resistance Ron of the switch, the capacitor voltage Vc, the control pulse g and the coefficient k related to the control pulse g, the upper bridge arm voltage VSP and the lower bridge arm voltage VSN corresponding to the power module are calculated.
[0127] The control pulse is the driving signal of the switch (such as IGBT), which is generated by the user's control system. The control pulse comes from the controller, and its source can be in various forms. (1) When an external controller is used, the real controller output communicates with the mathematical equivalent model to obtain the real prototype control pulse to drive the mathematical equivalent model. At this time, the external controller drives both the real physical system and the mathematical equivalent model at the same time, running in the form of a digital twin; (2) When the control system also adopts digital modeling, it can be modeled together with the mathematical equivalent model, and the driving signal is passed internally to the mathematical equivalent model. At this time, the program becomes an independent PC program; (3) The driving signal can also be obtained from the on-site fault recorder to restore and analyze on-site problems.
[0128] The control pulse g is the driving output of the controller. As described above, the drive can be driven by an external controller, or a control system can be built in the model, and its output is connected to the mathematical equivalent model through the control pulse g signal, thereby driving the entire mathematical equivalent model system. The value of the coefficient K is based on the combination of the control pulse g. Different driving combinations have different current directions generated by different tubes, and the coefficient k value is the calculation conversion factor between DC current and AC current.
[0129] Specifically, the driving voltage of the controlled voltage source is calculated using the control pulse, and the magnitude of its DC current is determined by the coefficient k. The specific calculation logic is:
[0130]
[0131] The coefficient k represents the relationship between the DC current and the AC current: Idc=k× Iac, and the second state matrix U is updated according to the DC current Idc and the battery open circuit voltage EMF (SOC).
[0132] In the embodiment of the present application, when the H-bridge in DC / AC is modeled, the switching devices such as IGBT are equivalent to the parallel connection of the absorption resistor and the diode, and the on-resistance Ron and the off-resistance Roff are set when the IGBT device is turned on / off. When Ron is a small value, the typical value is 1e-6Ω, and when Roff is a large value, the typical value is 1e6Ω.
[0133] In some embodiments, according to the AC current Iac (AC bridge arm current), the control pulse g, the battery open circuit voltage EMF (SOC), the on-resistance Ron of the switch, the SOC initial value SOCint, and the first coefficient matrix A, the second coefficient matrix B and the second target parameter M, the capacitor voltage Vc, the battery current Ibat, the first polarization voltage, the second polarization voltage and the remaining power soc of the battery are updated, that is, the first state matrix X and the remaining power soc are updated.
[0134] In the embodiment of the present application, the capacitor voltage Vc, the battery current Ibat, the first polarization voltage, and the second polarization voltage can be calculated according to the calculation method in the battery system equivalent modeling mentioned above. The remaining power SOC of the battery can be updated according to the following formula.
[0135]
[0136] Among them, A=Ak×dt+I, B=Bk×dt.
[0137] S300. According to the SPS circuit and the single model, a model of a cascaded multi-level energy storage system is obtained, wherein the driving voltage of the controlled voltage source is determined according to the control pulses corresponding to the multiple power modules, and the driving voltages of the two controlled voltage sources include an upper bridge arm voltage and a lower bridge arm voltage.
[0138] In the embodiment of the present application, when the digital modeling of a single power module is completed, that is, a single model is obtained, it is necessary to expand the modeling of the single power module to the modeling of n cascaded power modules to realize bridge arm modeling.
[0139] In some embodiments, the step of determining the driving voltage of the controlled voltage source according to the control pulses corresponding to the plurality of power modules comprises:
[0140] According to the control pulse corresponding to the power module, the upper bridge arm voltage and the lower bridge arm voltage corresponding to the power module are determined. The calculation process has been described above, specifically, the AC current Iac is measured by the SPS circuit; according to the AC current Iac, the on-resistance Ron of the switch, the capacitor voltage Vc, the control pulse g and the coefficient k related to the control pulse g, the upper bridge arm voltage VSP and the lower bridge arm voltage VSN corresponding to the power module are calculated.
[0141] All the upper bridge arm voltages are summed, and all the lower bridge arm voltages are summed to determine the upper bridge arm voltage and the lower bridge arm voltage in the driving voltage.
[0142] Exemplarily, a single model constructed using the above method is used for independent calculations. Taking a single-phase three-module system as an example, the output voltages are Vsp1, Vsn1, Vsp2, Vsn2, Vsp3, and Vsn3, respectively.
[0143] The phase bridge arm voltage output is equivalent to the series connection of multiple power module output voltages, that is, the bridge arm voltage is calculated by adding the positive and negative port voltages in this part.
[0144]
[0145]
[0146] The calculated bridge arm voltage drives the controllable voltage source in the SPS respectively, as shown in the schematic diagram Figure 8 shown.
[0147] In some embodiments, it also includes:
[0148] Using the upper bridge arm voltage and the lower bridge arm voltage in the driving voltage to update the alternating current Iac;
[0149] The joint solution of the mathematical equivalent model and the SPS model can be understood as solving the entire system after the energy storage system is connected to the external grid, and the bridge arm current (i.e., AC current Iac) can be calculated through this solution. This is the last step of the mathematical equivalent model, which is to describe how the control pulse affects the output voltage of the power module (or to build the energy relationship between the H bridge and the AC grid), and this output voltage will generate AC current together with the grid voltage in the SPS circuit.
[0150] The first state matrix is updated using the updated alternating current Iac.
[0151] As mentioned above, according to the AC current Iac (AC bridge arm current li), control pulse g, battery open circuit voltage EMF (SOC), switch on-resistance Ron, SOC initial value SOCint, and the first coefficient matrix A, the second coefficient matrix B and the second target parameter M, the capacitor voltage Vc, battery current Ibat, the first polarization voltage, the second polarization voltage and the remaining battery capacity soc are updated, that is, the first state matrix X and the remaining capacity soc are updated. At this time, the AC current Iac obtained by updating the upper bridge arm voltage and the lower bridge arm voltage corresponding to the multiple power modules is used to update the first state matrix.
[0152] In some embodiments, it also includes:
[0153] The updated AC current Iac is used to update the DC current Idc. Specifically, the update can be performed using Idc=k×Iac.
[0154] The second state matrix U is updated according to the updated direct current Idc.
[0155] As mentioned above, the second state matrix U is updated according to the DC current Idc and the battery open circuit voltage EMF (SOC). At this time, the AC current Iac obtained by updating the upper bridge arm voltage and the lower bridge arm voltage corresponding to the multiple power modules is used to update the second state matrix.
[0156] After calculating the upper bridge arm voltage vsp and lower bridge arm voltage vsn in the driving voltage, use this value to drive the controlled voltage source. At this time in the SPS circuit, the size of the grid-side voltage source and the controlled voltage source will determine the AC current of the next step, and the AC current will also affect the capacitance and battery charging of the next step, as well as the battery current and battery polarization voltage. Therefore, each state update will affect the current and voltage (i.e., state quantity) of the next calculation step of the system. The essence of the system is also to calculate the quantity of the next step by iteratively updating the small step state.
[0157] This modeling method combines the circuit of the converter H-bridge with the switch conduction mode to calculate its unified mathematical equivalent model under different switch combinations, and combines the battery characteristics to represent the battery with a second-order mathematical equivalent model. By combining the battery system with the converter H-bridge topology, the node voltage equation is used to calculate its unified state equation. This state equation can characterize the multi-modal operating characteristics of the model under different switch combinations. Due to the reduction of electronic switching devices, a large number of matrix inversion processes are avoided during the operation and solution process, and the simulation speed can be greatly improved while ensuring the simulation accuracy. At the same time, the equivalent mathematical equivalent model based on this method can be run in semi-physical simulators such as RT-LAB, ensuring its lightweight computing and real-time requirements.
[0158] For the DC (direct current) / DC+DC / AC (alternating current) two-stage conversion scheme, the DC / DC circuit can be appropriately equivalent under the method framework of the embodiment of the present application to solve the corresponding equivalent mathematical equivalent model under the DC / DC+DC / AC topology. Therefore, this method is also generally applicable in large-scale power electronic modeling.
[0159] The fast mathematical equivalent model of this method is applicable to the grid-connected / off-grid control, grid-following and grid-forming control strategies of energy storage systems.
[0160] Figure 9-Figure 15 The figure includes a waveform comparison between a model of a cascaded multi-level energy storage system built using the method in the embodiment of this application and a detailed conventional model built using a switch tube. The red part is the waveform generated by the digital analytical model using the method described in this article, and the blue part is the waveform generated by the detailed model built using simulink (a visual simulation tool in MATLAB). The comparison shows that the accuracy of the conclusions drawn using the method in the embodiment of this application is higher.
[0161] In order to realize the above functions, the modeling device of the cascade multi-level energy storage system includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed in this document, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0162] The present application also provides a method Fig.16 The modeling device of the cascade multi-level energy storage system shown includes: a modeling unit 1601 , a circuit establishment unit 1602 and a determination unit 1603 .
[0163] A modeling unit, used for modeling the power module to obtain a single model; wherein the step of modeling the power module comprises: dividing the power module into an H-bridge and an AC side part, as well as a battery and a DC side capacitor; performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix, wherein the state equation is used to characterize the charging and discharging dynamic characteristics of the power module, wherein the first state matrix includes capacitor voltage, battery current, first polarization voltage and second polarization voltage, and the second state matrix includes DC current and battery open circuit voltage;
[0164] Establishing a circuit unit, used for establishing an SPS circuit, wherein the SPS circuit includes two controlled voltage sources, wherein one of the controlled voltage sources is connected in forward series with a switch in a power module, and the other of the controlled voltage sources is connected in reverse series with a switch in the power module;
[0165] A determination unit is used to obtain a model of a cascaded multi-level energy storage system according to the SPS circuit and the single model, wherein the driving voltage of the controlled voltage source is determined according to the control pulses corresponding to the multiple power modules, and the driving voltage of the two controlled voltage sources includes an upper bridge arm voltage and a lower bridge arm voltage.
[0166] Regarding the device in the above embodiment, the specific manner in which each unit module performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0167] Fig.17 is a schematic diagram of a control device provided by this application. Fig.17The control device 60 may include at least one processor 601 and a memory 603 for storing processor executable instructions. The processor 601 is configured to execute instructions in the memory 603 to implement the modeling method of the cascade multi-level energy storage system in the following embodiments.
[0168] In addition, the control device 60 may further include a communication bus 602 , at least one communication interface 604 , an input device 606 , and an output device 605 .
[0169] The processor 601 may be a central processing unit (CPU), a microprocessing unit, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.
[0170] Communication bus 602 may include a pathway for transmitting information between the above-mentioned components.
[0171] The communication interface 604 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0172] The input device 606 is used to receive input signals and the output device 605 is used to output signals.
[0173] The memory 603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processing unit through a bus. The memory may also be integrated with the processing unit.
[0174] The memory 603 is used to store instructions for executing the solution of the present application, and the execution is controlled by the processor 601. The processor 601 is used to execute the instructions stored in the memory 603, so as to realize the functions in the method of the present application.
[0175] In a specific implementation, as an embodiment, the processor 601 may include one or more CPUs, such as Fig.17 CPU0 and CPU1 in.
[0176] In a specific implementation, as an embodiment, the control device 60 may include multiple processors, such as Fig.17 601 and processor 607 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0177] The control device is Fig.17 The system shown includes: a processor 601 and a memory 603 for storing executable instructions of the processor 601; wherein the processor 601 is configured to execute the executable instructions to implement a modeling method of a cascaded multi-level energy storage system as in any possible implementation method described above. And the same technical effect can be achieved, and to avoid repetition, it will not be repeated here.
[0178] The embodiment of the present application also provides a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by the processor of the control device or control equipment, the control device or control equipment can execute the modeling method of the cascade multi-level energy storage system as any possible implementation method described above. And the same technical effect can be achieved, to avoid repetition, it will not be repeated here.
[0179] The embodiment of the present application also provides a computer program product, including a computer program or instruction, which is executed by a processor to perform a modeling method of a cascaded multi-level energy storage system in any of the above possible implementations. And the same technical effect can be achieved, so it will not be repeated here to avoid repetition.
[0180] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0181] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A modeling method for a cascaded multi-level energy storage system, characterized in that: The system includes a power module, and the method includes: The power module is modeled to obtain a single model; wherein the step of modeling the power module includes: dividing the power module into an H-bridge and an AC side part, as well as a battery and a DC side capacitor; performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix, wherein the state equation is used to characterize the charging and discharging dynamic characteristics of the power module, wherein the first state matrix includes capacitor voltage, battery current, first polarization voltage and second polarization voltage, and the second state matrix includes DC current and battery open circuit voltage; wherein the step of performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix includes: dividing the battery and the DC side capacitor into The DC side capacitor is circuit equivalent using the superposition theorem and is divided into a first loop and a second loop, wherein the first loop includes a circuit formed by the DC side capacitor and the first inductor, and the second loop includes a loop formed by the battery and the second inductor; according to the first loop and the second loop, the loop voltage equation of the battery current, the voltage equation of the DC side capacitor, the voltage equation of the first polarization voltage, and the voltage equation of the second polarization voltage are determined; the loop voltage equation of the battery current, the voltage equation of the DC side capacitor, the voltage equation of the first polarization voltage, and the voltage equation of the second polarization voltage are used to determine the state equation, wherein the state equation includes a first state matrix, a second state matrix, a first initial coefficient matrix, a second initial coefficient matrix, and a history matrix; Establishing a switching power supply circuit, the switching power supply circuit comprising two controlled voltage sources, one of which is connected in forward series with a switch in a power module, and the other of which is connected in reverse series with a switch in the power module; According to the switching power supply circuit and the single model, a model of a cascaded multi-level energy storage system is obtained, wherein the driving voltage of the controlled voltage source is determined according to the control pulses corresponding to the multiple power modules, and the driving voltages of the two controlled voltage sources include an upper bridge arm voltage and a lower bridge arm voltage.
2. The method according to claim 1, characterized in that: Before establishing the switching power supply circuit, the method further includes: According to the state equation, a physical model is constructed; wherein the step of constructing the physical model according to the state equation comprises: According to the remaining power of the battery, searching corresponding electrical parameters from a pre-stored table, the electrical parameters including battery open circuit voltage, battery internal resistance, first polarization resistance, second polarization resistance, first polarization capacitance and second polarization capacitance; According to the electrical parameters, updating a first initial coefficient matrix, a second initial coefficient matrix and a history matrix, as well as a first target parameter in the state equation; The first coefficient matrix, the second coefficient matrix and the second target parameter are calculated according to the first initial coefficient matrix and the second initial coefficient matrix and the history matrix in the updated state equation, as well as the first target parameter.
3. The method according to claim 2, characterized in that The step of determining the driving voltage of the controlled voltage source according to the control pulses corresponding to the plurality of power modules comprises: Determine the upper bridge arm voltage and the lower bridge arm voltage corresponding to the power module according to the control pulse corresponding to the power module; All the upper bridge arm voltages are summed, and all the lower bridge arm voltages are summed to determine the upper bridge arm voltage and the lower bridge arm voltage in the driving voltage.
4. The method according to claim 3, characterized in that The step of determining the upper bridge arm voltage and the lower bridge arm voltage corresponding to the power module according to the control pulse corresponding to the power module comprises: An alternating current is measured through the switching power supply circuit; The upper bridge arm voltage and the lower bridge arm voltage corresponding to the power module are calculated according to the alternating current, the on-resistance of the switch, the capacitor voltage, the control pulse and the coefficient related to the control pulse.
5. The method according to claim 3, characterized in that: Also includes: Using the upper bridge arm voltage and the lower bridge arm voltage in the driving voltage to update the alternating current; The first state matrix is updated using the updated alternating current.
6. The method according to claim 5, characterized in that Also includes: updating the DC current using the updated AC current; The second state matrix is updated according to the updated direct current.
7. A modeling device for a cascaded multi-level energy storage system, characterized in that: include: A modeling unit is used to model the power module to obtain a single model; wherein the step of modeling the power module includes: dividing the power module into an H-bridge and an AC side part, as well as a battery and a DC side capacitor; performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including a first state matrix and a second state matrix, wherein the state equation is used to characterize the charging and discharging dynamic characteristics of the power module, wherein the first state matrix includes capacitor voltage, battery current, first polarization voltage and second polarization voltage, and the second state matrix includes DC current and battery open circuit voltage; wherein the step of performing circuit modeling on the battery and the DC side capacitor to obtain a state equation including the first state matrix and the second state matrix includes: dividing the battery The circuit is equivalent to the DC side capacitor by using the superposition theorem, and is divided into a first loop and a second loop, wherein the first loop includes a circuit formed by the DC side capacitor and the first inductor, and the second loop includes a loop formed by the battery and the second inductor; according to the first loop and the second loop, a loop voltage equation of the battery current, a voltage equation of the DC side capacitor, a voltage equation of the first polarization voltage, and a voltage equation of the second polarization voltage are determined; using the loop voltage equation of the battery current, the voltage equation of the DC side capacitor, the voltage equation of the first polarization voltage, and the voltage equation of the second polarization voltage, a state equation is determined, wherein the state equation includes a first state matrix, a second state matrix, a first initial coefficient matrix, a second initial coefficient matrix, and a history matrix; Establishing a circuit unit for establishing a switching power supply circuit, wherein the switching power supply circuit includes two controlled voltage sources, wherein one of the controlled voltage sources is connected in forward series with a switch in a power module, and the other of the controlled voltage sources is connected in reverse series with a switch in the power module; A determination unit is used to obtain a model of a cascaded multi-level energy storage system according to the switching power supply circuit and the single model, wherein the driving voltage of the controlled voltage source is determined according to the control pulses corresponding to the multiple power modules, and the driving voltages of the two controlled voltage sources include an upper bridge arm voltage and a lower bridge arm voltage.
8. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
9. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
