Control method, device, electronic device and storage medium for energy storage system
By using communication networks and preset algorithms in the energy storage system to synchronously control the bypass or access operations of multiple battery devices, the problem of sudden changes in output terminal voltage when a battery fails is solved and the stability and reliability of the system are improved.
Patent Information
- Application Number
- CN202210806591.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-07-08
AI Technical Summary
The energy storage system needs to perform simultaneous bypass and access operations when the battery fails, otherwise it will cause sudden changes in the output voltage and system downtime.
By introducing a communication network into the energy storage system, time synchronization and status information sharing are performed between controllers. The main controller is selected based on a preset algorithm, and bypass or access operation instructions are generated and synchronously executed to ensure that multiple battery devices can operate at the same time. Disconnect or connect operations.
It effectively prevents voltage mutations at the output end of the energy storage system, reduces the possibility of system downtime, and ensures stable operation of the system.
Smart Images

Figure CN115297063B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy storage technology, and in particular to a control method, device, electronic equipment and storage medium for an energy storage system. Background Art
[0002] With the popularization of new energy vehicles and the introduction of goals such as "carbon neutrality" and "carbon peak", the energy structure of the entire society is shifting towards electricity. Among them, new energy vehicles need to be equipped with energy storage systems, and photovoltaic power generation and wind power generation also need to be equipped with energy storage systems.
[0003] In practice, energy storage systems are usually composed of multiple battery devices connected in series. In order to improve the stability of the energy storage system, more battery devices are usually set up, that is, the number of batteries will have some redundancy. When a single battery device fails to work properly due to overvoltage, undervoltage, overtemperature, etc., the entire series circuit cannot work, so these battery devices need to be bypassed and the remaining battery devices need to be connected to the series circuit; in addition, during the charging and discharging process, it may also be necessary to bypass some battery devices and connect the remaining battery devices to the series circuit. It is understandable that if these bypass and access operations need to be performed simultaneously during use, otherwise, there will be a sudden change in voltage at the output end of the energy storage system, causing the system to crash and fail to work. Summary of the invention
[0004] The object of the present invention is to provide a control method, device, electronic device and storage medium for an energy storage system. In order to achieve one of the above-mentioned invention objects, one embodiment of the present invention provides a control method for a controller in an energy storage system, the energy storage system comprising: M battery devices connected in series and a communication network, the battery device comprising a positive electrode and a negative electrode, the battery device comprising an energy storage battery, a controller, a first switch module and a second switch module, the M controllers can communicate with each other based on the communication network, wherein M is a natural number, M≥2; the positive electrode of the energy storage battery is electrically connected to the first end of the first switch module, the positive electrode and the first end of the second switch module are both electrically connected to the second end of the first switch module, and the second end of the second switch module is electrically connected to the negative electrode of the energy storage battery; the controller can control the first switch The present invention relates to a method for controlling the connection and disconnection between the first and second ends of a switch module, and controlling the connection and disconnection between the first and second ends of a second switch module; comprising the following steps: selecting a second main controller from the remaining M-1 controllers through a second preset algorithm; the present controller sending a first message to the second main controller through the communication network, the first message including a first timestamp T1 when the first message leaves the present controller; receiving a second message sent back by the second main controller, the second message including a second timestamp T2 when the first message arrives at the second main controller, and a third timestamp T3 when the second message leaves the second main controller, and a fourth timestamp T4 when the present controller receives the second message; the present controller relative to the second main controller The time difference between the two is = ((T2-T1)+(T3-T4)) / 2, and the time of the controller is corrected based on the time difference; the first state information of the energy storage battery corresponding to the controller is obtained, and the first state information is sent to the remaining M-1 controllers based on the communication network, and the second state information sent by the remaining M-1 controllers is received; based on the first preset algorithm, the first state information and the M-1 second state information, a first main controller is selected from the M controllers, and the M controllers are sorted to obtain a sorted queue; from the end of the queue to the head of the queue, N target controllers are selected from the sorted sequence, and operation instructions corresponding to the N target controllers are generated, and the operation instructions corresponding to the N target controllers are generated. The instructions are all the same, wherein the operation instruction is used to characterize the bypass operation or access operation of the energy storage battery, N is a natural number, N≤M; when this controller is the first main controller, an operation time is generated, and the corresponding operation instruction and the operation time are sent to N target controllers, wherein the operation time is later than the current time; when the operation instruction and the operation time are received, the following operations are performed at the received operation time: when the received operation instruction characterizes the bypass operation, the first switch module is controlled to be in a disconnected state, and the second switch module is controlled to be in a connected state; when the received operation instruction characterizes the access operation, the first switch module is controlled to be in a connected state, and the second switch module is controlled to be in a disconnected state.
[0005] As a further improvement of an embodiment of the present invention, the "sending corresponding operation instructions and the operation time to N target controllers" specifically includes: sending corresponding operation instructions and the operation time to M controllers, wherein, when the operation instructions corresponding to the N target controllers are bypass operations, the operation instructions corresponding to the remaining MN controllers are access operations; when the operation instructions corresponding to the N target controllers are access operations, the operation instructions corresponding to the remaining MN controllers are bypass operations.
[0006] As a further improvement of an embodiment of the present invention, both the first and second state information include the SOC value of the energy storage battery; the “selecting a first main controller from M controllers based on the first preset algorithm, the first state information and M-1 second state information, and sorting the M controllers to obtain a sorting queue” specifically includes: selecting a first main controller from M controllers based on the first preset algorithm and M SOC values; when the corresponding energy storage battery is in a charging state, sorting the M controllers in ascending order of SOC values to obtain a sorting queue; when the corresponding energy storage battery is in a discharging state, sorting the M controllers in descending order of SOC values to obtain a sorting queue; the “generating operation instructions corresponding to N target controllers, and the operation instructions corresponding to the N target controllers are all the same” specifically includes: generating bypass operation instructions corresponding to the N target controllers.
[0007] As a further improvement of an embodiment of the present invention, both the first and second status information include a health value of an energy storage battery, and the better the health condition of the energy storage battery, the higher the corresponding health value; the "selecting a first main controller from M controllers based on the first preset algorithm, the first status information and M-1 second status information, and sorting the M controllers to obtain a sorted queue" specifically includes: selecting a first main controller from M controllers based on the first preset algorithm and M health values; sorting the M controllers in descending order of health values to obtain a sorted queue; the "generating operation instructions corresponding to N target controllers, and the operation instructions corresponding to the N target controllers are the same" specifically includes: generating bypass operation instructions corresponding to the N target controllers.
[0008] As a further improvement of an embodiment of the present invention, the configuration voltage of the energy storage system is V; when the operation instructions corresponding to N target controllers are bypass operations, the sum of the voltages of the energy storage batteries corresponding to the remaining MN controllers is Sum1, |Sum1-V|≤error threshold; when the operation instructions corresponding to the N target controllers are access operations, the sum of the voltages of the energy storage batteries corresponding to the N target controllers is Sum2, |Sum2-V|≤error threshold; wherein, the error threshold>0.
[0009] As a further improvement of one embodiment of the present invention, the first and second switch modules are both switching transistors. In the first and second switch modules, the first end is one of the collector and the emitter, and the second end is the other of the collector and the emitter; the controller is electrically connected to the base of the first switch module and also electrically connected to the base of the second switch module.
[0010] The embodiment of the present invention further provides a control device for a controller in an energy storage system, wherein the energy storage system comprises: M battery devices connected in series and a communication network, wherein the battery device comprises a positive electrode and a negative electrode, wherein the battery device comprises an energy storage battery, a controller, a first switch module and a second switch module, and the M controllers can communicate with each other based on the communication network, wherein M is a natural number, and M≥2; the positive electrode of the energy storage battery is electrically connected to the first end of the first switch module, the positive electrode and the first end of the second switch module are both electrically connected to the second end of the first switch module, and the second end of the second switch module is electrically connected to the negative electrode of the energy storage battery; and the controller can control the connection and disconnection between the first and second ends of the first switch module. , and controlling the connection and disconnection between the first and second ends in the second switch module; comprising the following modules: a time synchronization module, used to select a second main controller from the remaining M-1 controllers through a second preset algorithm; the controller sends a first message to the second main controller through the communication network, the first message includes a first timestamp T1 when the first message leaves the controller; receives a second message sent back by the second main controller, the second message includes a second timestamp T2 when the first message arrives at the second main controller, and a third timestamp T3 when the second message leaves the second main controller, and the fourth timestamp T4 when the controller receives the second message; the time difference between the controller and the second main controller = ((T2-T1) +(T3-T4)) / 2, correct the time of this controller based on the time difference; a selection module is used to obtain the first state information of the energy storage battery corresponding to this controller, and send the first state information to the remaining M-1 controllers based on the communication network, and receive the second state information sent by the remaining M-1 controllers; based on the first preset algorithm, the first state information and the M-1 second state information, select the first main controller from the M controllers, sort the M controllers to obtain a sorting queue; from the end of the queue to the head of the queue, select N target controllers from the sorting sequence, generate operation instructions corresponding to the N target controllers, the operation instructions corresponding to the N target controllers are the same, wherein the operation The instruction is used to represent the bypass operation or access operation of the energy storage battery, N is a natural number, N≤M; the instruction sending module is used to generate the operation time when the current controller is the first main controller, and send the corresponding operation instruction and the operation time to N target controllers, wherein the operation time is later than the current time; the instruction execution module is used to perform the following operations at the received operation time when the operation instruction and the operation time are received: when the received operation instruction represents the bypass operation, the first switch module is controlled to be in the disconnected state, and the second switch module is controlled to be in the connected state; when the received operation instruction represents the access operation, the first switch module is controlled to be in the connected state, and the second switch module is controlled to be in the disconnected state.
[0011] An embodiment of the present invention further provides an electronic device, comprising: a memory for storing executable instructions; and a processor for implementing the above-mentioned control method when executing the executable instructions stored in the memory.
[0012] The embodiment of the present invention further provides a storage medium storing executable instructions for causing a processor to execute the above control method.
[0013] Compared with the prior art, the technical effect of the present invention is that: the embodiment of the present invention provides a control method, device, electronic device and storage medium for an energy storage system, the control method comprising: time synchronization with other controllers, obtaining the first state information of the energy storage battery corresponding to the controller, and the second state information sent by other controllers; selecting N target controllers, generating operation instructions corresponding to the N target controllers; sending corresponding operation instructions and the operation time to all N target controllers; when the operation instruction and the operation time are received, performing the following operations at the received operation time: when the received operation instruction represents a bypass operation, controlling the first switch module to be in a disconnected state, and controlling the second switch module to be in a connected state; when the received operation instruction represents a connection operation, controlling the first switch module to be in a connected state, and controlling the second switch module to be in a disconnected state. Thus, multiple battery devices can be disconnected and connected at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a schematic structural diagram of an energy storage system in an embodiment of the present invention;
[0015] Figure 2 It is a flowchart of the control method in an embodiment of the present invention. DETAILED DESCRIPTION
[0016] The present invention will be described in detail below in conjunction with the various embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.
[0017] As used herein, terms indicating spatial relative positions such as "upper," "above," "lower," and "below" are used for the purpose of convenience to describe the relationship of one unit or feature relative to another unit or feature as shown in the accompanying drawings. Terms of spatial relative position may be intended to include different orientations of the device in use or operation in addition to the orientation shown in the drawings. For example, if the device in the figure is turned over, units described as being "below" or "beneath" other units or features will be located "above" the other units or features. Thus, the exemplary term "below" can encompass both above and below orientations. The device may be oriented in other ways (rotated 90 degrees or in other orientations), and the spatially relative descriptors used herein interpreted accordingly.
[0018] This embodiment 1 provides an energy storage system, such as Figure 1 As shown, including:
[0019] M battery devices 1 and a communication network 2 are connected in series. The battery device 1 includes a positive electrode 1A and a negative electrode 1B. The battery device 1 includes an energy storage battery 11, a controller 12, a first switch module S1 and a second switch module S2. The M controllers 12 can communicate with each other based on the communication network 2, wherein M is a natural number, M≥2; here, the energy storage battery 11 may include a plurality of cells, which are connected in series or in parallel to form the energy storage battery 11. The energy storage battery 11 may be a nickel-hydrogen battery, a nickel-cadmium battery, a lithium battery, etc. The controller 12 may be a single-chip microcomputer, etc. The communication network 2 may be Ethernet, a fiber optic network, a CAN (Controller Area Network), etc. It can be understood that in the energy storage system, the number of battery devices 1 can be increased or decreased according to actual needs.
[0020] Here, each battery device 1 includes a controller 12, that is, each battery device 1 can independently control the energy storage battery 11 therein, that is, the energy storage system is a distributed control system. It can be understood that in this energy storage system, when a battery device 1 is damaged, it is only necessary to bypass the battery device 1, and the energy storage system can still work normally.
[0021] Here, in order to distinguish and process different controllers 12, different names can be given to different controllers 12, that is, each controller 12 has a unique identifier (which can also be considered as the identifier of the battery device 1). In addition, each controller 12 is provided with a communication module.
[0022] The positive electrode of the energy storage battery 11 is electrically connected to the first end of the first switch module S1, the positive electrode 1A and the first end of the second switch module S2 are both electrically connected to the second end of the first switch module S1, and the second end of the second switch module S2 is electrically connected to the negative electrode of the energy storage battery 11;
[0023] The controller 12 can control the connection and disconnection between the first and second ends of the first switch module S1 , and control the connection and disconnection between the first and second ends of the second switch module S2 .
[0024] Here, if Figure 1 As shown, in a battery device 1, when the first switch module S1 is in a connected state and the second switch module S2 is in a disconnected state, the battery device 1 is connected to the energy storage system; when the first switch module S1 is in a disconnected state and the second switch module S2 is in a connected state, the battery device 1 is in a bypass state, that is, it is not connected to the energy storage system.
[0025] Here, if Figure 1 As shown, the M battery devices 1 connected in series are connected in series, that is, for two adjacent battery devices 1, the positive electrode 1A of one battery device 1 is electrically connected to the negative electrode 1B of the other battery device 1. In addition, the battery system is also provided with a positive output port 3A and a negative output port 3B.
[0026] In this embodiment, the first and second switch modules are both switch triodes. In the first and second switch modules, the first end is one of the collector and the emitter, and the second end is the other of the collector and the emitter. The controller 12 is electrically connected to the base of the first switch module S1 and is also electrically connected to the base of the second switch module S2. Here, the controller 12 can control the connection and disconnection between the collector and the emitter of the first and second switch modules by controlling the voltage of the base of the first and second switch modules.
[0027] Embodiment 2 of the present invention provides a control method for the controller 12 in Embodiment 1, where the controller 12 can execute the control method once every preset time. For example, every 60 seconds, etc. In addition, the controller 12 will monitor the state value of the corresponding energy storage battery 11 in real time (for example, voltage, temperature, SOC, maximum cell voltage, minimum cell voltage and current, etc.). When the state value is not within the preset range, an execution command can be sent to all controllers 12, so that each controller 12 will execute the control method; in the energy storage system, there are M controllers 12 in total, and each controller 12 can execute the control method; Figure 2 As shown, the following steps are included:
[0028] Step 201: Based on the communication network 2, time synchronization is performed with the remaining M-1 controllers 12; in the energy storage system, the M controllers 12 have their own independent system clocks. In order to eliminate the time error between the controllers 12, the M controllers 12 need to be time synchronized.
[0029] Step 202: obtaining the first state information of the energy storage battery 11 corresponding to the controller, and sending the first state information to the remaining M-1 controllers 12 based on the communication network 2, and receiving the second state information sent by the remaining M-1 controllers 12; selecting the first main controller from the M controllers 12 based on the first preset algorithm, the first state information and the M-1 second state information, and sorting the M controllers 12 to obtain a sorting queue; selecting N target controllers from the sorting sequence in the direction from the tail to the head of the queue, generating operation instructions corresponding to the N target controllers, and the operation instructions corresponding to the N target controllers are all the same, wherein the operation instructions are used to characterize bypass operation or access operation of the energy storage battery 11, N is a natural number, N≤M;
[0030] Here, in practice, when a controller executes the control method, the controller is referred to as "this controller", and the first and second state information may include: the voltage of the energy storage battery 11, the current of the energy storage battery 11, and the temperature of the energy storage battery 11. Here, "based on the first preset algorithm, the first state information and the M-1 second state information, the M controllers 12 are sorted to obtain a sorting queue" can be understood as: based on the first preset algorithm, the state information of each controller 12 is processed to obtain M scores corresponding to the M controllers 12, and then the scores are sorted in order from small to large or from large to small to obtain a sorting queue, and then N controllers are selected for operation. For example: based on the first and second status information, each energy storage battery 11 can be scored according to the quality of the energy storage battery 11 (the better the quality, the higher the score), and the M energy storage batteries 11 are arranged in order from high to low scores, and then, N are selected for bypass operation, and the remaining MN are connected; in addition, when charging, based on the first and second status information, each energy storage battery 11 can be scored according to the remaining power of the energy storage battery 11 (the more remaining power, the higher the score), and the M energy storage batteries 11 are arranged in order from high to low scores, and then, N are selected for connection operation, and the remaining MN are bypassed; in addition, when discharging, based on the first and second status information, each energy storage battery 11 can be scored according to the remaining power of the energy storage battery 11 (the more remaining power, the higher the score), and the M energy storage batteries 11 are arranged in order from low to high scores, and then, N are selected for connection operation, and the remaining MN are bypassed.
[0031] Step 203: When the controller is the first master controller, an operation time is generated, and corresponding operation instructions and the operation time are sent to N target controllers, wherein the operation time is later than the current time; here, the operation time of each controller is the same, and it can be understood that when the controller is the first master controller, the corresponding operation instruction and the operation time are also sent to the controller. In practice, based on the communication network 2, when the corresponding operation instruction and the operation time are sent to N target controllers, in order to prevent data errors, a check code can be added to the data packet, for example, a CRC (Cyclic Redundancy Check) code, etc.
[0032] Step 204: When the operation instruction and the operation time are received, the following operations are performed at the received operation time: when the received operation instruction represents a bypass operation, the first switch module S1 is controlled to be in a disconnected state, and the second switch module S2 is controlled to be in a connected state; when the received operation instruction represents a connection operation, the first switch module S1 is controlled to be in a connected state, and the second switch module S2 is controlled to be in a disconnected state. Here, in practice, a timer can be set, and the timer times out at the operation time, and then the "following operation" can be performed immediately.
[0033] Here, since time synchronization is performed in advance, each controller can execute the operation instruction at the same time, so that the bypass operation and the access operation can be performed synchronously, thereby effectively preventing voltage mutations at the output end of the energy storage system and reducing the possibility of system downtime.
[0034] Here, when the first switch module S1 is in the disconnected state, if it is necessary to "control the first switch module S1 to be in the disconnected state", no action is required; when the first switch module S1 is in the disconnected state, if it is necessary to "control the first switch module S1 to be in the connected state", the first switch module S1 needs to be switched to the connected state. When the first switch module S1 is in the connected state, if it is necessary to "control the first switch module S1 to be in the connected state", no action is required; when the first switch module S1 is in the connected state, if it is necessary to "control the first switch module S1 to be in the disconnected state", the first switch module S1 needs to be switched to the disconnected state. Similarly, those skilled in the art can imagine the situation of the second switch module S2.
[0035] In the inventor's long-term experiments, it was found that when using this control method, the time error of different controllers when performing access operations or bypass operations is within 0.1ms to 10ms, which can effectively prevent voltage mutations at the output end of the energy storage system and reduce the possibility of system downtime.
[0036] In this embodiment, the "sending corresponding operation instructions and the operation time to N target controllers" specifically includes: sending corresponding operation instructions and the operation time to M controllers, wherein when the operation instructions corresponding to the N target controllers are bypass operations, the operation instructions corresponding to the remaining MN controllers are access operations; when the operation instructions corresponding to the N target controllers are access operations, the operation instructions corresponding to the remaining MN controllers are bypass operations. Here, in practice, the N target controllers and the remaining MN controllers usually need to perform reverse operations.
[0037] In this embodiment, the first and second status information both include the SOC (State Of Charge) value of the energy storage battery 11;
[0038] The “selecting a first main controller from the M controllers 12 based on the first preset algorithm, the first state information and the M-1 second state information, and sorting the M controllers 12 to obtain a sorting queue” specifically includes: selecting a first main controller from the M controllers 12 based on the first preset algorithm and the M SOC values; when the corresponding energy storage battery 11 is in a charging state, sorting the M controllers 12 in ascending order of the SOC values to obtain a sorting queue; when the corresponding energy storage battery 11 is in a discharging state, sorting the M controllers 12 in descending order of the SOC values to obtain a sorting queue;
[0039] Here, when charging, the M controllers 12 are sorted in ascending order of SOC value to obtain a sorting queue, so that the energy storage battery 11 with a higher SOC value can be bypassed; conversely, when discharging, the energy storage battery 11 with a lower SOC value needs to be bypassed. Figure 1 As shown, when the current flows from the positive electrode 1A to the negative electrode 1B, the energy storage system is in a charging state, and the energy storage battery 11 is in a "charging" state (although the energy storage battery 11 may be in a bypass state, it can also be considered to be in a charging state); conversely, when the current flows from the negative electrode 1B to the positive electrode 1A, the energy storage system is in a discharging state, and the energy storage battery 11 is in a "discharging" state (although the energy storage battery 11 may be in a bypass state, it can also be considered to be in a charging state). In summary, in each battery device 1, a detector can be provided to determine whether the current flows from the positive electrode 1A to the negative electrode 1B? Or from the negative electrode 1B to the positive electrode 1A? And then determine whether the energy storage battery 11 is in a charging state? Or is the energy storage battery 11 in a charging state?
[0040] The “generating operation instructions corresponding to N target controllers, wherein the operation instructions corresponding to the N target controllers are all the same” specifically includes: generating bypass operation instructions corresponding to the N target controllers.
[0041] In this embodiment, both the first and second status information include the health value of the energy storage battery 11. The better the health condition of the energy storage battery 11, the higher the corresponding health value;
[0042] The “selecting a first main controller from the M controllers 12 based on the first preset algorithm, the first state information and the M-1 second state information, and sorting the M controllers 12 to obtain a sorting queue” specifically includes: selecting a first main controller from the M controllers 12 based on the first preset algorithm and the M health values; sorting the M controllers 12 in descending order of the health values to obtain a sorting queue;
[0043] The “generating operation instructions corresponding to N target controllers, wherein the operation instructions corresponding to the N target controllers are all the same” specifically includes: generating bypass operation instructions corresponding to the N target controllers.
[0044] Here, in actual use, the energy storage battery 11 with a lower health value needs to be bypassed. You can first obtain multiple attribute values (for example, voltage, temperature, etc.) of the energy storage battery 11, and then score each attribute value. When the attribute value indicates that the energy storage battery 11 is healthier, the score corresponding to the attribute value is higher, otherwise, the score is lower; then, these attribute values are summed up to get the health value. Optionally, the weight corresponding to each attribute value can be different; the maximum value of the score won by different attribute values is equal, and the corresponding minimum value is also equal, that is, different attribute values have the same score range.
[0045] In this embodiment, the “based on the communication network 2, time synchronization with the remaining M-1 controllers 12”:
[0046] Step 1: Select a second main controller from the remaining M-1 controllers 12 through a second preset algorithm; here, the second preset algorithm can be set according to actual needs. For example, these M controllers all send their own status information to the communication network 2, so each controller 12 can obtain the status information of all M controllers 12, and then execute the same second preset algorithm to obtain the controller; in addition, the second main controller can also be written directly to each controller 12.
[0047] Step 2: the controller sends a first message to the second main controller through the communication network 2, where the first message includes a first timestamp T1 when the first message leaves the controller;
[0048] Step 3: Receive a second message sent back by the second main controller, the second message includes a second timestamp T2 when the first message arrives at the second main controller, and a third timestamp T3 when the second message leaves the second main controller, and a fourth timestamp T4 when the controller receives the second message;
[0049] Step 4: The time difference between the current controller and the second main controller = ((T2-T1)+(T3-T4)) / 2, and the time of the current controller is corrected based on the time difference.
[0050] Here, it can be understood that sending the first and second messages between the current controller and the second main controller also requires time T, and T2-T1 includes both the time T and the time difference. Similarly, T3-T4 includes both the time (-1*T) and the time difference. Therefore, the time difference = ((T2-T1)+(T3-T4)) / 2.
[0051] Optionally, in order to improve the integrity of the first and second messages, a check code, such as a CRC (Cyclic Redundancy Check) code, may be added to the first and second messages.
[0052] In this embodiment, the configuration voltage of the energy storage system is V; when the operation instructions corresponding to N target controllers are bypass operations, the voltage sum of the energy storage batteries 11 corresponding to the remaining MN controllers is Sum1, |Sum1-V|≤error threshold; when the operation instructions corresponding to N target controllers are access operations, the voltage sum of the energy storage batteries 11 corresponding to the N target controllers is Sum2, |Sum2-V|≤error threshold; wherein the error threshold>0. Here, in practice, the energy storage system has a configuration voltage. After some energy storage batteries 11 are bypassed, the voltage of the remaining energy storage batteries 11 should meet the configuration voltage requirements, that is, the difference with the configuration voltage is within a very small range [-1*error threshold, error threshold].
[0053] Embodiment 3 of the present invention provides a control device of the controller in Embodiment 1, including the following modules:
[0054] A time synchronization module, used for performing time synchronization with the remaining M-1 controllers 12 based on the communication network 2;
[0055] A selection module is used to obtain the first state information of the energy storage battery 11 corresponding to the controller, and send the first state information to the remaining M-1 controllers 12 based on the communication network 2, and receive the second state information sent by the remaining M-1 controllers 12; based on the first preset algorithm, the first state information and the M-1 second state information, select the first main controller from the M controllers 12, sort the M controllers 12 to obtain a sorting queue; from the end of the queue to the head of the queue, select N target controllers from the sorting sequence, generate operation instructions corresponding to the N target controllers, and the operation instructions corresponding to the N target controllers are the same, wherein the operation instruction is used to characterize the bypass operation or access operation of the energy storage battery 11, N is a natural number, N≤M;
[0056] An instruction sending module, used for generating an operation time when the controller is the first master controller, and sending corresponding operation instructions and the operation time to N target controllers, wherein the operation time is later than the current time;
[0057] The instruction execution module is used to perform the following operations at the received operation time when an operation instruction and an operation time are received: when the received operation instruction represents a bypass operation, the first switch module S1 is controlled to be in a disconnected state, and the second switch module S2 is controlled to be in a connected state; when the received operation instruction represents a connection operation, the first switch module S1 is controlled to be in a connected state, and the second switch module S2 is controlled to be in a disconnected state.
[0058] A third embodiment of the present invention provides an electronic device, comprising: a memory for storing executable instructions; and a processor for implementing the control method in the first embodiment when executing the executable instructions stored in the memory.
[0059] Embodiment 3 of the present invention provides a storage medium storing executable instructions for causing a processor to execute the control method of embodiment 1.
[0060] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
[0061] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims
1. A control method for a controller in an energy storage system, the energy storage system comprising: M battery devices (1) connected in series and a communication network (2), wherein the battery device (1) comprises a positive electrode (1A) and a negative electrode (1B), the battery device (1) comprises an energy storage battery (11), a controller (12), a first switch module (S1) and a second switch module (S2), and the M controllers (12) are capable of communicating with each other based on the communication network (2), wherein M is a natural number, and M≥2; the positive electrode of the energy storage battery (11) is electrically connected to the first end of the first switch module (S1), the positive electrode (1A) and the first end of the second switch module (S2) are both electrically connected to the second end of the first switch module (S1), and the second end of the second switch module (S2) is electrically connected to the negative electrode of the energy storage battery (11); the controller (12) is capable of controlling the connection and disconnection between the first and second ends of the first switch module (S1), and controlling the connection and disconnection between the first and second ends of the second switch module (S2); and is characterized by comprising the following steps: A second main controller is selected from the remaining M-1 controllers (12) by a second preset algorithm; the controller sends a first message to the second main controller via the communication network (2), the first message including a first timestamp T1 when the first message leaves the controller; a second message sent back by the second main controller is received, the second message including a second timestamp T2 when the first message arrives at the second main controller, and a third timestamp T3 when the second message leaves the second main controller, the fourth timestamp of the second message received by the controller being T4; the time difference between the controller and the second main controller = ((T2-T1)+(T3-T4)) / 2, and the time of the controller is corrected based on the time difference; Acquire first state information of an energy storage battery (11) corresponding to the controller, and send the first state information to the remaining M-1 controllers (12) based on the communication network (2), and receive second state information sent by the remaining M-1 controllers (12); select a first main controller from the M controllers (12) based on a first preset algorithm, the first state information and the M-1 second state information, and sort the M controllers (12) to obtain a sorting queue; select N target controllers from the sorting sequence in a direction from the end of the queue to the head of the queue, and generate operation instructions corresponding to the N target controllers, wherein the operation instructions corresponding to the N target controllers are all the same, wherein the operation instructions are used to represent a bypass operation or a connection operation for the energy storage battery (11), and N is a natural number, N≤M; When the controller is the first master controller, an operation time is generated, and a corresponding operation instruction and the operation time are sent to each of the N target controllers, wherein the operation time is later than the current time; When an operation instruction and an operation time are received, the following operations are performed at the received operation time: when the received operation instruction represents a bypass operation, the first switch module (S1) is controlled to be in a disconnected state, and the second switch module (S2) is controlled to be in a connected state; when the received operation instruction represents an access operation, the first switch module (S1) is controlled to be in a connected state, and the second switch module (S2) is controlled to be in a disconnected state.
2. The control method according to claim 1, characterized in that: The “sending corresponding operation instructions and the operation time to N target controllers” specifically includes: The corresponding operation instructions and the operation time are sent to the M controllers, wherein, when the operation instructions corresponding to the N target controllers are bypass operations, the operation instructions corresponding to the remaining MN controllers are access operations; when the operation instructions corresponding to the N target controllers are access operations, the operation instructions corresponding to the remaining MN controllers are bypass operations.
3. The control method according to claim 1, characterized in that: The first and second status information both include the SOC value of the energy storage battery (11); The "selecting a first main controller from the M controllers (12) based on the first preset algorithm, the first state information and the M-1 second state information, and sorting the M controllers (12) to obtain a sorting queue" specifically includes: selecting the first main controller from the M controllers (12) based on the first preset algorithm and the M SOC values; when the corresponding energy storage battery (11) is in a charging state, sorting the M controllers (12) in order of the SOC values from small to large to obtain a sorting queue; when the corresponding energy storage battery (11) is in a discharging state, sorting the M controllers (12) in order of the SOC values from large to small to obtain a sorting queue; The “generating operation instructions corresponding to N target controllers, wherein the operation instructions corresponding to the N target controllers are all the same” specifically includes: generating bypass operation instructions corresponding to the N target controllers.
4. The control method according to claim 1, characterized in that: The first and second status information both include a health value of the energy storage battery (11), and the better the health condition of the energy storage battery (11), the higher the corresponding health value; The "selecting a first main controller from the M controllers (12) based on the first preset algorithm, the first state information and the M-1 second state information, and sorting the M controllers (12) to obtain a sorting queue" specifically includes: selecting the first main controller from the M controllers (12) based on the first preset algorithm and the M health values; sorting the M controllers (12) in descending order of the health values to obtain a sorting queue; The “generating operation instructions corresponding to N target controllers, wherein the operation instructions corresponding to the N target controllers are all the same” specifically includes: generating bypass operation instructions corresponding to the N target controllers.
5. The control method according to claim 2, characterized in that: The configuration voltage of the energy storage system is V; When the operation instructions corresponding to the N target controllers are bypass operations, the sum of the voltages of the energy storage batteries (11) corresponding to the remaining MN controllers is Sum1, |Sum1-V|≤error threshold; when the operation instructions corresponding to the N target controllers are access operations, the sum of the voltages of the energy storage batteries (11) corresponding to the N target controllers is Sum2, |Sum2-V|≤error threshold; wherein the error threshold>0.
6. The control method according to claim 1, characterized in that: The first and second switch modules are both switch triodes. In the first and second switch modules, the first end is one of the collector and the emitter, and the second end is the other of the collector and the emitter; The controller (12) is electrically connected to the base of the first switch module (S1) and is also electrically connected to the base of the second switch module (S2).
7. A control device for a controller in an energy storage system, the energy storage system comprising: M battery devices (1) connected in series and a communication network (2), wherein the battery device (1) comprises a positive electrode (1A) and a negative electrode (1B), the battery device (1) comprises an energy storage battery (11), a controller (12), a first switch module (S1) and a second switch module (S2), and the M controllers (12) are capable of communicating with each other based on the communication network (2), wherein M is a natural number, and M≥2; the positive electrode of the energy storage battery (11) is electrically connected to the first end of the first switch module (S1), the positive electrode (1A) and the first end of the second switch module (S2) are both electrically connected to the second end of the first switch module (S1), and the second end of the second switch module (S2) is electrically connected to the negative electrode of the energy storage battery (11); the controller (12) is capable of controlling the connection and disconnection between the first and second ends of the first switch module (S1), and controlling the connection and disconnection between the first and second ends of the second switch module (S2); and is characterized in that it comprises the following modules: A time synchronization module, used for selecting a second main controller from the remaining M-1 controllers (12) through a second preset algorithm; the controller sends a first message to the second main controller through the communication network (2), the first message including a first timestamp T1 when the first message leaves the controller; receives a second message sent back by the second main controller, the second message including a second timestamp T2 when the first message arrives at the second main controller, and a third timestamp T3 when the second message leaves the second main controller, the fourth timestamp of the second message received by the controller being T4; the time difference between the controller and the second main controller = ((T2-T1)+(T3-T4)) / 2, and correcting the time of the controller based on the time difference; A selection module is used to obtain first state information of an energy storage battery (11) corresponding to the controller, and send the first state information to the remaining M-1 controllers (12) based on the communication network (2), and receive second state information sent by the remaining M-1 controllers (12); based on a first preset algorithm, the first state information and the M-1 second state information, select a first main controller from the M controllers (12), sort the M controllers (12) to obtain a sorting queue; from the end of the queue to the head of the queue, select N target controllers from the sorting sequence, generate operation instructions corresponding to the N target controllers, and the operation instructions corresponding to the N target controllers are all the same, wherein the operation instructions are used to represent bypass operation or access operation of the energy storage battery (11), N is a natural number, N≤M; An instruction sending module, used for generating an operation time when the controller is the first master controller, and sending corresponding operation instructions and the operation time to N target controllers, wherein the operation time is later than the current time; The instruction execution module is used for, when receiving an operation instruction and an operation time, performing the following operations at the received operation time: when the received operation instruction represents a bypass operation, controlling the first switch module (S1) to be in a disconnected state and controlling the second switch module (S2) to be in a connected state; when the received operation instruction represents a connection operation, controlling the first switch module (S1) to be in a connected state and controlling the second switch module (S2) to be in a disconnected state.
8. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the control method according to any one of claims 1 to 6 when executing the executable instructions stored in the memory.
9. A storage medium, characterized in that: Executable instructions are stored, which are used to cause the processor to execute and implement the control method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Modulation method suitable for state of charge equalization of multi-module battery module set
CN108092352A
Energy storage system
CN113949111A
