A battery pack parallel control method and system based on CAN communication

Through the battery pack parallel control method based on CAN communication, the battery pack identification code and identity number are used for identity recognition and mode determination, which solves the voltage difference and circulation problems when battery packs are connected in parallel, and achieves stable operation and improved adaptability of the system.

CN114784902BActive Publication Date: 2024-10-29NINGBO VEKEN NEW ENERGY TECH CO LTD

Patent Information

Application Number
CN202210371719.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-11
Publication Date
2024-10-29
Estimated Expiration
2042-04-11

AI Technical Summary

Technical Problem

In the existing technology, when multiple battery pack systems are connected in parallel, there may be voltage differences and large currents charging each other, causing damage to the battery and battery management system. In addition, when the battery pack is abnormal, it needs to wait for recovery or replacement, which increases R&D costs and the risk of system shutdown. .

Method used

Using a battery pack parallel control method based on CAN communication, the identity of the master and slave is identified through the battery pack identification code. The host assigns an identity number and determines the charging and discharging working mode based on the status information of the load or charger to avoid circulation and improve system adaptability. .

Benefits of technology

The master-slave distinction of the battery pack is realized through software without the need for additional hardware signals, ensuring normal operation of the system, avoiding battery damage, simplifying the battery pack replacement process, and improving the scalability and adaptability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114784902B_ABST
    Figure CN114784902B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of battery management technology, and provides a battery pack parallel control method and system based on CAN communication, including the following steps: the battery pack broadcasts its battery pack identification code through its battery management system at regular intervals, and identifies the master and slave of the battery pack according to the battery pack identification code; after identifying the host, the battery management system of the host assigns a corresponding identity number to the host, and the host assigns the identity number of the slave; after assigning the identity numbers of the master and slave, the battery management system of the host communicates with the load or charger and determines the charge and discharge working mode of multiple groups of battery packs. The advantage of the present invention is that the master-slave distinction of the battery pack can be realized through the software code in the battery management system, without the need for additional hardware signals to determine the master-slave relationship of the battery pack; and when the host disconnects the communication connection, the slave therein can automatically switch to the host, thereby ensuring the normal operation of the entire system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery management, and in particular to a battery pack parallel control method and system based on CAN communication. Background Art

[0002] Different target customers have different requirements for battery pack capacity. Developing for different customer needs will result in a variety of battery pack models and increase R&D costs. In addition, in a single battery pack system, when the battery pack is abnormal, the entire system will stop working, and you will need to wait for the battery pack to recover or replace the battery pack.

[0003] In order to solve the above problems, the prior art mostly adopts a multi-battery pack system, which uses multiple battery packs of the same specifications in parallel to solve the above problems. However, there may be voltage differences between battery packs. When the battery packs are connected in parallel, there will be a large current to charge each other, causing damage to the battery and battery management system. Therefore, it is necessary to judge the status of the battery pack, and only when the battery pack status meets the conditions can it be connected in parallel to the circuit.

[0004] For example, the existing dual battery pack system solution is as follows: First, when the dual battery pack system is installed, the two battery packs need to be distinguished by hardware signals. Among them, the pack that obtains the specific hardware signal is the main battery pack, and the other pack is the auxiliary battery pack. Secondly, the main battery pack collects and compares the voltage, SOC and other parameters of the main and auxiliary battery packs to determine the usage mode of the battery pack. Subsequently, the main battery pack sends battery system information to the load / charger according to the selected mode, starts charging and discharging, and switches the usage mode according to the status of the main and auxiliary battery packs. Summary of the invention

[0005] The object of the present invention is to provide a battery pack parallel control method and system based on CAN communication to solve the problem of battery pack parallel control;

[0006] In order to achieve the above object, the technical solution adopted by the present invention is:

[0007] A battery pack parallel control method based on CAN communication, comprising the steps of:

[0008] Connect multiple battery packs in parallel to a load or charger so that the battery management system in each battery pack is awakened;

[0009] The battery pack broadcasts its battery pack identification code regularly through its battery management system, and identifies the master and slave devices of the battery pack according to the battery pack identification code;

[0010] After identifying the host, the host's battery management system assigns a corresponding identity number to the host, and the host assigns the slave's identity number;

[0011] After the master and slave identification numbers are assigned, the host's battery management system communicates with the load or charger and determines the charge and discharge operating modes of multiple battery packs, and the slave controls the operating status of the slave battery pack according to the host's battery management system instructions and the battery pack status information.

[0012] Furthermore, the steps of identifying the master and slave identities of the battery pack according to the battery pack identification code specifically include:

[0013] The battery management system of each battery pack determines whether it has received the message information sent by the host; if so, it determines that the battery pack is a slave, records the number of the data sent on the CAN bus, and waits for the host to assign each slave an identity number;

[0014] If not, the battery management system of each battery pack records the identification codes of other battery packs received and sorts them, and determines whether the identification code of this battery pack is the smallest within a preset time. If so, this battery pack is determined to be the host; if not, it waits for other battery packs to become the host or the battery pack with an identification code smaller than its own identification code disconnects the communication connection after a preset time.

[0015] Furthermore, the specific steps of the host assigning the slave's identity number include:

[0016] The host stops broadcasting its battery pack identification code through its battery management system at regular intervals;

[0017] assigning respective identification numbers to the slaves in a preset order according to the other battery pack identification codes received by them;

[0018] The host battery management system broadcasts the identity number allocation message to each slave in turn, and completes the allocation of slave identity numbers after receiving the battery pack status information uploaded by all slaves.

[0019] Furthermore, when a new battery pack is connected, the host battery management system assigns an identity number to it according to the access order, and broadcasts the identity number assignment message to it, and completes the assignment of the new slave identity number after receiving the battery pack status information uploaded by the new battery pack.

[0020] Furthermore, while uploading its battery pack status information to the host, the slave machine numbers and sorts the nodes in communication to determine whether the host has disconnected the communication connection; when the host has disconnected the communication connection, the slave machine with the smallest identity number among the slave machines is switched to the master machine.

[0021] Furthermore, the specific steps of the host determining the charge and discharge operation modes of the multiple battery packs include:

[0022] Receive real-time status information of battery packs uploaded by each slave;

[0023] Filter the battery packs that can be charged and discharged from each slave according to the real-time status information, and sort them according to the total voltage value of the battery packs;

[0024] Determine whether the device connected to the host is a load or a charger;

[0025] When the host is connected to the load, the load is powered according to the preset discharge method based on the load status information;

[0026] When the host is connected to the charger, each battery pack is charged according to the preset charging method.

[0027] Furthermore, the preset discharge method comprises the steps of:

[0028] After the host determines that the load is connected, it selects a battery pack that meets the preset discharge conditions and connects it to the load for discharge, forming a battery pack stand-alone discharge mode;

[0029] When the battery pack connected to the load cannot meet the preset discharge conditions, the host determines whether there is a battery pack that meets the battery pack parallel discharge conditions based on the status information of the battery pack; if so, the host controls the qualified slave battery packs to be connected to the load in sequence to form a battery pack parallel discharge mode.

[0030] Furthermore, the preset charging method comprises the steps of:

[0031] After the host determines that the charger is connected, it selects a battery pack that meets the preset charging conditions and connects it to the charger for charging, forming a single-machine charging mode;

[0032] When there are battery packs that meet the battery pack parallel charging conditions, the host controls the qualified slave battery packs to be connected to the charging circuit in sequence to form a battery pack parallel charging mode.

[0033] The present invention also provides a battery pack parallel control system based on CAN communication, comprising:

[0034] Multiple battery packs, each of which is provided with a battery management system, and the battery management systems exchange data via CAN communication.

[0035] Compared with the prior art, the present invention has at least the following beneficial effects:

[0036] (1) The master-slave distinction of the battery pack can be achieved through the software code in the battery management system, without the need for additional hardware signals to set the master-slave relationship of the battery pack;

[0037] (2) When the host disconnects the communication connection, the slave with the smallest ID number among the slaves is switched to the host, thereby ensuring the normal operation of the entire system;

[0038] (3) After the master and slave machines are assigned their respective identity numbers, the battery management system of the master machine communicates with the load or charger and determines the charge and discharge working modes of the multiple battery packs. The slave machine controls the working state of the slave battery pack according to the instructions of the host battery management system and the status information of the battery pack, thereby avoiding the influence of the circulating current on the battery caused by the parallel connection of the battery packs;

[0039] (4) When a battery pack needs to be replaced, it can be replaced directly without the need for additional software and hardware adaptation operations;

[0040] (5) The number of battery packs equipped with this system is scalable, allowing multiple battery packs to be used in parallel, thereby enhancing the adaptability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a flow chart of a battery pack parallel control method according to an embodiment of the present invention;

[0042] Figure 2 is a flow chart of identifying the master and slave identities of a battery pack according to a battery pack identification code in an embodiment of the present invention;

[0043] Figure 3 is a flow chart of the host allocating the identity number of the slave in an embodiment of the present invention;

[0044] Figure 4 It is a flow chart of determining the charge and discharge working modes of multiple battery packs in an embodiment of the present invention. DETAILED DESCRIPTION

[0045] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0046] In addition, in the present invention, descriptions such as "first", "second", "one", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0047] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0048] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0049] The following are specific embodiments of the present invention, and the technical solutions of the present invention are further described in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments.

[0050] like Figure 1 As shown, the present invention provides a battery pack parallel control method based on CAN communication, comprising the steps of:

[0051] S1. Connect multiple battery packs in parallel to a load or charger so that the battery management system in each battery pack is awakened;

[0052] S2, the battery pack regularly broadcasts its battery pack identification code through its battery management system, and identifies the master and slave devices of the battery pack according to the battery pack identification code;

[0053] S3. After identifying the host, the battery management system of the host assigns a corresponding identity number to the host, and the host assigns an identity number to the slave;

[0054] S4. After the master and slave identification numbers are assigned, the host's battery management system communicates with the load or charger and determines the charge and discharge working modes of multiple battery packs. The slave controls the working state of the slave battery pack according to the host's battery management system instructions and the battery pack status information.

[0055] Among them, Figure 2 As shown, the steps of identifying the master and slave identities of the battery pack according to the battery pack identification code of the present invention specifically include:

[0056] The battery management system of each battery pack determines whether it has received the message information sent by the host; if so, it determines that the battery pack is a slave, records the number of the data sent on the CAN bus, and waits for the host to assign each slave an identity number;

[0057] If not, the battery management system of each battery pack records the identification codes of other battery packs received and sorts them, and determines whether the identification code of this battery pack is the smallest within a preset time. If so, this battery pack is determined to be the host; if not, it waits for other battery packs to become the host or the battery pack with an identification code smaller than its own identification code disconnects the communication connection after a preset time.

[0058] In the present invention, communication between battery packs is carried out through the battery management system of each battery pack in the form of CAN communication, so the master-slave distinction of the battery packs can be achieved through the software code in the battery management system, without the need for additional hardware signals to set the master-slave relationship of the battery packs.

[0059] After identifying the master and slave devices, the host's battery management system assigns a corresponding identity number to the host, and the host assigns an identity number to the slave device. Each battery pack can perform corresponding operations according to its identity number in subsequent work.

[0060] Among them, Figure 3 As shown, the specific steps of the host assigning the slave's identity number include:

[0061] S31, the host stops broadcasting its battery pack identification code through its battery management system at regular intervals;

[0062] S32, assigning respective identification numbers to the slaves in a preset order according to the other battery pack identification codes received;

[0063] S33, the host battery management system broadcasts the identity number allocation message to each slave in turn, and completes the allocation of the slave identity number after receiving the battery pack status information uploaded by all slaves.

[0064] S34. When a new battery pack is connected, the host battery management system assigns an identity number to it according to the access order, and broadcasts a message of identity number assignment to it. After receiving the battery pack status information uploaded by the new battery pack, the assignment of the new slave identity number is completed.

[0065] When the battery pack is in normal working condition, the slave will number and sort the nodes in communication while uploading its battery pack status information to the host to determine whether the host has disconnected the communication connection; when the host disconnects the communication connection, the slave with the smallest identity number among the slaves will be switched to the master, thereby ensuring the normal operation of the entire system.

[0066] like Figure 4 As shown, the process of determining the charge and discharge working modes of multiple battery packs in step S4 is as follows:

[0067] S41, receiving the real-time status information of the battery pack uploaded by each slave;

[0068] S42, selecting battery packs that can be charged and discharged from each slave according to the real-time status information, and sorting the battery packs according to the total voltage values;

[0069] S43, determining whether the device connected to the host is a load or a charger;

[0070] S44. When the host is connected to the load, the load is powered according to the preset discharge method based on the load status information; when the host is connected to the charger, each battery pack is charged according to the preset charging method.

[0071] The preset discharge method includes the following steps: after the host determines that the load is connected, a battery pack that meets the preset discharge conditions is selected to be connected to the load for discharge, thereby forming a battery pack stand-alone discharge mode. When the battery pack connected to the load cannot meet the preset discharge conditions, it is determined based on the status information of the battery pack whether there is a battery pack that meets the battery pack parallel discharge conditions. If so, the host controls the slave battery packs that meet the conditions to be connected to the load in sequence to form a battery pack parallel discharge mode.

[0072] The preset charging method includes the following steps: after the host determines that the charger is connected, a battery pack that meets the preset charging conditions is selected to be connected to the charger for charging, forming a single-machine charging mode. When there is a battery pack that meets the battery pack parallel charging conditions, the host controls the slave battery packs that meet the conditions to be connected to the charging circuit in sequence to form a battery pack parallel charging mode.

[0073] After assigning respective identity numbers to the master and slave machines, the present invention allows the host's battery management system to communicate with the load or charger and determine the charge and discharge working modes of multiple battery packs, and the slave machine controls the working state of the slave machine's battery pack according to the host's battery management system's instructions and the battery pack's status information, thereby avoiding the impact of circulating current on the battery caused by parallel connection of the battery pack. When a battery pack needs to be replaced, it can be replaced directly without the need for additional software and hardware adaptation operations.

[0074] The present invention also provides a battery pack parallel control system based on CAN communication, comprising:

[0075] Multiple battery packs, each of which is provided with a battery management system, and the battery management systems exchange data via CAN communication.

[0076] The battery packs equipped with this system have enhanced scalability, allowing multiple battery packs to be used in parallel, which enhances the adaptability of the system. During system operation, the battery pack numbering and master-slave distinction are completed by software, reducing the consumption of hardware resources and the operation of hardware during installation.

[0077] The specific embodiments described herein are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the appended claims.

Claims

1. A battery pack parallel control method based on CAN communication, It is characterized in that Includes steps: Connect multiple battery packs in parallel to a load or charger so that the battery management system in each battery pack is awakened; The battery pack broadcasts its battery pack identification code regularly through its battery management system, and identifies the master and slave devices of the battery pack according to the battery pack identification code; After identifying the host, the host's battery management system assigns a corresponding identity number to the host, and the host assigns the slave's identity number; After the master and slave identification numbers are assigned, the battery management system of the master communicates with the load or charger and determines the charge and discharge working mode of the multiple battery packs, and the slave controls the working state of the slave battery pack according to the instructions of the host battery management system and the status information of the battery pack; The steps of identifying the master and slave of the battery pack according to the battery pack identification code specifically include: The battery management system of each battery pack determines whether it has received the message information sent by the host; if so, it determines that the battery pack is a slave, records the number of the data sent on the CAN bus, and waits for the host to assign each slave an identity number; If not, the battery management system of each battery pack records the identification codes of other battery packs received and sorts them, and determines whether the identification code of the battery pack is the smallest within a preset time. If so, the battery pack is determined to be the host; if not, it waits for other battery packs to become the host or the battery pack with an identification code smaller than its own identification code to disconnect the communication connection after a preset time; The specific steps for the host to assign the slave's identity number include: The host stops broadcasting its battery pack identification code through its battery management system at regular intervals; assigning respective identification numbers to the slaves in a preset order according to the other battery pack identification codes received by them; The host battery management system broadcasts the identity number allocation message to each slave in turn, and completes the slave identity number allocation after receiving the battery pack status information uploaded by all slaves; When a new battery pack is connected, the host battery management system assigns an identity number to it according to the access order and broadcasts the identity number assignment message to it. After receiving the battery pack status information uploaded by the new battery pack, the new slave identity number is assigned; While uploading its battery pack status information to the host, the slave device numbers and sorts the nodes in communication to determine whether the host has disconnected the communication connection; when the host disconnects the communication connection, the slave device with the smallest identity number among the slave devices is switched to the master.

2. According to claim 1, a battery pack parallel control method based on CAN communication, It is characterized in that The specific steps for the host to determine the charge and discharge working modes of multiple battery packs include: Receive real-time status information of battery packs uploaded by each slave; Filter the battery packs that can be charged and discharged from each slave according to the real-time status information, and sort them according to the total voltage value of the battery packs; Determine whether the device connected to the host is a load or a charger; When the host is connected to the load, the load is powered according to the preset discharge method based on the load status information; When the host is connected to the charger, each battery pack is charged according to the preset charging method.

3. According to claim 2, a battery pack parallel control method based on CAN communication, It is characterized in that The preset discharge method comprises the steps of: After the host determines that the load is connected, it selects a battery pack that meets the preset discharge conditions and connects it to the load for discharge, forming a battery pack stand-alone discharge mode; When the battery pack connected to the load cannot meet the preset discharge condition, it is determined whether there is a battery pack that meets the battery pack parallel discharge condition according to the status information of the battery pack; If yes, the host controls the qualified slave battery packs to be connected to the load in sequence to form a battery pack parallel discharge mode.

4. According to claim 2, a battery pack parallel control method based on CAN communication, It is characterized in that The preset charging method comprises the steps of: After the host determines that the charger is connected, it selects a battery pack that meets the preset charging conditions and connects it to the charger for charging, forming a single-machine charging mode; When there are battery packs that meet the battery pack parallel charging conditions, the host controls the qualified slave battery packs to be connected to the charging circuit in sequence to form a battery pack parallel charging mode.

5. A battery pack parallel control system based on CAN communication, based on a battery pack parallel control method based on CAN communication according to any one of claims 1 to 4, It is characterized in that include: Multiple battery packs, each battery pack is provided with a battery management system, and the battery management systems exchange data through CAN communication.

Citation Information

Patent Citations

  • Multi-group lithium battery pack parallel charging and discharging control system and development method

    CN111181217A

  • Parallel battery pack control system, method and device

    CN111564857A

Cited By

  • Multi-battery pack charging and discharging control system and scheduling method

    CN117118023A