BMS system slave control address automatic distribution method

By using the combination method of CAN bus and control line in the BMS system, the automatic allocation of slave control addresses of the BMS system is realized, solving the problems of complex address configuration, high cost and poor universality in the prior art, and improving the efficiency and accuracy of address allocation.

CN119946019APending Publication Date: 2025-05-06GUIZHOU XIANGBIN NEW ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510102381.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The address configuration method of the existing BMS battery management system has problems such as complex hardware circuits, high labor costs, low versatility and low efficiency.

Method used

A BMS system slave address automatic allocation method is adopted, through the interaction of the CAN bus between the BCU and multiple BMUs, and the address allocation start signal is sent in combination with the control line to ensure the ordered address configuration of each BMU, and the efficient and convenient address allocation is achieved through embedded software.

Benefits of technology

The uniqueness and accuracy of each BMU device address is achieved, the manual participation and hardware circuit complexity is reduced, and the efficiency and universality of address allocation is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946019A_ABST
    Figure CN119946019A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of BMS battery management, and particularly discloses a BMS system slave control address automatic allocation method, which comprises a BCU, a plurality of BMUs, a control line and a CAN bus. The CAN bus is used for address information interaction between the BCU and a plurality of BMUs, the control line is used for allocating control signals to the addresses of the BMUs, and the control signal sending or receiving high-low level signals is used for judging whether the BMUs start address allocation or not; the method is used for executing the following steps. The BCU sends a high-level signal to the BMU through an address line to indicate that address allocation starts, the BMU receives address information from the CAN after receiving the high-level signal and sends the high-level signal to the next BMU after address configuration is completed, and so on until address configuration of all the BMUs is completed. The invention aims to solve the problems of complex hardware circuit, high labor cost, low universality and low efficiency of the existing BMS battery management address configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of BMS battery management, and in particular to a method for automatically allocating slave control addresses of a BMS system. Background Art

[0002] The existing BMS battery management system generally has two topological architectures, which are divided into centralized and distributed categories according to project requirements and application scenarios. The centralized architecture combines the battery information acquisition board and the upper centralized control board into a BMS circuit board that combines acquisition and control. This application scenario is mainly suitable for projects with few cells, low capacity, low total voltage and small battery system size. Since there is only one BMS circuit board, there is no need to set multiple addresses.

[0003] However, due to the continuous increase in installed capacity of the energy storage market and the continuous improvement in the total voltage and capacity of electric vehicle batteries, the centralized architecture can no longer meet product needs, and more distributed topology structures are adopted, that is, a one-master-multiple-slave approach, a BCU main board + multiple BMU slave board architecture. In order to achieve collaborative interaction between the master and the slave, it is necessary to configure different setting addresses for each BMU slave board.

[0004] At present, there are three main address allocation methods adopted by major BMS system equipment manufacturers: 1. Hardware address setting, such as configuring the address with a dip switch; 2. Software fixed address, using the host computer software to configure the device address before the product leaves the factory; 3. BCU and BMU allocate addresses through the CAN bus. For the first solution, its disadvantage is that it is necessary to design a hardware dip switch circuit, and the number of bits of the dip switch is limited, so the available physical addresses are limited. For the second solution, the address has been configured and fixed before leaving the factory, resulting in the non-universality of the shipped circuit board, and each board needs to be manually configured, which increases the labor time cost. For the third solution, the configuration is performed through the CAN bus. The disadvantage is that the CAN bus address allocation process usually does not involve physical location information, and it is impossible to correspond the allocated address to the actual physical connection through address allocation. In summary, the above three configuration schemes have problems such as complex hardware circuits, high labor costs, low versatility, and low efficiency. Summary of the invention

[0005] In view of the deficiencies in the prior art, the technical problem solved by the present invention is to provide a method for automatically allocating slave control addresses of a BMS system, so as to solve the problems of complex hardware circuits, high labor costs, low versatility and low efficiency in the existing BMS battery management address configuration.

[0006] In order to solve the above problems, the technical solution adopted by the present invention is: a method for automatically allocating slave control addresses of a BMS system, including a BCU, multiple BMUs, a control line and a CAN bus; the CAN bus is used for address information exchange between the BCU and multiple BMUs, the control line is used for address allocation control signals for the BMUs, and the control signal sends or receives high and low level signals for determining whether the BMU starts address allocation; for performing the following steps: the BCU sends a high level signal to the BMU through the address line to indicate the start of address allocation, the BMU receives the address information from the CAN after receiving the high level signal, and sends the high level signal to the next BMU after completing the address configuration, and so on, until all BMU address configurations are completed.

[0007] Further, the specific steps of the address allocation are as follows:

[0008] S100: The BCU sends a continuous high-level signal to the first BMU through the control line. The high-level signal indicates that the address allocation starts, and the address allocation message information is sent through the CAN bus according to the set period;

[0009] S200: After receiving the address allocation start signal, the first BMU receives the address allocation message information sent by the CAN bus according to the set period, parses the message to obtain the address information, writes the address information into its own flash memory module, and then sends an address allocation completion signal to the BCU to indicate that the address allocation of the first BMU is completed;

[0010] S300: After receiving the address allocation completion signal of the first BMU, the BCU sends the address allocation message information of the second BMU according to the set period. At the same time, the first BMU sends a continuous high-level signal to the second BMU. After receiving the high-level signal, the second BMU starts to receive the address allocation message information of the CAN bus.

[0011] S400: The process is repeated in this way until the last BMU address information is allocated, and then a high-level signal is sent to the BCU to inform the BCU that all BMU address allocations are completed.

[0012] Furthermore, the set period for the CAN bus to send address allocation message information is 80-120ms.

[0013] Furthermore, when the BCU does not receive the allocation completion information reported by the current BMU within a set time, the BCU determines that the BMU allocation fails, and feeds back the allocation failure reason and the failed BMU number information.

[0014] The beneficial effects of this solution are: sending the address allocation start signal through the control line ensures the orderly address configuration of multiple BMUs. The address allocation information issued by the BCU and the address allocation confirmation information of the BMU ensure the uniqueness and accuracy of each BMU device address. The information interaction between the BCU and the BMU embedded software realizes efficient and convenient address allocation without manual participation; and all BMUs have the same hardware design and software version when leaving the factory, ensuring universal performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is the BMS architecture diagram of the present invention.

[0016] Figure 2 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0017] The following is further described in detail through specific implementation methods:

[0018] As attached Figure 1 As shown, this embodiment adopts a distributed BMS architecture to manage the battery pack; it includes a master BCU and N slave BMUs. In order to realize the unified management and communication of distributed multiple battery PACKs, it is necessary to assign different device addresses to each battery pack. The CAN bus is used for address information exchange between the BCU and multiple BMUs, and the control line is used to assign control signals to the addresses of the BMUs. The control signal sends or receives high and low level signals to determine whether the BMU starts address allocation. The BCU is responsible for issuing the address allocation start instruction and allocating address information to each BMU. The BCU sends a high level signal to the BMU through the address line to indicate the start of address allocation. After receiving the high level signal, the BMU receives the address information from the CAN, and after completing the address configuration, it sends the high level signal to the next BMU, and so on, until all BMU address configurations are completed.

[0019] At the hardware circuit level, both BCU and BMU have DO output and DI input. The DO output is connected to the DI input port of the first BMU, and then the DO output of the first BMU is connected to the DI input port of the second BMU, and so on until the DO output port of the last BMU is connected to the DI input port of the BCU.

[0020] The DO output port of the BCU sends an address allocation start signal, and the DI input port receives a high level through the control line to indicate the end of this address allocation. The DI port of each BMU receives the address allocation start signal sent by the previous BMU, and after receiving the start signal, it receives the address allocation message information periodically sent by the BCU.

[0021] The detailed address allocation process is as follows Figure 2 As shown, the specific steps are as follows:

[0022] S100: The DO output of the BCU starts to send a continuous high-level signal to the first BMU through the control line, indicating that the address allocation work has officially started. At the same time, the address allocation message information is sent through the CAN bus at a set period of 100ms. Then the DI input port of the BCU waits to receive the high-level signal sent by the last BMU, indicating that the current round of address allocation work is completed.

[0023] S200: After the first BMU receives the start signal sent by the BCU through the DI port, it waits to receive the CAN bus address allocation message information, parses the message to obtain the address information, writes the address code into its own flash memory module, and sends an address information configuration completion signal to the CAN bus to inform the BCU that it has completed the address configuration;

[0024] S300: After receiving the address configuration completion information sent by the first BMU, the BCU periodically sends the address allocation message information of the second BMU according to the set period and waits for the response of the second BMU. At the same time, after completing the address configuration, the first BMU sends a continuous high-level signal to the second BMU through the DO port. After receiving the high-level signal, the second BMU starts to receive the address allocation message information of the CAN bus; and parses the message to obtain the address information, writes the address code into its own flash memory module, and sends an address information configuration completion signal to the CAN bus to tell the BCU that it has completed the address configuration;

[0025] S400: This process is repeated in this way until the Nth BMU completes configuration. Finally, the Nth BMU will output a high level to the DI input port of the BCU through the DO port. When the BCU detects that the DI port is at a high level, the BCU will stop the current address allocation work, count the number of BMUs, and report the address allocation result. When the BCU does not receive the allocation completion information reported by the current BMU within the set time, the BCU determines that the BMU allocation has failed, and feeds back the reason for the allocation failure and the number of the failed BMU.

[0026] Sending the address allocation start signal through the control line ensures the orderly address configuration of multiple BMUs. The address allocation information sent by the BCU and the address allocation confirmation information of the BMU ensure the uniqueness and accuracy of each BMU device address. The information interaction between the BCU and the BMU embedded software realizes efficient and convenient address allocation without manual intervention.

[0027] The above is only an embodiment of the present invention, and the common knowledge such as the known specific structure and characteristics in the scheme is not described in detail here. It should be pointed out that for those skilled in the art, several deformations and improvements can be made without departing from the structure of the present invention, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. A method for automatically allocating slave control addresses of a BMS system, characterized by: It includes a BCU, multiple BMUs, a control line and a CAN bus; the CAN bus is used for address information exchange between the BCU and multiple BMUs, the control line is used for address allocation control signals for the BMUs, and the control signal sends or receives high and low level signals for determining whether the BMU starts address allocation; it is used to perform the following steps; The BCU sends a high-level signal to the BMU through the address line to indicate the start of address allocation. After receiving the high-level signal, the BMU receives the address information from the CAN and sends a high-level signal to the next BMU after completing the address configuration, and so on, until all BMU address configurations are completed.

2. A method for automatically allocating slave control addresses of a BMS system according to claim 1, characterized in that: The specific steps of the address allocation are as follows: S100: The BCU sends a continuous high-level signal to the first BMU through the control line. The high-level signal indicates that the address allocation starts, and the address allocation message information is sent through the CAN bus according to the set period; S200: After receiving the address allocation start signal, the first BMU receives the address allocation message information sent by the CAN bus according to the set period, parses the message to obtain the address information, writes the address information into its own flash memory module, and then sends an address allocation completion signal to the BCU to indicate that the address allocation of the first BMU is completed; S300: After receiving the address allocation completion signal of the first BMU, the BCU sends the address allocation message information of the second BMU according to the set period. At the same time, the first BMU sends a continuous high-level signal to the second BMU. After receiving the high-level signal, the second BMU starts to receive the address allocation message information of the CAN bus. S400: The process is repeated in this way until the last BMU address information is allocated, and then a high-level signal is sent to the BCU to inform the BCU that all BMU address allocations are completed.

3. A method for automatically allocating slave control addresses of a BMS system according to claim 2, characterized in that: The set period for the CAN bus to send address allocation message information is 80-120ms.

4. A method for automatically allocating slave control addresses of a BMS system according to claim 2, characterized in that: When the BCU does not receive the allocation completion information reported by the current BMU within the set time, the BCU determines that the BMU allocation has failed, and feeds back the allocation failure reason and the failed BMU number information.