Off-grid control method of energy storage system, control device and energy storage system

By employing a first current sharing control loop, a zero-sequence current loop, and a bus midpoint control loop in the energy storage system, the problems of uneven current and zero-sequence circulating current in the AC/DC parallel off-grid mode are solved, current sharing and synchronization among PCS are achieved, and the system performance and stability are improved.

CN115833222BActive Publication Date: 2026-11-27XIAMEN KEHUA DIGITAL ENERGY TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211380798.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-04
Publication Date
2026-11-27
Estimated Expiration
2042-11-04

AI Technical Summary

Technical Problem

Energy storage systems in AC/DC parallel off-grid mode suffer from uneven current and zero-sequence circulating current problems, which affect system performance.

Method used

A control method based on the first current sharing control loop, the zero-sequence current loop, and the bus midpoint control loop is adopted to obtain the voltage and current setpoints of each PCS, generate the target waveform, and perform control. Synchronization and current sharing among PCS are achieved through a carrier synchronization CAN network to suppress zero-sequence circulating current.

Benefits of technology

It achieves current sharing control and zero-sequence circulating current suppression in AC/DC parallel off-grid mode, improving the performance and stability of the energy storage system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115833222B_ABST
    Figure CN115833222B_ABST
Patent Text Reader

Abstract

The application provides an off-grid control method of an energy storage system, a control device and the energy storage system. The method comprises the following steps: when the energy storage system works in an AC-DC parallel off-grid mode, based on a first current-sharing control loop, obtaining a first positive sequence voltage amplitude given value, a first positive sequence phase given value, a first D-axis negative sequence voltage given value and a first Q-axis negative sequence voltage given value of a local machine; determining a first D-axis target control quantity and a first Q-axis target control quantity according to the obtained given values, a voltage outer loop and a current inner loop; determining a first zero-axis target control quantity based on a zero sequence current loop; determining a first midpoint target control quantity of the local machine based on a bus midpoint control loop; generating a first target waveform according to the first D-axis target control quantity, the first Q-axis target control quantity, the first zero-axis target control quantity and the first midpoint target control quantity, and controlling the local machine according to the first target waveform. The application can solve the problems of uneven current sharing and zero sequence circulating current.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of off-grid control technology, and in particular to an off-grid control method, control device and energy storage system for an energy storage system. Background Technology

[0002] A power conversion system (PCS) controls the charging and discharging process of energy storage batteries, converting AC to DC power. It can directly supply power to AC loads in the absence of a power grid. An energy storage system can include at least two PCSs. In off-grid mode, the system can operate in multiple modes. However, when operating in AC / DC parallel off-grid mode, the parallel connection of both the AC and DC sides of the PCS may lead to uneven current distribution and zero-sequence circulating current issues, thus affecting the system's performance. Summary of the Invention

[0003] This invention provides an off-grid control method, control device, and energy storage system for energy storage systems, in order to solve the problems of uneven current and zero-sequence circulating current when the energy storage system operates in AC / DC parallel off-grid mode.

[0004] In a first aspect, embodiments of the present invention provide an off-grid control method for an energy storage system, the energy storage system including at least two energy storage converters (PCS), the off-grid control method for the energy storage system including:

[0005] When the energy storage system operates in AC / DC parallel off-grid mode, the first positive sequence voltage amplitude setpoint, the first positive sequence phase setpoint, the first D-axis negative sequence voltage setpoint, and the first Q-axis negative sequence voltage setpoint are obtained based on the first current sharing control loop. In AC / DC parallel off-grid mode, the AC side of each PCS is connected in parallel, and the DC side of each PCS is connected in parallel. The unit is any PCS in operation.

[0006] Based on the first positive sequence voltage amplitude setpoint, the first positive sequence phase setpoint, the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, the voltage outer loop, and the current inner loop, determine the first D-axis target control quantity and the first Q-axis target control quantity;

[0007] The first zero-axis target control quantity is determined based on the zero-sequence current loop;

[0008] Based on the bus midpoint control loop, the first midpoint target control quantity of the master is determined; in the energy storage system, one PCS in the working state is the master, and the other PCS in the working state are slaves.

[0009] A first target waveform is generated based on the first D-axis target control value, the first Q-axis target control value, the first zero-axis target control value, and the first midpoint target control value, and the machine is controlled based on the first target waveform.

[0010] In one possible implementation, the first zero-axis target control quantity is determined based on the zero-sequence current loop, including:

[0011] Obtain the zero-sequence current sample value of the local machine;

[0012] Calculate the difference between the 0 and zero-sequence current sample values, and denote it as the first difference;

[0013] The first difference is input into the first preset controller to obtain the zero-sequence control quantity;

[0014] The zero-sequence control quantity is normalized to obtain the first zero-axis target control quantity.

[0015] In one possible implementation, based on the first current sharing control loop, the first positive-sequence voltage amplitude setpoint, the first positive-sequence phase setpoint, the first D-axis negative-sequence voltage setpoint, and the first Q-axis negative-sequence voltage setpoint are obtained, including:

[0016] Obtain the positive sequence active current value, positive sequence reactive current value, negative sequence active current value, and negative sequence reactive current value of this machine;

[0017] Obtain the average positive-sequence active current, average positive-sequence reactive current, average negative-sequence active current, and average negative-sequence reactive current of the energy storage system.

[0018] Calculate the difference between the positive sequence active current value and the average positive sequence active current value, and record it as the second difference. Based on the second difference, determine the first positive sequence phase setpoint.

[0019] Calculate the difference between the positive sequence reactive current value and the average positive sequence reactive current value, and record it as the third difference. Based on the third difference, determine the first positive sequence voltage amplitude setpoint.

[0020] Calculate the difference between the average value of the negative sequence active current and the value of the negative sequence active current, and record it as the fourth difference. Based on the fourth difference, determine the first Q-axis negative sequence voltage setpoint.

[0021] Calculate the difference between the average value of the negative sequence reactive current and the value of the negative sequence reactive current, and record it as the fifth difference. Based on the fifth difference, determine the first D-axis negative sequence voltage setpoint.

[0022] In one possible implementation, the first D-axis target control quantity and the first Q-axis target control quantity are determined based on the first positive-sequence voltage amplitude setpoint, the first positive-sequence phase setpoint, the first D-axis negative-sequence voltage setpoint, the first Q-axis negative-sequence voltage setpoint, the voltage outer loop, and the current inner loop, including:

[0023] Based on the first positive sequence voltage amplitude setpoint and the first positive sequence phase setpoint, the first D-axis positive sequence voltage setpoint and the first Q-axis positive sequence voltage setpoint of the machine are generated;

[0024] Based on the voltage DC component loop and the current DC component loop, determine the D-axis DC component control quantity and the Q-axis DC component control quantity of the machine.

[0025] Obtain the positive sequence voltage sampling values ​​of the D-axis and Q-axis of this machine;

[0026] The first D-axis positive sequence current control quantity is determined based on the first D-axis positive sequence voltage setpoint, the D-axis DC component control quantity, the D-axis positive sequence voltage sample value, and the D-axis voltage loop.

[0027] The first Q-axis positive sequence current control quantity is determined based on the first Q-axis positive sequence voltage setpoint, the Q-axis DC component control quantity, the Q-axis positive sequence voltage sample value, and the Q-axis voltage loop.

[0028] Based on the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, and the negative sequence control loop, determine the second D-axis positive sequence current control quantity and the second Q-axis positive sequence current control quantity;

[0029] Obtain the three-phase current sampling values ​​of the machine, and determine the D-axis positive sequence current sampling value, Q-axis positive sequence current sampling value, third D-axis positive sequence current control value, and third Q-axis positive sequence current control value based on the three-phase current sampling values;

[0030] The first D-axis target control quantity is determined based on the first D-axis positive sequence current control quantity, the second D-axis positive sequence current control quantity, the third D-axis positive sequence current control quantity, the D-axis positive sequence current sampling value, the D-axis positive sequence voltage sampling value, and the D-axis current loop.

[0031] The first Q-axis target control quantity is determined based on the first Q-axis positive sequence current control quantity, the second Q-axis positive sequence current control quantity, the third Q-axis positive sequence current control quantity, the Q-axis positive sequence current sample value, the Q-axis positive sequence voltage sample value, and the Q-axis current loop.

[0032] In one possible implementation, in AC / DC parallel off-grid mode, the bus midpoints of the individual PCSs of the energy storage system are connected.

[0033] In one possible implementation, when the energy storage system operates in AC / DC parallel off-grid mode, the off-grid control method for the energy storage system also includes:

[0034] The carrier synchronization CAN network is used to control the carrier synchronization of each PCS in the energy storage system.

[0035] In one possible implementation, the off-grid control method for the energy storage system also includes:

[0036] When the energy storage system operates in VSG parallel off-grid mode, the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, and the second Q-axis negative sequence voltage setpoint are obtained based on the second current sharing control loop. In VSG parallel off-grid mode, the AC side of each PCS is connected in parallel, and the DC side of each PCS is independent of each other.

[0037] Based on the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, the second Q-axis negative sequence voltage setpoint, the voltage outer loop, and the current inner loop, determine the second D-axis target control quantity and the second Q-axis target control quantity;

[0038] Based on the zero-sequence current loop, determine the target control quantity for the second zero axis;

[0039] Based on the bus midpoint control loop, determine the second midpoint target control quantity of the machine;

[0040] A second target waveform is generated based on the second D-axis target control value, the second Q-axis target control value, the second zero-axis target control value, and the second midpoint target control value, and the machine is controlled based on the second target waveform.

[0041] In one possible implementation, the off-grid control method for the energy storage system also includes:

[0042] When the energy storage system operates in stand-alone off-grid mode, it acquires the third positive sequence voltage amplitude setpoint, the third positive sequence phase setpoint, the third D-axis negative sequence voltage setpoint, and the third Q-axis negative sequence voltage setpoint of the unit. In stand-alone off-grid mode, only a single PCS is in operation, and the unit is that single PCS.

[0043] Based on the repetitive control loop, determine the fourth D-axis positive sequence current control quantity and the fourth Q-axis positive sequence current control quantity;

[0044] Based on the third positive sequence voltage amplitude setpoint, the third positive sequence phase setpoint, the third D-axis negative sequence voltage setpoint, the third Q-axis negative sequence voltage setpoint, the fourth D-axis positive sequence current control quantity, the fourth Q-axis positive sequence current control quantity, the voltage outer loop, and the current inner loop, determine the third D-axis target control quantity and the third Q-axis target control quantity.

[0045] Based on the bus midpoint control loop, determine the target control quantity of the third midpoint of the host machine; the host machine is the local machine.

[0046] The third target waveform is generated based on the third D-axis target control value, the third Q-axis target control value, and the third midpoint target control value, and the machine is controlled based on the third target waveform.

[0047] In a second aspect, embodiments of the present invention provide a control device, including a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the off-grid control method of the energy storage system as described in the first aspect or any possible implementation thereof.

[0048] Thirdly, embodiments of the present invention provide an energy storage system, including at least two PCSs and a control device as claimed in claim 9; the PCSs are controlled by the control device;

[0049] The control equipment is used to enable the energy storage system to operate in AC / DC parallel off-grid mode when it is in an off-grid state by controlling the AC sides of each PCS in the energy storage system to be connected in parallel and the DC sides of each PCS in the energy storage system to be connected in parallel; to enable the energy storage system to operate in VSG parallel off-grid mode by controlling the AC sides of each PCS in the energy storage system to be connected in parallel and the DC sides of each PCS in the energy storage system to be independent; and to enable the energy storage system to operate in stand-alone off-grid mode by controlling only a single PCS in the energy storage system to be in an active state.

[0050] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the off-grid control method for an energy storage system as described in the first aspect or any possible implementation thereof.

[0051] This invention provides an off-grid control method, control device, and energy storage system for an energy storage system. When the energy storage system operates in AC / DC parallel off-grid mode, a first positive-sequence voltage amplitude setpoint, a first positive-sequence phase setpoint, a first D-axis negative-sequence voltage setpoint, and a first Q-axis negative-sequence voltage setpoint are obtained through a first current sharing control loop. Based on these values, the system is controlled to achieve current sharing control. Furthermore, a bus midpoint control loop enables the slave device to follow the master device's control input, and a zero-sequence current loop is added to suppress zero-sequence circulating current. Attached Figure Description

[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0053] Figure 1This is a schematic diagram of the energy storage system provided in an embodiment of the present invention;

[0054] Figure 2 This is a flowchart illustrating the implementation of the off-grid control method for an energy storage system provided in this embodiment of the invention.

[0055] Figure 3 This is a schematic diagram of carrier synchronization provided in an embodiment of the present invention;

[0056] Figure 4 This is a schematic diagram of the off-grid control device of the energy storage system provided in an embodiment of the present invention;

[0057] Figure 5 This is a schematic diagram of the control device provided in an embodiment of the present invention. Detailed Implementation

[0058] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.

[0059] To make the objectives, technical solutions, and advantages of the present invention clearer, specific embodiments will be described below in conjunction with the accompanying drawings.

[0060] See Figure 1 The diagram illustrates a structural schematic of an energy storage system provided in an embodiment of the present invention. This energy storage system may include at least two power conversion systems (PCS), with the DC side of each PCS used to connect to a battery and the AC side used to connect to a load or the power grid via a transformer. Figure 1 This includes multiple switches (e.g., switching transistors or relays) K1, K2, K3, K4, K5, and K6 (for... Figure 1 The PCS (which is omitted in the text) also has corresponding switches, etc. By controlling each switch, the energy storage system can operate in different modes.

[0061] In off-grid operation, energy storage systems can include three operating modes: AC / DC parallel off-grid mode, VSG (Virtual Synchronous Generator) parallel off-grid mode, and stand-alone off-grid mode. In AC / DC parallel off-grid mode, AC and DC sides are connected in parallel via wired connection. Communication between PCS (Power Control System Units) is required to achieve phase synchronization, current sharing, and zero-sequence circulating current suppression. In VSG parallel off-grid mode, the DC sides are independent, while the AC sides are connected in parallel wirelessly. Communication between PCS is not required; current sharing is achieved through the VSG algorithm. In stand-alone off-grid mode, a traditional voltage outer loop + current inner loop control method is used. In this mode, parallel synchronization and current sharing are not required.

[0062] See Figure 1 When switches K1, K2, K3, K5, and K6 are closed, and switch K4 is open, the energy storage system operates in AC / DC parallel off-grid mode. In this mode, the AC and DC sides of the energy storage system are connected in parallel, and the midpoints of the busbars of each PCS are connected together. When switches K2, K4, K5, and K6 are closed, and switches K1 and K3 are open, the energy storage system operates in VSG parallel off-grid mode. In this mode, the AC sides of each PCS are connected in parallel, while the DC sides are independent and each is connected to its corresponding battery. When K2 and K5 are closed, and K1, K3, K4, and K6 are open, or when K4 and K6 are closed, and K1, K2, K3, and K5 are open, the energy storage system operates in single-unit off-grid mode. In this mode, only one PCS operates, and the other PCS are not connected to the system.

[0063] See Figure 2 This document illustrates a flowchart of the off-grid control method for an energy storage system provided in an embodiment of the present invention. The execution entity of the off-grid control method can be a control device. The energy storage system includes at least two PCS (Power Control System Units). The off-grid control method is used to control each energy storage converter in the energy storage system. That is, the control device can control each energy storage converter in the energy storage system through this control method to achieve current sharing and suppression of zero-sequence circulating current in AC / DC parallel off-grid mode. The number of energy storage converters in the energy storage system can be set according to actual needs and is not specifically limited.

[0064] The method is described in detail below:

[0065] In S101, when the energy storage system is operating in AC / DC parallel off-grid mode, the first positive sequence voltage amplitude setpoint, the first positive sequence phase setpoint, the first D-axis negative sequence voltage setpoint, and the first Q-axis negative sequence voltage setpoint are obtained based on the first current sharing control loop. In AC / DC parallel off-grid mode, the AC side of each PCS is connected in parallel, and the DC side of each PCS is connected in parallel. The device is any PCS in operation.

[0066] Among them, the PCS in working state refers to the PCS connected to the energy storage system in the current working mode, that is, the PCS that is connected to the battery and transformer.

[0067] When the energy storage system operates in AC / DC parallel off-grid mode, in order to achieve current sharing among PCS, the first positive sequence voltage amplitude setpoint, first positive sequence phase setpoint, first D-axis negative sequence voltage setpoint, and first Q-axis negative sequence voltage setpoint can be obtained through the first current sharing control loop. Based on the obtained first positive sequence voltage amplitude setpoint, first positive sequence phase setpoint, first D-axis negative sequence voltage setpoint, and first Q-axis negative sequence voltage setpoint, voltage outer loop and current inner loop control can be performed to achieve the purpose of current sharing.

[0068] In this embodiment, each PCS in operation of the energy storage system can be used as a local unit to control each PCS.

[0069] In S102, the first D-axis target control quantity and the first Q-axis target control quantity are determined based on the first positive sequence voltage amplitude setpoint, the first positive sequence phase setpoint, the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, the voltage outer loop, and the current inner loop.

[0070] The energy storage system in this embodiment is a three-phase system without a neutral wire. In the DQ axis coordinate system, it adopts a dual-loop control method consisting of an outer voltage loop and an inner current loop. Through the control of the outer voltage loop and the inner current loop, the first target control quantity on the D axis and the first target control quantity on the Q axis can be obtained.

[0071] In S103, the first zero-axis target control quantity is determined based on the zero-sequence current loop.

[0072] By adding a zero-sequence current loop to suppress zero-sequence circulating current, the first zero-axis target control quantity can be obtained through the zero-sequence current loop in AC / DC parallel off-grid mode.

[0073] In S104, the first midpoint target control quantity of the master is determined based on the bus midpoint control loop; in the energy storage system, one PCS in operation is the master, and the other PCS in operation are slaves.

[0074] When the energy storage system operates in AC / DC parallel off-grid mode, one PCS is the master unit and the others are slave units. In this mode, in order to suppress zero-sequence circulating current, the bus midpoint voltage of the slave units needs to be uniformly controlled by the master unit. That is, the bus midpoint voltage of the master unit and each slave unit is uniformly controlled by the first midpoint target control quantity of the master unit.

[0075] The PCS can communicate with each other via the CAN bus, and the master can send the first midpoint target control quantity to each slave via the CAN bus.

[0076] In some possible implementations, the above-mentioned determination of the first midpoint target control quantity of the host based on the bus midpoint control loop may include:

[0077] Obtain the pressure difference between the positive and negative busbars of the host, and calculate the difference between 0 and this pressure difference to obtain the midpoint difference value;

[0078] Input the midpoint difference into the preset midpoint controller to obtain the value of the first midpoint target control quantity;

[0079] Obtain the predetermined host modulation voltage and host inductor current;

[0080] The sign of the control quantity obtained by multiplying the host modulation voltage by the inductor current is used as the sign of the first midpoint target control quantity.

[0081] The first midpoint target control quantity is obtained based on the value and sign of the first midpoint target control quantity.

[0082] The host modulation voltage can be determined based on the host's first D-axis target control value, the host's first Q-axis target control value, and the host's first zero-axis target control value.

[0083] In S105, a first target waveform is generated based on the first D-axis target control quantity, the first Q-axis target control quantity, the first zero-axis target control quantity, and the first midpoint target control quantity, and the machine is controlled based on the first target waveform.

[0084] The first D-axis target control quantity, the first Q-axis target control quantity, and the first zero-axis target control quantity are the control components of the D-axis, Q-axis, and 0-axis in the DQ coordinate system of the AC / DC parallel off-grid mode, respectively. The first midpoint target control quantity is the bus midpoint voltage control quantity of the AC / DC parallel off-grid mode.

[0085] The first D-axis target control quantity, the first Q-axis target control quantity, and the first zero-axis target control quantity can be transformed into the abc coordinate system to obtain the three-phase control quantity after coordinate transformation. The first midpoint target control quantity can be used as the zero-sequence component and superimposed on each of the three-phase control quantities to obtain the final three-phase control quantity. Then, the first target waveform is obtained by using the SVPWM space vector modulation method, and the machine is controlled according to the first target waveform, specifically the IGBT of the machine.

[0086] In this embodiment, when the energy storage system operates in AC / DC parallel off-grid mode, the first positive-sequence voltage amplitude setpoint, the first positive-sequence phase setpoint, the first D-axis negative-sequence voltage setpoint, and the first Q-axis negative-sequence voltage setpoint are obtained through the first current sharing control loop. Based on these setpoints, the system is controlled to achieve current sharing control. In addition, the bus midpoint control loop enables the slave device to follow the control input of the master device, and the addition of a zero-sequence current loop can suppress zero-sequence circulating current.

[0087] In some embodiments, S103 may include:

[0088] Obtain the zero-sequence current sample value of the local machine;

[0089] Calculate the difference between the 0 and zero-sequence current sample values, and denote it as the first difference;

[0090] The first difference is input into the first preset controller to obtain the zero-sequence control quantity;

[0091] The zero-sequence control quantity is normalized to obtain the first zero-axis target control quantity.

[0092] Under normal circumstances, the zero-sequence current is 0. Therefore, in this embodiment, 0 is compared with the zero-sequence current sampling value of the machine, that is, 0 is subtracted from the zero-sequence current sampling value to obtain the first difference. Then, the first difference is preset and controlled to obtain the zero-sequence control quantity, and the first zero-axis target control quantity is obtained based on the zero-sequence control quantity.

[0093] The relevant parameters in the first preset controller are pre-set and can be either a PI (proportional integral) controller or a P (proportional) controller, etc., which can be set according to actual needs. The normalization process can be performed by dividing the zero-sequence control quantity by the bus voltage setpoint of the machine to obtain the first zero-axis target control quantity.

[0094] In some embodiments, S101 may include:

[0095] Obtain the positive sequence active current value, positive sequence reactive current value, negative sequence active current value, and negative sequence reactive current value of this machine;

[0096] Obtain the average positive-sequence active current, average positive-sequence reactive current, average negative-sequence active current, and average negative-sequence reactive current of the energy storage system.

[0097] Calculate the difference between the positive sequence active current value and the average positive sequence active current value, and record it as the second difference. Then, determine the first positive sequence phase setpoint based on the second difference.

[0098] Calculate the difference between the positive sequence reactive current value and the average positive sequence reactive current value, and record it as the third difference. Based on the third difference, determine the first positive sequence voltage amplitude setpoint.

[0099] Calculate the difference between the average value of the negative sequence active current and the value of the negative sequence active current, and record it as the fourth difference. Based on the fourth difference, determine the first Q-axis negative sequence voltage setpoint.

[0100] Calculate the difference between the average value of the negative sequence reactive current and the value of the negative sequence reactive current, and record it as the fifth difference. Based on the fifth difference, determine the first D-axis negative sequence voltage setpoint.

[0101] In this embodiment, under the AC / DC parallel off-grid mode, to achieve better current sharing among PCSs, each PCS can broadcast its positive-sequence active current, positive-sequence reactive current, negative-sequence active current, and negative-sequence reactive current values ​​in its own DQ coordinate system via the CAN bus. Each PCS collects current information from other PCSs and calculates the average current based on the number of PCSs, thus obtaining the average positive-sequence active current, average positive-sequence reactive current, average negative-sequence active current, and average negative-sequence reactive current of the energy storage system.

[0102] For this machine, the difference between the average value of the machine current and the system current is calculated. This difference is used as the input of the preset controller, and the output result is superimposed on the setpoint and phase of the AC voltage loop, thereby realizing the current sharing control between PCS.

[0103] Among them, the positive sequence active current value, positive sequence reactive current value, negative sequence active current value, and negative sequence reactive current value are all actual sampled values.

[0104] The difference between the calculated positive-sequence active current value and the average positive-sequence active current value is denoted as the second difference. Based on this second difference, the first positive-sequence phase setpoint can be determined, which may include:

[0105] The second difference is obtained by subtracting the average value of the positive sequence active current from the positive sequence active current value.

[0106] The second difference value is input into the second preset controller to obtain the phase difference value;

[0107] The first positive sequence phase value is obtained based on the phase difference.

[0108] The first positive-sequence phase setpoint is obtained based on the phase difference. This can include subtracting the phase difference from a preset phase value to obtain the first positive-sequence phase setpoint. The preset phase value can be any given value for the phase and can be set according to actual needs; no specific restrictions are imposed here.

[0109] Calculate the difference between the positive-sequence reactive current value and the average positive-sequence reactive current value, denoted as the third difference, and determine the first positive-sequence voltage amplitude setpoint based on the third difference. This may include:

[0110] The third difference is obtained by subtracting the average value of the positive sequence reactive current from the positive sequence reactive current value.

[0111] The third difference value is input into the third preset controller to obtain the voltage difference value;

[0112] The first positive sequence voltage amplitude is given based on the voltage difference.

[0113] The first positive sequence voltage amplitude setpoint is obtained based on the voltage difference. This can include subtracting the voltage difference from a preset voltage amplitude to obtain the first positive sequence voltage amplitude setpoint. The preset voltage amplitude can be a setpoint value for the voltage amplitude and can be set according to actual needs; no specific restrictions are imposed here.

[0114] Calculate the difference between the average negative-sequence active current and the negative-sequence active current value, denoted as the fourth difference, and determine the first Q-axis negative-sequence voltage setpoint based on the fourth difference. This may include:

[0115] Subtracting the negative sequence active current value from the average negative sequence active current value yields the fourth difference.

[0116] The fourth difference is input into the fourth preset controller to obtain the first Q-axis negative sequence voltage setpoint.

[0117] Calculate the difference between the average negative-sequence reactive current and the negative-sequence reactive current value, denoted as the fifth difference, and determine the first D-axis negative-sequence voltage setpoint based on the fifth difference. This may include:

[0118] Subtracting the negative sequence reactive current value from the average negative sequence reactive current value yields the fifth difference.

[0119] The fifth difference is input into the fifth preset controller to obtain the first D-axis negative sequence voltage setpoint.

[0120] The relevant parameters of the second, third, fourth, and fifth preset controllers have been pre-set. They can be PI controllers or P controllers, etc., and can be set according to actual needs.

[0121] In some embodiments, S102 may include:

[0122] Based on the first positive sequence voltage amplitude setpoint and the first positive sequence phase setpoint, the first D-axis positive sequence voltage setpoint and the first Q-axis positive sequence voltage setpoint of the machine are generated;

[0123] Based on the voltage DC component loop and the current DC component loop, determine the D-axis DC component control quantity and the Q-axis DC component control quantity of the machine.

[0124] Obtain the positive sequence voltage sampling values ​​of the D-axis and Q-axis of this machine;

[0125] The first D-axis positive sequence current control quantity is determined based on the first D-axis positive sequence voltage setpoint, the D-axis DC component control quantity, the D-axis positive sequence voltage sample value, and the D-axis voltage loop.

[0126] The first Q-axis positive sequence current control quantity is determined based on the first Q-axis positive sequence voltage setpoint, the Q-axis DC component control quantity, the Q-axis positive sequence voltage sample value, and the Q-axis voltage loop.

[0127] Based on the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, and the negative sequence control loop, determine the second D-axis positive sequence current control quantity and the second Q-axis positive sequence current control quantity;

[0128] Obtain the three-phase current sampling values ​​of the machine, and determine the D-axis positive sequence current sampling value, Q-axis positive sequence current sampling value, third D-axis positive sequence current control value, and third Q-axis positive sequence current control value based on the three-phase current sampling values;

[0129] The first D-axis target control quantity is determined based on the first D-axis positive sequence current control quantity, the second D-axis positive sequence current control quantity, the third D-axis positive sequence current control quantity, the D-axis positive sequence current sampling value, the D-axis positive sequence voltage sampling value, and the D-axis current loop.

[0130] The first Q-axis target control quantity is determined based on the first Q-axis positive sequence current control quantity, the second Q-axis positive sequence current control quantity, the third Q-axis positive sequence current control quantity, the Q-axis positive sequence current sample value, the Q-axis positive sequence voltage sample value, and the Q-axis current loop.

[0131] In this embodiment, the outer voltage loop may include a D-axis voltage loop and a Q-axis voltage loop. The inner current loop may include a D-axis current loop and a Q-axis current loop.

[0132] The above-mentioned generation of the first D-axis positive-sequence voltage setpoint and the first Q-axis positive-sequence voltage setpoint based on the first positive-sequence voltage amplitude setpoint and the first positive-sequence phase setpoint may include:

[0133] The first positive sequence voltage setpoint is generated based on the first positive sequence voltage amplitude setpoint and the first positive sequence phase setpoint.

[0134] The first positive sequence voltage setpoint is transformed into DQ coordinates to obtain the first D-axis positive sequence voltage setpoint and the first Q-axis positive sequence voltage setpoint of the machine.

[0135] The above-mentioned determination of the D-axis DC component control quantity and Q-axis DC component control quantity of the machine based on the voltage DC component loop and the current DC component loop may include:

[0136] Obtain the DC voltage setpoint, DC voltage sample value, DC current setpoint, and DC current sample value of the machine;

[0137] Based on the DC voltage setpoint, DC voltage sample value, voltage DC component loop, DC current setpoint, DC current sample value, and current DC component loop, determine the D-axis DC component control quantity and the Q-axis DC component control quantity.

[0138] The above-mentioned determination of the D-axis DC component control quantity and Q-axis DC component control quantity based on the DC voltage setpoint, DC voltage sample value, voltage DC component loop, DC current setpoint, DC current sample value, and current DC component loop may include:

[0139] Calculate the difference between the DC voltage setpoint and the DC voltage sample value, record it as the sixth difference, and input the sixth difference into the sixth preset controller to obtain the output of the DC voltage component loop;

[0140] Calculate the difference between the DC current setpoint and the DC current sample value, record it as the seventh difference, and input the seventh difference into the seventh preset controller to obtain the output of the DC component loop of the current.

[0141] The output quantities of the voltage DC component loop and the current DC component loop are transformed by dq coordinates to obtain the D-axis DC component control quantity and the Q-axis DC component control quantity.

[0142] The relevant parameters in the sixth and seventh preset controllers have been pre-set and can be PI controllers or P controllers, etc., which can be set according to actual needs.

[0143] The acquisition of the positive sequence voltage sampling values ​​of the D-axis and Q-axis of the machine can include:

[0144] Obtain the three-phase positive sequence voltage sampling values ​​of the inverter voltage of the machine, and perform DQ coordinate transformation on the three-phase positive sequence voltage sampling values ​​to obtain the D-axis positive sequence voltage sampling values ​​and the Q-axis positive sequence voltage sampling values.

[0145] The above determination of the first D-axis positive sequence current control quantity based on the first D-axis positive sequence voltage setpoint, the D-axis DC component control quantity, the D-axis positive sequence voltage sample value, and the D-axis voltage loop may include:

[0146] The sum of the first D-axis positive sequence voltage setpoint plus the D-axis DC component control quantity and the D-axis positive sequence voltage sample value is subtracted to obtain the eighth difference value. The eighth difference value is then input into the eighth preset controller to obtain the first D-axis positive sequence current control quantity.

[0147] The above determination of the first Q-axis positive sequence current control quantity based on the first Q-axis positive sequence voltage setpoint, the Q-axis DC component control quantity, the Q-axis positive sequence voltage sample value, and the Q-axis voltage loop may include:

[0148] The sum of the first Q-axis positive sequence voltage setpoint and the Q-axis DC component control quantity is subtracted from the Q-axis positive sequence voltage sample value to obtain the ninth difference value. The ninth difference value is then input into the ninth preset controller to obtain the first Q-axis positive sequence current control quantity.

[0149] Among them, the relevant parameters in the eighth and ninth preset controllers have been preset and can be PI controllers or P controllers, etc., which can be set according to actual needs.

[0150] The above determination of the second D-axis positive-sequence current control quantity and the second Q-axis positive-sequence current control quantity based on the first D-axis negative-sequence voltage setpoint, the first Q-axis negative-sequence voltage setpoint, and the negative-sequence control loop may include:

[0151] Obtain the negative sequence voltage sampling values ​​of the D-axis and Q-axis of the machine;

[0152] Subtract the D-axis negative sequence voltage sample value from the first D-axis negative sequence voltage setpoint to obtain the tenth difference value, and input the tenth difference value into the tenth preset controller to obtain the first output value of the negative sequence control loop;

[0153] Subtract the Q-axis negative sequence voltage sample value from the first Q-axis negative sequence voltage setpoint to obtain the eleventh difference value, and input the eleventh difference value into the eleventh preset controller to obtain the second output value of the negative sequence control loop;

[0154] The first and second outputs of the negative sequence control loop are transformed into the positive sequence DQ coordinate system to obtain the second D-axis positive sequence current control quantity and the second Q-axis positive sequence current control quantity.

[0155] Among them, the relevant parameters in the tenth and eleventh preset controllers have been preset and can be PI controllers or P controllers, etc., which can be set according to actual needs.

[0156] The three-phase current sampling value of this machine is the sampling value of the inverter current of this machine.

[0157] Based on the three-phase current sampling values, the following parameters are determined: D-axis positive sequence current sampling value, Q-axis positive sequence current sampling value, third D-axis positive sequence current control value, and third Q-axis positive sequence current control value.

[0158] The three-phase current sampling values ​​are transformed by dq to obtain the positive sequence current sampling values ​​of the D-axis and the positive sequence current sampling values ​​of the Q-axis.

[0159] Multiply the D-axis positive sequence current sample value by a preset coefficient to obtain the third D-axis positive sequence current control value;

[0160] Multiply the Q-axis positive sequence current sample value by a preset coefficient to obtain the third Q-axis positive sequence current control value.

[0161] The preset coefficients can be set according to actual needs, and no specific restrictions are imposed here.

[0162] The above determination of the first D-axis target control quantity based on the first D-axis positive sequence current control quantity, the second D-axis positive sequence current control quantity, the third D-axis positive sequence current control quantity, the D-axis positive sequence current sample value, the D-axis positive sequence voltage sample value, and the D-axis current loop can include:

[0163] The sum of the first D-axis positive sequence current control value, the second D-axis positive sequence current control value, and the third D-axis positive sequence current control value is subtracted from the D-axis positive sequence current sampling value to obtain the twelfth difference value.

[0164] The twelfth difference value is input into the twelfth preset controller to obtain the output of the D-axis current loop;

[0165] The output of the D-axis current loop is added to the sum of the D-axis positive sequence voltage sampling values, and then normalized to obtain the first D-axis target control quantity.

[0166] The above determination of the first Q-axis target control quantity based on the first Q-axis positive sequence current control quantity, the second Q-axis positive sequence current control quantity, the third Q-axis positive sequence current control quantity, the Q-axis positive sequence current sample value, the Q-axis positive sequence voltage sample value, and the Q-axis current loop may include:

[0167] The sum of the first Q-axis positive sequence current control value, the second Q-axis positive sequence current control value, and the third Q-axis positive sequence current control value is subtracted from the Q-axis positive sequence current sampling value to obtain the thirteenth difference value.

[0168] The thirteenth difference value is input into the thirteenth preset controller to obtain the output of the Q-axis current loop;

[0169] The output of the Q-axis current loop is added to the sum of the Q-axis positive sequence voltage sampling value, and then normalized to obtain the first Q-axis target control quantity.

[0170] Among them, the relevant parameters in the twelfth and thirteenth preset controllers have been preset and can be PI controllers or P controllers, etc., which can be set according to actual needs.

[0171] In some embodiments, in AC / DC parallel off-grid mode, the bus midpoints of each PCS in the energy storage system are connected.

[0172] In AC / DC parallel off-grid mode, the bus midpoints of each PCS are connected, and the control quantity of the bus midpoint voltage of the slave unit follows the control quantity of the bus midpoint voltage of the master unit, so that zero-sequence circulating current can always be achieved.

[0173] In some embodiments, when the energy storage system operates in AC / DC parallel off-grid mode, the off-grid control method for the energy storage system further includes:

[0174] The carrier synchronization CAN network is used to control the carrier synchronization of each PCS in the energy storage system.

[0175] In this embodiment, a carrier synchronization CAN bus is added between each PCS to achieve carrier synchronization between each PCS.

[0176] Because each PCS in the energy storage system is connected in parallel with both AC and DC, carrier synchronization is required between PCS to suppress zero-sequence circulating current and non-zero-sequence high-frequency circulating current between PCS.

[0177] The basic idea of ​​carrier synchronization is that there is one master and multiple slave devices on the bus. The master broadcasts its own carrier signal on the bus, and the slave devices receive the carrier signal sent by the master and adjust their own carrier signals according to this signal until they are in sync with the master. The specific implementation process is as follows: Figure 3 As shown, carrier synchronization requires the following four moments to complete:

[0178] 1) At time t0: The host sends a time synchronization signal, and the content sent can be any data;

[0179] 2) At time t1: The time synchronization signal is successfully transmitted. The CAN communication data transmission delay is relatively short, so the master's successful transmission and the slave's successful reception can be considered to occur at the same time. For DSPs with postmark functionality, such as those in the F28335 series, their integrated eCAN module has a postmark function. That is, the CAN communication module automatically records the time of successful reception and transmission, and records the corresponding CAN time base counter value in the MOTSx register.

[0180] For DSPs without postmark functionality, such as the F28374S, the integrated DCAN module lacks postmark functionality. Therefore, recording the successful transmission and reception times of CAN communication needs to be done in software. This can be achieved by using CAN communication transmit / receive interrupts to record the successful transmission and reception times. To ensure no delay in time recording, interrupt nesting is necessary, and the CAN interrupt should have the highest priority.

[0181] To implement nested interrupt functionality, it's first necessary to understand the operation of each flag bit after entering an interrupt. Upon entering an interrupt, the interrupt enable register IER and the global interrupt mask bit INTM are automatically saved on the stack. Then, the interrupt enable register IER and the interrupt flag register IFR are automatically cleared, and the global interrupt mask bit INTM is set to 1, disabling the interrupt. After exiting the interrupt routine, IER and INTM are automatically restored from the stack.

[0182] Therefore, in order to implement nested interrupts, two important steps are required: re-enabling interrupt enable (IER) in the interrupt service routine and clearing the global interrupt mask (INTM).

[0183] The INV program has three interrupts: ADC interrupt, CPUTIMER0 interrupt, and DCAN interrupt. To ensure that DCAN has the highest priority, the other two interrupts must be nested, while the DCAN interrupt does not. The DCAN interrupt is INT9.5.

[0184] Since only INT09.5 is enabled in the ninth interrupt group in actual application, the operation PieCtrlRegs.PIEIER9.all can be omitted.

[0185] The CAN receive and transmit interrupt service functions need to record the moment of successful transmission or reception.

[0186] 3) Time t2:

[0187] Master: Calculates the difference between the current CAN time base counter CANTSC and the counter value recorded at time t1 when the master successfully transmitted data was sent, and uses this difference to calculate the time interval Δt from time t1 to time t2. Then, it uses the current PWM time base counter TBCTR value and the value of Δt to deduce the PWM time base counter value PWM_Count_Mt1 at time t1, and sends this value to the slave.

[0188] Slave: The processing method is similar to that of the master, and the value of the slave's PWM time base counter PWM_Count_St1 at time t1 is calculated;

[0189] 4) At time t3: The slave receives PWM_Count_Mt1 sent by the master, calculates the difference between PWM_Count_St1 and PWM_Count_Mt1, and determines the adjustment amount (+1 or -1) of the slave's PWM period register TBPRD based on the sign of this difference.

[0190] Repeat steps 1) to 4) in this way until the slave's carrier is synchronized with the master.

[0191] In some possible implementations, in AC / DC parallel off-grid mode, each PCS communicates with each other via a current-sharing CAN bus, and broadcasts its own current-sharing information (positive sequence current, negative sequence current, etc.) through this bus.

[0192] In AC / DC parallel off-grid mode, each PCS also shares other information through the information sharing CAN bus.

[0193] In some embodiments, the off-grid control method for an energy storage system further includes:

[0194] When the energy storage system operates in VSG parallel off-grid mode, the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, and the second Q-axis negative sequence voltage setpoint are obtained based on the second current sharing control loop. In VSG parallel off-grid mode, the AC side of each PCS is connected in parallel, and the DC side of each PCS is independent of each other.

[0195] Based on the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, the second Q-axis negative sequence voltage setpoint, the voltage outer loop, and the current inner loop, determine the second D-axis target control quantity and the second Q-axis target control quantity;

[0196] Based on the zero-sequence current loop, determine the target control quantity for the second zero axis;

[0197] Based on the bus midpoint control loop, determine the second midpoint target control quantity of the machine;

[0198] A second target waveform is generated based on the second D-axis target control value, the second Q-axis target control value, the second zero-axis target control value, and the second midpoint target control value, and the machine is controlled based on the second target waveform.

[0199] In the VSG parallel off-grid mode, conventional droop control can be used. Assuming that the connection impedance between modules is inductive, there is a droop control relationship between Pf (active power - frequency) and QU (reactive power - voltage).

[0200] In VSG parallel off-grid mode, the setpoints for the second D-axis negative sequence voltage and the second Q-axis negative sequence voltage are both 0.

[0201] The above-mentioned acquisition of the second positive sequence voltage amplitude setpoint and the second positive sequence phase setpoint based on the second current sharing control loop may include:

[0202] Obtain the active power setpoint and active power sample value of the machine, and subtract the active power sample value from the active power setpoint to obtain the fourteenth difference value;

[0203] Multiply the fourteenth difference by the first droop coefficient m to obtain the angular frequency difference.

[0204] Add the preset angular frequency to the angular frequency difference to obtain the given angular frequency value;

[0205] The angular frequency setpoint is transformed to obtain the second positive sequence phase setpoint;

[0206] Obtain the reactive power setpoint and reactive power sample value of the machine, and subtract the reactive power sample value from the reactive power setpoint to obtain the fifteenth difference value;

[0207] Multiply the fifteenth difference by the second droop coefficient n to obtain the voltage amplitude difference;

[0208] Add the voltage amplitude difference to the preset voltage amplitude to obtain the given value of the second positive sequence voltage amplitude.

[0209] The preset angular frequency can be set according to actual needs, and no specific restrictions are imposed here.

[0210] The control method of VSG parallel off-grid mode is similar to that of AC / DC parallel off-grid mode, except that different current sharing control loops are used to output different positive sequence voltage amplitude setpoints, positive sequence phase setpoints, D-axis negative sequence voltage setpoints, and Q-axis negative sequence voltage setpoints. In addition, in VSG parallel off-grid mode, the bus midpoint control loop can determine the second midpoint target control quantity of the machine based on the relevant parameters of the machine, without having to follow the control quantity of the host machine. Other parts can be referred to the control process of AC / DC parallel off-grid mode, and will not be repeated here.

[0211] In some embodiments, the off-grid control method for an energy storage system further includes:

[0212] When the energy storage system operates in stand-alone off-grid mode, it acquires the third positive sequence voltage amplitude setpoint, the third positive sequence phase setpoint, the third D-axis negative sequence voltage setpoint, and the third Q-axis negative sequence voltage setpoint of the unit. In stand-alone off-grid mode, only a single PCS is in operation, and the unit is that single PCS.

[0213] Based on the repetitive control loop, determine the positive sequence current control quantity of the fourth D-axis and the positive sequence current control quantity of the fourth Q-axis;

[0214] Based on the third positive sequence voltage amplitude setpoint, the third positive sequence phase setpoint, the third D-axis negative sequence voltage setpoint, the third Q-axis negative sequence voltage setpoint, the fourth D-axis positive sequence current control quantity, the fourth Q-axis positive sequence current control quantity, the voltage outer loop, and the current inner loop, determine the third D-axis target control quantity and the third Q-axis target control quantity.

[0215] Based on the bus midpoint control loop, determine the third midpoint target control quantity of the host machine; the host machine is the local machine.

[0216] The third target waveform is generated based on the third D-axis target control value, the third Q-axis target control value, and the third midpoint target control value, and the machine is controlled based on the third target waveform.

[0217] In stand-alone off-grid mode, the third D-axis negative sequence voltage setpoint and the third Q-axis negative sequence voltage setpoint are both 0. The third positive sequence voltage amplitude setpoint can be the preset voltage amplitude mentioned above. The preset voltage amplitude can be the second positive sequence voltage amplitude setpoint in the second current sharing control loop when the second droop coefficient n is 0 in the VSG parallel off-grid mode. The third positive sequence phase setpoint can be the preset phase value mentioned above. The preset phase setpoint can be the second positive sequence phase setpoint in the second current sharing control loop when the first droop coefficient m is 0 in the VSG parallel off-grid mode.

[0218] Compared to the control loop in the AC / DC parallel off-grid mode, the control loop in the stand-alone off-grid mode has an added repetitive control loop and a reduced zero-sequence current loop. Other processes can be referred to the control process in the AC / DC parallel off-grid mode, and will not be elaborated further.

[0219] The above-mentioned determination of the fourth D-axis positive sequence current control quantity and the fourth Q-axis positive sequence current control quantity based on the repetitive control loop may include:

[0220] Obtain the D-axis voltage setpoint, D-axis voltage sample value, Q-axis voltage setpoint, and Q-axis voltage sample value of the local machine in stand-alone off-grid mode;

[0221] The difference between the D-axis voltage setpoint and the D-axis voltage sample value is input into the first preset repetitive controller to obtain the fourth D-axis positive sequence current control quantity.

[0222] The difference between the given Q-axis voltage and the sampled Q-axis voltage is input into the second preset repetitive controller to obtain the fourth Q-axis positive sequence current control value.

[0223] The relevant parameters in the first preset repeat controller and the second preset repeat controller have been preset.

[0224] In stand-alone off-grid mode, the control of the D-axis current loop, compared to the AC / DC parallel off-grid mode, only adds a control quantity for summation in the first step, namely the fourth D-axis positive sequence current control quantity; the other steps remain unchanged. Similarly, the Q-axis current loop also adds a control quantity for summation in the first step, namely the fourth Q-axis positive sequence current control quantity; the other steps remain unchanged.

[0225] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0226] Figure 4 A schematic diagram of the off-grid control device for an energy storage system provided in an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiment of the present invention are shown, and are described in detail below:

[0227] The energy storage system includes at least two energy storage converters (PCS). For example... Figure 4 As shown, the off-grid control device 30 of the energy storage system includes: a current sharing control module 31, a dual-loop control module 32, a zero-sequence control module 33, a midpoint control module 34, and a waveform control module 35.

[0228] The current sharing control module 31 is used to obtain the first positive sequence voltage amplitude setpoint, the first positive sequence phase setpoint, the first D-axis negative sequence voltage setpoint, and the first Q-axis negative sequence voltage setpoint of the device based on the first current sharing control loop when the energy storage system is operating in AC / DC parallel off-grid mode. In AC / DC parallel off-grid mode, the AC side of each PCS is connected in parallel, and the DC side of each PCS is connected in parallel. The device is any PCS in operation.

[0229] The dual-loop control module 32 is used to determine the first D-axis target control quantity and the first Q-axis target control quantity based on the first positive sequence voltage amplitude setpoint, the first positive sequence phase setpoint, the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, the voltage outer loop, and the current inner loop.

[0230] Zero-sequence control module 33 is used to determine the first zero-axis target control quantity based on the zero-sequence current loop;

[0231] The midpoint control module 34 is used to determine the first midpoint target control quantity of the master based on the bus midpoint control loop; in the energy storage system, one PCS in the working state is the master, and the other PCS in the working state are slaves.

[0232] The waveform control module 35 is used to generate a first target waveform based on the first D-axis target control quantity, the first Q-axis target control quantity, the first zero-axis target control quantity, and the first midpoint target control quantity, and to control the machine based on the first target waveform.

[0233] In one possible implementation, the zero-sequence control module 33 is specifically used for:

[0234] Obtain the zero-sequence current sample value of the local machine;

[0235] Calculate the difference between the 0 and zero-sequence current sample values, and denote it as the first difference;

[0236] The first difference is input into the first preset controller to obtain the zero-sequence control quantity;

[0237] The zero-sequence control quantity is normalized to obtain the first zero-axis target control quantity.

[0238] In one possible implementation, the flow sharing control module 31 is specifically used for:

[0239] Obtain the positive sequence active current value, positive sequence reactive current value, negative sequence active current value, and negative sequence reactive current value of this machine;

[0240] Obtain the average positive-sequence active current, average positive-sequence reactive current, average negative-sequence active current, and average negative-sequence reactive current of the energy storage system.

[0241] Calculate the difference between the positive sequence active current value and the average positive sequence active current value, and record it as the second difference. Then, determine the first positive sequence phase setpoint based on the second difference.

[0242] Calculate the difference between the positive sequence reactive current value and the average positive sequence reactive current value, and record it as the third difference. Based on the third difference, determine the first positive sequence voltage amplitude setpoint.

[0243] Calculate the difference between the average value of the negative sequence active current and the value of the negative sequence active current, and record it as the fourth difference. Based on the fourth difference, determine the first Q-axis negative sequence voltage setpoint.

[0244] Calculate the difference between the average value of the negative sequence reactive current and the value of the negative sequence reactive current, and record it as the fifth difference. Based on the fifth difference, determine the first D-axis negative sequence voltage setpoint.

[0245] In one possible implementation, the dual-loop control module 32 is specifically used for:

[0246] Based on the first positive sequence voltage amplitude setpoint and the first positive sequence phase setpoint, the first D-axis positive sequence voltage setpoint and the first Q-axis positive sequence voltage setpoint of the machine are generated;

[0247] Based on the voltage DC component loop and the current DC component loop, determine the D-axis DC component control quantity and the Q-axis DC component control quantity of the machine.

[0248] Obtain the positive sequence voltage sampling values ​​of the D-axis and Q-axis of this machine;

[0249] The first D-axis positive sequence current control quantity is determined based on the first D-axis positive sequence voltage setpoint, the D-axis DC component control quantity, the D-axis positive sequence voltage sample value, and the D-axis voltage loop.

[0250] The first Q-axis positive sequence current control quantity is determined based on the first Q-axis positive sequence voltage setpoint, the Q-axis DC component control quantity, the Q-axis positive sequence voltage sample value, and the Q-axis voltage loop.

[0251] Based on the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, and the negative sequence control loop, determine the second D-axis positive sequence current control quantity and the second Q-axis positive sequence current control quantity;

[0252] Obtain the three-phase current sampling values ​​of the machine, and determine the D-axis positive sequence current sampling value, Q-axis positive sequence current sampling value, third D-axis positive sequence current control value, and third Q-axis positive sequence current control value based on the three-phase current sampling values;

[0253] The first D-axis target control quantity is determined based on the first D-axis positive sequence current control quantity, the second D-axis positive sequence current control quantity, the third D-axis positive sequence current control quantity, the D-axis positive sequence current sampling value, the D-axis positive sequence voltage sampling value, and the D-axis current loop.

[0254] The first Q-axis target control quantity is determined based on the first Q-axis positive sequence current control quantity, the second Q-axis positive sequence current control quantity, the third Q-axis positive sequence current control quantity, the Q-axis positive sequence current sample value, the Q-axis positive sequence voltage sample value, and the Q-axis current loop.

[0255] In one possible implementation, in AC / DC parallel off-grid mode, the bus midpoints of the individual PCSs of the energy storage system are connected.

[0256] In one possible implementation, the off-grid control device 30 of the energy storage system also includes a carrier synchronization module.

[0257] The carrier synchronization module is used to control the carrier synchronization of each PCS of the energy storage system through the carrier synchronization CAN network when the energy storage system is operating in AC / DC parallel off-grid mode.

[0258] In one possible implementation, the off-grid control device 30 of the energy storage system also includes a VSG parallel off-grid control module.

[0259] The VSG parallel off-grid control module is used for:

[0260] When the energy storage system operates in VSG parallel off-grid mode, the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, and the second Q-axis negative sequence voltage setpoint are obtained based on the second current sharing control loop. In VSG parallel off-grid mode, the AC side of each PCS is connected in parallel, and the DC side of each PCS is independent of each other.

[0261] Based on the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, the second Q-axis negative sequence voltage setpoint, the voltage outer loop, and the current inner loop, determine the second D-axis target control quantity and the second Q-axis target control quantity;

[0262] Based on the zero-sequence current loop, determine the target control quantity for the second zero axis;

[0263] Based on the bus midpoint control loop, determine the second midpoint target control quantity of the machine;

[0264] A second target waveform is generated based on the second D-axis target control value, the second Q-axis target control value, the second zero-axis target control value, and the second midpoint target control value, and the machine is controlled based on the second target waveform.

[0265] In one possible implementation, the off-grid control device 30 of the energy storage system also includes a stand-alone off-grid control module.

[0266] The stand-alone off-grid control module is used for:

[0267] When the energy storage system operates in stand-alone off-grid mode, it acquires the third positive sequence voltage amplitude setpoint, the third positive sequence phase setpoint, the third D-axis negative sequence voltage setpoint, and the third Q-axis negative sequence voltage setpoint of the unit. In stand-alone off-grid mode, only a single PCS is in operation, and the unit is that single PCS.

[0268] Based on the repetitive control loop, determine the fourth D-axis positive sequence current control quantity and the fourth Q-axis positive sequence current control quantity;

[0269] Based on the third positive sequence voltage amplitude setpoint, the third positive sequence phase setpoint, the third D-axis negative sequence voltage setpoint, the third Q-axis negative sequence voltage setpoint, the fourth D-axis positive sequence current control quantity, the fourth Q-axis positive sequence current control quantity, the voltage outer loop, and the current inner loop, determine the third D-axis target control quantity and the third Q-axis target control quantity.

[0270] Based on the bus midpoint control loop, determine the third midpoint target control quantity of the host machine; the host machine is the local machine.

[0271] The third target waveform is generated based on the third D-axis target control value, the third Q-axis target control value, and the third midpoint target control value, and the machine is controlled based on the third target waveform.

[0272] Figure 5 This is a schematic diagram of the control device provided in an embodiment of the present invention. Figure 5 As shown, the control device 4 in this embodiment includes a processor 40 and a memory 41. The memory 41 stores a computer program 42, and the processor 40 calls and runs the computer program 42 stored in the memory 41 to execute the steps in the off-grid control method embodiments of the various energy storage systems described above, for example... Figure 2 S101 to S105 are shown. Alternatively, the processor 40 is used to call and run the computer program 42 stored in the memory 41 to implement the functions of each module / unit in the above-described device embodiments, for example... Figure 4 The functions of modules / units 31 to 35 shown.

[0273] For example, the computer program 42 can be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 42 in the control device 4. For example, the computer program 42 can be divided into... Figure 4 Modules / units 31 to 35 are shown.

[0274] The control device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will understand that... Figure 5 This is merely an example of control device 4 and does not constitute a limitation on control device 4. It may include more or fewer components than shown, or combine certain components, or different components. For example, the control device may also include input / output devices, network access devices, buses, etc. For example, the control device may also include the aforementioned DMS and OMS, etc.

[0275] The processor 40 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0276] The memory 41 can be an internal storage unit of the control device 4, such as a hard disk or memory of the control device 4. The memory 41 can also be an external storage device of the control device 4, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the control device 4. Furthermore, the memory 41 can include both internal and external storage units of the control device 4. The memory 41 is used to store the computer program and other programs and data required by the control device. The memory 41 can also be used to temporarily store data that has been output or will be output.

[0277] Corresponding to the control device described above, this application embodiment also provides an energy storage system, including at least two PCSs and the aforementioned control device; the PCSs are controlled by the control device;

[0278] The control equipment is used to enable the energy storage system to operate in AC / DC parallel off-grid mode when it is in an off-grid state by controlling the AC sides of each PCS in the energy storage system to be connected in parallel and the DC sides of each PCS in the energy storage system to be connected in parallel; to enable the energy storage system to operate in VSG parallel off-grid mode by controlling the AC sides of each PCS in the energy storage system to be connected in parallel and the DC sides of each PCS in the energy storage system to be independent; and to enable the energy storage system to operate in stand-alone off-grid mode by controlling only a single PCS in the energy storage system to be in an active state.

[0279] For a detailed description of the energy storage system, please refer to the relevant descriptions in the foregoing embodiments, which will not be repeated here.

[0280] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0281] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0282] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0283] In the embodiments provided by this invention, it should be understood that the disclosed apparatus / control devices and methods can be implemented in other ways. For example, the apparatus / control device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0284] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0285] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0286] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the off-grid control methods of the various energy storage systems described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately added to or subtracted from the content as required by the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium may not include electrical carrier signals and telecommunication signals.

[0287] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. An off-grid control method for an energy storage system, characterized in that, The energy storage system includes at least two energy storage converters (PCS); the off-grid control method of the energy storage system includes: When the energy storage system operates in AC / DC parallel off-grid mode, based on the first current sharing control loop, the first positive sequence voltage amplitude setpoint, the first positive sequence phase setpoint, the first D-axis negative sequence voltage setpoint, and the first Q-axis negative sequence voltage setpoint are obtained. In the AC / DC parallel off-grid mode, the AC sides of each PCS are connected in parallel, and the DC sides of each PCS are connected in parallel. The "unit" refers to any PCS in operation. Based on the first positive-sequence voltage amplitude setpoint, the first positive-sequence phase setpoint, the first D-axis negative-sequence voltage setpoint, the first Q-axis negative-sequence voltage setpoint, the voltage outer loop, and the current inner loop, the first D-axis target control quantity and the first Q-axis target control quantity are determined; wherein, the first D-axis target control quantity is determined based on the first D-axis positive-sequence current control quantity, the second D-axis positive-sequence current control quantity, the third D-axis positive-sequence current control quantity, the D-axis positive-sequence current sample value, the D-axis positive-sequence voltage sample value, and the D-axis current loop; The first D-axis positive sequence current control quantity is determined based on the first D-axis positive sequence voltage setpoint, the D-axis DC component control quantity, the D-axis positive sequence voltage sample value, and the D-axis voltage loop; the second D-axis positive sequence current control quantity is determined based on the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, and the negative sequence control loop; the third D-axis positive sequence current control quantity and the D-axis positive sequence current sample value are determined based on the three-phase current sample value of the machine. The first zero-axis target control quantity is determined based on the zero-sequence current loop; Based on the bus midpoint control loop, the first midpoint target control quantity of the master is determined; in the energy storage system, one of the PCS in the working state is the master, and the other PCS in the working state are slaves. A first target waveform is generated based on the first D-axis target control value, the first Q-axis target control value, the first zero-axis target control value, and the first midpoint target control value, and the machine is controlled based on the first target waveform.

2. The off-grid control method for an energy storage system according to claim 1, characterized in that, The determination of the first zero-axis target control quantity based on the zero-sequence current loop includes: Obtain the zero-sequence current sample value of the local machine; Calculate the difference between 0 and the zero-sequence current sample value, and record it as the first difference; The first difference is input into the first preset controller to obtain the zero-sequence control quantity; The zero-sequence control quantity is normalized to obtain the first zero-axis target control quantity.

3. The off-grid control method for an energy storage system according to claim 1, characterized in that, The process of obtaining the first positive-sequence voltage amplitude setpoint, the first positive-sequence phase setpoint, the first D-axis negative-sequence voltage setpoint, and the first Q-axis negative-sequence voltage setpoint based on the first current sharing control loop includes: Obtain the positive sequence active current value, positive sequence reactive current value, negative sequence active current value, and negative sequence reactive current value of this machine; The average positive-sequence active current, average positive-sequence reactive current, average negative-sequence active current, and average negative-sequence reactive current of the energy storage system are obtained. Calculate the difference between the positive sequence active current value and the average value of the positive sequence active current, and record it as the second difference. Then, determine the first positive sequence phase setpoint based on the second difference. Calculate the difference between the positive sequence reactive current value and the average value of the positive sequence reactive current, and record it as the third difference. Based on the third difference, determine the first positive sequence voltage amplitude setpoint. The difference between the average value of the negative sequence active current and the value of the negative sequence active current is calculated and recorded as the fourth difference. Based on the fourth difference, the first Q-axis negative sequence voltage setpoint is determined. The difference between the average value of the negative sequence reactive current and the value of the negative sequence reactive current is calculated and recorded as the fifth difference. Based on the fifth difference, the first D-axis negative sequence voltage setpoint is determined.

4. The off-grid control method for an energy storage system according to claim 1, characterized in that, The step of determining the first D-axis target control quantity and the first Q-axis target control quantity based on the first positive-sequence voltage amplitude setpoint, the first positive-sequence phase setpoint, the first D-axis negative-sequence voltage setpoint, the first Q-axis negative-sequence voltage setpoint, the voltage outer loop, and the current inner loop includes: Based on the first positive sequence voltage amplitude setpoint and the first positive sequence phase setpoint, the first D-axis positive sequence voltage setpoint and the first Q-axis positive sequence voltage setpoint of the machine are generated; Based on the voltage DC component loop and the current DC component loop, determine the D-axis DC component control quantity and the Q-axis DC component control quantity of the machine. Obtain the positive sequence voltage sampling values ​​of the D-axis and Q-axis of this machine; The first D-axis positive sequence current control quantity is determined based on the first D-axis positive sequence voltage setpoint, the D-axis DC component control quantity, the D-axis positive sequence voltage sample value, and the D-axis voltage loop. The first Q-axis positive sequence current control quantity is determined based on the first Q-axis positive sequence voltage setpoint, the Q-axis DC component control quantity, the Q-axis positive sequence voltage sample value, and the Q-axis voltage loop. Based on the first D-axis negative sequence voltage setpoint, the first Q-axis negative sequence voltage setpoint, and the negative sequence control loop, determine the second D-axis positive sequence current control quantity and the second Q-axis positive sequence current control quantity; Obtain the three-phase current sampling values ​​of the machine, and determine the D-axis positive sequence current sampling value, Q-axis positive sequence current sampling value, third D-axis positive sequence current control value, and third Q-axis positive sequence current control value based on the three-phase current sampling values; The first D-axis target control quantity is determined based on the first D-axis positive sequence current control quantity, the second D-axis positive sequence current control quantity, the third D-axis positive sequence current control quantity, the D-axis positive sequence current sampling value, the D-axis positive sequence voltage sampling value, and the D-axis current loop. The first Q-axis target control quantity is determined based on the first Q-axis positive sequence current control quantity, the second Q-axis positive sequence current control quantity, the third Q-axis positive sequence current control quantity, the Q-axis positive sequence current sample value, the Q-axis positive sequence voltage sample value, and the Q-axis current loop.

5. The off-grid control method for an energy storage system according to claim 1, characterized in that, In the AC / DC parallel off-grid mode, the midpoints of the busbars of each PCS in the energy storage system are connected.

6. The off-grid control method for an energy storage system according to claim 1, characterized in that, When the energy storage system operates in AC / DC parallel off-grid mode, the off-grid control method of the energy storage system further includes: The carrier synchronization of each PCS in the energy storage system is controlled via a carrier synchronization CAN network.

7. The off-grid control method for an energy storage system according to any one of claims 1 to 6, characterized in that, The off-grid control method for the energy storage system also includes: When the energy storage system operates in VSG parallel off-grid mode, the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, and the second Q-axis negative sequence voltage setpoint are obtained based on the second current sharing control loop. In the VSG parallel off-grid mode, the AC sides of each PCS are connected in parallel, and the DC sides of each PCS are independent of each other. Based on the second positive sequence voltage amplitude setpoint, the second positive sequence phase setpoint, the second D-axis negative sequence voltage setpoint, the second Q-axis negative sequence voltage setpoint, the voltage outer loop, and the current inner loop, determine the second D-axis target control quantity and the second Q-axis target control quantity; Based on the zero-sequence current loop, determine the target control quantity for the second zero axis; Based on the bus midpoint control loop, determine the second midpoint target control quantity of the machine; A second target waveform is generated based on the second D-axis target control value, the second Q-axis target control value, the second zero-axis target control value, and the second midpoint target control value, and the machine is controlled based on the second target waveform.

8. The off-grid control method for an energy storage system according to any one of claims 1 to 6, characterized in that, The off-grid control method for the energy storage system also includes: When the energy storage system operates in stand-alone off-grid mode, it acquires the third positive sequence voltage amplitude setpoint, the third positive sequence phase setpoint, the third D-axis negative sequence voltage setpoint, and the third Q-axis negative sequence voltage setpoint. In stand-alone off-grid mode, only a single PCS is in operation, and the unit is that single PCS. Based on the repetitive control loop, determine the positive sequence current control quantity of the fourth D-axis and the positive sequence current control quantity of the fourth Q-axis; Based on the given value of the third positive sequence voltage amplitude, the given value of the third positive sequence phase, the given value of the third D-axis negative sequence voltage, the given value of the third Q-axis negative sequence voltage, the given value of the fourth D-axis positive sequence current control, the given value of the fourth Q-axis positive sequence current control, the outer voltage loop, and the inner current loop, determine the target control value of the third D-axis and the target control value of the third Q-axis. Based on the bus midpoint control loop, the third midpoint target control quantity of the host is determined; the host is the local machine. A third target waveform is generated based on the third D-axis target control quantity, the third Q-axis target control quantity, and the third midpoint target control quantity, and the machine is controlled based on the third target waveform.

9. A control device, characterized in that, It includes a memory and a processor, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the off-grid control method of the energy storage system as described in any one of claims 1 to 8.

10. An energy storage system, characterized in that, It includes at least two PCSs and a control device as described in claim 9; the PCSs are controlled by the control device; The control device is used to, when the energy storage system is in an off-grid state, control the AC sides of all PCS in the energy storage system to be connected in parallel and the DC sides of all PCS in the energy storage system to be connected in parallel, so that the energy storage system operates in AC / DC parallel off-grid mode; control the AC sides of all PCS in the energy storage system to be connected in parallel and control the DC sides of all PCS in the energy storage system to be independent of each other, so that the energy storage system operates in VSG parallel off-grid mode; and control the energy storage system to operate in a single-unit off-grid mode by controlling only a single PCS in the energy storage system to be in a working state.

Citation Information

Patent Citations

  • Zero-sequence circulation suppression control method for AC-DC hybrid microgrid

    CN108173296A

  • Microgrid system and control method

    CN110943483A

  • Parallel inversion topology bus neutral-point voltage control method and system

    CN112886804A

  • Parallel operation control method and device and parallel operation system

    CN114070011A