A charging and discharging control method and application device thereof

By allocating the total power correction value in the energy storage system and adjusting the charging and discharging process of the energy storage branch, the problem of uneven power sharing of the energy storage branch in the energy storage system is solved, and the voltage and power oscillation of the photovoltaic system is avoided, and the voltage and power oscillation of the photovoltaic system is improved. The stability and reliability of the system are achieved.

CN113629764BActive Publication Date: 2024-11-19SUNGROW ENERGY STORAGE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110920267.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-11
Publication Date
2024-11-19
Estimated Expiration
2041-08-11

AI Technical Summary

Technical Problem

The charging and discharging control methods of existing energy storage systems lead to uneven power sharing of energy storage branches, causing photovoltaic system output voltage and power oscillation, affecting system stability.

Method used

By obtaining the total power correction value of the energy storage system and the basic charging and discharging power of each energy storage branch, allocating the total power correction value to obtain the reference charging and discharging power, and adjusting the charging and discharging process of the energy storage branch based on the battery state parameters to ensure that The power changes are small and avoid oscillation.

Benefits of technology

It reduces the possibility of power limiting of energy storage branch, reduces the oscillation of the output voltage and power of the photovoltaic system, and improves the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113629764B_ABST
    Figure CN113629764B_ABST
Patent Text Reader

Abstract

The charge and discharge control method and its application device provided by the present invention are applied to the field of power supply technology. The method is applied to an energy storage system including multiple energy storage branches and connected to an inverter. After obtaining the total power correction value of the energy storage system and the basic charge and discharge power of each energy storage branch in the previous control cycle, the total power correction value is allocated between each energy storage branch on the basis of the basic charge and discharge power of each energy storage branch, thereby obtaining the reference charge and discharge power of each energy storage branch, and controlling the charge and discharge of the corresponding energy storage branch based on each reference charge and discharge power. The total power correction value to be allocated in this method is the difference between the target operating power and the actual operating power of the inverter in the current control cycle, which is much smaller than the target operating power of the current control cycle, thereby making the power change corresponding to each energy storage branch smaller, reducing the possibility of exceeding the charge and discharge power limit value of the energy storage branch, and ensuring the stability and reliability of the system operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply, and in particular to a charge and discharge control method and an application device thereof. Background Art

[0002] See also Figure 1 , Figure 1 It is a structural schematic diagram of a photovoltaic storage system in the prior art, which includes a photovoltaic system, an energy storage system, an inverter and a controller, wherein the energy storage system includes multiple energy storage branches, any energy storage branch includes an energy storage battery and a DC / DC converter connected in series, the output end of each energy storage branch and the output end of the photovoltaic system are respectively connected to the DC side of the inverter, the AC side of the inverter is connected to the AC power grid, and the controller is respectively connected to each energy storage branch in the energy storage system to control the charging and discharging process of each energy storage branch.

[0003] In actual applications, the controller will obtain the total power to be allocated of the energy storage system in any control cycle, and then allocate the total power to be allocated in each energy storage branch according to the SOC value of the energy storage battery in each energy storage branch, and control the charging and discharging process of the corresponding energy storage branch according to the allocated power corresponding to each energy storage branch.

[0004] The inventors have found that the charge and discharge control method of the energy storage system in the prior art distributes the total power to be distributed among the energy storage branches in each control cycle, which may easily lead to the energy storage branches being unable to effectively respond to power distribution instructions because their own shared power is greater than the corresponding limit value, thereby causing the entire photovoltaic storage system to be unable to meet actual application requirements. At the same time, the shared power of each energy storage branch varies greatly, which may easily cause oscillations in the output voltage and output power of the photovoltaic system, affecting the stability of the system operation. Summary of the invention

[0005] The present invention provides a charge and discharge control method and an application device thereof, which ensure that the reference charge and discharge power corresponding to each energy storage branch in the current control cycle has a smaller change than the basic charge and discharge power in the previous control cycle, thereby reducing the possibility of exceeding the limit value corresponding to the energy storage branch, and at the same time, avoiding oscillation of the output voltage and output power of the photovoltaic system, thereby ensuring the stability and reliability of the system operation.

[0006] To achieve the above purpose, the technical solution provided by the present invention is as follows:

[0007] In a first aspect, the present invention provides a charge and discharge control method, which is applied to an energy storage system including a plurality of energy storage branches, and the energy storage system is connected to an inverter, and the method comprises:

[0008] Obtaining a total power correction value of the energy storage system and a basic charge and discharge power of each energy storage branch in the previous control cycle;

[0009] Wherein, the total power correction value is the difference between the target operating power and the actual operating power of the inverter in the current control cycle;

[0010] Based on the basic charge and discharge power of each of the energy storage branches, the total power correction value is distributed among the energy storage branches to obtain the reference charge and discharge power of each of the energy storage branches;

[0011] The charging and discharging of the corresponding energy storage branches are controlled based on each of the reference charging and discharging powers.

[0012] Optionally, the total power correction value is distributed among the energy storage branches based on the basic charge and discharge power of each energy storage branch to obtain the reference charge and discharge power of each energy storage branch, including:

[0013] Obtaining battery status parameters of each of the energy storage branches;

[0014] Based on each of the battery state parameters, the total power correction value is distributed among the energy storage branches to obtain a power correction value of each of the energy storage branches;

[0015] The sum of the basic charge and discharge power of each energy storage branch and the corresponding power correction value is calculated respectively to obtain the reference charge and discharge power of each energy storage branch.

[0016] Optionally, allocating the total power correction value among the energy storage branches based on the battery state parameters to obtain the power correction value of each energy storage branch includes:

[0017] Determining the correction ratio of each energy storage branch according to each battery state parameter;

[0018] The product of the correction ratio of each energy storage branch and the total power correction value is calculated respectively to obtain the power correction value of each energy storage branch.

[0019] Optionally, the battery state parameter includes an SOC value;

[0020] Determining the correction ratio of each energy storage branch according to each battery state parameter includes:

[0021] If the total power correction value is greater than zero, the correction ratio of each energy storage branch is determined according to the following formula:

[0022]

[0023] Among them, η represents the correction ratio of the energy storage branch;

[0024] N represents the total number of energy storage branches in the energy storage system, N>1;

[0025] SOC i represents the SOC value of the i-th energy storage branch, i∈[1,N];

[0026] SOC Z Represents the sum of the SOC values ​​of each energy storage branch in the energy storage system.

[0027] Optionally, the battery state parameter includes an SOC value;

[0028] Determining the correction ratio of each energy storage branch according to each battery state parameter includes:

[0029] If the total power correction value is less than zero, the correction ratio of each energy storage branch is determined according to the following formula:

[0030]

[0031] Among them, η represents the correction ratio of the energy storage branch;

[0032] SOC i represents the SOC value of the i-th energy storage branch, i∈[1,N], N is the total number of energy storage branches;

[0033] SOC Z Represents the sum of the SOC values ​​of each energy storage branch in the energy storage system.

[0034] Optionally, determining the correction ratio of each of the energy storage branches according to each of the battery state parameters includes:

[0035] If the total power correction value is equal to zero, the correction ratio of each energy storage branch is determined to be zero.

[0036] Optionally, controlling the charging and discharging of the corresponding energy storage branch based on each reference charging and discharging power includes:

[0037] The reference charge and discharge power of each energy storage branch is processed according to a preset limiting rule to obtain a target charge and discharge power of each energy storage branch;

[0038] Control each of the energy storage branches to charge and discharge according to the corresponding target charging and discharging power.

[0039] Optionally, the reference charge and discharge power of each energy storage branch is processed according to a preset limiting rule to obtain a target charge and discharge power of each energy storage branch, including:

[0040] taking each of the energy storage branches as a target energy storage branch respectively;

[0041] Obtaining a battery charge and discharge power threshold and a DC / DC converter power threshold corresponding to the target energy storage branch;

[0042] The minimum value among the battery charge and discharge power threshold, the DC / DC converter power threshold and the reference charge and discharge power is used as the target charge and discharge power of the target energy storage branch.

[0043] Optionally, the obtaining a battery charging and discharging power threshold corresponding to the target energy storage branch includes:

[0044] Obtaining a target SOC value of the target energy storage branch;

[0045] Querying a preset mapping relationship to determine a battery charge and discharge power threshold corresponding to a target SOC value of the target energy storage branch;

[0046] The preset mapping relationship records the corresponding relationship between the SOC value of the energy storage battery and the battery charging and discharging power threshold.

[0047] Optionally, controlling each of the energy storage branches to charge and discharge according to a corresponding target charge and discharge power includes:

[0048] respectively determining whether each of the energy storage branches is in a hot standby state;

[0049] Stop the charging and discharging process of the energy storage branch in the hot standby state;

[0050] The energy storage branches that are not in the hot standby state are controlled to charge and discharge according to the corresponding target charging and discharging power.

[0051] Optionally, the energy storage branch that is not in the hot standby state is controlled to charge and discharge according to the corresponding target charge and discharge power;

[0052] Convert the target charge and discharge power of the energy storage branch that is not in the hot standby state into the charge and discharge current;

[0053] The DC / DC converter in the corresponding energy storage branch that is not in the hot standby state is controlled to operate according to the charging and discharging current to charge and discharge the energy storage battery in the corresponding energy storage branch.

[0054] Optionally, the obtaining of the total power correction value of the energy storage system and the basic charge and discharge power of each of the energy storage branches in the previous control cycle includes:

[0055] Determine whether the energy storage system is operating for the first time;

[0056] If it is the first operation, obtaining the total power to be allocated of the energy storage system;

[0057] Allocating the total power to be allocated to each of the energy storage branches according to a preset ratio, and controlling each of the energy storage branches to charge and discharge;

[0058] If it is not the first operation, the total power correction value of the energy storage system and the basic charging and discharging power of each energy storage branch in the previous control cycle are obtained.

[0059] In a second aspect, the present invention provides a controller, comprising: a memory and a processor; the memory stores a program suitable for execution by the processor to implement the charge and discharge control method described in any one of the first aspects of the present invention.

[0060] In a third aspect, the present invention provides a power generation system, comprising: an energy storage system, an inverter, and the controller provided in the second aspect of the present invention, wherein:

[0061] The energy storage system comprises a plurality of energy storage branches;

[0062] Each of the energy storage branches is connected to the DC side of the inverter respectively;

[0063] The AC side of the inverter is connected to the AC power grid;

[0064] The controller is connected to each of the energy storage branches and the inverter respectively.

[0065] Optionally, the power generation system provided by the third aspect of the present invention further includes: a photovoltaic system, wherein:

[0066] The photovoltaic system is connected to the DC side of the inverter.

[0067] The charge and discharge control method provided by the present invention is applied to an energy storage system including multiple energy storage branches and connected to an inverter. After obtaining the total power correction value of the energy storage system and the basic charge and discharge power of each energy storage branch in the previous control cycle, the total power correction value is distributed among the energy storage branches on the basis of the basic charge and discharge power of each energy storage branch, thereby obtaining the reference charge and discharge power of each energy storage branch, and controlling the charge and discharge of the corresponding energy storage branch based on each reference charge and discharge power. In the charge and discharge control method provided by the present invention, the total power correction value to be allocated is the difference between the target operating power and the actual operating power of the inverter in the current control cycle, that is, the total power correction value is the power change of the inverter relative to the previous control cycle, which is much smaller than the target operating power of the current control cycle, so that when the power correction value is allocated among the energy storage branches, the power change corresponding to each energy storage branch is small, reducing the possibility of exceeding the charge and discharge power limit value of the energy storage branch. Furthermore, the charge and discharge power change of the energy storage branch in the current control cycle is small, and it can also avoid causing oscillation of the DC side voltage and power of the photovoltaic system, ensuring the stability and reliability of the system operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0069] Figure 1 It is a structural schematic diagram of a photovoltaic storage system in the prior art;

[0070] Figure 2 is a flow chart of a charge and discharge control method provided by an embodiment of the present invention;

[0071] Figure 3 is a flow chart of obtaining a reference charge and discharge power of an energy storage branch provided by an embodiment of the present invention;

[0072] Figure 4 is a flow chart of another charging and discharging control method provided by an embodiment of the present invention;

[0073] Figure 5 It is a structural block diagram of a controller provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0074] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0075] The charge and discharge control method provided in the embodiment of the present invention is applied to an energy storage system including multiple energy storage branches, the output end of which is connected to the AC power grid via an inverter. In an optional application scenario, a photovoltaic system is also included, and the output end of the photovoltaic system is also connected to the DC side of the inverter. Specifically, the charge and discharge control method provided in the embodiment of the present invention can be applied to a controller in the energy storage system that can obtain relevant parameters of constituent devices such as energy storage branches and inverters, run a preset control program, and control the operating status of each energy storage branch. It can also be applied to other controllers in the power supply system composed of an energy storage system, a photovoltaic system, and an inverter. Of course, in some cases, it can also be applied to servers on the network side. See. Figure 1 The process of the charge and discharge control method provided by the embodiment of the present invention may include:

[0076] S100, obtaining a total power correction value of the energy storage system and a basic charge and discharge power of each energy storage branch in the previous control cycle.

[0077] In actual applications, the inverter will receive the expected operating power corresponding to the current control cycle sent by the superior control unit in the current control cycle. The expected operating power is the target operating power mentioned in this embodiment. Correspondingly, before the inverter adjusts the operating power, the actual operating power corresponding to the previous control cycle, the difference between the target operating power of the inverter and the actual operating power, is the total power correction value corresponding to the inverter in the current control cycle mentioned in this embodiment. It can be imagined that the total power correction value is the total power to be allocated to each energy storage branch in the energy storage system.

[0078] Furthermore, it is also necessary to obtain the charge and discharge power of each energy storage branch in the energy storage system in the previous control cycle. Of course, it can also be understood as the actual charge and discharge power of each energy storage branch before the power adjustment of the current control cycle. The embodiment of the present invention defines it as the basic charge and discharge power.

[0079] S110. Based on the basic charge and discharge power of each energy storage branch, the total power correction value is distributed among the energy storage branches to obtain the reference charge and discharge power of each energy storage branch.

[0080] As mentioned above, the total power correction value is the total power to be allocated. When allocating it specifically, it is necessary to allocate the total power correction value among the energy storage branches on the basis of the basic charging and discharging power of each energy storage branch, so that each energy storage branch shares part of the total power correction value on the basis of the original basic charging and discharging power.

[0081] In the embodiment of the present invention, the sum of the basic charge and discharge power of the energy storage branch and the total correction value of the power shared by itself is defined as the reference charge and discharge power. After determining the charge and discharge power shared by all energy storage branches, the reference charge and discharge power of each energy storage branch can be obtained.

[0082] The specific process of allocating the total power correction value among the energy storage branches will be expanded in subsequent content and will not be described in detail here.

[0083] S120: Control the charging and discharging of corresponding energy storage branches based on each reference charging and discharging power.

[0084] After the reference charge and discharge power of each energy storage branch is obtained, the corresponding energy storage branch can be controlled to perform charge and discharge based on the corresponding reference charge and discharge power of each energy storage branch.

[0085] As mentioned above, the energy storage branch includes energy storage batteries and DC / DC converters connected in series. In actual applications, the energy storage batteries have different charging and discharging power thresholds corresponding to different states, and the DC / DC converter also has its own power threshold. Based on this, during the charging and discharging process of the energy storage batteries, the actual charging and discharging power used cannot be greater than the above two thresholds.

[0086] Optionally, in order to ensure the safety of the energy storage battery charging and discharging process, before actually controlling the energy storage branch to charge and discharge, it is also necessary to process the reference charging and discharging power of each energy storage branch according to a preset limiting rule to obtain a target charging and discharging power that meets the actual operation requirements of each energy storage branch. Only then can each energy storage branch be controlled to charge and discharge according to the corresponding target charging and discharging power.

[0087] As mentioned above, the charge and discharge power threshold of the energy storage battery is related to the state of the energy storage battery. Based on this, an embodiment of the present invention provides a preset mapping relationship, in which the corresponding relationship between the SOC value of the energy storage battery and the battery charge and discharge power threshold is recorded. When determining the battery charge and discharge power threshold of each energy storage branch, each energy storage branch can be used as a target energy storage branch. After obtaining the SOC value of the target energy storage branch, that is, obtaining the target SOC value, the preset mapping relationship is queried to further determine the battery charge and discharge power threshold corresponding to the target SOC value.

[0088] Furthermore, for a determined energy storage branch, the power threshold of the DC / DC converter set therein can be clearly known. On this basis, the battery charge and discharge power threshold, DC / DC converter power threshold and the reference charge and discharge power calculated in the above steps corresponding to any energy storage branch can be obtained. Following the definition of the above target energy storage branch, the minimum value among the battery charge and discharge power threshold, DC / DC converter power threshold and the reference charge and discharge power is used as the target charge and discharge power of the target energy storage branch.

[0089] Optionally, when controlling each energy storage branch to operate according to the corresponding target charge and discharge power, first determine whether each energy storage branch is in a hot standby state. If an energy storage branch is in the hot standby state, the charge and discharge process of this type of energy storage branch is stopped, that is, the power regulation process cannot be effectively responded to. For the energy storage branch that is not in the hot standby state, charge and discharge are performed according to the corresponding target charge and discharge power obtained in the above steps.

[0090] It should be noted that energy storage branches in which the energy storage batteries are in a fully charged or discharged state are all energy storage branches in a hot standby state.

[0091] Furthermore, according to the control process of the DC / DC converter in the prior art, the DC / DC converter generally operates in a constant current mode, and the voltage across the DC / DC converter is not adjusted during the control process. Therefore, when controlling the charging and discharging of the energy storage branch according to the target charging and discharging power, the target charging and discharging power of the energy storage branch that is not in the hot standby state can be converted into the charging and discharging current, and then the DC / DC converter in the corresponding energy storage branch that is not in the hot standby state is controlled to operate according to the obtained charging and discharging current, so as to charge and discharge the energy storage battery in the corresponding energy storage branch.

[0092] In summary, in the charge and discharge control method provided by the embodiment of the present invention, the total power correction value to be allocated is the difference between the target operating power and the actual operating power of the inverter in the current control cycle, that is, the total power correction value is the power change of the inverter relative to the previous control cycle, which is much smaller than the target operating power of the current control cycle, so that when the power correction value is allocated among the energy storage branches, the power change corresponding to each energy storage branch is small, reducing the possibility of exceeding the charge and discharge power limit value of the energy storage branch. Furthermore, the charge and discharge power change of the energy storage branch in the current control cycle is small, and it can also avoid causing oscillation of the DC side voltage and power of the photovoltaic system, thereby ensuring the stability and reliability of the system operation.

[0093] Furthermore, before actually controlling the charging and discharging of the energy storage branch, the state of the energy storage battery will be identified to avoid charging and discharging operations on the energy storage battery in the hot standby state, which is beneficial to the safety of the charging process.

[0094] The following is an introduction to the process of allocating the total power correction value between the energy storage branches. Figure 2 , Figure 2 is a flow chart of a process for allocating a total power correction value, which may include:

[0095] S200: Obtain battery status parameters of each energy storage branch.

[0096] Optionally, in the present embodiment, the battery status parameter of the energy storage branch includes the SOC value of the energy storage battery. Of course, other parameters that can characterize the operating status and battery power of the energy storage battery can also be selected. Under the premise of not exceeding the scope of the core idea of ​​the present invention, they also fall within the scope of protection of the present invention.

[0097] S210. Based on each battery status parameter, distribute the total power correction value among each energy storage branch to obtain a power correction value of each energy storage branch.

[0098] Optionally, when implementing this step, it can be roughly divided into two steps. First, the correction ratio of each energy storage branch is determined according to each battery status parameter. Then, the product of the correction ratio of each energy storage branch and the total power correction value is calculated to obtain the power correction value of each energy storage branch.

[0099] Since the operations on each energy storage branch are the same, the process of determining the correction ratio is described in detail below using any energy storage branch as an example.

[0100] First, the correction ratio of the energy storage branch is determined according to the battery status parameters. Combined with the actual operation of the power supply system, it can be seen that the load power will inevitably fluctuate, which will cause the operating power of the inverter to increase, decrease, or remain unchanged. Correspondingly, the total power correction value of the inverter will also increase, decrease, or remain unchanged. For different situations of the total power correction value, the embodiment of the present invention provides different correction ratio determination methods.

[0101] Specifically, if the total power correction value is greater than zero, it means that the power adjustment direction should be to increase the charging power of the energy storage branch or reduce the discharging power. Under this power adjustment direction, the correction ratio of the energy storage branch needs to be determined according to the following formula:

[0102]

[0103] Among them, η represents the correction ratio of the energy storage branch;

[0104] N represents the total number of energy storage branches in the energy storage system, N>1;

[0105] SOC i represents the SOC value of the i-th energy storage branch, i∈[1,N];

[0106] SOC Z Represents the sum of the SOC values ​​of each energy storage branch in the energy storage system.

[0107] At the same time, according to the above formula, it can be seen that when a horizontal comparison is made between the energy storage branches, the energy storage branch with a large SOC value has a smaller correction ratio, and accordingly, the shared power is also smaller, which is conducive to the balance of SOC values ​​between the energy storage branches.

[0108] If the total power correction value is less than zero, it means that the power adjustment direction should be to reduce the charging power of the energy storage branch or increase the discharging power. Under this power adjustment direction, the correction ratio of the energy storage branch can be determined according to the following formula:

[0109]

[0110] Among them, η represents the correction ratio of the energy storage branch;

[0111] SOC i represents the SOC value of the i-th energy storage branch, i∈[1,N], N is the total number of energy storage branches;

[0112] SOC Z Represents the sum of the SOC values ​​of each energy storage branch in the energy storage system.

[0113] Based on the above calculation formula, it can also be seen that when making a horizontal comparison between the energy storage branches, the energy storage branch with a large SOC value has a larger correction ratio, and the corresponding energy storage branch reduces the charging power or increases the discharging power to a greater extent, which helps to establish a balance between the SOC of the energy storage branches.

[0114] Furthermore, if the total power correction value is equal to zero, it means that the target operating power of the inverter in the current control cycle is consistent with the actual operating power of the inverter and no adjustment is required. In this case, the correction ratio of each energy storage branch can be directly determined to be zero.

[0115] S220, respectively calculating the sum of the basic charge and discharge power of each energy storage branch and the corresponding power correction value to obtain the reference charge and discharge power of each energy storage branch.

[0116] For each energy storage branch, after the power correction value of the energy storage branch is obtained, the sum of the power correction value and its own basic charge and discharge power is the reference charge and discharge power of the energy storage branch.

[0117] From the above process of determining the reference charge and discharge power of the energy storage branch, it can be seen that the charge and discharge control method provided in this embodiment, when adjusting the charge and discharge power that each energy storage branch needs to share, determines the proportion of the power that the energy storage branch needs to share based on the SOC value of the energy storage branch, so that the change in the charge and discharge power matches its own SOC value, which helps to achieve the SOC value balance between the energy storage branches.

[0118] Furthermore, the charging and discharging power of the energy storage branch in the current control cycle is obtained after a small adjustment based on the basic charging and discharging power, which can effectively avoid sudden changes in the charging and discharging power of the energy storage branch. This not only reduces the requirements for the performance of the DC / DC converter in the energy storage branch, but also effectively avoids voltage oscillation and power oscillation of the photovoltaic system caused by large changes in the charging and discharging power.

[0119] Optional, see Figure 4 , Figure 4 is a flow chart of another charge and discharge control method provided by an embodiment of the present invention. Figure 2 Based on the embodiment shown, the process of the charge and discharge control method provided in this embodiment also includes:

[0120] S300, determine whether the energy storage system is running for the first time, if so, execute S310, if not, execute S100.

[0121] The specific implementation method for determining whether the energy storage system is running for the first time can be implemented by referring to the prior art, and the present invention does not limit this.

[0122] If it is determined that the energy storage system is operating for the first time, S310 is executed. On the contrary, if it is determined that the energy storage system is not operating for the first time, S100 and subsequent steps are executed.

[0123] S310: Obtain the total power to be allocated of the energy storage system.

[0124] It is conceivable that when the energy storage system is running for the first time, there is no previous control cycle, and naturally it is impossible to calculate the total power correction value mentioned in the above content. In this case, this embodiment needs to obtain the total power to be allocated of the energy storage system. It should be noted that the actual total power to be allocated here can be the same as the target operating power of the inverter, or it can be different from the target operating power of the inverter, which mainly depends on the operation of the photovoltaic system connected to the inverter. If the inverter is not connected to the photovoltaic system or the connected photovoltaic system has no power output, in this case, the target operating power of the inverter is the total power to be allocated of the energy storage system.

[0125] S320, allocating the total power to be allocated to each energy storage branch according to a preset ratio, and controlling each energy storage branch to perform charging and discharging.

[0126] In practical applications, the preset ratios corresponding to the energy storage branches can be set based on the rated capacity of the energy storage battery in the energy storage branch or other parameters, and the present invention does not limit the specific selection of the preset ratios. When the energy storage system selects the same energy storage branch, the total power to be allocated can be evenly distributed to each energy storage branch.

[0127] If the energy storage system is not running for the first time, it can be controlled according to S100 and subsequent steps. The specific control process can be referred to Figure 2 The implementation of the illustrated embodiment will not be described in detail here.

[0128] Optional, see Figure 5 , Figure 5 For a structural block diagram of a controller provided in an embodiment of the present invention, see Figure 5 As shown, it may include: at least one processor 100, at least one communication interface 200, at least one memory 300 and at least one communication bus 400;

[0129] In the embodiment of the present invention, the number of the processor 100, the communication interface 200, the memory 300, and the communication bus 400 is at least one, and the processor 100, the communication interface 200, and the memory 300 communicate with each other through the communication bus 400; obviously, Figure 5 The communication connections shown for the processor 100, the communication interface 200, the memory 300, and the communication bus 400 are merely optional;

[0130] Optionally, the communication interface 200 may be an interface of a communication module, such as an interface compatible with a vehicle-mounted OBD interface or other CAN network interface;

[0131] The processor 100 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.

[0132] The memory 300 stores application programs and may include a high-speed RAM memory and may also include a non-volatile memory, such as at least one disk memory.

[0133] The processor 100 is specifically used to execute the application program in the memory to implement any embodiment of the charging and discharging control method described above.

[0134] Optionally, an embodiment of the present invention further provides a power generation system, comprising: an energy storage system, an inverter, and the controller provided in the above embodiment, wherein:

[0135] The energy storage system comprises a plurality of energy storage branches;

[0136] Each of the energy storage branches is connected to the DC side of the inverter respectively;

[0137] The AC side of the inverter is connected to the AC power grid;

[0138] The controller is connected to each of the energy storage branches and the inverter respectively.

[0139] Optionally, the power generation system provided in this embodiment further includes: a photovoltaic system, wherein:

[0140] The photovoltaic system is connected to the DC side of the inverter.

[0141] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0142] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0143] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0144] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the core concept or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A charge and discharge control method, characterized in that: Applied to an energy storage system including a plurality of energy storage branches, and the energy storage system is connected to an inverter, the method comprising: Obtaining a total power correction value of the energy storage system and a basic charge and discharge power of each energy storage branch in the previous control cycle; Wherein, the total power correction value is the difference between the target operating power and the actual operating power of the inverter in the current control cycle; Based on the basic charge and discharge power of each of the energy storage branches, the total power correction value is distributed among the energy storage branches to obtain the reference charge and discharge power of each of the energy storage branches; Controlling the charging and discharging of the corresponding energy storage branch based on each of the reference charging and discharging powers; The controlling the charging and discharging of the corresponding energy storage branches based on each of the reference charging and discharging powers includes: taking each of the energy storage branches as a target energy storage branch respectively; Obtaining a battery charge and discharge power threshold and a DC / DC converter power threshold corresponding to the target energy storage branch; The minimum value among the battery charge and discharge power threshold, the DC / DC converter power threshold and the reference charge and discharge power is used as the target charge and discharge power of the target energy storage branch; Control each of the energy storage branches to charge and discharge according to the corresponding target charging and discharging power.

2. The charge and discharge control method according to claim 1, characterized in that: The method of allocating the total power correction value among the energy storage branches on the basis of the basic charge and discharge power of each energy storage branch to obtain the reference charge and discharge power of each energy storage branch includes: Obtaining battery status parameters of each of the energy storage branches; Based on each of the battery state parameters, the total power correction value is distributed among the energy storage branches to obtain a power correction value of each of the energy storage branches; The sum of the basic charge and discharge power of each energy storage branch and the corresponding power correction value is calculated respectively to obtain the reference charge and discharge power of each energy storage branch.

3. The charge and discharge control method according to claim 2, characterized in that: The total power correction value is distributed among the energy storage branches based on the battery state parameters to obtain the power correction value of each energy storage branch, including: Determining the correction ratio of each energy storage branch according to each battery state parameter; The product of the correction ratio of each energy storage branch and the total power correction value is calculated respectively to obtain the power correction value of each energy storage branch.

4. The charge and discharge control method according to claim 3, characterized in that: The battery state parameter includes an SOC value; Determining the correction ratio of each energy storage branch according to each battery state parameter includes: If the total power correction value is greater than zero, the correction ratio of each energy storage branch is determined according to the following formula: Among them, η represents the correction ratio of the energy storage branch; N represents the total number of energy storage branches in the energy storage system, N>1; SOC i represents the SOC value of the i-th energy storage branch, i∈[1,N]; SOC Z Represents the sum of the SOC values ​​of each energy storage branch in the energy storage system.

5. The charge and discharge control method according to claim 3, characterized in that: The battery state parameter includes an SOC value; Determining the correction ratio of each energy storage branch according to each battery state parameter includes: If the total power correction value is less than zero, the correction ratio of each energy storage branch is determined according to the following formula: Among them, η represents the correction ratio of the energy storage branch; SOC i represents the SOC value of the i-th energy storage branch, i∈[1,N], N is the total number of energy storage branches; SOC Z Represents the sum of the SOC values ​​of each energy storage branch in the energy storage system.

6. The charge and discharge control method according to claim 3, characterized in that: Determining the correction ratio of each energy storage branch according to each battery state parameter includes: If the total power correction value is equal to zero, the correction ratio of each energy storage branch is determined to be zero.

7. The charge and discharge control method according to claim 1, characterized in that: The obtaining of the battery charge and discharge power threshold corresponding to the target energy storage branch includes: Obtaining a target SOC value of the target energy storage branch; Querying a preset mapping relationship to determine a battery charge and discharge power threshold corresponding to a target SOC value of the target energy storage branch; The preset mapping relationship records the corresponding relationship between the SOC value of the energy storage battery and the battery charging and discharging power threshold.

8. The charge and discharge control method according to claim 1, characterized in that: The controlling each of the energy storage branches to charge and discharge according to the corresponding target charge and discharge power includes: respectively determining whether each of the energy storage branches is in a hot standby state; Stop the charging and discharging process of the energy storage branch in the hot standby state; The energy storage branches that are not in the hot standby state are controlled to charge and discharge according to the corresponding target charging and discharging power.

9. The charge and discharge control method according to claim 8, characterized in that: The controlling the energy storage branch that is not in the hot standby state to charge and discharge according to the corresponding target charge and discharge power includes: Convert the target charge and discharge power of the energy storage branch that is not in the hot standby state into the charge and discharge current; The DC / DC converter in the corresponding energy storage branch that is not in the thermal standby state is controlled to operate according to the charge and discharge current to charge and discharge the energy storage battery in the corresponding energy storage branch.

10. The charge and discharge control method according to any one of claims 1 to 9, characterized in that: The obtaining of the total power correction value of the energy storage system and the basic charge and discharge power of each energy storage branch in the previous control cycle includes: Determine whether the energy storage system is operating for the first time; If it is the first operation, obtaining the total power to be allocated of the energy storage system; Allocating the total power to be allocated to each of the energy storage branches according to a preset ratio, and controlling each of the energy storage branches to charge and discharge; If it is not the first operation, the total power correction value of the energy storage system and the basic charging and discharging power of each energy storage branch in the previous control cycle are obtained.

11. A controller, characterized in that: include: Memory and processor; The memory stores a program suitable for execution by the processor to implement the charge and discharge control method according to any one of claims 1 to 10.

12. A power generation system, characterized in that: include: An energy storage system, an inverter and a controller as claimed in claim 11, wherein: The energy storage system comprises a plurality of energy storage branches; Each of the energy storage branches is connected to the DC side of the inverter respectively; The AC side of the inverter is connected to the AC power grid; The controller is connected to each of the energy storage branches and the inverter respectively.

13. The power generation system according to claim 12, characterized in that: Also includes: Photovoltaic system, where The photovoltaic system is connected to the DC side of the inverter.