Energy storage system and host allocation method

By using a random number generator to generate addresses in the battery system and automatically selecting the host, the problems of complex control and high cost in multi-machine management schemes are solved, and stability and cost-effectiveness are improved.

CN115473318BActive Publication Date: 2026-02-03SUNGROW POWER SUPPLY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211282429.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-19
Publication Date
2026-02-03
Estimated Expiration
2042-10-19

AI Technical Summary

Technical Problem

Existing multi-machine management solutions are complex to control and costly. Furthermore, the competition between multiple machines for the master address leads to address contention failures, and the slave machines become unusable when the master fails, causing the entire system to malfunction.

Method used

The random number generator in each battery system generates a random number as the local address. All addresses are obtained through bus communication, and the master and slave are filtered according to preset conditions. The master is automatically selected without the need for fixed device addresses and hardware configurations, and the master is supported for adaptive transfer.

Benefits of technology

It simplifies the control logic, reduces hardware and R&D maintenance costs, improves system stability and applicability, avoids address contention failures, and ensures that the system always has a host present.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115473318B_ABST
    Figure CN115473318B_ABST
Patent Text Reader

Abstract

The application discloses a kind of energy storage systems and host distribution method;Energy storage system includes: multiple battery systems are connected in parallel together;Random number generator in each battery system generates random number as local address;The address of all battery systems is obtained;The address of all battery systems is filtered according to preset condition, and the battery system as the host of energy storage system is selected, and the remaining battery system is as the slave of energy storage system.Each battery system uses the way of generating random number as battery system address, without solidifying equipment address, and without setting address by configuring hardware dial code, so as to reduce hardware cost, without factory debugging in advance presetting equipment address, more convenient and easy to use;Each battery system can automatically select host according to address, ensure that energy storage system always has a host, without adding host controller, simplify the control logic of energy storage system, reduce research and development and maintenance cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of energy storage technology, specifically to an energy storage system and a host distribution method. Background Technology

[0002] With the continuous development of new energy technologies, energy storage systems are being used more and more widely, including residential energy storage systems. To ensure the normal operation of residential energy storage systems in the event of a battery system failure, and to expand the system's capacity, multiple battery systems are typically connected in parallel. This parallel connection requires multi-system management.

[0003] Existing multi-machine management solutions typically employ a distributed architecture with a master controller and slave controllers for master-slave management. This results in complex system control processes and high development and maintenance costs. Furthermore, multiple machines compete for the master position, frequently triggering address contention failures. Additionally, with fixed master and slave units, if the master fails, the other slaves also become unusable, rendering the entire parallel system unusable. Summary of the Invention

[0004] In view of this, this application provides an energy storage system and a host distribution method, which simplifies the control logic, reduces costs, and improves stability.

[0005] To solve the above problems, the technical solution provided in this application is as follows:

[0006] This application provides an energy storage system, including: multiple battery systems connected in parallel;

[0007] The random number generator in each battery system generates a random number as the local address;

[0008] Get the addresses of all battery systems;

[0009] The addresses of all battery systems are filtered according to preset conditions, and the battery system that serves as the master of the energy storage system is selected, while the remaining battery systems serve as slaves of the energy storage system.

[0010] Preferably, when multiple addresses of all battery systems meet the preset conditions, the random number generator in each battery system regenerates a random number as a new address, and the new address is used to re-filter the host according to the preset conditions until a battery system whose address meets the preset conditions is selected as the host.

[0011] Optionally, all battery system addresses are sorted in ascending order, and the battery system with the smallest address is selected as the host of the energy storage system.

[0012] Preferably, when a new battery system is added to the energy storage system, and a master unit is running in the energy storage system, if the address of the new battery system is the same as the address of the master unit, a new random number is generated and a new master unit is selected; if the address of the new battery system is not equal to the address of the master unit, the new battery system acts as a slave unit.

[0013] Preferably, when the host fails or communication is abnormal, a new host is selected from the addresses of all slave devices according to preset conditions.

[0014] Optionally, multiple battery systems connected in parallel, specifically:

[0015] The batteries are connected to the energy storage system in ascending order of battery voltage.

[0016] This application also provides a host allocation method for an energy storage system, the energy storage system including: multiple battery systems connected in parallel;

[0017] The method includes:

[0018] The random number generator in each battery system generates a random number as the local address;

[0019] Get the addresses of all battery systems;

[0020] The addresses of all battery systems are filtered according to preset conditions, and the battery system that serves as the master of the energy storage system is selected, while the remaining battery systems serve as slaves of the energy storage system.

[0021] Preferably, the addresses of all battery systems are filtered according to preset conditions to select the battery system that will serve as the host of the energy storage system, specifically including:

[0022] When multiple addresses from all battery systems meet the preset conditions, the random number generator in each battery system generates a new random number as the new address. The new address is then used to re-select the host according to the preset conditions until a battery system whose address meets the preset conditions is selected as the host.

[0023] Optionally, the addresses of all battery systems are filtered according to preset conditions to select the battery system that will serve as the host of the energy storage system, specifically including:

[0024] Sort all battery system addresses in ascending order and select the battery system with the smallest address as the host of the energy storage system.

[0025] Preferably, it further includes:

[0026] When a new battery system is added to the energy storage system, and a master unit is running in the energy storage system, if the address of the new battery system is the same as the address of the master unit, a new random number is generated and a new master unit is selected; if the address of the new battery system is not equal to the address of the master unit, the new battery system acts as a slave unit.

[0027] Preferably, it further includes:

[0028] When the master unit fails or communication is abnormal, a new master unit is selected from all slave unit addresses according to preset conditions.

[0029] Therefore, this application has the following beneficial effects:

[0030] The energy storage system provided in this application uses a random number generator within each battery system to generate a random number as its local address. It then obtains the addresses of all battery systems and filters them according to preset conditions to select the battery system that serves as the master battery system, with the remaining battery systems acting as slave batteries. This energy storage system eliminates the need for fixed device addresses and hardware DIP switches, reducing hardware costs and eliminating the need for pre-setting device addresses during factory testing. This makes it more convenient and user-friendly, especially for parallel systems with a large number of battery systems. Each battery system can automatically select its master battery based on its address, ensuring that the energy storage system always has a master battery. This automatic master selection eliminates the need for additional master controllers, simplifying the control logic of the energy storage system and reducing research and development and maintenance costs. Attached Figure Description

[0031] Figure 1 A schematic diagram of an energy storage system provided in an embodiment of this application;

[0032] Figure 2 A flowchart illustrating a host allocation method for an energy storage system provided in this application embodiment;

[0033] Figure 3 A flowchart illustrating another host allocation method for an energy storage system provided in this application embodiment;

[0034] Figure 4 A flowchart illustrating the specific process of generating a random number as a local address, provided in this embodiment of the application;

[0035] Figure 5 A detailed flowchart for selecting the RACK as the host of the energy storage system, provided for embodiments of this application;

[0036] Figure 6 A detailed flowchart illustrating the host adaptive transfer provided in this application embodiment. Detailed Implementation

[0037] To better understand the various embodiments of this application, the specific application scenarios of the technical solutions provided in this application will be introduced below.

[0038] See Figure 1 The figure is a schematic diagram of an energy storage system provided in an embodiment of this application.

[0039] The energy storage system includes an inverter 100 and multiple battery systems; each battery system can be a rack. For ease of description, the following description will use a rack as the battery system. The multiple racks are designated as RACK1, RACK2, up to RACKn. n is an integer greater than or equal to 2, without a specific value.

[0040] Each rack includes multiple battery modules. For example, a residential rack includes 3-8 battery modules. This application does not specifically limit the number of battery modules included in each rack.

[0041] All RACKs are connected in parallel, that is, the output terminals of RACK1, RACK2 and up to RACKn are connected in parallel to the input terminal of inverter 100; inverter 100 converts the energy of the battery pack to power the user's equipment, such as home appliances.

[0042] Taking the energy of the battery module coming from photovoltaic power generation as an example, during the day when there is sufficient sunlight, the photovoltaic power generation first supplies the load, and the excess energy is used to charge the battery module. Finally, the excess energy can also be connected to the grid. At night, the battery module releases energy to supply power to the load, and the insufficient part is supplemented by the grid.

[0043] Because multiple battery modules are connected in parallel, management of multi-module parallel solutions is required. Traditional multi-module management methods require a master controller, which is costly; multiple modules compete for the master controller, frequently triggering address contention failures; when the master controller fails, the slave modules also become unusable, causing the entire residential energy storage system to malfunction and resulting in poor stability.

[0044] The technical solution provided in this application eliminates the need for a new host controller, resulting in lower costs and more flexible host allocation methods. It can adaptively re-compete for addresses when there is a conflict, avoiding address contention failure. Furthermore, it can automatically transfer the host when it malfunctions or disconnects, ensuring that other slave devices remain operational and improving stability.

[0045] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the embodiments of this application will be further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0046] See also Figure 1 The energy storage system provided in this application includes an inverter 100 and multiple racks connected in parallel. The multiple racks are designated as RACK1, RACK2, up to RACKn. n is an integer greater than or equal to 2, and its specific value is not limited. The output terminals of the multiple racks connected in parallel are connected to the input terminal of the inverter 100.

[0047] This application does not specifically limit the order in which multiple racks are connected to the energy storage system. For example, multiple racks connected in parallel can be connected to the energy storage system in order of increasing voltage, that is, connected to the input terminal of inverter 100 in sequence.

[0048] Each rack includes a controller, and a random number generator in each rack generates random numbers as the local address. The random number generator can be software within the controller.

[0049] Different RACKs may generate the same random number as the address.

[0050] Get all RACK addresses.

[0051] This application does not specifically limit the specific implementation method for obtaining the addresses of all RACKs; for example, it can be obtained through bus communication.

[0052] Obtain the addresses of all racks so that hosts and slaves can be assigned according to preset conditions based on the address of each rack. It should be understood that each rack can sort the addresses of all racks according to preset conditions.

[0053] All RACK addresses are filtered according to preset conditions, and the RACK that serves as the master of the energy storage system is selected, while the remaining RACKs serve as slaves of the energy storage system.

[0054] This application does not specifically limit the implementation method of the preset conditions. For example, it can be that the RACK with the smallest address is used as the host, or the RACK with the largest address is used as the host, or other sorting rules can be used.

[0055] The energy storage system provided in this application uses random numbers generated by random number generators within each rack as its local address. The racks communicate with each other via a bus, allowing each rack to obtain the addresses of other racks. All rack addresses are filtered according to preset conditions to select the rack as the master rack of the energy storage system, with the remaining racks acting as slave racks. This energy storage system eliminates the need for fixed device addresses and hardware DIP switches, reducing hardware costs and eliminating the need for pre-setting device addresses during factory testing. This makes it more convenient and user-friendly, especially suitable for parallel systems with a large number of battery systems. Each rack can automatically select a master rack based on its address, ensuring that the energy storage system always has a master rack present. This automatic master selection eliminates the need for additional master controllers, simplifying the control logic of the energy storage system and reducing R&D and maintenance costs.

[0056] Since the random number generators in different racks may generate the same random number as the address of different racks, there may be multiple addresses that meet the preset conditions, i.e., there is an address conflict.

[0057] When multiple addresses meet the preset conditions, the random number generator in each RACK regenerates a random number as a new address, and the new address is used to reselect a host according to the preset conditions until a RACK with an address that meets the preset conditions is selected as the host.

[0058] New racks may be added to the energy storage system, which could lead to address conflicts between the new racks and the host.

[0059] When a new rack is added, if a master unit is running in the energy storage system, the address of the new rack is compared with the address of the master unit. If they are the same, it indicates an address conflict, and a new random number is generated to select a new master unit. If they are different, it indicates no address conflict, and the new rack unit becomes the slave unit.

[0060] The energy storage system provided in this application embodiment can also perform adaptive re-competition when address conflicts occur, that is, regenerate a random number as a new address, and use the new address to reselect the host according to preset conditions until there are no address conflicts, thus eliminating the situation of address contention failure.

[0061] After the RACK in the energy storage system selects the master, the master may malfunction or have communication problems, causing it to be unable to work; at this time, a new master is selected from all slave addresses according to preset conditions.

[0062] The energy storage system provided in this application embodiment can also perform adaptive master failover when the master unit fails or communication is abnormal, that is, select a new master unit from the addresses of all slave units according to preset conditions. This avoids the entire system's master and slave units becoming unusable due to master unit failure or communication abnormalities, thus improving the stability of the energy storage system.

[0063] Based on the energy storage system provided in the above embodiments, this application also provides a host allocation method for the energy storage system, which will be described in detail below with reference to the accompanying drawings.

[0064] See Figure 2 The figure is a flowchart of a host allocation method for an energy storage system provided in an embodiment of this application.

[0065] The host allocation method for an energy storage system provided in this application embodiment is applied to the energy storage system described in the above embodiments. The energy storage system includes an inverter and multiple racks connected in parallel. The multiple racks are designated as RACK1, RACK2, up to RACKn. The output terminals of the multiple racks connected in parallel are connected to the inverter.

[0066] The method includes:

[0067] S201: The random number generator in each RACK generates a random number as the local address.

[0068] The master and slave addresses are adaptively encoded by generating random numbers using a random number generator, without fixing the device addresses.

[0069] S202: Get the addresses of all RACKs.

[0070] This application does not specifically limit the implementation method for obtaining the addresses of all RACKs; for example, they can be obtained through bus communication.

[0071] Obtain the addresses of all racks so that hosts and slaves can be assigned according to preset conditions based on the address of each rack. It should be understood that each rack can sort the addresses of all racks according to preset conditions.

[0072] S203: Filter all RACK addresses according to preset conditions, select the RACK that will be the master of the energy storage system, and the remaining RACKs will be the slaves of the energy storage system.

[0073] This application does not specifically limit the implementation method of the preset conditions. For example, it can be that the RACK with the smallest address is used as the host, or the RACK with the largest address is used as the host, or other sorting rules can be used.

[0074] The master allocation method for energy storage systems provided in this application involves each rack generating a random number as its local address using a random number generator within the rack; obtaining the addresses of all racks; filtering all rack addresses according to preset conditions to select the rack as the master rack of the energy storage system, with the remaining racks serving as slave racks. This master allocation method eliminates the need for fixed device addresses and hardware DIP switches, reducing hardware costs and eliminating the need for pre-setting device addresses during factory testing. It is particularly suitable for parallel systems with a large number of battery systems. Each rack can automatically select a master rack based on the randomly assigned address, ensuring that the energy storage system always has a master rack. This automatic master selection eliminates the need for additional master controllers in the energy storage system, simplifying the control logic and reducing R&D and maintenance costs.

[0075] Since random numbers generated by a random number generator may be identical, address conflicts may occur. The following section, with reference to the accompanying diagram, describes a specific implementation method to resolve the address conflict problem.

[0076] See Figure 3 The figure is a flowchart of another host allocation method for an energy storage system provided in an embodiment of this application.

[0077] The method includes:

[0078] S301: The random number generator in each RACK generates a random number as the local address.

[0079] S302: All racks learn the addresses of other racks through the bus.

[0080] S303: Filter all RACK addresses according to preset conditions, and determine whether there are multiple RACKs that meet the preset conditions. If so, return to step S301; otherwise, proceed to step S304.

[0081] If so, it means that there are multiple RACKs that meet the preset conditions, indicating that an address conflict has occurred; at this time, return to step S301, regenerate a random number as a new address, filter the new address according to the preset conditions, until a RACK that meets the preset conditions is selected as the host.

[0082] If not, it means there is no address conflict, and the selected RACK will be used as the host of the energy storage system.

[0083] S304: Select the chosen RACK as the master of the energy storage system, and the remaining RACKs as slaves of the energy storage system.

[0084] S305: Incorporate a new rack into the energy storage system.

[0085] When a new rack is added, the random number generated by the random number generator in the new rack may be the same as the random number generated by the host. In this case, the address of the new rack will be the same as the address of the host, resulting in an address conflict.

[0086] S306: Determine if the address of the new RACK is the same as the address of the host; if yes, return to step S301; otherwise, proceed to step S307.

[0087] If the new RACK address is the same as the host address, it indicates an address conflict. At this point, return to step S301, generate a new random number as the new address, and filter the new address according to preset conditions until a RACK with an address that meets the preset conditions is selected as the host.

[0088] The new RACK's address is different from the master's address, indicating that there is no address conflict; at this time, the new RACK will be used as a slave of the energy storage system.

[0089] S307: Use the new rack as a slave device in the energy storage system.

[0090] The energy storage system may not be integrated into the new rack.

[0091] The host allocation method for the energy storage system provided in this application embodiment can also perform adaptive re-competition when address conflicts occur, that is, regenerate a random number as a new address, and use the new address to reselect the host according to preset conditions until there are no address conflicts, thus eliminating the situation of address contention failure.

[0092] In addition, the method may also include:

[0093] When the master unit fails or communication is abnormal, a new master unit is selected from all slave unit addresses according to preset conditions.

[0094] The host allocation method for the energy storage system provided in this application embodiment can also perform adaptive host transfer when the host fails or communication is abnormal, that is, select a new host from the addresses of all slave devices according to preset conditions. This avoids the entire system's host and slave devices becoming unusable due to host failure or communication abnormalities, thus improving the stability of the energy storage system.

[0095] To more clearly illustrate the solution of this application, the specific implementation methods of each step are described below.

[0096] See Figure 4 The figure is a flowchart illustrating the specific process of generating a random number as the local address, as provided in an embodiment of this application.

[0097] Each RACK's random number generator produces random numbers as the local machine's address, specifically including:

[0098] S401: Waiting for a random event.

[0099] Random events refer to random numbers generated by a random number generator.

[0100] S402: Get its own address.

[0101] S403: Address of external source.

[0102] S404: Summarizes the addresses of all RACKs.

[0103] Taking communication between racks via a bus as an example, each rack needs to send its own address to the bus so that the bus can aggregate the addresses of all racks.

[0104] See Figure 5 The figure is a flowchart of the specific process of selecting the RACK as the host of the energy storage system according to the embodiment of this application.

[0105] Taking the default condition of selecting the RACK with the smallest address as the host as an example, the RACKs selected as the host of the energy storage system are specifically included:

[0106] S501: Iterate through the addresses of all RAID arrays.

[0107] S502: Sort the addresses in ascending order.

[0108] S503: Get the smallest address.

[0109] S504: Determine if the current address is equal to the smallest address. If so, proceed to step S505.

[0110] Taking the example of each RACK obtaining the addresses of all RACKs, after obtaining the addresses of all RACKs, it is necessary to compare them and determine whether its own address is the smallest.

[0111] S505: Set the current RACK as the host, set the host flag to 1, and store the host's address. This application uses a flag of 1 as an example of a host, but other values ​​are also possible and not specifically limited. In addition, setting the host flag to 1 can be used to query the host flag to determine whether a host exists in the current energy storage system.

[0112] See Figure 6 The figure is a flowchart illustrating the host adaptive transfer process provided in an embodiment of this application.

[0113] When the master unit malfunctions or communication fails, a new master unit is selected from all slave unit addresses according to preset criteria, including:

[0114] S601: Determine if the host has malfunctioned or communication is abnormal. If so, proceed to step S602.

[0115] S602: Clear host flags.

[0116] S603: The process of selecting the RACK as the master unit of the energy storage system from all slave units.

[0117] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An energy storage system, characterized in that, include: Multiple battery systems connected in parallel; The random number generator in each of the battery systems generates a random number as the local address; Get the addresses of all battery systems; When multiple addresses of all battery systems meet the preset conditions, the random number generator in each battery system generates a new random number as a new address. The new address is then used to re-select the master battery system according to the preset conditions until a battery system whose address meets the preset conditions is selected as the master battery system, and the remaining battery systems serve as slave batteries of the energy storage system.

2. The energy storage system according to claim 1, characterized in that, Sort all battery system addresses in ascending order and select the battery system with the smallest address as the host of the energy storage system.

3. The energy storage system according to claim 1, characterized in that, When a new battery system is added to the energy storage system, and a master unit is running in the energy storage system, if the address of the new battery system is the same as the address of the master unit, a new random number is generated and a new master unit is selected; if the address of the new battery system is not equal to the address of the master unit, the new battery system acts as a slave unit.

4. The energy storage system according to any one of claims 1-3, characterized in that, When the host fails or communication is abnormal, a new host is selected from all slave addresses according to the preset conditions.

5. The energy storage system according to any one of claims 1-4, characterized in that, The multiple battery systems connected in parallel are specifically as follows: The batteries are connected to the energy storage system in ascending order of battery voltage.

6. A host allocation method for an energy storage system, characterized in that, The energy storage system includes: multiple battery systems connected in parallel; The method includes: The random number generator in each of the battery systems generates a random number as the local address; Get the addresses of all battery systems; When multiple addresses of all battery systems meet the preset conditions, the random number generator in each battery system generates a new random number as a new address. The new address is then used to re-select the master battery system according to the preset conditions until a battery system whose address meets the preset conditions is selected as the master battery system, and the remaining battery systems serve as slave batteries of the energy storage system.

7. The method according to claim 6, characterized in that, The step of filtering all battery system addresses according to preset conditions to select the battery system as the host of the energy storage system specifically includes: Sort all battery system addresses in ascending order and select the battery system with the smallest address as the host of the energy storage system.

8. The method according to claim 6, characterized in that, Also includes: When a new battery system is added to the energy storage system, and a master unit is running in the energy storage system, if the address of the new battery system is the same as the address of the master unit, a new random number is generated and a new master unit is selected; if the address of the new battery system is not equal to the address of the master unit, the new battery system acts as a slave unit.

9. The method according to any one of claims 6-8, characterized in that, Also includes: When the host fails or communication is abnormal, a new host is selected from all slave addresses according to the preset conditions.

Citation Information

Patent Citations

  • CAN communication dynamic networking method for battery management system

    CN110311824A

  • Energy storage unit parallel operation control method, battery management system and battery energy storage system

    CN114336888A

  • Battery pack address allocation system and method and computer readable storage medium

    CN114513035A

  • Modular uninterruptible power supply system and control method thereof

    US20050043859A1