Energy storage unit control method, system, device, equipment, medium and program product

By using an arbitration mechanism in the energy storage system to determine the target controller from the controllers of other energy storage units, the problem of high control costs in the prior art and inability to operate normally when the controller fails, achieving a lower Cost and higher reliability energy storage unit operation.

CN118971088APending Publication Date: 2024-11-15JIANGSU TIANHE ENERGY STORAGE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411071021.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the existing energy storage system, the control cost is high due to the need to configure redundant master controllers and slave controllers, and there is a risk that the energy storage unit cannot operate normally when the master controller and slave controller fail at the same time.

Method used

Use a preset arbitration mechanism to determine the target controller from the energy storage controllers of other energy storage units, and control the target energy storage unit through the target controller to ensure that the energy storage unit can still operate normally in the event of a failure and avoid the target energy storage. A redundant energy storage controller is configured in the unit.

Benefits of technology

It reduces the control cost of the energy storage system, improves the operating reliability of the energy storage unit, and avoids the risk of the energy storage unit shutdown due to controller failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971088A_ABST
    Figure CN118971088A_ABST
Patent Text Reader

Abstract

The invention relates to an energy storage unit control method, an energy storage system, an energy storage device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps of determining a target controller from energy storage controllers of other energy storage units by adopting a preset arbitration mechanism under the condition of determining that an energy storage controller of a target energy storage unit in the energy storage system breaks down, and controlling the target energy storage unit through the target controller. Wherein the other energy storage units are energy storage units with normal operation of the energy storage controller in the energy storage system. By adopting the method, the cost for controlling the normal operation of the energy storage unit in the energy storage system can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to an energy storage unit control method, energy storage system, device, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] In the field of power systems, the energy storage system includes multiple energy storage units, and each energy storage unit includes an energy storage controller to be responsible for the scheduling, monitoring, protection and conversion of the entire energy storage unit.

[0003] In related technologies, to ensure the normal operation of the energy storage unit, two energy storage controllers are usually set up in the energy storage unit: a master controller and a slave controller. Once the master controller fails, the slave controller takes over the work of the master controller to ensure the normal operation of the energy storage unit.

[0004] However, the related art has the problem of high control cost. Summary of the Invention

[0005] Based on this, it is necessary to provide an energy storage unit control method, energy storage system, device, computer equipment, computer-readable storage medium and computer program product to address the above technical problems, so as to reduce the cost of controlling the normal operation of the energy storage unit in the energy storage system.

[0006] In a first aspect, the present application provides a method for controlling an energy storage unit, the method comprising:

[0007] When it is determined that the energy storage controller of a target energy storage unit in the energy storage system fails, a preset arbitration mechanism is used to determine the target controller from the energy storage controllers of other energy storage units; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally;

[0008] The target energy storage unit is controlled by the target controller.

[0009] In one embodiment, the energy storage system includes multiple other energy storage units; the arbitration mechanism includes:

[0010] receiving, through the first controller, a second token sent by the second controller; the first controller being any energy storage controller of the plurality of other energy storage units, and the second controller being other energy storage controllers of the plurality of other energy storage units except the first controller; the second token being used to instruct other energy storage controllers except the first controller to withdraw from competing for the target controller;

[0011] A target controller is determined according to the first token reception result.

[0012] In one embodiment, determining a target controller according to a first token reception result includes:

[0013] If the first token reception result is that the first controller does not receive the second token sent by the second controller within a preset first time period, the first controller issues the first token; the first time period is randomly generated by the first controller;

[0014] A second token is received within a second time period after the first token is sent, and a target controller is determined according to a result of receiving the second token.

[0015] In one embodiment, determining the target controller according to the second token reception result includes:

[0016] If the second token reception result is that the second token is not received within the second time period, determining that the first controller is determined to be the target controller;

[0017] If the second token reception result is that the second token is received within the second time period, the first controller and the second controller that sends the second token are used as candidate controllers, and an arbitration mechanism is used to determine the target controller from the candidate controllers.

[0018] In one embodiment, the method further comprises:

[0019] If the first token reception result is that the first controller receives the second token sent by the second controller within the preset first time length, then the first controller exits the competition for the target controller; the first time length is randomly generated by the first controller.

[0020] In one embodiment, determining that an energy storage controller of a target energy storage unit in an energy storage system fails includes:

[0021] Monitor the status information sent by the energy storage controller in each energy storage unit;

[0022] According to the monitoring results, it is determined that the energy storage controller in the target energy storage unit has failed.

[0023] In one embodiment, the status information includes software status information; and determining, based on the monitoring result, that the energy storage controller in the target energy storage unit has failed includes:

[0024] If the monitoring result is that the software status information sent by the energy storage fault controller in the target energy storage unit is not received, it is determined that the energy storage controller in the target energy storage unit has failed.

[0025] In one embodiment, the status information includes hardware status information; and determining, based on the monitoring result, that the energy storage controller in the target energy storage unit has failed includes:

[0026] If the monitoring result is that the hardware status information of the target energy storage unit is received, the hardware status information is obtained;

[0027] When the hardware status information indicates that the energy storage controller hardware is abnormal, it is determined that the energy storage controller in the target energy storage unit has failed.

[0028] In a second aspect, the present application further provides an energy storage system, which includes a plurality of energy storage units, and each energy storage unit is equipped with an energy storage controller, and the energy storage controllers in each energy storage unit serve as backup controllers for each other;

[0029] Any energy storage controller in the energy storage system is used to determine the target controller from the energy storage controllers of other energy storage units using a preset arbitration mechanism when it is determined that the energy storage controller of a target energy storage unit in the energy storage system has failed, and control the target energy storage unit through the target controller; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally.

[0030] In a third aspect, the present application further provides an energy storage unit control device, the device comprising:

[0031] a controller determination module configured to, upon determining that an energy storage controller of a target energy storage unit in the energy storage system has failed, determine a target controller from the energy storage controllers of other energy storage units using a preset arbitration mechanism; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally;

[0032] The unit control module is used to control the target energy storage unit through the target controller.

[0033] In a fourth aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the first aspect are implemented.

[0034] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method in any one of the embodiments of the first aspect above.

[0035] In a sixth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method in any one of the embodiments of the first aspect above.

[0036] The above-mentioned energy storage unit control method, energy storage system, device, computer equipment, computer-readable storage medium and computer program product, when it is determined that the energy storage controller of the target energy storage unit in the energy storage system has failed, adopts a preset arbitration mechanism to determine the target controller from the energy storage controllers of other energy storage units, and controls the target energy storage unit through the target controller. Among them, the other energy storage units are energy storage units whose energy storage controllers are operating normally in the energy storage system. In this method, when the energy storage controller of the target energy storage unit in the energy storage system fails, the target controller is determined from the energy storage controllers operating normally in the energy storage system to control the normal operation of the target energy storage unit. This method of determining the target controller can ensure that the target energy storage unit can still operate normally when its own energy storage controller fails, thereby improving the operational reliability of the target energy storage unit. In addition, the controller that controls the normal operation of the target energy storage unit is the energy storage controller in other normally operating energy storage units. Naturally, there is no need to configure a redundant energy storage controller in the target energy storage unit, thereby reducing the control cost of the energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.

[0038] FIG1 shows the structure of an energy storage system according to an embodiment;

[0039] FIG2 is a schematic structural diagram of an energy storage system in another embodiment;

[0040] FIG3 is a schematic flow chart of a method for controlling an energy storage unit in one embodiment;

[0041] FIG4 is a schematic flow chart of a target controller determination step in one embodiment;

[0042] FIG5 is a schematic flow chart of a target controller determination step in another embodiment;

[0043] FIG6 is a flow chart of a target controller determination step in another embodiment;

[0044] FIG7 is a flow chart of controller fault determination steps in one embodiment;

[0045] FIG8 is a functional schematic diagram of an energy storage controller in one embodiment;

[0046] FIG9 is a functional schematic diagram of an energy storage controller in another embodiment;

[0047] FIG10 is a flow chart of controller fault determination steps in another embodiment;

[0048] FIG11 is a schematic flow chart of a method for controlling an energy storage unit in another embodiment;

[0049] FIG12 is a schematic flow chart of a method for controlling an energy storage unit in another embodiment;

[0050] FIG13 is a block diagram of a control device for an energy storage unit according to an embodiment;

[0051] Figure 14 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0053] In the field of power systems, the structure of an energy storage system is shown in Figure 1. The energy storage system shown in Figure 1 typically includes multiple energy storage units, each of which is equipped with an energy storage controller, a battery management system (BMS), a power conversion system (PCS), and auxiliary equipment. The energy storage controller is responsible for power scheduling, battery data monitoring, fault protection, and protocol conversion for the entire energy storage unit.

[0054] If an energy storage controller fails, the energy storage unit will not operate normally, which may cause the energy storage unit to shut down or even cause a power outage. Therefore, when an energy storage controller fails, it is crucial to ensure the reliable operation of the energy storage unit to which it belongs.

[0055] In related technologies, to ensure the normal operation of the energy storage unit, two energy storage controllers are usually set up in the energy storage unit: a master controller and a slave controller. Once the master controller fails, the slave controller takes over the work of the master controller to ensure the normal operation of the energy storage unit.

[0056] However, the related art requires configuring two energy storage controllers in each energy storage unit, which has the problem of high control cost. At the same time, there is also the risk that the main controller and the slave controller fail at the same time, resulting in the energy storage unit still not being able to operate normally.

[0057] Based on this, the embodiments of the present application provide an energy storage unit control method, energy storage system, device, computer equipment, computer-readable storage medium, and computer program product to address the above-mentioned issues. Of course, the technical solutions provided in the embodiments of the present application are not limited to addressing the above-mentioned issues and also have other technical effects, as described in the following embodiments.

[0058] Before describing the embodiments of the present application, the energy storage system of the embodiments of the present application will be described first.

[0059] Please refer to Figure 2, which is a schematic diagram of the structure of the energy storage system in an embodiment of the present application. The energy storage system includes multiple energy storage units, and each energy storage unit is equipped with an energy storage controller. The energy storage controllers in each energy storage unit serve as backup controllers for each other. This means that the energy storage controller in each energy storage unit in the energy storage system can not only control the normal operation of its own energy storage unit, but also control the normal operation of other energy storage units, thereby ensuring the normal operation of all energy storage units in the energy storage system to the greatest extent possible.

[0060] The energy storage unit control method provided in the embodiments of the present application is implemented by the power management system in the above energy storage system.

[0061] In an exemplary embodiment, as shown in FIG3 , a method for controlling an energy storage unit is provided, comprising the following steps:

[0062] S301, when it is determined that an energy storage controller of a target energy storage unit in an energy storage system fails, a preset arbitration mechanism is used to determine a target controller from energy storage controllers of other energy storage units; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers operate normally.

[0063] The energy storage system includes multiple energy storage units, each of which includes an energy storage controller. The energy storage controller is responsible for power scheduling, battery data monitoring, fault protection, protocol conversion, etc. of the entire energy storage unit to ensure the normal operation of the energy storage unit.

[0064] In practical applications, the cause and timing of energy storage controller failures in each energy storage unit in an energy storage system are uncertain. Therefore, based on the subscribed energy storage controller status of each energy storage unit, it is possible to identify energy storage units with normal energy storage controller operation and energy storage units with failed energy storage controllers. In the event of an energy storage controller failure, timely maintenance can be performed on the energy storage unit in question, minimizing the impact of the failed energy storage controller on the energy storage unit and quickly restoring the unit's operational status.

[0065] Exemplarily, each energy storage unit communicates with each energy storage unit other than itself in the energy storage system in real time according to a preset cycle to inform the operating status of its own energy storage controller.

[0066] In the embodiment of the present application, the energy storage units in the energy storage system are divided into target energy storage units and other energy storage units according to the operating status of the energy storage controller in the energy storage unit. The target energy storage unit is the energy storage unit with a faulty energy storage controller, and the other energy storage units are the energy storage units with normal operation of the energy storage controller.

[0067] It should be noted that the number of target energy storage units in the embodiment of the present application can be one or more, and the number of other energy storage units can be one or more. In order to briefly and clearly illustrate the technical solution provided in the embodiment of the present application, the following description will be expanded using the target energy storage unit as an example.

[0068] Next, it is determined that the energy storage controller of the target energy storage unit has failed, which naturally determines that the energy storage controllers of other energy storage units in the energy storage system are operating normally. Furthermore, in order to maximize the normal operation of the target energy storage unit, a preset arbitration mechanism is used to determine the target controller that can control the target energy storage unit from the energy storage controllers of other energy storage units.

[0069] Exemplarily, the arbitration mechanism may be to determine the energy storage control of the energy storage unit with the closest communication distance from the other energy storage units according to the communication distance between the other energy storage units and the target energy storage unit, and use it as the target controller; the arbitration mechanism may also be to randomly select an energy storage controller from the energy storage controllers of other control units as the target controller.

[0070] S302: Control the target energy storage unit through the target controller.

[0071] The target controller takes over the control of the energy storage controller in the target energy storage unit and controls the target energy storage unit to ensure the normal operation of the target energy storage unit.

[0072] In an embodiment of the present application, in the case where it is determined that the energy storage controller of the target energy storage unit in the energy storage system has failed, a preset arbitration mechanism is used to determine the target controller from the energy storage controllers of other energy storage units, and the target energy storage unit is controlled by the target controller. Among them, the other energy storage units are energy storage units whose energy storage controllers are operating normally in the energy storage system. In this method, in the case where the energy storage controller of the target energy storage unit in the energy storage system has failed, the target controller is determined from the energy storage controllers operating normally in the energy storage system to control the normal operation of the target energy storage unit. This way of determining the target controller can ensure that the target energy storage unit can still operate normally when its own energy storage controller fails, thereby improving the operational reliability of the target energy storage unit. Moreover, the controller that controls the normal operation of the target energy storage unit is the energy storage controller in other normally operating energy storage units, so there is naturally no need to configure a redundant energy storage controller in the target energy storage unit, thereby reducing the control cost of the energy storage system.

[0073] The arbitration mechanism is not limited in the aforementioned embodiment. That is, a variety of methods can be used to determine the target controller from the energy storage controllers of other energy storage units, such as random determination in the aforementioned embodiment, determination based on communication distance, etc. The specific content of the arbitration mechanism is described below using an embodiment.

[0074] In an exemplary embodiment, as shown in FIG4 , the energy storage system includes multiple other energy storage units; the arbitration mechanism includes:

[0075] S401: Receive, through a first controller, a second token sent by a second controller.

[0076] Among them, the first controller is any energy storage controller among multiple other energy storage units, and the second controller is other energy storage controllers of multiple other energy storage units except the first controller; the second token is used to instruct other energy storage controllers except itself to withdraw from competing for the target controller.

[0077] It is emphasized again that the first controller and the second controller are both normally operating energy storage controllers, and in actual applications, the first controller is any normally operating energy storage controller, and the second controller is any normally operating energy storage controller in the energy storage system, except the first controller, and the second controller can be one or more.

[0078] For example, an energy storage system includes four energy storage units. If the energy storage controller of energy storage unit 1 (the target energy storage unit) fails, the energy storage system includes three other energy storage units. In this case, the first controller is any one of the energy storage controllers of energy storage unit 2, energy storage unit 3, and energy storage unit 4; the second controller is the other two energy storage controllers among the energy storage controllers of energy storage unit 2, energy storage unit 3, and energy storage unit 4, except the first controller.

[0079] In the event that the energy storage controller of the target energy storage unit fails, the energy storage controllers of all other energy storage units can equally compete for the controller of the target energy storage unit, and therefore need to strive to become the target controller of the target energy storage unit.

[0080] In the embodiment of the present application, the second controller instructs the first controller to withdraw from competing for the target controller by sending a second token to the first controller.

[0081] The first controller determines whether to participate in or withdraw from competing for the target controller based on the received second token sent by the second controller.

[0082] S402: Determine a target controller according to the first token reception result.

[0083] The first token reception result indicates a situation in which the first controller receives the second token sent by the second controller, and may be one of two results: receiving the second token and not receiving the second token.

[0084] Optionally, if the result of receiving the first token is receiving the second token, the first controller withdraws from competing for the target controller. In this case, the second controller that sends the second token is determined as the target controller.

[0085] If the result of receiving the first token is that the second token is not received, the first controller participates in the competition for the target controller. At this time, the first controller may also be directly determined as the target controller.

[0086] In the embodiment of the present application, a first token reception result is obtained based on the actual situation of the first controller receiving the second token sent by the second controller, and based on this, a target controller is determined between the first controller and the second controller. This is equivalent to taking into account the energy storage controllers of other energy storage units in the energy storage system except the target energy storage unit in the process of determining the target controller, thereby expanding the selectivity of the target controller. The target controller determined in this way not only ensures the normal operation of the target energy storage unit, but also avoids the need to set up redundant energy storage controllers in the energy storage system, thereby reducing the cost of the energy storage system.

[0087] As can be seen from the above embodiments, different first token reception results lead to different methods for determining the target controller. Based on this, the following describes the implementation methods for determining the target controller in different first token reception result scenarios.

[0088] In an exemplary embodiment, as shown in FIG5 , determining a target controller according to a first token reception result includes:

[0089] S501: If the first token reception result is that the first controller does not receive the second token sent by the second controller within a preset first time period, the first controller issues a first token; the first time period is randomly generated by the first controller.

[0090] The first duration is the time the first controller waits to receive the second token sent by the second controller when it is determined that the energy storage controller of the target energy storage unit fails, and can be a randomly generated value in the interval [0, 100].

[0091] In addition, the first duration is also the timeout period for the first controller to send the first token to the second controller. The first token is used to instruct other energy storage controllers other than itself to withdraw from competing for the target controller.

[0092] Specifically, when the first controller does not receive the second token sent by the second controller within the first time period, the first controller issues the first token to the second controller at the end of the first time period.

[0093] S502: Receive a second token within a second time period after sending the first token, and determine a target controller according to a result of receiving the second token.

[0094] In actual applications, considering various factors such as communication delay, it is possible that the first controller may receive the second token sent by the second controller after issuing the first token. Based on this, the first controller will continue to wait for the second controller to send the second token within the second time period after issuing the first token.

[0095] The second duration is a preset shorter time period, which may be set in advance based on experience values ​​according to factors such as communication delay and network delay.

[0096] Next, the target controller is further determined according to the second token reception result received by the first controller within the second time period.

[0097] Optionally, if the second token reception result is that the second token is received, the first controller can be determined as the target controller, or the second controller that sends the second token can be determined as the target controller. Alternatively, one controller can be selected from the first controller and the second controller as the target controller according to preset screening rules.

[0098] If the second token reception result is that the second token is not received, the first controller is directly determined as the target controller.

[0099] In an embodiment of the present application, when the first controller does not receive the second token sent by the second controller within a preset first time period, the target controller is further determined based on whether the first controller receives the second token within the second time period. This determination method takes into account the situation where the time when the first controller sends the first token and the time when the second controller sends the second token are relatively close due to communication delay, thereby improving the rigor of the target controller determination process, and the target controller determined in this way is also accurate and reasonable.

[0100] In an exemplary embodiment, as shown in FIG6 , determining a target controller according to a second token reception result includes:

[0101] S601: If the second token reception result is that the second token is not received within the second time period, the first controller is determined to be the target controller.

[0102] Failure to receive the second token within the second time period means that the first controller sent the first token earlier and the second controller has determined to withdraw from competing for the target controller within the first time period. At this time, the first controller is determined to be the target controller.

[0103] S602: If the second token reception result is that the second token is received within the second time period, the first controller and the second controller that sends the second token are used as candidate controllers, and an arbitration mechanism is used to determine the target controller from the candidate controllers.

[0104] Receiving the second token within the second time period means that the time when the first controller sends the first token is relatively close to the time when the second controller sends the second token. That is, at this time, the first controller and the second controller that sends the second token are both in the stage of competing for the target controller. At this time, the first controller and the second controller that sends the second token are used as candidate controllers, and the second round of arbitration mechanism is re-adopted to determine the target controller among the candidate controllers.

[0105] In an embodiment of the present application, based on the result of receiving the second token, the candidate controller currently competing for the target controller is determined, and in a scenario where there are multiple candidate controllers competing for the target controller, a new round of arbitration mechanism is adopted again to determine the target controller from the candidate controllers. After multiple rounds of arbitration mechanism, the target controller of the target energy storage unit is determined. The whole process is fair and transparent, with clear and reasonable logic, and is suitable for deployment in energy storage systems including massive energy storage units.

[0106] The above embodiment describes how to determine the target controller when the first token reception result is that the second token is not received within the first time period. Below, as an embodiment parallel to the embodiment shown in Figures 5 and 6 above, describes how to determine the target controller when another first token reception result occurs, namely, when the second token is received within the first time period.

[0107] In an exemplary embodiment, the method further includes:

[0108] If the first token reception result is that the first controller receives the second token sent by the second controller within the preset first time length, then the first controller exits the competition for the target controller; the first time length is randomly generated by the first controller.

[0109] The first duration is the time the first controller waits to receive the second token sent by the second controller when it is determined that the energy storage controller of the target energy storage unit fails, and can be a randomly generated value in the interval [0, 100].

[0110] If the first controller receives the second token sent by the second controller within the first time period, it will withdraw from competing for the target controller.

[0111] In an embodiment of the present application, when the first controller receives the second token sent by the second controller within a preset first time period, it promptly withdraws from competing for the target controller so that the second controller can continue to compete for the target controller, thereby improving the determination speed of the target controller, shortening the time for the target energy storage unit to resume normal operation, and ensuring the safe and reliable operation of the entire energy storage system.

[0112] As can be seen from the above embodiments, the target controller is determined based on the failure of the energy storage controller of the target energy storage unit.

[0113] In an exemplary embodiment, as shown in FIG7 , determining that an energy storage controller of a target energy storage unit in an energy storage system fails includes:

[0114] S701: Monitor status information sent by the energy storage controller in each energy storage unit.

[0115] The status information represents the operating status of the energy storage controller in each energy storage unit, including an identifier of the energy storage unit or the energy storage controller, which is used to represent the energy storage controller of the energy storage unit.

[0116] Optionally, the status information sent by the energy storage controller in each energy storage unit can be monitored in real time, so as to monitor the operating status of each energy storage unit in the energy storage system in a timely and rapid manner.

[0117] In another scenario, the status information sent by the energy storage controller in each energy storage unit may be collected once at a preset time interval to save communication resources of the energy storage controller in each energy storage unit and extend the service life of the energy storage controller.

[0118] Please refer to Figure 8, which is a functional diagram of an energy storage unit. As shown in Figure 8, in addition to the conventional protocol conversion, battery monitoring, cabinet control, and power scheduling functional modules, the energy storage unit adds a mutual backup guard module. The sub-functions of the mutual backup guard module are shown in Figure 9. It supports the function of publishing status information, subscribing to the status information of other energy storage controllers, and executing the arbitration mechanism function.

[0119] It should be noted that the various functional schematic diagrams in Figures 8 and 9 can also be flexibly adjusted according to actual needs in actual applications, such as adding new functions or merging functions, and the various functions can be centrally deployed on the management controller in hardware implementation, and of course, they can also be deployed separately on different components in the energy storage unit. This embodiment of the application does not limit this.

[0120] S702: Determine, based on the monitoring result, that an energy storage controller in the target energy storage unit fails.

[0121] Based on the monitoring results, it is determined whether the energy storage controller in the energy storage unit corresponding to each set of status information is operating normally. In the event that an energy storage controller operating abnormally is monitored, the energy storage unit corresponding to the abnormally operating energy storage controller is determined to be the target energy storage unit. While executing the energy storage unit control strategy, information about the failure of the energy storage controller in the target energy storage unit can also be reported synchronously.

[0122] In the embodiment of the present application, by monitoring the status information sent by the energy storage controller in each energy storage unit, the true and objective controller operating status of each energy storage unit is obtained. On the basis of the authenticity and reliability of the monitored content, the result of determining that the energy storage controller in the target energy storage unit has failed is naturally true and accurate.

[0123] An implementation method for determining whether an energy storage controller has failed based on status information is described below through an embodiment.

[0124] In an exemplary embodiment, the status information includes software status information; and determining, based on the monitoring result, that the energy storage controller in the target energy storage unit has failed includes:

[0125] If the monitoring result is that the software status information sent by the energy storage fault controller in the target energy storage unit is not received, it is determined that the energy storage controller in the target energy storage unit has failed.

[0126] The energy storage controller of each energy storage unit is capable of sending software status information, indicating that the energy storage controller of the energy storage unit is operating normally. Based on this characteristic attribute, the software status information sent by the energy storage controller of each energy storage unit is monitored and the operating information of the energy storage controller of each energy storage unit is determined based on the monitored software status information.

[0127] For any energy storage unit, if the software status information sent by the energy storage controller in the energy storage unit is received, it is determined that the energy storage unit is another energy storage unit and the energy storage controllers of the other energy storage units can operate normally; if the software status information sent by the energy storage controller in the energy storage unit is not received, it is determined that the energy storage unit is the target energy storage unit and the energy storage controller in the target energy storage unit has failed.

[0128] In the embodiment of the present application, the energy storage controller sends software status information to indicate that the energy storage controller is operating normally. In the absence of software status information sent by the energy storage fault detector in the target energy storage unit, it is determined that the energy storage controller in the target energy storage unit has failed. The judgment basis is reliable and true, and the determined failure result is naturally accurate and true.

[0129] Next, another implementation method of determining whether an energy storage controller has failed based on status information is described through an embodiment.

[0130] In an exemplary embodiment, as shown in FIG10 , the status information includes hardware status information; and determining, based on the monitoring result, that the energy storage controller in the target energy storage unit has failed includes:

[0131] S1001: If the monitoring result is that the hardware status information of the target energy storage unit is received, the hardware status information is obtained.

[0132] The hardware status information of the target energy storage unit includes the operating status information of each hardware in the target energy storage unit, such as whether the energy storage controller hardware is normal, whether the energy storage controller hardware is abnormal, whether the auxiliary device hardware is normal, whether the auxiliary device hardware is abnormal, etc.

[0133] In actual operation, regardless of whether the energy storage controller is normal or not, the energy storage unit can send generated hardware status information and monitor the hardware status information of other energy storage units.

[0134] In the embodiment of the present application, when the monitoring result is the hardware status information of the target energy storage unit, it is necessary to further determine the information of the energy storage controller based on the hardware status information.

[0135] S1002: When the hardware status information indicates that the energy storage controller hardware is abnormal, determine that the energy storage controller in the target energy storage unit is faulty.

[0136] First, the hardware information of the energy storage controller is determined from the hardware status information. Then, it is determined whether the hardware information of the energy storage controller indicates an energy storage controller hardware failure or an energy storage controller hardware anomaly. If the hardware status information indicates that the energy storage controller hardware is normal, it is determined that the energy storage controller can operate normally. If the hardware status information indicates that the energy storage controller hardware is abnormal, it is determined that the energy storage controller in the target energy storage unit has failed.

[0137] In the embodiment of the present application, from a hardware perspective, a failure of the energy storage controller is determined based on the hardware status information sent by the energy storage unit. At the same time, the hardware status information of other hardware in the energy storage unit can also be obtained to determine the association between the hardware of the energy storage unit, so as to obtain the global hardware information of the energy storage unit and perform overall operation and maintenance of the energy storage unit.

[0138] In a specific embodiment, the energy storage unit control method includes:

[0139] (1) Monitor the software status information sent by the energy storage controller in the energy storage unit when the energy storage controller has hardware anomalies.

[0140] (2) When the software status information sent by the energy storage fault device in the target energy storage unit with the energy storage controller hardware abnormality is not received, it is determined that the energy storage controller in the target energy storage unit with the energy storage controller hardware abnormality has failed.

[0141] (3) The first controller receives the second token sent by the second controller.

[0142] (4) If the first controller does not receive the second token sent by the second controller within the preset first time period, the first controller issues the first token.

[0143] (5) Receiving a second energy storage controller hardware abnormality token within a second time period after sending the first energy storage controller hardware abnormality token.

[0144] (6) If the energy storage controller hardware abnormality second token is not received within the energy storage controller hardware abnormality second time period, the energy storage controller hardware abnormality first controller is determined to be the energy storage controller hardware abnormality target controller.

[0145] (7) If the second energy storage controller hardware abnormality token is received within the second duration of the energy storage controller hardware abnormality, the first energy storage controller hardware abnormality controller and the second controller that sent the second energy storage controller hardware abnormality token are used as candidate controllers, and the energy storage controller hardware abnormality arbitration mechanism is used to determine the energy storage controller hardware abnormality target controller from the energy storage controller hardware abnormality candidate controllers.

[0146] (8) If the result of receiving the first token of the energy storage controller hardware abnormality is that the first controller receives the second token sent by the second controller of the energy storage controller hardware abnormality within the preset first time period, the first controller exits the competition for the target controller of the energy storage controller hardware abnormality.

[0147] Taking the example of an energy storage system consisting of N energy storage units and a failure of the energy storage controller of the Nth energy storage unit, the process of executing the arbitration mechanism of each energy storage controller in the energy storage system is explained: As shown in Figure 11, after energy storage controllers 1 to N-1 detect the failure of energy storage controller N, they immediately generate a random number from 0 to 100 (T(1), T(2) ...T(n-1)). This random number is used as the timeout (in milliseconds) to wait for receiving tokens sent by other energy storage controllers.

[0148] If the energy storage controller receives a token from another energy storage controller before the timeout, it will exit the competition; if it does not receive any token before the timeout, it will issue a token to request other energy storage controllers to exit the competition.

[0149] If an energy storage controller receives tokens from other energy storage controllers after issuing a token, it is determined that the random numbers generated by two or more energy storage controllers are very close (taking communication delays into account), and the first round of arbitration has not yet concluded. As shown in Figure 12, the energy storage controller that issued the token in the first round is determined as the candidate controller, and the next round of arbitration continues. After at least one arbitration, energy storage controller X ultimately wins the arbitration and becomes the target controller, taking control of energy storage unit N.

[0150] In an embodiment of the present application, if the energy storage controller of a target energy storage unit in the energy storage system fails, a target controller is determined from among the normally operating energy storage controllers in the energy storage system to control the normal operation of the target energy storage unit. This method of determining the target controller ensures that the target energy storage unit can still operate normally even if its own energy storage controller fails, thereby improving the operational reliability of the target energy storage unit. Furthermore, since the controller that controls the normal operation of the target energy storage unit is the energy storage controller of another normally operating energy storage unit, there is no need to configure a redundant energy storage controller in the target energy storage unit, thereby reducing the control cost of the energy storage system.

[0151] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0152] Based on the same inventive concept, an embodiment of the present application further provides an energy storage system for implementing the above-mentioned energy storage unit control method, wherein the energy storage system includes multiple energy storage units, and each energy storage unit is equipped with an energy storage controller, and the energy storage controllers in each energy storage unit serve as backup controllers for each other;

[0153] Any energy storage controller in the energy storage system is used to determine the target controller from the energy storage controllers of other energy storage units using a preset arbitration mechanism when it is determined that the energy storage controller of a target energy storage unit in the energy storage system has failed, and control the target energy storage unit through the target controller; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally.

[0154] Based on the same inventive concept, embodiments of the present application further provide an energy storage unit control device for implementing the aforementioned energy storage unit control method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more energy storage unit control device embodiments provided below can be found in the above-described limitations of the energy storage unit control method and will not be further elaborated here.

[0155] In an exemplary embodiment, as shown in FIG13 , a device for controlling an energy storage unit is provided, including: a controller determination module 1301 and a unit control module 1302 , wherein:

[0156] A controller determination module 1301 is configured to, upon determining that an energy storage controller of a target energy storage unit in the energy storage system has failed, determine a target controller from the energy storage controllers of other energy storage units using a preset arbitration mechanism; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally;

[0157] The unit control module 1302 is configured to control the target energy storage unit through a target controller.

[0158] In an exemplary embodiment, the controller determination module 1301 includes a token receiving unit and a result evaluation unit, wherein:

[0159] A token receiving unit is configured to receive, through the first controller, a second token sent by the second controller; the first controller is any energy storage controller among the plurality of other energy storage units, and the second controller is another energy storage controller other than the first controller among the plurality of other energy storage units; the second token is configured to instruct the other energy storage controllers other than the first controller to withdraw from competing for the target controller;

[0160] A result evaluation unit is configured to determine a target controller according to a result of receiving the first token.

[0161] In an exemplary embodiment, the result evaluation unit includes a token sending subunit and a result determination subunit, wherein:

[0162] The token sending subunit is configured to, when the first token receiving result is that the first controller does not receive the second token sent by the second controller within a preset first time period, issue the first token to the first controller; the first time period is randomly generated by the first controller;

[0163] The result determination subunit is configured to receive a second token within a second time period after sending the first token, and determine a target controller according to a result of receiving the second token.

[0164] In an exemplary embodiment, the result determination subunit is specifically used to determine that the first controller is the target controller when the second token reception result is that the second token is not received within the second time period; when the second token reception result is that the second token is received within the second time period, the first controller and the second controller that sends the second token are used as candidate controllers, and an arbitration mechanism is used to determine the target controller among the candidate controllers.

[0165] In an exemplary embodiment, the energy storage unit control device further includes: an exit contention module, which is used to exit the contention for the target controller when the first token reception result is that the first controller receives the second token sent by the second controller within a preset first time length; the first time length is randomly generated by the first controller.

[0166] In an exemplary embodiment, the controller determination module 1301 includes: an information monitoring unit and a fault determination unit, wherein:

[0167] An information monitoring unit, used to monitor the status information sent by the energy storage controller in each energy storage unit;

[0168] The fault determination unit is used to determine, based on the monitoring result, that a fault occurs in the energy storage controller in the target energy storage unit.

[0169] In an exemplary embodiment, the fault determination unit is configured to determine that a fault occurs in the energy storage controller in the target energy storage unit when the monitoring result is that the software status information sent by the energy storage fault controller in the target energy storage unit is not received.

[0170] In an exemplary embodiment, the fault determination unit is further configured to obtain hardware status information when the monitoring result indicates that hardware status information of the target energy storage unit is received; and determine that a fault has occurred in the energy storage controller in the target energy storage unit when the hardware status information indicates that the energy storage controller is hardware abnormal.

[0171] Each module in the energy storage unit control device described above can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0172] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 14 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store energy storage unit control data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for controlling an energy storage unit is implemented.

[0173] Those skilled in the art will understand that Figure 14 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0174] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0175] When it is determined that the energy storage controller of a target energy storage unit in the energy storage system fails, a preset arbitration mechanism is used to determine the target controller from the energy storage controllers of other energy storage units; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally;

[0176] The target energy storage unit is controlled by the target controller.

[0177] In an exemplary embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0178] receiving, through the first controller, a second token sent by the second controller; the first controller being any energy storage controller of the plurality of other energy storage units, and the second controller being other energy storage controllers of the plurality of other energy storage units except the first controller; the second token being used to instruct other energy storage controllers except the first controller to withdraw from competing for the target controller;

[0179] A target controller is determined according to the first token reception result.

[0180] In an exemplary embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0181] If the first token reception result is that the first controller does not receive the second token sent by the second controller within a preset first time period, the first controller issues the first token; the first time period is randomly generated by the first controller;

[0182] A second token is received within a second time period after the first token is sent, and a target controller is determined according to a result of receiving the second token.

[0183] In an exemplary embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0184] If the second token reception result is that the second token is not received within the second time period, determining that the first controller is determined to be the target controller;

[0185] If the second token reception result is that the second token is received within the second time period, the first controller and the second controller that sends the second token are used as candidate controllers, and an arbitration mechanism is used to determine the target controller from the candidate controllers.

[0186] In an exemplary embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0187] If the first token reception result is that the first controller receives the second token sent by the second controller within the preset first time length, then the first controller exits the competition for the target controller; the first time length is randomly generated by the first controller.

[0188] In an exemplary embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0189] Monitor the status information sent by the energy storage controller in each energy storage unit;

[0190] According to the monitoring results, it is determined that the energy storage controller in the target energy storage unit has failed.

[0191] In an exemplary embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0192] If the monitoring result is that the software status information sent by the energy storage fault controller in the target energy storage unit is not received, it is determined that the energy storage controller in the target energy storage unit has failed.

[0193] In an exemplary embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0194] If the monitoring result is that the hardware status information of the target energy storage unit is received, the hardware status information is obtained;

[0195] When the hardware status information indicates that the energy storage controller hardware is abnormal, it is determined that the energy storage controller in the target energy storage unit has failed.

[0196] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0197] When it is determined that the energy storage controller of a target energy storage unit in the energy storage system fails, a preset arbitration mechanism is used to determine the target controller from the energy storage controllers of other energy storage units; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally;

[0198] The target energy storage unit is controlled by the target controller.

[0199] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are further implemented: receiving, by the first controller, a second token sent by the second controller; the first controller is any energy storage controller of a plurality of other energy storage units, and the second controller is another energy storage controller of the plurality of other energy storage units except the first controller; the second token is used to instruct the other energy storage controllers except the second controller to withdraw from competing for the target controller;

[0200] A target controller is determined according to the first token reception result.

[0201] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the first token reception result is that the first controller does not receive the second token sent by the second controller within a preset first time period, the first controller issues the first token; the first time period is randomly generated by the first controller;

[0202] A second token is received within a second time period after the first token is sent, and a target controller is determined according to a result of receiving the second token.

[0203] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the second token reception result is that the second token is not received within the second time period, determining that the first controller is determined to be the target controller;

[0204] If the second token reception result is that the second token is received within the second time period, the first controller and the second controller that sends the second token are used as candidate controllers, and an arbitration mechanism is used to determine the target controller from the candidate controllers.

[0205] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the first token reception result is that the first controller receives the second token sent by the second controller within a preset first time length, then the competition for the target controller is withdrawn; the first time length is randomly generated by the first controller.

[0206] In an exemplary embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0207] Monitor the status information sent by the energy storage controller in each energy storage unit;

[0208] According to the monitoring results, it is determined that the energy storage controller in the target energy storage unit has failed.

[0209] In an exemplary embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0210] If the monitoring result is that the software status information sent by the energy storage fault controller in the target energy storage unit is not received, it is determined that the energy storage controller in the target energy storage unit has failed.

[0211] In an exemplary embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0212] If the monitoring result is that the hardware status information of the target energy storage unit is received, the hardware status information is obtained;

[0213] When the hardware status information indicates that the energy storage controller hardware is abnormal, it is determined that the energy storage controller in the target energy storage unit has failed.

[0214] In an exemplary embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0215] When it is determined that the energy storage controller of a target energy storage unit in the energy storage system fails, a preset arbitration mechanism is used to determine the target controller from the energy storage controllers of other energy storage units; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers are operating normally;

[0216] The target energy storage unit is controlled by the target controller.

[0217] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are further implemented: receiving, by the first controller, a second token sent by the second controller; the first controller is any energy storage controller of a plurality of other energy storage units, and the second controller is another energy storage controller of the plurality of other energy storage units except the first controller; the second token is used to instruct the other energy storage controllers except the second controller to withdraw from competing for the target controller;

[0218] A target controller is determined according to the first token reception result.

[0219] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the first token reception result is that the first controller does not receive the second token sent by the second controller within a preset first time period, the first controller issues the first token; the first time period is randomly generated by the first controller;

[0220] A second token is received within a second time period after the first token is sent, and a target controller is determined according to a result of receiving the second token.

[0221] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the second token reception result is that the second token is not received within the second time period, determining that the first controller is determined to be the target controller;

[0222] If the second token reception result is that the second token is received within the second time period, the first controller and the second controller that sends the second token are used as candidate controllers, and an arbitration mechanism is used to determine the target controller from the candidate controllers.

[0223] In an exemplary embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the first token reception result is that the first controller receives the second token sent by the second controller within a preset first time length, then the competition for the target controller is exited; the first time length is randomly generated by the first controller.

[0224] In an exemplary embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0225] Monitor the status information sent by the energy storage controller in each energy storage unit;

[0226] According to the monitoring results, it is determined that the energy storage controller in the target energy storage unit has failed.

[0227] In an exemplary embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0228] If the monitoring result is that the software status information sent by the energy storage fault controller in the target energy storage unit is not received, it is determined that the energy storage controller in the target energy storage unit has failed.

[0229] In an exemplary embodiment, when the computer program is executed by a processor, the following steps are further implemented:

[0230] If the monitoring result is that the hardware status information of the target energy storage unit is received, the hardware status information is obtained;

[0231] When the hardware status information indicates that the energy storage controller hardware is abnormal, it is determined that the energy storage controller in the target energy storage unit has failed.

[0232] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0233] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.

[0234] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0235] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for controlling an energy storage unit, It is characterized in that The method comprises: In the case where it is determined that the energy storage controller of the target energy storage unit in the energy storage system fails, a preset arbitration mechanism is used to determine the target controller from the energy storage controllers of other energy storage units; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers operate normally; The target energy storage unit is controlled by the target controller.

2. The method according to claim 1, It is characterized in that The energy storage system includes a plurality of other energy storage units; the arbitration mechanism includes: receiving, by the first controller, a second token sent by the second controller; the first controller is any energy storage controller of the plurality of other energy storage units, and the second controller is other energy storage controllers of the plurality of other energy storage units except the first controller; the second token is used to instruct other energy storage controllers except itself to withdraw from competing for the target controller; The target controller is determined according to the first token reception result.

3. The method according to claim 2, It is characterized in that The step of determining the target controller according to the first token reception result includes: If the first token reception result is that the first controller does not receive the second token sent by the second controller within a preset first time period, the first controller issues a first token; the first time period is randomly generated by the first controller; The second token is received within a second time period after the first token is sent, and the target controller is determined according to a second token reception result.

4. The method according to claim 3, It is characterized in that The step of determining the target controller according to the second token reception result includes: If the second token reception result is that the second token is not received within the second time period, determining that the first controller is determined as the target controller; If the second token reception result is that the second token is received within the second time period, the first controller and the second controller that sends the second token are taken as candidate controllers, and the arbitration mechanism is used to determine the target controller from the candidate controllers.

5. The method according to claim 2, It is characterized in that The method further comprises: If the first token reception result is that the first controller receives the second token sent by the second controller within a preset first time period, then the first controller exits the competition for the target controller; the first time period is randomly generated by the first controller.

6. The method according to any one of claims 1 to 5, It is characterized in that The step of determining that an energy storage controller of a target energy storage unit in the energy storage system fails comprises: Monitoring status information sent by the energy storage controller in each of the energy storage units; According to the monitoring result, it is determined that the energy storage controller in the target energy storage unit fails.

7. The method according to claim 6, It is characterized in that The status information includes software status information; and determining, based on the monitoring result, that the energy storage controller in the target energy storage unit fails, includes: If the monitoring result is that the software status information sent by the energy storage fault controller in the target energy storage unit is not received, it is determined that the energy storage controller in the target energy storage unit fails.

8. The method according to claim 6, It is characterized in that The status information includes hardware status information; The step of determining, based on the monitoring result, that an energy storage controller in the target energy storage unit fails comprises: If the monitoring result is that the hardware status information of the target energy storage unit is received, acquiring the hardware status information; When the hardware status information indicates that the energy storage controller hardware is abnormal, it is determined that the energy storage controller in the target energy storage unit fails.

9. An energy storage system, It is characterized in that The energy storage system includes a plurality of energy storage units, and each energy storage unit is equipped with an energy storage controller, and the energy storage controllers in the energy storage units are backup controllers for each other; Any energy storage controller in the energy storage system is used to determine the target controller from the energy storage controllers of other energy storage units using a preset arbitration mechanism when it is determined that the energy storage controller of a target energy storage unit in the energy storage system has failed, and control the target energy storage unit through the target controller; the other energy storage units are energy storage units in which the energy storage controller in the energy storage system is operating normally.

10. An energy storage unit control device, It is characterized in that The device comprises: A controller determination module, used to determine the target controller from the energy storage controllers of other energy storage units by using a preset arbitration mechanism when it is determined that the energy storage controller of the target energy storage unit in the energy storage system fails; the other energy storage units are energy storage units in the energy storage system whose energy storage controllers operate normally; A unit control module is used to control the target energy storage unit through the target controller.

11. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

13. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.