Automatic coding method and system for dc parallel connection of energy storage integrated cabinet

CN122601642APending Publication Date: 2026-08-18CONTEMPORARY NEBULA TECH ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610446274.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-07
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

现有方法大多针对预设的、固定数量的设备进行一次性编码设计,难以支持系统的快速在线扩容或故障设备的快速替换

Benefits of technology

本发明通过向局域网内的所有从机控制器广播邻居发现请求报文,接收各从机控制器回复的包含唯一标识信息的应答报文,据此生成或维护一体柜在线列表,并为列表中的每个唯一标识信息分配唯一逻辑地址,再通过局域网下发编码指令驱动从机控制器修改电池的逻辑地址,实现了电池地址的自动分配。相比依赖硬件电路或硬线连接顺序的现有方法,本发明在扩容、维护或重组时编码逻辑保持不变,提升了灵活性;动态的在线列表维护和地址分配机制支持设备的在线增加与故障替换,高效的动态地址分配与冲突解决机制满足了便捷扩容与更换的需求;全自动化的过程消除了人工设置和记录环节,提高了配置效率与精度,降低了运维成本和人为错误风险。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122601642A_ABST
    Figure CN122601642A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of battery management, and particularly relates to a method and system for automatically coding direct current parallel operation of energy storage integrated cabinets. The method comprises the following steps: broadcasting a neighbor discovery request message to all slave controllers in a local area network; receiving a response message returned by each slave controller in response to the neighbor discovery request message, wherein the response message comprises unique identification information of the slave controller; generating or maintaining an integrated cabinet online list according to the collected unique identification information; assigning a unique logical address to each unique identification information according to the unique identification information in the integrated cabinet online list; issuing a coding instruction to each slave controller through the local area network according to the unique identification information, wherein the coding instruction comprises the unique identification information and the unique logical address corresponding to the unique identification information; and driving the slave controller to modify the logical address of the corresponding battery to the unique logical address according to the coding instruction. The present application replaces the cumbersome and error-prone manual recording and configuration operation through automatic coding and address management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of battery management technology, and in particular to an automatic coding method and system for DC parallel operation of integrated energy storage cabinets. Background Technology

[0002] As the proportion of new energy sources in the energy structure continues to increase, standardized and modular integrated energy storage cabinets have become the mainstream product in the market to reduce transportation costs and improve configuration flexibility. To meet the needs of diverse application scenarios, several to dozens of standard integrated energy storage cabinets are typically connected in DC parallel to flexibly build energy storage power stations with megawatt-hour capacity. In such multi-unit DC parallel systems, to achieve accurate battery management, such as State of Charge (SOC) balancing, the system must assign a unique address identifier to the batteries in each standard integrated cabinet. Currently, the industry generally relies on manual coding or semi-automatic setting for address allocation. This method is inefficient and prone to human error, making it difficult to meet the requirements of deployment efficiency and operational reliability for large-scale energy storage cluster applications. Therefore, developing a mechanism suitable for DC parallel systems that can achieve intelligent and fully automatic battery coding has become a key technical requirement for improving the overall intelligence level and engineering implementation efficiency of energy storage systems.

[0003] Although some automatic coding schemes exist in existing technologies, they still have significant limitations and cannot fully meet the practical application needs of standard integrated energy storage cabinets in terms of rapid parallel connection of multiple units, convenient online capacity expansion, and flexible fault replacement. Specifically, the limitations of existing technical solutions are mainly reflected in the following aspects: First, the encoding process relies on the hard-wired connection sequence, resulting in poor system flexibility. Some solutions identify devices by designing specific hardware circuits (e.g., using resistor voltage dividers or dedicated encoding chips). These methods not only increase hardware costs, but more importantly, their encoding results are strongly correlated with the physical wiring sequence of the devices within the system. Once the system topology changes, such as adjusting the connection sequence between cabinets due to maintenance or expansion, the original encoding logic becomes invalid, causing the system to fail to correctly identify the devices and requiring cumbersome reconfiguration.

[0004] Secondly, there is a lack of intelligent dynamic expansion and address conflict resolution mechanisms. Most existing methods involve one-time coding designs for a pre-defined, fixed number of devices, making it difficult to support rapid online expansion or quick replacement of faulty devices. When new devices are added or old devices are replaced, the system lacks effective dynamic address allocation and address conflict detection and resolution mechanisms, often requiring system downtime and re-execution of the entire coding process, impacting system availability and maintainability.

[0005] Third, the low level of intelligence in the solution leads to high operational complexity. Existing technologies often require manual intervention in stages such as code initialization, equipment replacement, or system reconfiguration to record battery device addresses and manually modify host computer configuration parameters. This reliance on manual operation not only results in low operational efficiency but also increases the long-term operating costs and risks associated with human error due to the high dependence on skilled technicians. Therefore, existing solutions cannot achieve truly intelligent, human-intervention-free parallel operation and maintenance management. Summary of the Invention

[0006] The technical problem to be solved by the present invention is to provide an automatic coding method for DC parallel operation of an integrated energy storage cabinet, which supports the system to complete capacity expansion or equipment replacement without shutdown.

[0007] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: An automatic coding method for DC parallel operation of an integrated energy storage cabinet, applied to a host controller, includes: Broadcast a neighbor discovery request message to all slave controllers within the local area network; Receive response messages from each slave controller in response to the neighbor discovery request message. The response messages include the unique identification information of the slave controller. Generate or maintain an online list of integrated cabinets based on the collected unique identifier information; Based on the unique identifier information in the integrated cabinet's online list, assign a unique logical address to each unique identifier information. Based on the unique identification information, the encoded instructions are sent to each slave controller via the local area network. The encoded instructions include the unique identification information and the unique logical address corresponding to the unique identification information. The slave controller is driven to modify the logical address of the corresponding battery to a unique logical address according to the encoded instructions.

[0008] To solve the above-mentioned technical problems, another technical solution adopted by the present invention is as follows: An automatic coding system for DC parallel operation of an integrated energy storage cabinet includes: Multiple integrated energy storage cabinets, each of which includes a controller and a battery; The multiple energy storage cabinets are connected to the switch via a local area network. One of the energy storage integrated cabinets serves as the host, and the controller in the host serves as the host controller; The host controller includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it performs the following steps: Broadcast a neighbor discovery request message to all slave controllers within the local area network; Receive response messages from each slave controller in response to the neighbor discovery request message. The response messages include the unique identification information of the slave controller. Generate or maintain an online list of integrated cabinets based on the collected unique identifier information; Based on the unique identifier information in the integrated cabinet's online list, assign a unique logical address to each unique identifier information. Based on the unique identification information, the encoded instructions are sent to each slave controller via the local area network. The encoded instructions include the unique identification information and the unique logical address corresponding to the unique identification information. The slave controller is driven to modify the logical address of the corresponding battery to a unique logical address according to the encoded instructions.

[0009] The beneficial effects of this invention are as follows: This invention achieves automatic battery address allocation by broadcasting neighbor discovery request messages to all slave controllers within the local area network (LAN), receiving response messages containing unique identifiers from each slave controller, and generating or maintaining an online list of integrated cabinets. A unique logical address is assigned to each unique identifier in the list, and then encoding commands are sent via the LAN to drive the slave controllers to modify the logical addresses of the batteries. Compared to existing methods that rely on hardware circuitry or hard-wired connection sequences, this invention maintains the encoding logic unchanged during expansion, maintenance, or reconfiguration, improving flexibility. The dynamic online list maintenance and address allocation mechanism supports online addition and fault replacement of devices, while the efficient dynamic address allocation and conflict resolution mechanism meets the needs of convenient expansion and replacement. The fully automated process eliminates manual setting and recording, improving configuration efficiency and accuracy, and reducing maintenance costs and the risk of human error. Attached Figure Description

[0010] Figure 1 A flowchart illustrating the steps of an automatic coding method for DC parallel operation of an integrated energy storage cabinet, as provided in an embodiment of the present invention; Figure 2 A schematic diagram of a DC parallel automatic coding system for an integrated energy storage cabinet provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the overall architecture of an integrated energy storage cabinet DC parallel automatic coding system provided in an embodiment of the present invention; Detailed Implementation Definitions:

[0011] To explain in detail the technical content, objectives, and effects of the present invention, the following description is provided in conjunction with the embodiments and accompanying drawings.

[0012] In existing technologies, as the proportion of new energy sources in the energy structure continues to increase, standardized and modular integrated energy storage cabinets have become the mainstream products in the market to reduce transportation costs and improve configuration flexibility. To meet the needs of diverse customer scenarios, it is usually necessary to connect several to dozens of standard integrated energy storage cabinets in DC parallel to flexibly build energy storage power stations with megawatt-hour capacity. In such multi-unit DC parallel systems, in order to achieve accurate battery management such as State of Charge (SOC) balancing, each battery in the standard integrated cabinet must be assigned a unique address identifier within the entire system. However, traditional address allocation methods that rely on manual coding or semi-automatic settings are inefficient and prone to human error, making it difficult to meet the efficiency and reliability requirements of large-scale cluster applications. Therefore, developing an intelligent fully automatic battery coding mechanism suitable for DC parallel systems has become a key technology for improving the intelligence level and engineering efficiency of energy storage systems. Although some automatic coding schemes exist in existing technologies, they still have significant limitations and cannot meet the application requirements of standard integrated energy storage cabinets in terms of rapid multi-unit parallel connection, convenient online expansion, and flexible fault replacement. The technical contradictions and root causes of these problems are specifically manifested in the following aspects: First, some solutions rely on specific hardware circuits or hard-wired connection sequences to identify device identities, resulting in a strong binding between the encoding results and the physical wiring topology. This method has high hardware costs, and once the system topology changes due to expansion, maintenance, or reorganization, the original encoding logic becomes invalid, and the system cannot correctly identify devices, exhibiting poor flexibility. Second, existing methods mostly perform static encoding for a preset fixed number of devices, lacking intelligent dynamic expansion and address conflict resolution mechanisms. When the system needs to add new devices online or quickly replace faulty devices, it is difficult to achieve automatic and rapid address allocation and integration, failing to meet the needs of convenient expansion and flexible replacement. Finally, the existing technologies have a low level of intelligence, often requiring manual intervention during encoding, recording, or configuration processes, such as manually recording battery device addresses and modifying system configuration parameters. This not only leads to low operation and maintenance efficiency and a high dependence on professional personnel, but also increases operating costs and introduces the risk of human error, thus failing to achieve truly efficient and reliable intelligent parallel operation.

[0013] To at least address the aforementioned problems, this invention achieves automatic, reliable, and orderly logical address allocation and encoding for a massive number of similar devices within a local area network through a single broadcast discovery and two precise addressing steps, without requiring manual intervention or physical contact.

[0014] The following describes in detail an automatic coding method for DC parallel operation of an integrated energy storage cabinet, applied to a host controller, as shown in the appendix. Figure 1 ,include: Step 101: Broadcast a neighbor discovery request message to all slave controllers within the local area network (LAN). Here, the master controller refers to the controller in the DC parallel energy storage cabinet system responsible for managing the entire system, sending neighbor discovery request messages, and assigning addresses. The LAN refers to the communication network connecting multiple standard energy storage cabinets for data exchange between the master and slave controllers. A slave controller is a controller connected to the LAN that receives commands from the master controller and controls the corresponding battery. The neighbor discovery request message refers to a data packet periodically sent by the master controller to the entire network to discover online devices in the network.

[0015] Step 102: Receive response messages from each slave controller in response to the neighbor discovery request message. The response messages include the unique identification information of the slave controller. Specifically, the response message refers to the data packet containing its own unique identification information that the slave controller replies to the master controller after receiving the neighbor discovery request message. The unique identification information refers to information used to identify the slave controller, including serial number, media access control address, or Internet Protocol address.

[0016] Step 103: Generate or maintain an online list of integrated cabinets based on the collected unique identification information; wherein, the online list of integrated cabinets refers to the list generated by the host controller based on the collected response messages, which is used to record the information of the currently online slave controllers and reflect the dynamic topology relationship of the directly connected parallel system.

[0017] Step 104: Based on the unique identifier information in the integrated cabinet online list, assign a unique logical address to each unique identifier information; where the unique logical address refers to the globally unique address identifier assigned by the host controller to each slave controller, which is used for battery management and state of charge balancing.

[0018] Step 105: Send an encoding instruction to each slave controller via the local area network based on the unique identification information. The encoding instruction includes the unique identification information and the unique logical address corresponding to the unique identification information. The encoding instruction refers to the instruction sent by the master controller to the slave controller via the local area network, which contains the unique identification information and the corresponding unique logical address.

[0019] Step 106: Modify the logical address of the corresponding battery in the slave controller to a unique logical address according to the encoding instruction; where the battery refers to the energy storage unit inside the integrated energy storage cabinet, and its logical address is modified according to the encoding instruction.

[0020] As described above, this embodiment broadcasts a neighbor discovery request message to all slave controllers within the local area network (LAN), receives response messages containing unique identifier information from each slave controller, generates or maintains an online list of integrated cabinets, assigns a unique logical address to each unique identifier in the list, and then sends coded instructions via the LAN to drive the slave controllers to modify the logical address of the battery, thus achieving automatic battery address allocation. Compared to existing methods that rely on hardware circuits or hard-wired connection sequences, this embodiment maintains the coded logic unchanged during expansion, maintenance, or reconfiguration, improving flexibility; the dynamic online list maintenance and address allocation mechanism supports online addition and fault replacement of devices, meeting the needs of convenient expansion and replacement; the fully automated process eliminates manual setting and recording, improving configuration efficiency and accuracy, and reducing operation and maintenance costs and the risk of human error.

[0021] In one embodiment of this application, step 101 involves broadcasting a neighbor discovery request message to all slave controllers within the local area network, including: Step 201: According to the preset first time interval, send a neighbor discovery request message to all slave controllers in the local area network through the local area network; wherein, the first time interval refers to the time period during which the master controller periodically broadcasts the neighbor discovery request message.

[0022] In step 103, generating or maintaining the integrated cabinet online list based on the collected unique identifier information includes: determining whether the integrated cabinet online list is empty; if the integrated cabinet online list is not empty, updating the integrated cabinet online list based on the collected unique identifier information; if the integrated cabinet online list is empty, generating the integrated cabinet online list based on the collected unique identifier information. As described above, this embodiment achieves a proactive and stable network detection mechanism by periodically broadcasting neighbor discovery request messages at a preset first time interval, ensuring continuous discovery of slave controllers within the local area network. When the integrated cabinet's online list is not empty, it is updated based on the collected unique identifier information, realizing dynamic maintenance and real-time synchronization of the list. If the list is empty, it is generated directly, ensuring rapid establishment of the list in the initial state of the system. This design enables the master control device to accurately grasp the current set of online slave controllers, providing a reliable basis for subsequent centralized management and control, and improving the automation and reliability of system topology management.

[0023] In one embodiment of this application, the unique identification information includes at least one of a serial number, a MAC address, or an IP address. The serial number refers to the unique identification information of the integrated cabinet controller, such as a serial number (SN).

[0024] As described above, this embodiment uses at least one of serial number, MAC address, or IP address as unique identification information, which can meet the device identification needs in different scenarios. The serial number provides permanent verification of the device identity, the MAC address ensures accurate differentiation of devices within the local area network, and the IP address supports device location at the network communication layer. This multi-dimensional identification method allows the system to flexibly adapt to different network environments and management needs, improving the accuracy and reliability of device discovery and identification, and providing a reliable identity basis for establishing the integrated cabinet's online list.

[0025] In one embodiment of this application, step 104 involves assigning a unique logical address to each unique identifier based on the unique identifier information in the integrated cabinet's online list, including: Step 301: Read the unique identifier information of each slave controller in the online list of the integrated cabinet; Step 302: According to the preset encoding algorithm, calculate and assign a unique logical address to each slave controller based on the unique identification information; wherein, the encoding algorithm refers to the method of calculating the unique logical address based on the unique identification information, such as encoding according to the sequence number.

[0026] As described above, this embodiment reads the unique identifier information of each slave controller in the online list of the integrated cabinet and calculates and assigns a unique logical address to this unique identifier information according to a preset encoding algorithm. The technical solution of this embodiment can achieve automated and accurate allocation of slave controller logical addresses. It avoids address conflicts or errors that may be caused by manual configuration and ensures the global uniqueness and consistency of address identifiers when multiple integrated cabinets work collaboratively. At the same time, the algorithmic address allocation based on unique identifier information improves the efficiency and reliability of address configuration during system initialization or dynamic device addition, laying an accurate foundation for subsequent master-slave communication, data management, and collaborative control.

[0027] In one embodiment of this application, step 103, generating or maintaining an online list of integrated cabinets based on the collected unique identifier information, includes: Step 401: When a new slave controller is identified based on its unique identifier, add the unique identifier of the new slave controller to the integrated cabinet's online list. As described above, this embodiment can maintain the integrity of the integrated cabinet's online list in real time and automatically, ensuring that the list always reflects the currently connected set of slave controllers. This avoids the mis-issuance or omission of control commands due to outdated list information, improving the reliability and real-time performance of the multi-cabinet collaborative control system. Simultaneously, this mechanism reduces reliance on manual intervention, increasing the automation level of system management and operational efficiency.

[0028] In one embodiment of this application, step 302 involves calculating and assigning a unique logical address to each slave controller based on its unique identifier information according to a preset encoding algorithm, including: Step 501: Calculate and assign unique logical addresses to each slave controller in the order of the size of the unique identifier information; As described above, this embodiment calculates and allocates unique logical addresses to each slave controller sequentially according to the size of its unique identifier information, thus achieving ordered and automated logical address allocation. This step, based on the inherent attribute of unique identifier information, ensures the determinism and repeatability of the allocation process, avoiding randomness and conflicts in address allocation. The method provided in this embodiment can automatically and orderly generate and allocate unique logical addresses based on the unique identifier information of the slave controllers, without manual intervention or pre-configuration of address tables. This simplifies the initialization and configuration process of multi-slave systems, improves the efficiency and reliability of address allocation, fundamentally eliminates the possibility of logical address conflicts, and guarantees the uniqueness and stability of address identifiers in the communication system.

[0029] In one embodiment of this application, it further includes: Step 601: According to the preset second time interval, obtain the unique logical address of the battery of each slave controller through the local area network; wherein, the second time interval refers to the time period during which the master controller periodically obtains the logical address of the slave controller battery.

[0030] Step 602: Compare the obtained logical address of the battery with the unique logical address corresponding to the slave controller recorded in the online list of the integrated cabinet; Step 603: If the comparison results are inconsistent, the host controller will assign a unique logical address to each slave controller based on the unique identifier information in the integrated cabinet online list. As described above, this embodiment realizes the periodic verification and dynamic maintenance of the slave controller's logical address, ensuring the accuracy and real-time performance of the address mapping, thereby effectively avoiding communication failures caused by address conflicts or errors, and improving the reliability of device identification and data interaction of the entire battery management system within the local area network.

[0031] In one embodiment of this application, it further includes: Step 701: When the offline time of any slave controller is detected to be greater than a preset threshold, the slave controller is marked as failed in the integrated cabinet online list, and the unique logical address allocated to the slave controller is reclaimed; wherein, the preset threshold refers to the time limit used to determine whether the slave controller is offline.

[0032] As described above, this embodiment determines offline status by setting a preset threshold, avoiding misjudgments caused by temporary network fluctuations and ensuring the accuracy of status marking. Marking and reclaiming the logical address of a failed controller prevents long-term occupation and waste of logical address resources, allowing the address to be reassigned to other online or newly connected slave controllers, thereby maintaining the effectiveness of the address allocation pool and the reusability of system resources. Therefore, this embodiment improves the automation and efficiency of resource management in the distributed control system, ensures the rational allocation and recycling of system address resources, and enhances the long-term stability and maintainability of the system.

[0033] Please refer to Figure 3 The present invention also provides an automatic coding system 300 for DC parallel operation of an integrated energy storage cabinet, comprising: Multiple integrated energy storage cabinets 301, each integrated energy storage cabinet includes a controller and a battery; Switch 302, multiple energy storage cabinets are connected to the switch via a local area network; An integrated energy storage cabinet serves as the main unit, and the controller within the main unit acts as the main unit controller. Please refer to Figure 2 The host controller 200 includes a memory 201, a processor 202, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the various steps of the DC parallel automatic coding method for an integrated energy storage cabinet as described above.

[0034] In one embodiment of this application, in the above-mentioned DC parallel automatic coding system for integrated energy storage cabinets, multiple integrated energy storage cabinets are interconnected through a controller local area network.

[0035] The beneficial effects of the system of the present invention are the same as those of the method described above, and will not be repeated here.

[0036] The above-mentioned automatic coding method and system for DC parallel operation of integrated energy storage cabinets can be applied to multi-machine DC parallel systems, especially systems with standard integrated cabinets in parallel. The following is a description through specific embodiments.

[0037] See attached document Figure 3 One embodiment of the present invention is as follows: Step A: All standard integrated cabinets are connected to a system via LAN cables. The host integrated cabinet controller periodically broadcasts neighbor discovery request messages to the global area network via the LAN. This corresponds to step 101 above.

[0038] Step B: Upon receiving the request, all online integrated cabinet controllers reply to the host with a response message containing their own unique identification information (such as SN code, MAC address, IP address, etc.). This corresponds to step 102 above.

[0039] Step C: The host controller collects all response information, dynamically generates and maintains an online list of integrated cabinet information, reflecting the dynamic topology of the directly connected parallel system in real time. This corresponds to step 103 above.

[0040] Step D: The host controller, based on the information (such as the serial number) in the integrated cabinet's online list, reassigns a globally unique logical address to each slave integrated cabinet according to a predetermined algorithm (such as serial number sequence encoding) (no manual address assignment is required). This corresponds to step 104 above.

[0041] Step E: The host sends coded commands to each slave integrated cabinet controller via LAN. Each command contains a unique logical address assigned to it. This corresponds to step 105 above.

[0042] Step F: After receiving the instruction, each slave integrated cabinet controller modifies the original standardized fixed logical address of the battery to a globally unique logical address assigned by the master through its internal RS-485 bus, thereby completing the fully automatic encoding of all standard integrated cabinets. This corresponds to step 106 above.

[0043] Step G: The main unit integrated cabinet controller periodically obtains the current battery logical address of the slave integrated cabinet through the LAN and compares it with the address in the system record table based on the SN information.

[0044] Step H: If an inconsistency is found, recoding is immediately triggered to ensure the consistency and stability of the system address, thereby realizing an automatic verification and retry mechanism for the accuracy of the battery address.

[0045] Step 1: The host cabinet controller periodically and continuously runs the neighbor discovery mechanism (periodically broadcasting neighbor discovery request messages to the global area network) and dynamically monitors changes in the online list of the cabinet.

[0046] Step J: When a new cabinet is connected to the system and powered on, the host will identify the new integrated cabinet in the next cycle and add its SN code and other information to the list.

[0047] Step K: The host immediately assigns a free and system-unique logical address to it, and at the same time sends an encoding command to the slave controller via LAN. After the new integrated cabinet completes the encoding, it is seamlessly incorporated into the system management, realizing rapid capacity expansion.

[0048] Step L: When the host detects that a slave device has been offline for a long time, it marks it as invalid from the online list and reclaims its unique logical address.

[0049] Step M: If a new cabinet is installed, the new equipment will be expanded.

[0050] In summary, this invention achieves automatic battery address allocation by broadcasting neighbor discovery request messages to all slave controllers within the local area network (LAN), receiving response messages containing unique identifiers from each slave controller, generating or maintaining an online list of integrated cabinets, assigning a unique logical address to each unique identifier in the list, and then using coded instructions sent through the LAN to drive the slave controllers to modify the logical addresses of the batteries. Compared to existing methods that rely on hardware circuits or hard-wired connection sequences, this invention maintains the coded logic unchanged during expansion, maintenance, or reconfiguration, improving flexibility. The dynamic online list maintenance and address allocation mechanism supports online addition and fault replacement of devices, meeting the needs for convenient expansion and replacement. The fully automated process eliminates manual setting and recording, improving configuration efficiency and accuracy, and reducing maintenance costs and the risk of human error. By combining existing neighbor discovery concepts with battery coding, this invention achieves address management for the entire lifecycle of a DC parallel system, from initial parallel deployment to maintenance, improving system deployment efficiency and effectively avoiding the complex operations that rely on manual intervention in traditional methods. The system can automatically sense dynamic changes in network topology and automatically encode newly connected or replaced devices in real time, enhancing the system's flexibility and scalability in capacity expansion and equipment maintenance. Through automatic verification and retry mechanisms for coding accuracy, communication interruptions and control anomalies caused by address conflicts are effectively avoided, laying the foundation for long-term stable system operation. Simultaneously, this solution provides a fast, automatic, and stable coding scheme for DC parallel energy storage cabinet systems, supporting the needs of rapid and intelligent site construction.

[0051] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent modifications made based on the content of the present invention specification and drawings, or direct or indirect applications in related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. An automatic coding method for DC parallel operation of an integrated energy storage cabinet, characterized in that, Applied to a host controller, the method includes: Broadcast a neighbor discovery request message to all slave controllers within the local area network; Receive response messages from each slave controller in response to the neighbor discovery request message, the response messages including the unique identification information of the slave controller; Based on the collected unique identifier information, generate or maintain an online list of integrated cabinets; Based on the unique identifier information in the online list of the integrated cabinet, assign a unique logical address to each unique identifier information; Based on the unique identification information, an encoding instruction is sent to each of the slave controllers through the local area network. The encoding instruction includes the unique identification information and the unique logical address corresponding to the unique identification information. The slave controller is driven to modify the logical address of the corresponding battery to the unique logical address according to the encoded instructions.

2. The method according to claim 1, characterized in that, The broadcast of a neighbor discovery request message to all slave controllers within the local area network includes: According to a preset first time interval, a neighbor discovery request message is sent to all slave controllers in the local area network through the local area network. Based on the collected unique identifier information, the online list of integrated cabinets is generated or maintained, including: Determine if the integrated cabinet online list is empty; if the integrated cabinet online list is not empty, update the integrated cabinet online list based on the collected unique identifier information. If the integrated cabinet online list is empty, the integrated cabinet online list is generated based on the collected unique identifier information.

3. The method according to claim 1, characterized in that, The unique identification information includes at least one of a serial number, a MAC address, or an IP address.

4. The method according to claim 1, characterized in that, The step of assigning a unique logical address to each unique identifier based on the unique identifier information in the integrated cabinet online list includes: Read the unique identifier information of each slave controller in the online list of the integrated cabinet; According to the preset encoding algorithm, the unique logical address is calculated and assigned to each of the slave controllers based on the unique identification information.

5. The method according to claim 4, characterized in that, Based on the collected unique identifier information, the online list of integrated cabinets is generated or maintained, including: When a new slave controller is identified based on the unique identifier information, the unique identifier information of the new slave controller is added to the online list of the integrated cabinet.

6. The method according to claim 4, characterized in that, According to a preset encoding algorithm, a unique logical address is calculated and assigned to each slave controller based on the unique identifier information, including: According to the order of the size of the unique identifier information, the unique logical address is calculated and assigned to each of the slave controllers in sequence.

7. The method according to claim 1, characterized in that, Also includes: According to a preset second time interval, the unique logical address of the battery of each slave controller is obtained through the local area network; The obtained logical address of the battery is compared with the unique logical address corresponding to the slave controller recorded in the online list of the integrated cabinet; If the comparison results are inconsistent, the host controller will assign a unique logical address to each slave controller based on the unique identifier information in the integrated cabinet online list.

8. The method according to claim 1, characterized in that, Also includes: If the offline time of any of the slave controllers is detected to be greater than a preset threshold, the slave controller is marked as failed in the online list of the integrated cabinet, and the unique logical address allocated to the slave controller is reclaimed.

9. An automatic coding system for DC parallel operation of an integrated energy storage cabinet, characterized in that, include: Multiple integrated energy storage cabinets, each of which includes a controller and a battery; The multiple energy storage cabinets are connected to the switch via a local area network. One of the energy storage integrated cabinets serves as the host, and the controller in the host serves as the host controller; The host controller includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of the DC parallel automatic coding method for the integrated energy storage cabinet as described in any one of claims 1 to 8.

10. The DC parallel automatic coding system for integrated energy storage cabinets according to claim 9, characterized in that, The multiple integrated energy storage cabinets are interconnected via a controller local area network.