Address allocation method of energy storage battery management system
By realizing autonomous identification and address allocation of multiple MBMUs in parallel in the energy storage battery management system, and assigning a unique number to each slave MBMU using the MAC address, solving the problems of complex configuration and prone to errors in the existing technology, and improving the system The reliability and efficiency of data communication ensure the accuracy and efficiency of data communication.
Patent Information
- Application Number
- CN202411190350.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The existing energy storage battery system is more complicated in the configuration and maintenance process, and is prone to errors, resulting in system instability and inefficiency.
By realizing autonomous identification and address allocation in parallel with multiple MBMUs in the energy storage battery management system, a unique address number is assigned to each slave MBMU using the MAC address to ensure the uniqueness and consistency of address allocation, and it is carried out through the host MBMU Address polling and bug fixes to avoid address conflicts and overlaps.
The system configuration and maintenance process is simplified, the system reliability and efficiency is improved, the system is reduced, the human configuration error is reduced, the data communication is accurate and efficient, the downtime is shortened, and the system availability is improved.
Smart Images

Figure CN119094496A_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] The current industrial and commercial energy storage system generally has multiple battery cabinets connected in parallel to expand the system power after the voltage platform reaches the upper limit. In general, a battery cluster consists of several battery cell management units (BMUs) and a battery cluster high-voltage management unit (SBMU) and a battery array management unit (MBMU). Each battery cell management unit contains a collection unit, battery module and other accessories, and each high-voltage box contains a high-voltage master control, relays and other accessories. An industrial and commercial energy storage cabinet is equipped with a battery array management unit MBMU, which usually has 1-2 battery clusters. This article takes the configuration of a single cabinet with 2 battery clusters as an example.
[0003] In the current industrial and commercial energy storage system, the battery cluster high voltage management unit (SBMU) and the battery array management unit (MBMU) are usually produced according to standard processes during manufacturing. There is no difference between the same units. It is necessary to manually assign location and address information to each SBMU and MBMU through human-computer interaction equipment such as DIP switches, industrial control host computers, and EMS display screens on site to distinguish each specific device. However, the process of manual configuration operation is relatively complex and cumbersome, and it is easy to make mistakes. Summary of the invention
[0004] 1. Technical issues to be solved
[0005] In view of the deficiencies in the prior art, 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 and cumbersome and prone to errors.
[0006] (II) 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 and verification of whether the cache table is valid, and master and 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 their accuracy determination.
[0012] Preferably, in step 1, when multiple MBMUs are connected in parallel to a group of CAN buses, each MBMU needs to compete for a host 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 the energy management system.
[0014] Preferably, in step 2, after the host 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 the slave MBMUs receive the cluster address allocation instructions, they set the managed battery cluster address according to the local MBMU address based on the MAC address of the slave SBMU, 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 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 address errors or address overlaps. If so, the corresponding errors need to be reported and corrected.
[0019] In the energy storage battery system, the MAC address is 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 host 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 host / slave MBMU sets the system address of the battery cluster according to the MAC address of the SBMU, ensuring that the address of each battery cluster is consistent with the device configuration.
[0022] MAC addresses help to achieve unique identification of devices and accurate communication address allocation in energy storage battery systems.
[0023] Preferably, during the operation of the energy storage battery management system, the host MBMU is responsible for the coordination management and data communication of the entire system, and the slave MBMU is responsible for the specific battery cluster monitoring and control work.
[0024] (III) 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 operation 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 allocates and manages the address and function of each module, thereby simplifying the system configuration and maintenance process and improving the reliability and efficiency of the system.
[0027] 2. 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.
[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 It is a flowchart of the address allocation method of the present invention;
[0031] Figure 2 It is a schematic diagram of the battery cluster address arrangement process of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.
[0033] Embodiment 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 host MBMU when multiple MBMUs are connected in parallel; specifically, when multiple MBMUs are connected in parallel on a CAN bus, each MBMU needs to compete for a host through a predetermined logic; after the host MBMU is selected, it is responsible for data aggregation of the entire multi-cabinet system, PCS (energy storage inverter), and EMS (energy management system) communication.
[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 allocated to each slave MBMU according to the MAC address of the slave MBMU, specifically a number between 2 and 10, and the address number is allocated as follows: when the host's slave mac address cache table is valid, the newly added slave number is the existing address + 1, and so on; when the host's slave mac address cache table is invalid, all slave address 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 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 the slave MBMU receives the cluster address allocation instruction, it 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 address of the cluster (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 address errors or address overlaps. If so, the corresponding errors need to be reported and corrected.
[0039] In the energy storage battery system, the MAC address is 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 host 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 host / slave MBMU sets the system address of the battery cluster according to the MAC address of the SBMU, ensuring that the address of each battery cluster is consistent with the device configuration.
[0042] MAC addresses help to achieve unique identification of devices and accurate communication address allocation in energy storage battery systems.
[0043] Secondly, during the operation of the energy storage battery management system, the host 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.
[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 allocates and manages the addresses and functions of each module through these steps and operation processes, thereby simplifying the system configuration and maintenance process and improving the reliability and efficiency of the system; 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 communications, and thus provide more stable and reliable data support for the entire energy storage battery management system.
[0045] Embodiment 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, the addressing is terminated and an alarm is reported. A control command needs to be manually issued 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. The main control module (MBMU) is initialized.
[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: Does the MBMU receive 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 whether 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 on the CAN bus (ID is 0x501):
[0065] (2) Confirm that the MBMU is a slave MBMU and enter slave information processing.
[0066] S7, slave information processing.
[0067] 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: According to the MAC address of the slave SBMU, the slave MBMU is broadcasted to calibrate the corresponding battery cluster SBMU address, poll all battery cluster addresses in the battery cluster system, and complete the internal communication address allocation of the battery system. (If there is an address error or address overlap, the addressing is terminated and an alarm is reported. It is necessary to manually send a control command to reset the device information cache table).
[0073] (2) If not completed: return to the previous process.
[0074] Embodiment three:
[0075] Based on the second embodiment, Figure 2 , specifically:
[0076] Figure 2 The process is Figure 1 The battery cluster address arrangement flow chart 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 is consistent with 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. Slave 1 cluster address allocation: Slave 1 reads the SBMU cluster number consistent with 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, and confirms whether the two cluster addresses are 2n-1 and 2n. If not, they are marked 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] The second and third embodiments are not only descriptions of the implementation methods of the invention, but also further illustrate how the technical solution of the present invention is operated and functioned in practical applications. The detailed description and schematic diagram of each step of the process help experts and technicians understand and implement the invention to ensure that it can achieve the purpose of improving the overall performance and reliability of the energy storage system.
[0083] Although 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 the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An address allocation method 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 MBMUs are connected in parallel, including system startup and verification of whether the cache table is valid and the master and 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 corresponds to the battery cluster system address calibration, including battery cluster address identification and address allocation; Step 4: Polling of battery cluster addresses and their accuracy determination.
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 host MBMU is determined, a unique address number, specifically a number between 2 and 10, is assigned to each slave MBMU according to the MAC address of the slave MBMU.
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 from small to large according to the MAC address.
6. The address allocation method for an energy storage battery management system according to claim 1, characterized in that: 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 the slave MBMU receives the cluster address allocation instruction, it 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. The set cluster address is consistent with the parity characteristic of the original address of the cluster.
7. The address allocation method for an energy storage battery management system according to claim 6, characterized in that: The original addresses of the cluster are cluster 1 and cluster 2.
8. The address allocation method for an energy storage battery management system according to claim 1, characterized in that: In step 4, 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 address errors or address overlaps. If so, the corresponding errors need to be reported and corrected.
9. The address allocation method for an energy storage battery management system according to any one of claims 1 to 8, characterized in that: During the operation of the energy storage battery management system, the host MBMU is responsible for the coordination management and data communication of the entire system, and the slave MBMU is responsible for the specific battery cluster monitoring and control work.
Citation Information
Patent Citations
Battery management system and automatic addressing method thereof
CN115528327A
Battery cluster address automatic distribution system and method based on chain connection
CN115580596A
Lithium ion battery module multi-cluster parallel operation address allocation method and system
CN116366600A
Energy storage system with multiple battery clusters
CN218071089U
Battery management system, and methods for address allocation and offline reconnection
US20240056419A1
