A method for automatically configuring address of energy storage battery cluster during installation of cabinet
Patent Information
- Application Number
- CN202611348684.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-10-16
AI Technical Summary
在排除现场故障后重新进行地址配置时,还需要对已经改变的通信地址进行恢复或者重新核对,增加了安装调试过程中的处理工作,并容易造成电池柜实际并柜顺序与通信地址之间的对应关系混乱
[0049]本申请在储能电池簇完成并柜安装后,通过顺序识别链路按照各电池柜的实际并柜顺序依次形成候选通信地址,并使当前待配置电池柜利用候选通信地址完成地址验证,因此能够在不依赖人工逐柜设置地址的情况下建立并柜顺序与通信地址之间的对应关系。
Smart Images

Figure CN122933606A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy storage battery system technology, and in particular to an automatic address configuration method for parallel installation of energy storage battery clusters. Background Technology
[0002] Energy storage battery systems typically consist of multiple battery cabinets and a cluster controller for centralized management of these cabinets. After the multiple battery cabinets are installed in parallel on-site, they need to be connected to the cluster controller via a communication link. Each battery cabinet needs to be configured with a distinct communication address so that the cluster controller can interact with the corresponding battery cabinet, collect status data, and perform control according to the communication address. During actual installation and commissioning, the number of cabinets to be paralleled, the cabinet arrangement order, and the replacement of battery cabinets may vary in different projects. If the communication addresses of each battery cabinet are fixed in advance, inconsistencies may arise between the communication addresses and the actual paralleling order on-site. Therefore, address configuration is usually required after paralleling is completed.
[0003] Existing automatic address configuration methods typically identify and assign communication addresses to battery cabinets sequentially based on their connection order within the communication link or sequential identification link. After the current battery cabinet completes its address setting, the next battery cabinet is identified, thus ensuring each battery cabinet receives a communication address corresponding to its actual installation order. This method reduces the need for manual address setting for each cabinet; however, during on-site configuration, issues such as abnormal inter-cabinet connections, unresponsive battery cabinets, or discrepancies between the actual number of connected cabinets and the project's set number can cause address configuration to terminate midway.
[0004] In the above scenario, if the front battery cabinets that have already completed identification use the newly assigned communication address as the official communication address during the cabinet-by-cabinet configuration process, while the rear battery cabinets that have not yet completed configuration retain their original communication addresses, then a single incomplete address configuration may result in different battery cabinets within the same energy storage battery cluster being in different address configuration states. When reconfiguring the address after troubleshooting the on-site fault, it is necessary to restore or re-verify the changed communication addresses, increasing the processing workload during installation and commissioning, and easily causing confusion in the correspondence between the actual battery cabinet paralleling sequence and the communication addresses. Therefore, how to avoid changing the official communication addresses of some battery cabinets during a single incomplete address configuration in the automatic configuration process of energy storage battery cluster paralleling addresses is a technical problem that needs to be solved. Summary of the Invention
[0005] This application aims to at least solve one of the aforementioned technical problems existing in the prior art. To this end, this application provides an automatic address configuration method for the parallel installation of energy storage battery clusters, so as to complete the communication address configuration according to the actual parallel installation sequence after multiple battery cabinets have been installed, and avoid changing the original formal communication address of some battery cabinets due to an incomplete address configuration in one go.
[0006] According to one aspect of this application, an automatic address configuration method is provided for the installation of energy storage battery clusters in parallel cabinets, comprising:
[0007] S10 obtains the target number of energy storage battery clusters to be connected to the cabinet;
[0008] After multiple battery cabinets are connected in parallel, S20 determines the current battery cabinet to be configured by sequentially identifying the link, determines the candidate communication address according to the parallel connection order of the current battery cabinet to be configured, and sends the candidate communication address to the current battery cabinet to be configured.
[0009] S30 enables the currently configured battery cabinet to respond to address verification according to the candidate communication address in the address configuration state, and after the address verification is passed, transmits the sequence enable signal to the next battery cabinet so as to complete the candidate communication address configuration of each battery cabinet in the actual cabinet connection order. The candidate communication address is not used as the formal communication address for normal communication of the corresponding battery cabinet before the address configuration is confirmed.
[0010] S40 determines whether the number of battery cabinets actually identified during this address configuration process is consistent with the target number of parallel cabinets based on the number of battery cabinets that have completed the candidate communication address configuration and the response status of subsequent battery cabinets in the sequential identification link. If the two are consistent, the integrity of the candidate communication address configuration result formed this time is confirmed.
[0011] When the integrity confirmation is passed, the cluster controller sends an address confirmation command to each battery cabinet, causing each battery cabinet to determine the corresponding candidate communication address as the official communication address.
[0012] If the number of battery cabinets actually identified during this address configuration process is inconsistent with the target number of cabinets, or if the address verification of any of the battery cabinets fails or the integrity confirmation fails, the S60 terminates the current address configuration, so that the candidate communication address formed in this process is not used as the official communication address, and the original official communication address of each battery cabinet remains unchanged.
[0013] More preferably, the sequence identification link includes a sequence input terminal and a sequence output terminal respectively set in each of the battery cabinets. In two adjacent battery cabinets, the sequence output terminal of the battery cabinet located in the preceding parallel cabinet sequence is connected to the sequence input terminal of the battery cabinet located in the following parallel cabinet sequence, and the sequence input terminal of the battery cabinet located at the first end is connected to the cluster controller.
[0014] After each battery cabinet enters the address configuration state, it keeps its own sequential output terminal in the disabled output state. The battery cabinet that receives the sequential enable signal enters the current configuration state.
[0015] After the current battery cabinet to be configured completes the address verification of the candidate communication address, it switches its own sequential output terminal to the allowed output state, so that the sequential enable signal is transmitted to the battery cabinet corresponding to the next battery cabinet in the sequence, so as to determine the current battery cabinet to be configured in sequence according to the connection order of each battery cabinet in the sequential identification link.
[0016] More preferably, after the battery cabinet to be configured detects the sequential enable signal, it reads its pre-stored device identification information and sends a configuration response message carrying the device identification information to the cluster controller;
[0017] The cluster controller compares the received device identification information with the device identification information that has been established in the current address configuration process. When the device identification information has not yet been established, the controller determines the paralleling order of the current battery cabinet to be configured based on the number of battery cabinets that have completed the candidate communication address configuration. The controller then generates the corresponding candidate communication address according to the preset address generation relationship and the paralleling order.
[0018] The cluster controller establishes the correspondence between the device identification information, the battery cabinet order, and the candidate communication address, and sends an address configuration instruction carrying the device identification information and the candidate communication address through a broadcast configuration message that can be received by each battery cabinet.
[0019] Only battery cabinets that are currently in the pending configuration state and whose own device identification information matches the device identification information in the address configuration instruction will save the candidate communication address.
[0020] When the device identification information already exists in the correspondence, a new cabinet merging order is not determined or a new candidate communication address is not generated based on the corresponding configuration response message.
[0021] More preferably, each of the battery cabinets is provided with a formal address storage area and a candidate address storage area. The formal address storage area stores the formal communication address used for normal communication, and the candidate address storage area stores the candidate communication address formed during the current address configuration process.
[0022] After receiving an address configuration instruction that matches its own device identification information, the battery cabinet to be configured saves the candidate communication address in the candidate address storage area and keeps the original formal communication address in the formal address storage area unchanged.
[0023] Each of the battery cabinets pauses responding to the address verification command for address verification according to the original formal communication address when the address configuration state is in the address configuration state. The battery cabinet to be configured at the current time starts responding to the address verification command by the candidate communication address after saving the candidate communication address.
[0024] When the candidate communication address has not yet been determined as the official communication address and the battery cabinet is out of address configuration state, the candidate communication address is deactivated and the original official communication address in the official address storage area is restored to participate in normal communication.
[0025] More preferably, the cluster controller sends the address verification command according to the candidate communication address assigned to the battery cabinet to be configured.
[0026] After receiving the address verification instruction according to the candidate communication address, the battery cabinet to be configured returns an address verification response carrying its own device identification information to the cluster controller;
[0027] The cluster controller compares the device identification information in the address verification response with the device identification information corresponding to the candidate communication address in the correspondence relationship, and determines that the address verification of the candidate communication address is successful when the two match.
[0028] If the two are inconsistent or the address verification response is not received within the preset verification response time, it is determined that the address verification of the candidate communication address has failed, and the configuration of the candidate communication address is stopped for the next cabinet in sequence.
[0029] More preferably, the cluster controller establishes an address configuration record for each of the currently configured battery cabinets. The address configuration record includes device identification information, cabinet connection order and candidate communication address. After completing the address verification of the corresponding candidate communication address, the address verification result is recorded in the address configuration record.
[0030] The cluster controller determines the number of battery cabinets that have completed candidate communication address configuration based on the address verification results and the approved address configuration records.
[0031] When the number of battery cabinets that have completed candidate communication address configuration is less than the target number of parallel cabinets, after the current battery cabinet to be configured transmits the sequence enable signal to the next battery cabinet, the cluster controller listens for configuration response messages within a preset configuration response time.
[0032] When a configuration response message carrying device identification information not recorded in the address configuration record is received within the preset configuration response time, the corresponding battery cabinet is identified as the new current battery cabinet to be configured, and the candidate communication address configuration continues.
[0033] If no configuration response message carrying device identification information not recorded in the address configuration record is received by the expiration of the preset configuration response time, it is determined that the number of battery cabinets actually identified during this address configuration process is less than the target number of parallel cabinets.
[0034] More preferably, after the number of battery cabinets that have completed the candidate communication address configuration reaches the target number of cabinets to be connected, the generation of candidate communication addresses for new battery cabinets is stopped, and the battery cabinets connected in the order of the target number of cabinets to be connected continue to transmit the sequence enable signal to the next cabinet to be connected.
[0035] The cluster controller listens for configuration response messages within a preset end confirmation time. When it receives a configuration response message carrying device identification information not recorded in the address configuration record, it determines that the number of battery cabinets actually identified in this address configuration process exceeds the target number of parallel cabinets, and does not allocate a candidate communication address to the corresponding battery cabinet.
[0036] If no configuration response message carrying device identification information not recorded in the address configuration record is received within the preset end confirmation time, check whether each of the first paralleling sequence to the target paralleling number corresponds to one and only one address configuration record that has passed address verification, and whether each of the candidate communication addresses satisfies the preset address generation relationship with the corresponding paralleling sequence.
[0037] If no battery cabinets exceeding the target number are identified and the address configuration record check passes, the integrity confirmation is deemed successful.
[0038] More preferably, a corresponding configuration batch identifier is generated when the current address configuration is initiated, and the address configuration instruction of claim 3 also carries the configuration batch identifier;
[0039] When the battery cabinet to be configured receives the address configuration instruction that matches its own device identification information, it associates the candidate communication address in the address configuration instruction with the configuration batch identifier and saves it in the candidate address storage area.
[0040] After the integrity confirmation is passed, the cluster controller sends an address confirmation instruction carrying the configuration batch identifier through the broadcast configuration message;
[0041] Each battery cabinet compares the configuration batch identifier in the address confirmation instruction with the configuration batch identifier associated with the corresponding candidate communication address. If they match, the candidate communication address is written into the formal address storage area.
[0042] More preferably, if the address verification of any currently configured battery cabinet fails, the number of battery cabinets actually identified during the current address configuration process is inconsistent with the target number of parallel cabinets, or the integrity confirmation fails, the cluster controller terminates the current address configuration and does not send an address confirmation instruction corresponding to the current configuration batch identifier.
[0043] The candidate communication addresses stored in each battery cabinet in association with the batch identifier of this configuration remain in a state where they have not been written into the formal address storage area, and the original formal communication addresses in the formal address storage area remain unchanged.
[0044] After the battery cabinet exits the address configuration state, the candidate communication address formed by this address configuration is deactivated, and normal communication is restored according to the original formal communication address in the formal address storage area.
[0045] More preferably, a new configuration batch identifier, different from the previous address configuration, is generated during the next address configuration, and the candidate communication addresses formed during the next address configuration process are associated with and saved with the new configuration batch identifier;
[0046] After the cluster controller passes the next integrity verification of the address configuration, it sends an address confirmation instruction carrying the new configuration batch identifier.
[0047] Each battery cabinet determines the candidate communication address associated with and stored according to the new configuration batch identifier carried by the address confirmation instruction, and writes the candidate communication address into the formal address storage area, so that the candidate communication address left over from the previous incomplete address configuration process will not participate in the writing of the formal communication address in the next address configuration.
[0048] Compared with the prior art, this application has at least the following beneficial effects:
[0049] After the energy storage battery cluster is installed in parallel, this application uses a sequential identification link to form candidate communication addresses in the actual paralleling order of each battery cabinet, and enables the battery cabinet to be configured to complete address verification using the candidate communication addresses. Therefore, it can establish the correspondence between the paralleling order and the communication address without relying on manual setting of addresses for each cabinet.
[0050] Furthermore, this application distinguishes between candidate communication addresses during the address configuration process and the official communication addresses used for normal communication by the battery cabinets. Before the cluster address configuration result is confirmed, candidate communication addresses are not directly used as official communication addresses. Therefore, even if battery cabinet response anomalies, inter-cabinet identification is interrupted, or the actual number of identified battery cabinets differs from the target number of parallel cabinets during the address configuration process, the current address configuration can be terminated, maintaining the original official communication addresses of each battery cabinet. This avoids address status confusion where some battery cabinets have adopted new addresses while others retain their original addresses.
[0051] Meanwhile, after each battery cabinet completes the candidate communication address configuration, this application performs cluster confirmation based on the actual number of battery cabinets identified and the candidate communication address configuration results. Only when the actual number of battery cabinets identified matches the target number of parallel cabinets and the integrity confirmation is passed will each candidate communication address be converted into a formal communication address. This ensures that the effectiveness of the formal address is based on the confirmation of the cluster configuration results, which helps to reduce repeated debugging and address recovery work caused by insufficient cabinets, excessive cabinets, address configuration interruption, or local configuration abnormalities during the on-site parallel cabinet installation process. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0053] Figure 1 This is a flowchart illustrating the steps of the automatic address configuration method for the installation of energy storage battery clusters in parallel cabinets according to an embodiment of this application. Detailed Implementation
[0054] The embodiments of this application will be described in detail below. It should be understood that the following embodiments are used to illustrate the technical solutions of this application and are not intended to limit the scope of protection of this application. Where there is no conflict, the technical features of the various embodiments of this application can be combined with each other.
[0055] This embodiment provides an automatic address configuration method for the installation of energy storage battery clusters in parallel cabinets. It is mainly applicable to scenarios where, after the installation, paralleling, replacement, or reassembly of multiple battery cabinets in the field of an energy storage battery cluster is completed, it is necessary to re-establish the communication addresses of each battery cabinet according to the actual paralleling sequence.
[0056] The energy storage battery cluster includes a cluster controller and multiple battery cabinets, each of which is equipped with a cabinet-level controller. A communication connection is established between the cluster controller and each cabinet-level controller for address configuration, status acquisition, and normal communication during the operation of the energy storage battery cluster. This communication connection can employ communication methods suitable for multi-node communication, such as CAN or RS485. This embodiment is not limited to a specific communication protocol, as long as message exchange between the cluster controller and each battery cabinet can be achieved.
[0057] Each battery cabinet is also connected sequentially via a sequence identification link. The sequence identification link is primarily used to determine the order of each battery cabinet within the current energy storage battery cluster before the cabinets have obtained their official communication addresses according to the actual grid connection sequence. The communication link and the sequence identification link can be configured separately, allowing the determination of the battery cabinet's order to be independent of its original official communication address.
[0058] See Figure 1 The address automatic configuration method described in this embodiment includes steps S10 to S60.
[0059] Step S10: Obtain the target number of energy storage battery clusters to be connected to the grid.
[0060] The target number of cabinets to be connected indicates the number of battery cabinets that should be connected to the current energy storage battery cluster according to the design or on-site configuration requirements.
[0061] The target number of parallel cabinets can be pre-stored in the project configuration parameters of the cluster controller, or it can be issued by the host computer or commissioning terminal during on-site commissioning of the energy storage system. For example, if a certain energy storage battery cluster should consist of eight battery cabinets according to design requirements, then the target number of parallel cabinets corresponding to this address configuration is eight.
[0062] Setting the target number of battery cabinets not only limits the number of battery cabinet addresses that should be generated in this configuration, but also serves as a basis for determining whether the current address configuration meets the requirements for cluster configuration. If the actual number of battery cabinets identified in sequence is less than the target number, it indicates that at least some battery cabinets were not correctly identified during this configuration process. If the actual number of identified battery cabinets exceeds the target number, it indicates that the actual number of accesses on-site is inconsistent with the current project configuration. Neither of these situations will proceed to the formal confirmation process for the candidate communication addresses.
[0063] After initiating this address configuration, the cluster controller can send control information to each battery cabinet to enter the address configuration state, causing each cabinet-level controller participating in this address configuration to enter the address configuration state. The address configuration state is different from the working state when the energy storage battery cluster is communicating normally. In this state, each battery cabinet can perform operations such as sequence identification, candidate communication address reception, and address verification.
[0064] Step S20: After multiple battery cabinets have completed their parallel connection, the current battery cabinet to be configured is determined sequentially by identifying the link in sequence. A candidate communication address is determined according to the parallel connection order of the current battery cabinet to be configured, and the candidate communication address is sent to the current battery cabinet to be configured.
[0065] In one implementation, each battery cabinet is provided with a sequential input terminal and a sequential output terminal. Along the actual paralleling direction, in two adjacent battery cabinets, the sequential output terminal of the battery cabinet in the preceding paralleling sequence is connected to the sequential input terminal of the battery cabinet in the following paralleling sequence, and the sequential input terminal of the battery cabinet at the first end is connected to the cluster controller.
[0066] For example, if the actual field connection consists of battery cabinets from the first to the eighth, the sequential identification link can form a connection relationship between the cluster controller, the first battery cabinet, the second battery cabinet, the third battery cabinet, and so on up to the eighth battery cabinet. Here, the first battery cabinet, the second battery cabinet, etc., represent the actual connection sequence formed by the paralleling of the cabinets in this field, and it is not required that each battery cabinet has a cabinet number that is fixed with this sequence at the factory.
[0067] After each battery cabinet enters the address configuration state, it first keeps its own sequential output terminal in the disabled output state. The cluster controller first outputs a sequential enable signal to the battery cabinet at the first end. After detecting the sequential enable signal, the sequential input terminal of the first battery cabinet enters the current configuration state. At this time, the battery cabinets after the first battery cabinet will not receive the sequential enable signal at the same time because the sequential output terminal of the previous battery cabinet is still in the disabled output state.
[0068] The address configuration status indicates that the battery cabinet has participated in this address configuration, while the current pending configuration status indicates the status of the battery cabinet that has received the sequence enable signal and is currently accepting candidate communication address configuration in the sequential identification link. Therefore, multiple battery cabinets can be in the address configuration status during the same address configuration process, but only the corresponding battery cabinet enters the current pending configuration status in sequence according to the sequential identification link.
[0069] After detecting the sequence enable signal, the battery cabinet to be configured reads its pre-stored device identification information. This device identification information is used to distinguish different battery cabinets when the communication address has not yet been determined according to the current cabinet consolidation sequence. It can use the cabinet-level controller's device number, product serial number, control board number, or other information that can identify the corresponding battery cabinet.
[0070] The battery cabinet to be configured sends a configuration response message to the cluster controller, which carries the device identification information. The configuration response message can use a common message format agreed upon during address configuration, enabling the battery cabinet to report its device identification information to the cluster controller even before obtaining a candidate communication address.
[0071] After receiving the configuration response message, the cluster controller compares the device identification information in it with the device identification information that has been established during the current address configuration process. If the received device identification information has not yet been established, it determines that the corresponding battery cabinet is the new battery cabinet to be configured.
[0072] The cluster controller determines the merging order of the battery cabinets to be configured based on the number of battery cabinets that have already completed candidate communication address configuration. For example, if no battery cabinet has completed candidate communication address configuration yet, the battery cabinet to be configured is determined as the first merging order; if three battery cabinets have already completed candidate communication address configuration, the new battery cabinet to be configured is determined as the fourth merging order.
[0073] Candidate communication addresses are generated according to a preset address generation relationship based on the cabinet consolidation order. This preset address generation relationship can be a correspondence between the cabinet consolidation order and the communication address order. For example, the first cabinet consolidation order corresponds to candidate communication address 01, and the second cabinet consolidation order corresponds to candidate address 02. If reserved addresses exist in the system, other starting addresses can also be set, as long as they can form mutually distinguishable candidate communication addresses according to the cabinet consolidation order.
[0074] The cluster controller establishes a correspondence between device identification information, rack consolidation sequence, and candidate communication addresses. For example, a correspondence can be formed between device identification information A001—first rack consolidation sequence—candidate communication address 01, and device identification information A002—second rack consolidation sequence—candidate communication address 02.
[0075] After establishing the correspondence, the cluster controller sends an address configuration instruction through a broadcast configuration message that can be received by each battery cabinet. The address configuration instruction carries the device identification information and candidate communication address corresponding to the battery cabinet to be configured.
[0076] Each battery cabinet can receive broadcast configuration messages, but only the battery cabinet that is currently in the pending configuration state and whose device identification information matches the device identification information in the address configuration command will save the candidate communication address. Other battery cabinets, even if they receive the same broadcast configuration message, will not perform the corresponding candidate communication address saving operation because they are not in the current pending configuration state or their device identification information does not match.
[0077] Therefore, the issuance of candidate communication addresses does not need to rely on the original formal communication address of the battery cabinet to be configured, and the battery cabinet corresponding to the candidate communication address can be determined by the device identification information and the current configuration status.
[0078] When the device identification information received by the cluster controller already exists in the correspondence, it does not re-determine the new battery cabinet order or generate a new candidate communication address based on the corresponding configuration response message, thereby avoiding the same battery cabinet being repeatedly counted as multiple battery cabinets due to repeated sending of configuration response messages.
[0079] Step S30: The battery cabinet to be configured is in address configuration state and responds to address verification according to the candidate communication address. After the address verification is successful, a sequence enable signal is transmitted to the next battery cabinet so as to complete the candidate communication address configuration of each battery cabinet in the actual paralleling order. The candidate communication address is not used as the formal communication address for normal communication of the corresponding battery cabinet before the address configuration is confirmed.
[0080] In one implementation, each battery cabinet is provided with a formal address storage area and a candidate address storage area. The formal address storage area stores the formal communication addresses used for normal communication of the corresponding battery cabinet, while the candidate address storage area stores the candidate communication addresses generated during the current address configuration process.
[0081] The formal address storage area and the candidate address storage area can be different data areas divided in the same non-volatile memory, or other storage formats that can store the formal communication address and the candidate communication address separately.
[0082] After receiving an address configuration instruction that matches its own device identification information, the battery cabinet to be configured will save the candidate communication address in the candidate address storage area and keep the original formal communication address in the formal address storage area unchanged.
[0083] For example, a battery cabinet originally had a formal communication address of 05. After this re-merging, it is actually in the second merge sequence, and the cluster controller generates a candidate communication address of 02 for it. At this time, the formal address storage area still stores 05, while the candidate address storage area stores 02. The candidate communication address 02 can participate in address verification during this address configuration process, but it will not be used as the formal communication address for normal communication of this battery cabinet until the address configuration is confirmed.
[0084] When the battery cabinet is in address configuration mode, it suspends responding to address verification commands used for this address verification according to the original formal communication address. The suspension means that, at least during this candidate communication address verification process, it does not necessarily require prohibiting all other communication behaviors related to the original formal communication address.
[0085] After the battery cabinet to be configured saves the candidate communication address, it will use the candidate communication address to respond to this address verification.
[0086] The cluster controller sends an address verification command according to the candidate communication address assigned to the battery cabinet to be configured. After receiving the address verification command according to the candidate communication address, the battery cabinet to be configured returns an address verification response carrying its own device identification information to the cluster controller.
[0087] The cluster controller compares the device identification information in the address verification response with the device identification information corresponding to the candidate communication address in the correspondence established in step S20. When they match, it indicates that the battery cabinet actually accessed using the candidate communication address is consistent with the expected configuration object, and the address verification of the candidate communication address is confirmed to be successful.
[0088] For example, if the correspondence records A003—Third parallel cabinet sequence—Candidate communication address 03, and the cluster controller receives the address verification response returned by device A003 after sending the address verification command according to the candidate communication address 03, then it is determined that the candidate communication address has been verified.
[0089] If the device identification information in the address verification response is inconsistent with the device identification information in the corresponding relationship, or if no address verification response is received within the preset verification response time, it is determined that the address verification of the current candidate communication address has failed.
[0090] The preset verification response time can be determined based on the message transmission cycle of the communication link, the processing cycle of the cabinet-level controller, and the on-site communication conditions. It only needs to be able to distinguish between normal communication response and obvious no response.
[0091] After the candidate communication address is verified, the battery cabinet to be configured switches its sequential output from the disabled output state to the enabled output state, so that the sequential enable signal is transmitted from this battery cabinet to the next battery cabinet in the parallel sequence. After the next battery cabinet detects the sequential enable signal, it enters a new current configuration state and continues to perform device identification, candidate communication address generation, candidate communication address saving, and address verification.
[0092] When the address verification of a candidate communication address fails, the battery cabinet currently being configured keeps its own sequential output terminal in a disabled output state and does not transmit the sequence enable signal to the battery cabinet corresponding to the next battery cabinet in the next parallel configuration sequence. Therefore, the next battery cabinet will not prematurely enter the current configuration state before the candidate communication address of the current battery cabinet has been verified, and the cluster controller simultaneously stops configuring candidate communication addresses for the next battery cabinet in the next parallel configuration sequence.
[0093] Therefore, under normal sequential identification link conditions, the battery cabinet corresponding to the next battery cabinet sequence will only be determined after the candidate communication address of the current battery cabinet is confirmed, in order to avoid continuing to accumulate incorrect battery cabinet sequence when the address correspondence of the previous battery cabinet position is abnormal.
[0094] Step S40: Based on the number of battery cabinets that have completed candidate communication address configuration and the response status of subsequent battery cabinets in the sequential identification link, determine whether the number of battery cabinets actually identified during this address configuration process is consistent with the target number of parallel cabinets, and confirm the integrity of the candidate communication address configuration result formed this time when they are consistent.
[0095] During the configuration of candidate communication addresses cabinet by cabinet, the cluster controller establishes an address configuration record for each battery cabinet to be configured. The address configuration record includes device identification information, cabinet connection order, and candidate communication addresses. After completing the address verification of the corresponding candidate communication address, the address verification result is recorded in the corresponding address configuration record.
[0096] For example, records such as A001—Dual cabinet sequence 1—Candidate communication address 01—Verification passed, and A002—Dual cabinet sequence 2—Candidate communication address 02—Verification passed can be generated sequentially.
[0097] The cluster controller determines the number of battery cabinets that have completed candidate communication address configuration based on the address verification results and the approved address configuration records.
[0098] When the number of battery cabinets that have completed candidate communication address configuration is less than the target number of parallel cabinets, after the current battery cabinet to be configured completes address verification and transmits the sequence enable signal to the next battery cabinet, the cluster controller listens for configuration response messages within the preset configuration response time.
[0099] When a configuration response message carrying device identification information not recorded in the address configuration record is received within the preset configuration response time, it indicates that the sequential identification link has identified a new battery cabinet. The cluster controller will determine the corresponding battery cabinet as the new current battery cabinet to be configured and continue to configure the candidate communication address.
[0100] If no configuration response message carrying new device identification information is received by the deadline of the preset configuration response time, and the number of battery cabinets that have completed candidate communication address configuration is still less than the target number of parallel cabinets, then it is determined that the number of battery cabinets actually identified during this address configuration process is less than the target number of parallel cabinets.
[0101] For example, if the target number of battery cabinets is eight, and after the third battery cabinet completes the candidate communication address verification and transmits the sequential enable signal, the cluster controller does not detect any new battery cabinets sending configuration response messages. In this case, the actual number of battery cabinets identified during the current address configuration process is three, which is less than the target number of eight.
[0102] The reasons for the above situation may include the subsequent battery cabinet not being powered on properly, abnormal sequential identification link connection, or insufficient battery cabinets connected on site. This application does not require further determination of the specific cause of the fault during the address configuration stage; it only requires that the formal confirmation stage of the candidate communication address not proceed if the number of identified addresses is insufficient.
[0103] On the other hand, after the number of battery cabinets that have completed the configuration of candidate communication addresses reaches the target number of cabinets to be connected, the cluster controller does not immediately end the sequence identification, but stops generating candidate communication addresses for new battery cabinets, and allows the battery cabinets with the connection sequence of the target number of cabinets to continue to transmit the sequence enable signal to the next connection sequence.
[0104] For example, if the target number of battery cabinets is eight, after the eighth battery cabinet completes the candidate communication address verification, it will still continue to output the sequential enable signal. The cluster controller continues to listen for configuration response messages within the preset end confirmation time.
[0105] If a configuration response message carrying device identification information not recorded in the existing address configuration record is received within the preset end confirmation time, it indicates that there are still other battery cabinets connected after the eighth battery cabinet that can participate in the sequential identification. It is determined that the number of battery cabinets actually identified in this address configuration process exceeds the target number of parallel cabinets, and no candidate communication address is assigned to the additionally identified battery cabinet.
[0106] If no configuration response message carrying new device identification information is received within the preset end confirmation time, the integrity check of the candidate communication address configuration result formed this time will be further performed.
[0107] In one implementation, the integrity check includes at least checking whether each of the first merging sequence to the target merging number corresponds to one and only one address configuration record that has passed address verification, and whether each candidate communication address satisfies a preset address generation relationship with the corresponding merging sequence.
[0108] For example, when the target number of cabinets to be combined is eight, there should be eight address verification records corresponding to cabinet combination sequence 1 to cabinet combination sequence 8, with no missing or duplicate cabinet combination sequences, and each candidate communication address and its corresponding cabinet combination sequence should conform to the preset address generation relationship.
[0109] If no battery cabinets exceeding the target number are identified and the integrity check passes, the integrity confirmation is deemed successful.
[0110] Therefore, this implementation does not consider the configuration complete when the number of candidate communication addresses reaches the target number. Instead, it continues to detect whether there are additional battery cabinets after the target number is reached, and further performs an integrity check on the correspondence between the cabinet consolidation order, candidate communication addresses, and address verification results.
[0111] In step S50, when the integrity confirmation is passed, the cluster controller sends an address confirmation command, causing each battery cabinet to determine the corresponding candidate communication address as the official communication address.
[0112] This implementation divides the formation of candidate communication addresses and the activation of official communication addresses into different stages. The completion of candidate communication address verification for a single battery cabinet only indicates that the candidate communication address can correctly access the corresponding battery cabinet in the address configuration state; it does not directly overwrite the original official communication address of that battery cabinet.
[0113] Only after the integrity verification described in step S40 is passed will the cluster controller send an address verification instruction, which will convert the candidate communication address that has been formed and verified into a formal communication address.
[0114] In a further implementation, a corresponding configuration batch identifier is generated when the current address configuration is initiated. The configuration batch identifier is used to distinguish between different address configurations and can be an incrementing count value, a combination of time information and count value, or other identifier forms that can distinguish between two adjacent address configurations.
[0115] In step S20, the address configuration command sent by the cluster controller also carries the configuration batch identifier. After receiving an address configuration command that matches its own device identification information, the battery cabinet to be configured associates the candidate communication address with the configuration batch identifier and saves it in the candidate address storage area.
[0116] The candidate address storage area can include a candidate communication address field and its corresponding configuration batch identifier field. When historical configuration data needs to be retained, the candidate address storage area can save corresponding candidate communication address records according to different configuration batches; when historical configuration data does not need to be retained, previously unconfirmed candidate communication address data can be overwritten or cleared when starting a new address configuration.
[0117] For example, a data record such as "Configuration Batch B01 - Candidate Communication Address 03" can be created in the candidate address storage area.
[0118] After the integrity verification is successful, the cluster controller sends an address confirmation command carrying the batch identifier of this configuration via a broadcast configuration message.
[0119] Each battery cabinet compares the configuration batch identifier in the address confirmation instruction with the configuration batch identifier associated with the corresponding candidate communication address. When the two match, the corresponding candidate communication address is written into the formal address storage area.
[0120] Therefore, the change of the formal communication address of each battery cabinet does not occur separately when its candidate communication address is verified, but rather after the quantity check and integrity confirmation of the candidate communication address configuration results of the entire energy storage battery cluster are completed, the formal communication address is written.
[0121] After the address confirmation command is executed, each battery cabinet exits the address configuration state and participates in normal communication according to the official communication address that has been updated in the official address storage area.
[0122] For example, eight battery cabinets have been sequentially configured and their candidate communication addresses 01 to 08 verified according to the actual cabinet assembly order. After the first battery cabinet completes the verification of candidate communication address 01, its original formal communication address is not immediately changed; the remaining battery cabinets are processed in the same way. The formal communication address confirmation process only begins after it is confirmed that all eight battery cabinets have been identified, no additional battery cabinets have been detected, and the eight address configuration records meet the integrity check requirements.
[0123] Step S60: If the number of battery cabinets actually identified during this address configuration process is inconsistent with the target number of cabinets, or if the address verification of any of the battery cabinets fails or the integrity confirmation fails, the current address configuration is terminated, so that the candidate communication address formed in this process is not used as the official communication address, and the original official communication address of each battery cabinet remains unchanged.
[0124] If any of the following occurs during the current address configuration process: the number of battery cabinets actually identified is less than the target number of cabinets to be connected, the number of battery cabinets actually identified exceeds the target number of cabinets to be connected, or the address verification or integrity confirmation of any currently configured battery cabinet fails, the cluster controller will terminate the current address configuration and will not send an address confirmation command corresponding to the current configuration batch identifier.
[0125] Since the official communication address and the candidate communication address are stored separately, the candidate communication address formed this time remains unwritten into the official address storage area, and the original official communication address in the official address storage area of each battery cabinet remains unchanged.
[0126] After the address configuration is terminated, each battery cabinet exits the address configuration state. If a battery cabinet exits the address configuration state before a candidate communication address has been determined as a formal communication address, the candidate communication address is deactivated, and normal communication resumes using the original formal communication address stored within the formal address storage area.
[0127] The term "disable candidate communication address" as used here means that the cabinet-level controller no longer uses the candidate communication address for normal addressing communication, and does not require immediate deletion of the corresponding data from the candidate address storage area. Therefore, candidate communication addresses and their configuration batch identifiers can be retained as needed for on-site debugging or fault recording.
[0128] For example, if the target number of battery cabinets is eight, the current sequential configuration has completed the verification of candidate communication addresses for the first five battery cabinets. However, after the fifth battery cabinet transmits the sequential enable signal, no configuration response from the sixth battery cabinet is detected. At this point, although the first five battery cabinets have each formed candidate communication addresses, none of them have written the corresponding candidate communication addresses into the formal address storage area. Therefore, after this configuration is terminated, there will be no situation where the first five battery cabinets have already used the new addresses from this round, while subsequent battery cabinets still use the original formal communication addresses.
[0129] After the staff has ruled out any abnormalities at the site, they can restart the address configuration.
[0130] During the next address configuration, the cluster controller generates a new configuration batch identifier that is different from the previous address configuration, and associates and saves the candidate communication addresses formed during the next address configuration process with the new configuration batch identifier.
[0131] For example, the configuration batch identifier B01 corresponding to the previous incomplete address configuration will still be retained in the candidate address storage area of a certain battery cabinet:
[0132] B01—Candidate communication address 04.
[0133] After restarting the address configuration, the cluster controller generates a new configuration batch identifier B02. Based on the re-determined actual cabinet consolidation sequence, this battery cabinet forms a new candidate communication address 06. The candidate address storage area can then further form:
[0134] B01—Candidate communication address 04;
[0135] B02—Candidate communication address 06.
[0136] Once the integrity of the next address configuration is confirmed, the cluster controller sends an address confirmation command carrying the new configuration batch identifier B02.
[0137] The cabinet-level controller determines the candidate communication address 06 associated with B02 from the candidate address storage area based on B02 carried by the address confirmation instruction, and writes the candidate communication address 06 into the formal address storage area. The candidate communication address 04 formed in the previous configuration is not written into the formal communication address because its associated configuration batch identifier is B01, which is inconsistent with B02 carried by this address confirmation instruction.
[0138] Therefore, candidate communication addresses left over from the previous incomplete address configuration process will not participate in the formal communication address writing in the next address configuration.
[0139] The configuration batch identifier is mainly used to isolate candidate communication address data formed by different address configurations. In implementations that do not require retaining historical candidate communication address data, previous unconfirmed candidate communication address records can be cleared when a new address configuration is initiated. By using the configuration batch identifier, the candidate communication addresses that are currently allowed to take effect can be determined by the consistency of the configuration batch identifier, while retaining the previous candidate communication address data.
[0140] It should be noted that the candidate communication addresses in this embodiment can participate in address verification during the address configuration state. Therefore, candidate communication addresses are not completely unable to participate in communication before formal confirmation. The difference between candidate communication addresses and formal communication addresses is that candidate communication addresses are used for address verification during the address configuration process, and are not used as formal communication addresses for normal communication with the corresponding battery cabinet before the address configuration confirmation is completed.
[0141] Through the above steps, after multiple battery cabinets are installed in parallel, candidate communication addresses can be generated and verified sequentially according to the actual connection order of each battery cabinet. Simultaneously, the successful verification of a single battery cabinet's candidate communication address is separated from the activation of the official communication address for the entire energy storage battery cluster. If address configuration is terminated midway due to abnormal battery cabinet response, abnormal sequential identification link, abnormal actual identification quantity, or failure to pass integrity verification, the candidate communication addresses already generated will not change the original official communication addresses of each battery cabinet. This avoids a mixed address state where some battery cabinets use the new address while others retain the original official communication address after an incomplete address configuration of the same energy storage battery cluster. It also facilitates re-execution of automatic address configuration after troubleshooting on-site.
[0142] The embodiments described above are merely examples of several implementations of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the scope of protection of this application.
Claims
1. A method for automatic address configuration during the installation of energy storage battery clusters in parallel cabinets, characterized in that, include: S10 obtains the target number of energy storage battery clusters to be connected to the cabinet; After multiple battery cabinets are connected in parallel, S20 determines the current battery cabinet to be configured by sequentially identifying the link, determines the candidate communication address according to the parallel connection order of the current battery cabinet to be configured, and sends the candidate communication address to the current battery cabinet to be configured. S30 enables the currently configured battery cabinet to respond to address verification according to the candidate communication address in the address configuration state, and after the address verification is passed, transmits the sequence enable signal to the next battery cabinet so as to complete the candidate communication address configuration of each battery cabinet in the actual cabinet connection order. The candidate communication address is not used as the formal communication address for normal communication of the corresponding battery cabinet before the address configuration is confirmed. S40 determines whether the number of battery cabinets actually identified during this address configuration process is consistent with the target number of parallel cabinets based on the number of battery cabinets that have completed the candidate communication address configuration and the response status of subsequent battery cabinets in the sequential identification link. If the two are consistent, the integrity of the candidate communication address configuration result formed this time is confirmed. When the integrity confirmation is passed, the cluster controller sends an address confirmation command to each battery cabinet, causing each battery cabinet to determine the corresponding candidate communication address as the official communication address. If the number of battery cabinets actually identified during this address configuration process is inconsistent with the target number of cabinets, or if the address verification of any of the battery cabinets fails or the integrity confirmation fails, the S60 terminates the current address configuration, so that the candidate communication address formed in this process is not used as the official communication address, and the original official communication address of each battery cabinet remains unchanged.
2. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 1, characterized in that, The sequence identification link includes a sequence input terminal and a sequence output terminal respectively set in each of the battery cabinets. In two adjacent battery cabinets, the sequence output terminal of the battery cabinet located in the preceding cabinet sequence is connected to the sequence input terminal of the battery cabinet located in the following cabinet sequence, and the sequence input terminal of the battery cabinet located at the first end is connected to the cluster controller. After each battery cabinet enters the address configuration state, it keeps its own sequential output terminal in the disabled output state. The battery cabinet that receives the sequential enable signal enters the current configuration state. After the current battery cabinet to be configured completes the address verification of the candidate communication address, it switches its own sequential output terminal to the allowed output state, so that the sequential enable signal is transmitted to the battery cabinet corresponding to the next battery cabinet in the sequence, so as to determine the current battery cabinet to be configured in sequence according to the connection order of each battery cabinet in the sequential identification link.
3. The automatic address configuration method for the installation of energy storage battery clusters in parallel cabinets according to claim 2, characterized in that, After detecting the sequential enable signal, the battery cabinet to be configured reads its pre-stored device identification information and sends a configuration response message carrying the device identification information to the cluster controller. The cluster controller compares the received device identification information with the device identification information that has been established in the current address configuration process. When the device identification information has not yet been established, the controller determines the paralleling order of the current battery cabinet to be configured based on the number of battery cabinets that have completed the candidate communication address configuration. The controller then generates the corresponding candidate communication address according to the preset address generation relationship and the paralleling order. The cluster controller establishes the correspondence between the device identification information, the battery cabinet order, and the candidate communication address, and sends an address configuration instruction carrying the device identification information and the candidate communication address through a broadcast configuration message that can be received by each battery cabinet. Only battery cabinets that are currently in the pending configuration state and whose own device identification information matches the device identification information in the address configuration instruction will save the candidate communication address. When the device identification information already exists in the correspondence, a new cabinet merging order is not determined or a new candidate communication address is not generated based on the corresponding configuration response message.
4. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 3, characterized in that, Each of the battery cabinets is provided with a formal address storage area and a candidate address storage area. The formal address storage area stores the formal communication address used for normal communication, and the candidate address storage area stores the candidate communication address formed during the current address configuration process. After receiving an address configuration instruction that matches its own device identification information, the battery cabinet to be configured saves the candidate communication address in the candidate address storage area and keeps the original formal communication address in the formal address storage area unchanged. Each of the battery cabinets pauses responding to the address verification command for address verification according to the original formal communication address when the address configuration state is in the address configuration state. The battery cabinet to be configured at the current time starts responding to the address verification command by the candidate communication address after saving the candidate communication address. When the candidate communication address has not yet been determined as the official communication address and the battery cabinet is out of address configuration state, the candidate communication address is deactivated and the original official communication address in the official address storage area is restored to participate in normal communication.
5. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 4, characterized in that, The cluster controller sends the address verification command according to the candidate communication address assigned to the battery cabinet to be configured. After receiving the address verification instruction according to the candidate communication address, the battery cabinet to be configured returns an address verification response carrying its own device identification information to the cluster controller; The cluster controller compares the device identification information in the address verification response with the device identification information corresponding to the candidate communication address in the correspondence relationship, and determines that the address verification of the candidate communication address is successful when the two match. If the two are inconsistent or the address verification response is not received within the preset verification response time, it is determined that the address verification of the candidate communication address has failed, and the configuration of the candidate communication address is stopped for the next cabinet in sequence.
6. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 5, characterized in that, The cluster controller establishes an address configuration record for each of the currently configured battery cabinets. The address configuration record includes device identification information, cabinet connection order, and candidate communication address. After completing the address verification of the corresponding candidate communication address, the address verification result is recorded in the address configuration record. The cluster controller determines the number of battery cabinets that have completed candidate communication address configuration based on the address verification results and the approved address configuration records. When the number of battery cabinets that have completed candidate communication address configuration is less than the target number of parallel cabinets, after the current battery cabinet to be configured transmits the sequence enable signal to the next battery cabinet, the cluster controller listens for configuration response messages within a preset configuration response time. When a configuration response message carrying device identification information not recorded in the address configuration record is received within the preset configuration response time, the corresponding battery cabinet is identified as the new current battery cabinet to be configured, and the candidate communication address configuration continues. If no configuration response message carrying device identification information not recorded in the address configuration record is received by the expiration of the preset configuration response time, it is determined that the number of battery cabinets actually identified during this address configuration process is less than the target number of parallel cabinets.
7. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 6, characterized in that, After the number of battery cabinets that have completed the candidate communication address configuration reaches the target number of cabinets to be connected, stop generating candidate communication addresses for new battery cabinets, and allow the battery cabinets with the connection order of the target number of cabinets to continue to transmit the sequence enable signal to the next connection order. The cluster controller listens for configuration response messages within a preset end confirmation time. When it receives a configuration response message carrying device identification information not recorded in the address configuration record, it determines that the number of battery cabinets actually identified in this address configuration process exceeds the target number of parallel cabinets, and does not allocate a candidate communication address to the corresponding battery cabinet. If no configuration response message carrying device identification information not recorded in the address configuration record is received within the preset end confirmation time, check whether each of the first paralleling sequence to the target paralleling number corresponds to one and only one address configuration record that has passed address verification, and whether each of the candidate communication addresses satisfies the preset address generation relationship with the corresponding paralleling sequence. If no battery cabinets exceeding the target number are identified and the address configuration record check passes, the integrity confirmation is deemed successful.
8. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 7, characterized in that, When initiating this address configuration, a corresponding configuration batch identifier is generated, and the address configuration instruction described in claim 3 also carries the configuration batch identifier. When the battery cabinet to be configured receives the address configuration instruction that matches its own device identification information, it associates the candidate communication address in the address configuration instruction with the configuration batch identifier and saves it in the candidate address storage area. After the integrity confirmation is passed, the cluster controller sends an address confirmation instruction carrying the configuration batch identifier through the broadcast configuration message; Each battery cabinet compares the configuration batch identifier in the address confirmation instruction with the configuration batch identifier associated with the corresponding candidate communication address. If they match, the candidate communication address is written into the formal address storage area.
9. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 8, characterized in that, If the address verification of any currently configured battery cabinet fails, the number of battery cabinets actually identified during this address configuration process is inconsistent with the target number of parallel cabinets, or the integrity confirmation fails, the cluster controller terminates this address configuration and does not send an address confirmation instruction corresponding to the current configuration batch identifier. The candidate communication addresses stored in each battery cabinet in association with the batch identifier of this configuration remain in a state where they have not been written into the formal address storage area, and the original formal communication addresses in the formal address storage area remain unchanged. After the battery cabinet exits the address configuration state, the candidate communication address formed by this address configuration is deactivated, and normal communication is restored according to the original formal communication address in the formal address storage area.
10. The automatic address configuration method for parallel installation of energy storage battery clusters according to claim 9, characterized in that, During the next address configuration, a new configuration batch identifier, distinct from the previous one, is generated, and the candidate communication addresses generated during the next address configuration process are associated with and saved with the new configuration batch identifier. After the cluster controller passes the next integrity verification of the address configuration, it sends an address confirmation instruction carrying the new configuration batch identifier. Each battery cabinet determines the candidate communication address associated with and stored according to the new configuration batch identifier carried by the address confirmation instruction, and writes the candidate communication address into the formal address storage area, so that the candidate communication address left over from the previous incomplete address configuration process will not participate in the writing of the formal communication address in the next address configuration.