A method for allocating addresses for an energy storage battery management system
By introducing an automated address allocation method into the energy storage battery management system and using MAC addresses for master-slave identification and address allocation, the problems of complex and error-prone manual configuration in the existing technology are solved, and efficient, reliable and flexible address management of the system is achieved.
Patent Information
- Application Number
- CN202411190350.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-08-28
AI Technical Summary
In existing energy storage battery management systems, the manual configuration operation process is complex and tedious, prone to errors, and makes system configuration and maintenance inconvenient.
By introducing an automated address allocation method into the energy storage battery management system, MAC addresses are used for master-slave identification, address allocation, and calibration, ensuring the unique identification and communication address allocation of each battery cluster, simplifying the configuration process and avoiding address conflicts.
It realizes automated address management of multi-cabinet energy storage battery systems, reduces human errors, improves system reliability and efficiency, ensures the accuracy and flexibility of data communication, and shortens downtime.
Smart Images

Figure CN119094496B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy storage batteries, and in particular to an address allocation method for an energy storage battery management system. Background Art
[0002] Current industrial and commercial energy storage systems typically use multiple battery cabinets connected in parallel to expand system capacity after the voltage platform reaches its upper limit. Typically, a battery cluster consists of several battery cell management units (BMUs), a battery cluster high-voltage management unit (SBMU), and a battery array management unit (MBMU). Each BMU contains a data acquisition unit, battery modules, and other components, while each high-voltage box contains a high-voltage master control unit, relays, and other components. An industrial and commercial energy storage cabinet equipped with an MBMU typically houses one to two battery clusters. This article uses a single cabinet with two battery clusters as an example.
[0003] In current industrial and commercial energy storage systems, the battery cluster high-voltage management unit (SBMU) and battery array management unit (MBMU) are typically manufactured according to standard processes, with identical units identical. This requires manual on-site configuration using DIP switches, industrial control computers, EMS displays, and other human-machine interface devices to assign location and address information to each SBMU and MBMU in order to distinguish each specific device. However, this manual configuration process is complex, tedious, and prone to errors. Summary of the Invention
[0004] (1) Technical problems solved
[0005] In view of the shortcomings of the existing technology, the present invention provides an address allocation method for an energy storage battery management system, which solves the problem that the process of manual configuration operation is relatively complex, tedious and prone to errors.
[0006] (2) Technical solution
[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: an address allocation method for an energy storage battery management system, comprising the following steps:
[0008] Step 1: Autonomous identification of the host MBMU when multiple MBMUs are connected in parallel, including system startup, verification of cache table validity, and master / slave confirmation processes.
[0009] Step 2: Slave MBMU address allocation when multiple MBMUs are connected in parallel, including slave information processing and device address allocation confirmation;
[0010] Step 3: The slave MBMU corresponds to the battery cluster system address calibration, including battery cluster address identification and address allocation;
[0011] Step 4: Polling of battery cluster addresses and determining their accuracy.
[0012] Preferably, in step 1, when multiple MBMUs are connected in parallel on a group of CAN buses, each MBMU needs to compete for a master through a predetermined logic.
[0013] Preferably, after the host MBMU is selected, it is responsible for data aggregation of the entire multi-cabinet system, communication of the energy storage inverter, and energy management system.
[0014] Preferably, in step 2, after the master MBMU is determined, a unique address number, specifically a number between 2 and 10, is allocated to each slave MBMU according to the MAC address of the slave MBMU.
[0015] Preferably, the address numbers are allocated as follows: when the host's slave MAC address cache table is valid, the newly added slave serial number is the existing address + 1, and so on; when the host's slave MAC address cache table is invalid, all slave address serial numbers are sorted from small to large according to the MAC address.
[0016] Preferably, in step three, after the addresses of the host MBMU and the slave MBMU are confirmed, the host MBMU needs to send cluster address allocation instructions to all slave MBMUs one by one according to the addresses of the slave MBMUs. After receiving the cluster address allocation instructions, the slave MBMU sets the address of the battery cluster managed by it according to the MAC address of the slave SBMU and the address of the local MBMU, and the set cluster address is consistent with the parity characteristic of the original address of the cluster.
[0017] Preferably, the original addresses of the cluster are cluster 1 and cluster 2.
[0018] Preferably, in step 4, after completing cluster address calibration, the host MBMU needs to poll the addresses of all battery clusters in the battery system and determine whether there are address errors or address overlaps. If so, the corresponding errors need to be reported and corrected.
[0019] In energy storage battery systems, MAC addresses are used to uniquely identify each battery cluster high-voltage management unit (SBMU) and battery array management unit (MBMU). Through these unique addresses, the system can effectively allocate and manage addresses when multiple battery management units are connected in parallel. Specifically:
[0020] Address allocation of slave MBMU: The master MBMU uses the MAC address of the slave MBMU to allocate a unique communication address to each slave MBMU to avoid address conflicts.
[0021] SBMU system address calibration: The master / slave MBMU sets the system address of the battery cluster based on the MAC address of the SBMU, ensuring that the address of each battery cluster is consistent with the device configuration.
[0022] MAC addresses help achieve unique device identification and accurate communication address allocation in energy storage battery systems.
[0023] Preferably, during the operation of the energy storage battery management system, the master MBMU is responsible for the coordination management and data communication of the entire system, while the slave MBMU is responsible for the specific battery cluster monitoring and control work.
[0024] (3) Beneficial effects
[0025] The present invention provides an address allocation method for an energy storage battery management system, which has the following beneficial effects:
[0026] 1. Through these steps and operating procedures, the present invention ensures that the multi-cabinet energy storage battery system can automatically identify the master-slave relationship when connected in parallel, and effectively allocate and manage the addresses and functions of each module, thereby simplifying the system configuration and maintenance process and improving the reliability and efficiency of the system.
[0027] 2. The automated address allocation method reduces the possibility of human configuration errors and ensures stable system operation. Secondly, due to the automation of the address allocation process, the system is more flexible during expansion or maintenance and can quickly adapt to new battery clusters or replace faulty modules, thereby shortening downtime and improving system availability.
[0028] 3. Through the optimized address allocation mechanism, the present invention can effectively avoid address conflicts and overlaps, ensure the accuracy and efficiency of data communication, and thus provide more stable and reliable data support for the entire energy storage battery management system.
[0029] In summary, the present invention provides an address allocation method for an energy storage battery management system, which not only simplifies the configuration and maintenance process, but also improves the reliability and efficiency of the system, and has significant technical advantages and application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a flow chart of the address allocation method of the present invention;
[0031] Figure 2 Schematic diagram of the battery cluster address arrangement process of the present invention. DETAILED DESCRIPTION
[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0033] Example 1:
[0034] An embodiment of the present invention provides an address allocation method for an energy storage battery management system, comprising the following steps:
[0035] Step 1: Autonomous identification of the master MBMU when multiple MBMUs are connected in parallel. Specifically, when multiple MBMUs are connected in parallel on a CAN bus, each MBMU competes for a master position through established logic. Once the master MBMU is selected, it is responsible for data aggregation for the entire multi-cabinet system and communication with the PCS (energy storage inverter) and EMS (energy management system).
[0036] Step 2: Slave MBMU address allocation when multiple MBMUs are connected in parallel; specifically, after the host MBMU is determined, a unique address number is assigned to each slave MBMU based on the MAC address of the slave MBMU, specifically a number between 2 and 10. The address number is allocated as follows: when the host's slave MAC address cache table is valid, the newly added slave's serial number is the existing address + 1, and so on; when the host's slave MAC address cache table is invalid, all slave address serial numbers are sorted from small to large according to the MAC address.
[0037] Step 3: Calibrate the slave MBMU's corresponding battery cluster system address; specifically, after the addresses of the master MBMU and the slave MBMU are confirmed, the master MBMU needs to issue cluster address allocation instructions to all slave MBMUs one by one based on the slave MBMU's address. After receiving the cluster address allocation instruction, the slave MBMU sets the managed battery cluster address according to the local MBMU address based on the MAC address of the slave SBMU. The set cluster address is consistent with the parity characteristics of the original cluster address (usually cluster 1 and cluster 2).
[0038] Step 4: Polling of battery cluster addresses and determination of their accuracy; Specifically, after the host MBMU completes cluster address calibration, it needs to poll the addresses of all battery clusters in the battery system and determine whether there are any address errors or address overlaps. If so, the corresponding errors need to be reported and corrected.
[0039] In energy storage battery systems, MAC addresses are used to uniquely identify each battery cluster high-voltage management unit (SBMU) and battery array management unit (MBMU). Through these unique addresses, the system can effectively allocate and manage addresses when multiple battery management units are connected in parallel. Specifically:
[0040] Address allocation of slave MBMU: The master MBMU uses the MAC address of the slave MBMU to allocate a unique communication address to each slave MBMU to avoid address conflicts.
[0041] SBMU system address calibration: The master / slave MBMU sets the system address of the battery cluster based on the MAC address of the SBMU, ensuring that the address of each battery cluster is consistent with the device configuration.
[0042] MAC addresses help achieve unique device identification and accurate communication address allocation in energy storage battery systems.
[0043] Secondly, during the operation of the energy storage battery management system, the master MBMU is responsible for the coordination and management of the entire system and data communication, while the slave MBMU is responsible for the specific battery cluster monitoring and control work.
[0044] In summary, this embodiment ensures that the multi-cabinet energy storage battery system can automatically identify the master-slave relationship when connected in parallel, and effectively allocate and manage the addresses and functions of each module through these steps and operating procedures, thereby simplifying the system configuration and maintenance process and improving the system reliability and efficiency; and through the automated address allocation method, the possibility of human configuration errors is reduced, ensuring the stable operation of the system. Secondly, due to the automation of the address allocation process, the system is more flexible during expansion or maintenance, and can quickly adapt to new battery clusters or replace faulty modules, thereby shortening downtime and improving system availability; secondly, through the optimized address allocation mechanism, the present invention can effectively avoid address conflicts and overlaps, ensure the accuracy and efficiency of data communication, and thus provide more stable and reliable data support for the entire energy storage battery management system.
[0045] Example 2:
[0046] Based on the first embodiment, Figure 1 , specifically:
[0047] S1. Power on the system and initialize the battery cabinet.
[0048] S2. Read the battery cabinet cache table and verify its validity.
[0049] (1) If the cache table is invalid, addressing is terminated and an alarm is reported. A manual control command is required to reset the device information cache table (the cluster address of the battery cabinet during production will also be modified to this method. This command is required during the production and replacement of the MBMU).
[0050] (2) If the cache table is valid, continue with the following process.
[0051] S3. Initialize the main control module (MBMU).
[0052] Read MBMU address information and SBMU device information.
[0053] S4. Determine the MBMU role.
[0054] Before the last power failure, whether the MBMU was acting as a master or a slave:
[0055] (1) If it is a host: send a heartbeat frame message with CAN ID 0x500.
[0056] (2) If it is a slave: the heartbeat message is sent out using the read MBMU address value plus 0x500 as the heartbeat frame ID.
[0057] S5. Host confirmation process.
[0058] (1) Whether the MBMU receives the PCS message:
[0059] (11) If yes: Confirm that MBMU is the host, update the heartbeat message ID to 0x501, and proceed to the next step.
[0060] (12) If No: Has the MBMU received the EMS response message?
[0061] (121) If yes: confirm that MBMU is the host, update the heartbeat message (ID is 0x501), and go to the next step.
[0062] (122) If no: Check if there is a host message (ID is 0x501) on the CAN bus.
[0063] S6. Slave confirmation process.
[0064] (1) If there is a host message (ID is 0x501) on the CAN bus:
[0065] (2) Confirm that the MBMU is a slave MBMU and enter the slave information processing.
[0066] S7. Slave information processing.
[0067] Check whether the slave MBMU device information cache table exists in the memory:
[0068] (1) If yes: read the device information cache table of the slave MBMU and process the new access or address confirmation of the slave MBMU.
[0069] (2) If not: create a new device information cache table for the slave MBMU, plan the communication address according to the MAC address, and save the pairing information.
[0070] S8. Confirm device address allocation.
[0071] Confirm the address of each slave MBMU one by one, and simultaneously confirm whether the device address is allocated.
[0072] (1) If completed: The slave MBMU is broadcasted with the corresponding battery cluster SBMU address based on the slave SBMU's MAC address. All battery cluster addresses in the battery cluster system are polled to complete the internal communication address allocation of the battery system. (If there is an address error or address overlap, addressing is aborted and an alarm is reported. Manual control commands are required to reset the device information cache table.)
[0073] (2) If not completed: return to the previous process.
[0074] Example 3:
[0075] Based on the second embodiment, combined with Figure 2 , specifically:
[0076] Figure 2 The process is Figure 1 The battery cluster address arrangement flow chart is performed after the device address allocation is confirmed in step S8 of the process. When the device leaves the factory, the battery cluster high voltage management unit (SBMU) is bound to the battery array management unit (MBMU) through the unique identification MAC address. This process performs a cluster address identification and address allocation for the currently bound MAC address. The process is as follows:
[0077] S1. Host cluster address allocation: The host reads the SBMU cluster number that matches the MAC bound at the factory and confirms whether the two cluster addresses are 1 and 2. If not, they are marked as 1 and 2.
[0078] S2. Assign cluster address to slave 1. Slave 1 reads the SBMU cluster number that matches the MAC bound at the factory and confirms whether the two cluster addresses are 3 and 4. If not, they are marked as 3 and 4.
[0079] …
[0080] Sn, slave n cluster address allocation, slave n reads the SBMU cluster number consistent with the MAC bound at the factory, confirms whether the two cluster addresses are 2n-1 and 2n, if not 2n-1 and 2n, then calibrate them as 2n-1 and 2n.
[0081] After the above steps are completed, the host confirms that the cluster address allocation of each slave MBMU is completed, broadcasts the message, and enables the SBMU to cyclically send regular communication messages.
[0082] Examples 2 and 3 not only describe the implementation of the invention but also further illustrate how the technical solution of the present invention operates and functions in practical applications. The detailed description and schematic diagrams of each step of the process help experts and technicians understand and implement the invention, ensuring that it can achieve the goal of improving the overall performance and reliability of the energy storage system.
[0083] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. A method for allocating addresses for an energy storage battery management system, characterized in that: The following steps are involved: Step 1: Autonomous identification of the host MBMU when multiple battery array management units (MBMUs) are connected in parallel, including system startup, verification of cache table validity, and master / slave confirmation process. Step 2: Slave MBMU address allocation when multiple MBMUs are connected in parallel, including slave information processing and device address allocation confirmation; Step 3: The slave MBMU calibrates the corresponding battery cluster system address, including battery cluster address identification and address allocation. After the addresses of the master MBMU and slave MBMU are confirmed, the master MBMU needs to issue cluster address allocation instructions to all slave MBMUs one by one based on the slave MBMU addresses. After receiving the cluster address allocation instructions, the slave MBMU sets the managed battery cluster address according to the MAC address of the slave battery cluster high-voltage management unit (SBMU) and the local MBMU address. The set cluster address is consistent with the parity of the original cluster address. Step 4: Polling of battery cluster addresses and determining their accuracy.
2. The address allocation method for an energy storage battery management system according to claim 1, characterized in that: In step 1, when multiple MBMUs are connected in parallel on a CAN bus, each MBMU needs to compete for a master through a predetermined logic.
3. The address allocation method for an energy storage battery management system according to claim 2, characterized in that: After the host MBMU is selected, it is responsible for data aggregation of the entire multi-cabinet system, communication with the energy storage inverter, and energy management system.
4. The address allocation method for an energy storage battery management system according to claim 1, characterized in that: In step 2, after the master MBMU is determined, a unique address number is assigned to each slave MBMU based on the MAC address of the slave MBMU, specifically a number between 2 and 10.
5. The address allocation method for an energy storage battery management system according to claim 4, characterized in that: The address number allocation method is: when the host's slave MAC address cache table is valid, the newly added slave serial number is the existing address + 1, and so on; when the host's slave MAC address cache table is invalid, all slave address serial numbers are sorted in ascending order of MAC address.
6. The address allocation method for an energy storage battery management system according to claim 1, characterized in that: The original addresses of the cluster are cluster 1 and cluster 2.
7. The address allocation method for an energy storage battery management system according to claim 1, characterized in that: In step 4, after completing cluster address calibration, the host MBMU needs to poll the addresses of all battery clusters in the battery system and determine whether there are address errors or address overlaps. If so, the corresponding errors need to be reported and corrected.
8. The address allocation method for an energy storage battery management system according to any one of claims 1 to 7, characterized in that: During the operation of the energy storage battery management system, the master MBMU is responsible for the coordination management and data communication of the entire system, while the slave MBMU is responsible for the specific battery cluster monitoring and control work.
Citation Information
Patent Citations
Lithium ion battery module multi-cluster parallel operation address allocation method and system
CN116366600A
Energy storage system with multiple battery clusters
CN218071089U