Automatic stacking addressing method and system based on BMSCAN communication

Through the parallel automatic stacking addressing method based on BMSCAN communication, the cumbersome and inefficient problems of parallel allocation of BMS units are solved, and intelligent management and optimization control of the battery pack are realized.

CN119342038BActive Publication Date: 2025-04-22深圳市华芯控股有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411881770.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-04-22
Estimated Expiration
2044-12-19

AI Technical Summary

Technical Problem

The existing BMS unit parallel address allocation technology has problems such as cumbersome operation, error prone and low efficiency.

Method used

The parallel automatic stacking addressing method based on BMSCAN communication is adopted, and BMS information is transmitted by monitoring the CAN_H bus and controlling the CAN_H bus switch, the MAC address is automatically allocated, and the deep learning model is used to perform multi-dimensional monitoring and intelligent identification of the battery pack to achieve precise control and optimized management.

Benefits of technology

It avoids the tedious operation of parallel addressing, reduces the error rate of parallel addressing, improves the efficiency of parallel addressing, and realizes intelligent management and optimization control of the battery pack.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342038B_ABST
    Figure CN119342038B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical fields of transmission of digital information, and provides a parallel automatic stacking addressing method and system based on BMSCAN communication. The method acquires and allocates MAC addresses by monitoring a CAN_H bus and controlling a CAN_H bus switch to transmit information of the next BMS. The active device connected to an uninterruptible power supply is automatically set as a BMS host and an initial address is allocated to it. The BMS host sends an address allocation message to the current BMS slave to be networked according to an address request message sent by the current BMS slave to be networked and a currently allocated address range. The current BMS slave to be networked completes its own address allocation according to the address allocation message and feeds back an address confirmation message to the BMS host, so that the BMS host updates the allocated address range until the addresses of all BMS slaves to be networked are automatically allocated. The multi-dimensional slave monitoring data of all BMS slaves in the work are summarized for intelligent identification, so as to accurately control and optimize the battery pack, thereby realizing intelligent management and optimization control of the battery pack.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of digital information transmission, electrical digital data processing, battery management system, etc., and in particular to a parallel automatic stacking addressing method and system based on BMSCAN communication. Background Art

[0002] With the vigorous development of the new energy industry, battery packs are core components in electric vehicles, energy storage systems, and various portable electronic devices. Their performance and efficiency are directly related to the operation of the entire system. In order to improve energy density, enhance endurance, or meet the needs of specific application scenarios, battery pack combination parallel technology has emerged. This technology connects multiple battery packs in parallel to achieve the convergence and distribution of electric energy, thereby optimizing the overall performance and improving system reliability. Although the combination of battery packs in parallel can improve energy density and enhance the mileage, it also increases the risk of poor control of batteries. In order to achieve the monitoring and management of larger-scale battery packs, the BMS units in parallel operation need to be assigned unique addresses in order to communicate on the CAN bus. Traditional address allocation methods are mostly done through manual dialing and factory host computer entry. However, manual dialing and factory host computer entry have problems such as cumbersome operation, easy errors, and low efficiency.

[0003] In summary, the existing BMS unit parallel address allocation technology has technical problems such as cumbersome operation, prone to errors, and low efficiency. Summary of the invention

[0004] In view of the deficiencies in the above-mentioned prior art, the present invention provides a parallel automatic stacking addressing method and system based on BMSCAN communication, so as to avoid the tedious operation of parallel addressing, reduce the error rate of parallel addressing, improve the efficiency of parallel addressing, and realize intelligent management and optimized control of battery packs.

[0005] In a first aspect, the present invention provides a method for automatic stacking addressing of parallel machines based on BMSCAN communication, comprising the following steps:

[0006] S101, monitoring the CAN_H bus and controlling the CAN_H bus switch to transmit the next BMS information to obtain the network and assign the MAC address, automatically setting the active device connected to the uninterruptible power supply UPS as the BMS host Master, and assigning an initial address to the BMS host Master;

[0007] S102, the BMS master Master sends an address allocation message to the current BMS slave Slave to be networked according to the address request message sent by the current BMS slave Slave to be networked and the currently allocated address range. The current BMS slave Slave to be networked completes its own address allocation according to the address allocation message and feeds back an address confirmation message to the BMS master Master, so that the BMS master Master updates the allocated address range;

[0008] S103, repeating step S102 to automatically allocate the address of the next BMS slave to be networked, until the automatic allocation of the addresses of all BMS slaves to be networked is completed, and the BMS master and all BMS slaves to which the addresses have been allocated enter the working state and communicate with each other through the CAN bus;

[0009] S104, allowing the BMS host Master to summarize the multi-dimensional slave monitoring data obtained by all BMS slaves Slave in the work performing multi-dimensional monitoring on the battery pack, and intelligently identify the multi-dimensional slave monitoring data through the trained deep learning model to accurately control and optimize the management of the battery pack.

[0010] In a second aspect, the present invention provides an automatic stacking addressing system for parallel machines based on BMSCAN communication, comprising: a BMS host Master connected and communicated via a CAN bus, a BMS slave Slave to be networked, and an uninterruptible power supply UPS; the automatic stacking addressing system for parallel machines based on BMSCAN communication uses the above-mentioned automatic stacking addressing method for parallel machines based on BMSCAN communication to supervise the battery pack.

[0011] Compared with the prior art, the present invention has the following beneficial effects:

[0012] The present invention provides a parallel automatic stacking addressing method and system based on BMSCAN communication, which acquires and allocates MAC addresses by monitoring the CAN_H bus and controlling the CAN_H bus switch to transmit the next BMS information, automatically sets the active device connected to the uninterruptible power supply UPS as the BMS host Master, and allocates an initial address to the BMS host Master, so that the BMS host Master sends an address allocation message to the current BMS slave Slave to be networked according to the address request message sent by the current BMS slave Slave to be networked and the currently allocated address range, and the current BMS slave Slave to be networked completes its own address allocation according to the address allocation message and sends an initial address to the BMS host Master. ter feeds back an address confirmation message to enable the BMS host Master to update the allocated address range until the addresses of all BMS slaves to be networked are automatically allocated. The BMS host Master and all BMS slaves that have been allocated addresses enter the working state and communicate with each other through the CAN bus, so that the BMS host Master summarizes the multi-dimensional slave monitoring data obtained by all BMS slaves in the work to perform multi-dimensional monitoring on the battery pack, and intelligently identifies the multi-dimensional slave monitoring data through the trained deep learning model to accurately control and optimize the management of the battery pack, thereby avoiding the tedious operation of parallel addressing, reducing the error rate of parallel addressing, improving the efficiency of parallel addressing, and realizing intelligent management and optimized control of the battery pack. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their description are used to explain the present invention and do not constitute an improper limitation of the present invention. Some specific embodiments of the present invention will be described in detail in an exemplary and non-restrictive manner with reference to the drawings. The same reference numerals in the drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the drawings:

[0014] Figure 1 It is a flow chart of a method for automatic stacking addressing of parallel machines based on BMSCAN communication according to an embodiment of the present invention;

[0015] Figure 2 It is a schematic diagram of the architecture of the automatic stacking addressing system for parallel machines based on BMSCAN communication according to an embodiment of the present invention. DETAILED DESCRIPTION

[0016] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only an embodiment of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.

[0017] Embodiment 1

[0018] See also Figure 1-Figure 2 This embodiment provides a parallel automatic stacking addressing method based on BMSCAN communication, comprising the following steps:

[0019] S101, monitoring the CAN_H bus and controlling the CAN_H bus switch to transmit the next BMS information to obtain the network and assign the MAC address, automatically setting the active device connected to the uninterruptible power supply UPS as the BMS host Master, and assigning an initial address to the BMS host Master;

[0020] S102, the BMS master Master sends an address allocation message to the current BMS slave Slave to be networked according to the address request message sent by the current BMS slave Slave to be networked and the currently allocated address range. The current BMS slave Slave to be networked completes its own address allocation according to the address allocation message and feeds back an address confirmation message to the BMS master Master, so that the BMS master Master updates the allocated address range;

[0021] S103, repeating step S102 to automatically allocate the address of the next BMS slave to be networked, until the automatic allocation of the addresses of all BMS slaves to be networked is completed, and the BMS master and all BMS slaves to which the addresses have been allocated enter the working state and communicate with each other through the CAN bus;

[0022] S104, allowing the BMS host Master to summarize the multi-dimensional slave monitoring data obtained by all BMS slaves Slave in the work performing multi-dimensional monitoring on the battery pack, and intelligently identify the multi-dimensional slave monitoring data through the trained deep learning model to accurately control and optimize the management of the battery pack.

[0023] It should be noted that in step S101, the CAN_H bus is monitored and the CAN_H bus switch is controlled to transmit the next BMS information for networking acquisition and allocation of MAC addresses, the active device connected to the uninterruptible power supply UPS is automatically set as the BMS host Master, and an initial address, such as 0x01, is allocated to the BMS host Master, thereby completing the access detection of the host device and the uninterruptible power supply UPS and realizing the allocation of the initial address of the BMS host Master. In step S102, the BMS master Master sends an address allocation message to the current BMS slave Slave to be networked according to the address request message sent by the current BMS slave Slave to be networked and the currently allocated address range. The current BMS slave Slave to be networked completes its own address allocation according to the address allocation message and feeds back an address confirmation message to the BMS master Master, so that the BMS master Master updates the allocated address range. In step S103, step S102 is repeated to automatically allocate the address of the next BMS slave Slave to be networked until the automatic allocation of the addresses of all BMS slaves to be networked is completed, thereby realizing the automatic stacking allocation of the addresses of all BMS slaves to be networked, avoiding the cumbersome operation of parallel addressing, reducing the error rate of parallel addressing, and improving the efficiency of parallel addressing. In step S104, the BMS host Master aggregates the multi-dimensional slave monitoring data obtained by all BMS slaves performing multi-dimensional monitoring on the battery pack during work, and intelligently identifies the multi-dimensional slave monitoring data through the trained deep learning model to accurately control and optimize the management of the battery pack, thereby realizing intelligent management and optimized control of the battery pack.

[0024] It is understandable that in this embodiment, by detecting the device connected to the uninterruptible power supply UPS, it is automatically set as the master, without human intervention, eliminating the step of manually selecting the master. The host automatically assigns an address to the slave according to the address request. The entire process is based on the CAN communication protocol, and there is no need to manually configure the device address to avoid manual allocation errors. The address allocation process updates the address range record through the host to ensure that each slave obtains a unique address to avoid address conflicts. After receiving the address, the slave needs to confirm the legitimacy of the address and feedback to the host. The two-way verification mechanism reduces the error rate. When the host executes step S102 in a loop, it can batch process the slave address allocation request and quickly complete the networking. In addition, the slave monitors the multi-dimensional data of the battery pack (such as voltage, current, temperature, etc.) in real time. The host analyzes the data through a trained deep learning model, finds anomalies, predicts problems, and provides optimized control decisions.

[0025] In some preferred embodiments, when the current BMS slave Slave waiting for parallel networking sends an address request message, it includes: detecting the state of the BMS host Master closing the MCU output signal MCU_Output, and detecting the state of the current BMS slave Slave waiting for parallel networking reading the MCU input signal MCU_Intput, when the BMS host Master closes the MCU output signal MCU_Output and the current BMS slave Slave waiting for parallel networking reads the MCU input signal MCU_Intput, the current BMS slave Slave waiting for parallel networking sends an address request message to the BMS host Master through the CAN bus. It should be noted that in this embodiment, the host notifies the current slave to be networked to enter the addressing preparation state by closing the MCU_Output signal (for example, outputting a specific level signal). The function of the host's MCU_Output signal is to control the state of the current slave to be networked so that it knows that it is its turn to send an address request message. The slave detects the MCU_Intput signal output by the host to confirm that the host has issued an addressing instruction. Only when a valid MCU_Intput signal is detected, the slave sends an address request to avoid conflicts caused by multiple slaves sending requests at the same time. When the slave detects that the MCU_Intput signal is valid, it actively sends an address request message to the host through the CAN bus. The address request message contains the unique identifier of the slave (such as MAC address, serial number, etc.), and the host assigns a unique address based on it. The host assigns an address to the slave that sends the request based on the current address range and returns the assigned address message through the CAN bus. After receiving the assigned address, the slave confirms the legitimacy of the address and sends a confirmation message to the host. After confirming that the slave is successfully addressed, the host updates the address range. The host switches the MCU_Output signal to the next target slave according to the order of allocation. The next slave detects the MCU_Input signal sent by the host and repeats the above process until all slaves are addressed, so that stacked addressing can be achieved from top to bottom to improve addressing efficiency.

[0026] In some preferred embodiments, the address request message sent by the current BMS slave to be networked to the BMS master includes a unique identifier of the slave device Slave, and the unique identifier of the slave device Slave is used to provide the BMS master Master to distinguish different BMS slaves to be networked. Further, the unique identifier of the slave device Slave is a MAC address or a serial number, and the MAC address or serial number is used to provide the BMS master Master to distinguish different BMS slaves to be networked. It should be noted that in the scenario of multi-slave parallel networking, if multiple slaves are connected to the CAN bus at the same time, the host needs to distinguish each slave, otherwise address conflicts or allocation errors may occur. In this embodiment, each slave has a unique identifier, and the host can accurately distinguish different devices through the identifier to ensure that the assigned address corresponds to the specific device one by one to avoid confusion. In the unique identifier, the MAC address is assigned by the device manufacturer to ensure that the identifier of each device is unique, and the MAC address follows the IEEE standard, which is convenient for use in various communication protocols. The serial number can be customized according to the specific application scenario and supports different numbering rules.

[0027] In some preferred embodiments, the active device is an inverter or other central control device. It should be noted that the inverter or central control device is usually the most reliable and core device in the battery management system, with higher processing power and power management capabilities. They are usually tightly integrated with the UPS, with stable power supply, and can be online first when the system starts. By setting the inverter or central control device connected to the UPS as the host, the host selection logic can be automatically simplified, avoiding the complex device priority judgment process, and improving the system startup efficiency.

[0028] In some preferred embodiments, when the BMS host Master sends an address allocation message to the current BMS slave Slave to be networked, it includes: after the BMS host Master receives the address request message, it sends an address allocation message to the current BMS slave Slave to be networked according to the currently allocated address range, and the address allocation message includes a unique address assigned to the current BMS slave Slave to be networked. It should be noted that in a multi-slave networking scenario, if there is no unique address, the communication of each slave will conflict, resulting in the system being unable to operate normally. Therefore, each slave needs a unique address as its identifier on the CAN bus to ensure that the host can distinguish between different devices and accurately send and receive messages.

[0029] In some preferred embodiments, after the BMS host Master sends an address allocation message to the current BMS slave Slave to be networked, the BMS host Master updates its internal address table to record the newly allocated address and the corresponding slave device Slave. It should be noted that in a multi-slave system, if the host does not record the allocated address information, the problem of duplicate address allocation may occur, resulting in communication conflicts. Recording each allocated address and its corresponding slave identifier (such as MAC address or serial number) can avoid this situation. In this embodiment, the host can track the allocated address range through the internal address table to ensure that each slave obtains a unique address.

[0030] In some preferred embodiments, when the current BMS slave to be networked completes its own address allocation, it includes: after the current BMS slave to be networked receives the address allocation message, it checks whether the allocated address is legal. If the allocated address is legal, it saves the address information allocated in the address allocation message as its own address to complete its own address allocation. It should be noted that in a multi-slave networking scenario, the host may allocate incomplete or erroneous address information due to various reasons. The slave performs a legitimacy check on the received address through a self-check mechanism, which can detect problems at an early stage and avoid writing erroneous addresses into its own configuration.

[0031] In some further preferred embodiments, when the current BMS slave to be networked Slave checks whether the allocated address is legal, it includes: the current BMS slave to be networked Slave checks whether the allocated address is not within the allocated address range, and if not, it is determined that the current BMS slave to be networked Slave checks that the allocated address is legal. It should be noted that in a multi-slave parallel network, if multiple slaves use the same address, communication conflicts will occur, resulting in data loss or communication failure. Checking whether the address is not within the allocated address range and ensuring that each allocated address is unique can avoid the risk of conflicts, so that each slave obtains an address that is not repeated with other slaves, eliminating communication interference caused by address conflicts and ensuring the normal operation of the system.

[0032] In some preferred embodiments, when the current BMS slave to be networked Slave feeds back an address confirmation message to the BMS master Master, it includes: the current BMS slave to be networked Slave feeds back an address confirmation message to the BMS master Master via the CAN bus, so that the BMS master Master further confirms that the current BMS slave to be networked Slave has successfully completed address allocation, and then updates the allocated address range. It should be noted that address allocation is the core step for the slave to join the network, and the host needs to know clearly whether each slave has successfully completed address allocation.

[0033] If there is no feedback confirmation from the slave, the host cannot determine whether the allocation is successful, which may lead to duplicate address allocation or networking failure.

[0034] In some further preferred embodiments, the address allocation completion judgment algorithm is used to determine whether the addresses of all BMS slaves to be networked are automatically allocated; the address allocation completion judgment algorithm includes: judging the detection and reading status of the MCU input signal MCU_Intput of all BMS slaves to be networked waiting for parallel networking, and when all BMS slaves to be networked waiting for parallel networking cannot read the MCU input signal MCU_Intput, it is determined that the addresses of all BMS slaves to be networked are automatically allocated. It should be noted that in the parallel networking process, it is very important to ensure that all slave devices have been successfully allocated addresses. Only after all slave addresses are allocated, can subsequent operations such as battery management and data communication be started. In this embodiment, the detection status of the MCU input signal MCU_Intput is used as a judgment criterion to ensure that all slaves participate in the networking process and avoid omissions. Among them, by reading the MCU_Intput signal, it is determined whether all slaves have completed address allocation to ensure that each slave has been added to the network. If a slave fails to complete address allocation, this mechanism can detect and correct it in time to avoid missing devices during the networking process and affect the normal operation of the system.

[0035] In some further preferred embodiments, the multi-dimensional slave monitoring data includes battery overcharge data, battery overdischarge data, battery overtemperature data and battery short circuit data, and the deep learning model intelligently identifies the battery overcharge data, the battery overdischarge data, the battery overtemperature data and the battery short circuit data. When the deep learning model identifies the battery overcharge state (such as the voltage exceeds the set threshold, the charging current is too large), the charging current is cut off, or the charging current is reduced, or the charging time is adjusted to protect the battery pack from overcharge; when the deep learning model identifies the battery overdischarge state (such as the voltage is too low, the discharge current is too large), the discharge current is cut off, or the low power protection mode is entered, or the low-power battery is balanced charged to protect the battery pack from overdischarge; when the deep learning model identifies the battery overtemperature state (such as the temperature exceeds the set threshold), the load is reduced, or charging and discharging is stopped to protect the battery pack from overtemperature; when the deep learning model identifies the battery short circuit state (such as abnormally high short circuit current), the circuit is disconnected or the faulty battery is isolated to protect the battery pack from short circuit. It should be noted that the data generated during the operation of the battery system has many dimensions, including voltage, current, temperature, short-circuit current, etc. There are complex nonlinear relationships and time-series dependencies between these data. The deep learning model has powerful feature extraction and pattern recognition capabilities, and can automatically extract useful features from high-dimensional and diversified data, accurately identify abnormal states, identify subtle abnormal changes, and reduce false positives and negatives. In addition, the deep learning model can quickly process real-time data and identify abnormal states in a timely manner, ensuring that the system can respond immediately and prevent potential safety risks.

[0036] In some further preferred embodiments, in the process of the BMS slave to be networked performing its own address allocation, the fault state of the BMS slave to be networked is monitored. If the current BMS slave to be networked has a fault, the fault state is recorded and the address of the next BMS slave to be networked is automatically allocated; the fault state includes damage to the charging and discharging MOS, excessive voltage of the slave monomer, short circuit of the slave external load, and excessive temperature of the slave. It should be noted that the faulty slave may cause abnormal communication or interfere with the communication of normal equipment, thereby affecting the stability of the entire CAN bus network. By monitoring and skipping the faulty slave, it can be ensured that only functional devices are included in the network, maintaining the overall stability and communication quality of the network. In addition, recording the fault state helps with subsequent fault analysis and maintenance, ensuring that the problem is solved in a timely manner. In addition, the faulty slave cannot correctly respond to the address allocation message, resulting in confusion or errors in the address allocation process. By skipping the faulty slave, it is ensured that the address is only allocated to the normal operating device, avoiding address conflicts and allocation errors, and improving the accuracy of the networking process.

[0037] Embodiment 2

[0038] See also Figure 1-Figure 2 The present embodiment provides a parallel automatic stacking addressing system based on BMSCAN communication, comprising: a BMS host Master, a BMS slave Slave to be networked and an uninterruptible power supply UPS connected and communicated via a CAN bus; the parallel automatic stacking addressing system based on BMSCAN communication uses the above-mentioned parallel automatic stacking addressing method based on BMSCAN communication to supervise the battery pack, obtains and allocates a MAC address for networking by monitoring the CAN_H bus and controlling the CAN_H bus switch to transmit the next BMS information, automatically sets the active device connected to the uninterruptible power supply UPS as the BMS host Master, and allocates an initial address to the BMS host Master, so that the BMS host Master sends an address request message to the current BMS slave Slave to be networked according to the address request message sent by the current BMS slave Slave to be networked and the currently allocated address range. The BMS slave to be networked receives an address allocation message, and the current BMS slave to be networked completes its own address allocation according to the address allocation message and feeds back an address confirmation message to the BMS master, so that the BMS master updates the allocated address range until the addresses of all the BMS slaves to be networked are automatically allocated. The BMS master and all the BMS slaves to which addresses have been allocated enter a working state and communicate with each other through the CAN bus, so that the BMS master summarizes the multi-dimensional slave monitoring data obtained by all the BMS slaves in the work performing multi-dimensional monitoring on the battery pack, and intelligently identifies the multi-dimensional slave monitoring data through the trained deep learning model, so as to accurately control and optimize the management of the battery pack, thereby avoiding the tedious operation of parallel addressing, reducing the error rate of parallel addressing, improving the efficiency of parallel addressing, and realizing intelligent management and optimized control of the battery pack.

[0039] It should be pointed out that the above embodiments are only preferred specific implementation modes of the present invention, and the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. The protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A parallel automatic stacking addressing method based on BMSCAN communication, characterized in that: The following steps are involved: S101, monitoring the CAN_H bus and controlling the CAN_H bus switch to transmit the next BMS information to obtain the network and assign the MAC address, automatically setting the active device connected to the uninterruptible power supply UPS as the BMS host Master, and assigning an initial address to the BMS host Master; S102, the BMS master Master sends an address allocation message to the current BMS slave Slave to be networked according to the address request message sent by the current BMS slave Slave to be networked and the currently allocated address range. The current BMS slave Slave to be networked completes its own address allocation according to the address allocation message and feeds back an address confirmation message to the BMS master Master, so that the BMS master Master updates the allocated address range; S103, repeating step S102 to automatically allocate the address of the next BMS slave to be networked, until the automatic allocation of the addresses of all BMS slaves to be networked is completed, and the BMS master and all BMS slaves to which the addresses have been allocated enter the working state and communicate with each other through the CAN bus; S104, allowing the BMS host Master to summarize the multi-dimensional slave monitoring data obtained by all BMS slaves in the work through multi-dimensional monitoring of the battery pack, and intelligently identify the multi-dimensional slave monitoring data through the trained deep learning model to accurately control and optimize the management of the battery pack; When the current BMS slave Slave waiting for parallel networking sends an address request message, it includes: detecting the state of the BMS host Master closing the MCU output signal MCU_Output, and detecting the state of the current BMS slave Slave waiting for parallel networking reading the MCU input signal MCU_Intput; when the BMS host Master closes the MCU output signal MCU_Output and the current BMS slave Slave waiting for parallel networking reads the MCU input signal MCU_Intput, the current BMS slave Slave waiting for parallel networking sends an address request message to the BMS host Master through the CAN bus; The address request message sent by the current BMS slave to be networked to the BMS master includes a unique identifier of the slave device Slave, which is provided to the BMS master to distinguish different BMS slaves to be networked; the unique identifier of the slave device Slave is a MAC address or a serial number, which is provided to the BMS master to distinguish different BMS slaves to be networked; When the current BMS slave to be networked Slave completes its own address allocation, it includes: after the current BMS slave to be networked Slave receives the address allocation message, it checks whether the allocated address is legal, and if the allocated address is legal, it saves the address information allocated in the address allocation message as its own address to complete its own address allocation; when the current BMS slave to be networked Slave checks whether the allocated address is legal, it includes: the current BMS slave to be networked Slave checks whether the allocated address is not within the allocated address range, and if not, it is determined that the current BMS slave to be networked Slave checks that the allocated address is legal.

2. The automatic stacking addressing method for parallel machines based on BMSCAN communication according to claim 1, characterized in that: The active device is an inverter or other central control device.

3. The automatic stacking addressing method for parallel machines based on BMSCAN communication according to claim 1, characterized in that: When the BMS host Master sends an address allocation message to the current BMS slave Slave to be networked, it includes: after the BMS host Master receives the address request message, according to the currently allocated address range, sending an address allocation message to the current BMS slave Slave to be networked, wherein the address allocation message includes a unique address allocated to the current BMS slave Slave to be networked.

4. The automatic stacking addressing method for parallel machines based on BMSCAN communication according to claim 1, characterized in that: After the BMS host Master sends an address allocation message to the current BMS slave device Slave to be networked, the BMS host Master updates its internal address table to record the newly allocated address and the corresponding slave device Slave.

5. The automatic stacking addressing method for parallel machines based on BMSCAN communication according to claim 1, characterized in that: When the current BMS slave to be networked Slave feeds back an address confirmation message to the BMS host Master, it includes: the current BMS slave to be networked Slave feeds back an address confirmation message to the BMS host Master through the CAN bus, so that the BMS host Master further confirms that the current BMS slave to be networked Slave has successfully completed the address allocation, and then updates the allocated address range.

6. A parallel automatic stacking addressing system based on BMSCAN communication, characterized in that: include: The BMS host Master, the BMS slave Slave to be networked and the uninterruptible power supply UPS are connected and communicated through the CAN bus; The automatic parallel stacking addressing system based on BMSCAN communication uses the automatic parallel stacking addressing method based on BMSCAN communication as described in any one of claims 1 to 5 to supervise the battery pack.

Citation Information

Patent Citations

  • Multi-component master-slave automatic networking method and management system

    CN116208638A

  • Battery thermal runaway early warning protection system and protection method thereof

    CN116722249A