Battery pack communication management system and method
By automating the internal communication between the role allocation module and module within the battery pack, the problems of complexity and quantity limitation of traditional battery pack management systems are solved, and efficient management of multiple battery packs is achieved.
Patent Information
- Application Number
- CN202411445837.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2024-12-17
AI Technical Summary
Traditional battery pack management systems manage battery packs through mechanical switches or external control boards, resulting in complex system design, limiting the number of battery packs, and unable to effectively manage multiple battery packs.
The automatic role allocation module, master control module and slave control module are adopted to enable the main battery pack to manage the remaining battery packs through internal communication, automatically assign roles and send control instructions, which is suitable for battery packs of various sizes.
Without adding additional hardware equipment, the main battery pack in the battery pack is effectively managed by the remaining battery packs, simplifying the system design and supporting the management of multiple battery packs.
Smart Images

Figure CN119142201A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management, and in particular to a battery pack communication management system and method. Background Art
[0002] With the development of electric vehicles and energy storage equipment, the number of battery packs that need to be managed in the battery pack is also increasing. Traditional battery pack management systems are mainly managed through mechanical battery pack switching or external control boards, but there are still the following shortcomings:
[0003] (1) Traditional battery pack management systems use mechanical switches or control boards to switch and manage battery packs, which obviously requires additional hardware support:
[0004] (2) Mechanical battery pack switching requires physical connection and disconnection between battery packs, while the control board relies on external signals for management. Both of these increase the complexity of system design, which in turn limits the number of battery packs that can be managed by traditional battery pack management systems, generally not exceeding 3. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a battery pack communication management system and method, which can enable the main battery pack in the battery pack to effectively manage the operation of the remaining battery packs through internal communication through automated role allocation operations without adding additional hardware equipment, and is suitable for battery packs of various sizes.
[0006] A first aspect of the present invention provides a battery pack communication management system, comprising: a role allocation module, a master control module and a slave control module; wherein the master control module is configured by a main battery pack in a battery pack; and the slave control module is configured by the remaining battery packs in the battery pack;
[0007] The role allocation module is used to allocate roles to all battery packs in the battery pack when the role configuration mode is triggered, and determine a master battery pack and multiple slave battery packs;
[0008] The main control module is used to obtain monitoring information of the battery pack through the main battery pack and send information instructions and control instructions to the remaining battery packs in the battery pack;
[0009] The slave control module is used to receive the information instructions through the remaining battery packs, and respond to and execute the control instructions.
[0010] Optionally, the role allocation module includes:
[0011] A master-slave role configuration unit, for collecting identification codes of all battery packs in the battery pack by specifying a battery pack when a role configuration mode is triggered, and sorting all the identification codes based on a preset sorting rule to obtain an ordered sequence; and setting the battery pack corresponding to the first identification code in the ordered sequence as the master battery pack, and setting the battery packs corresponding to the remaining identification codes as slave battery packs;
[0012] The master-slave identity transmission unit is used to send the identification codes of all the slave battery packs to the master battery pack, and send the identification code of the master battery pack to each of the slave battery packs.
[0013] Optionally, the main control module includes:
[0014] The offline control unit is used to mark the slave battery pack with interrupted communication as an offline slave battery pack when communication is interrupted between the master battery pack and any of the slave battery packs, and send information of the offline slave battery pack to an external device.
[0015] Optionally, the main control module includes:
[0016] An online control unit is used to determine whether the offline slave battery pack applying for online status belongs to the slave battery pack controlled by the main battery pack when the main battery pack receives an online application from any offline slave battery pack; if so, send an online permission instruction to the offline slave battery pack applying for online status; otherwise, set the offline slave battery pack applying for online status to an unconfigured role.
[0017] Optionally, the slave control module includes:
[0018] The offline response unit is used to switch the corresponding online state to an offline state, turn off the corresponding charging and discharging function, and send an offline prompt message based on the slave battery pack with interrupted communication when communication is interrupted between any of the slave battery packs and the master battery pack.
[0019] Optionally, the slave control module includes:
[0020] The online response unit is used to determine whether the main battery pack sending the instruction is the main battery pack responded to by the offline slave battery pack when any offline slave battery pack receives the instruction sent by the main battery pack; if so, send an online application to the main battery pack sending the instruction; otherwise, based on the offline slave battery pack, reset the corresponding identity role to an unconfigured role, turn off the corresponding charging and discharging function, and issue an alarm prompt.
[0021] Optionally, the main control module includes:
[0022] A heartbeat information sending unit, used for the main battery pack to periodically send the main control heartbeat information to the remaining battery packs;
[0023] a main control conflict detection unit, configured to determine whether a new main battery pack exists in the battery pack when the main battery pack receives the main control heartbeat information from the remaining battery packs;
[0024] The main control conflict processing unit is used to shut down the charge and discharge functions of the original main battery pack in the battery pack when it is determined that there is a newly added main battery pack in the battery pack, and send the main control conflict alarm instruction to the remaining battery packs through the original main battery pack, so that the remaining battery packs all shut down the corresponding charge and discharge functions, and the newly added main battery pack sends an alarm prompt.
[0025] Optionally, the slave control module includes:
[0026] a role abnormality checking unit, configured to, when any battery pack in the battery pack that is not configured with a role receives an instruction sent by the main battery pack, set a corresponding main battery pack existence mark through the battery pack that is not configured with a role, and send an unconfigured alarm to the main battery pack;
[0027] The role exception processing unit is used to periodically check whether the corresponding main battery pack existence mark is reset through the battery pack of the unconfigured role; if the mark is reset, stop sending the unconfigured alarm to the main battery pack; otherwise, continue to send the unconfigured alarm.
[0028] Optionally, the main control module includes:
[0029] A sleep unit, configured to determine whether the battery pack enters a full sleep mode when it is determined that the battery pack is in an idle state; if so, send a sleep notification instruction to all the slave battery packs and control the master battery pack to enter sleep mode; if not, designate a battery pack to start a discharge function and control the remaining battery packs except the designated discharge battery pack to enter sleep mode;
[0030] The awakening unit is used to send a wake-up notification instruction to all the slave battery packs through the master battery pack when the master battery pack is awakened.
[0031] A second aspect of the present invention provides a battery pack communication management method, which is applied to the battery pack communication management system described in any one of the first aspects above, wherein the system includes a role allocation module, a master control module and a slave control module, and the method includes:
[0032] When the role configuration mode is triggered, the role allocation module performs role allocation on all battery packs in the battery pack to determine a master battery pack and multiple slave battery packs;
[0033] The main control module obtains monitoring information of the battery pack through the main battery pack, and sends information instructions and control instructions to the remaining battery packs in the battery pack;
[0034] The slave control module receives the information instruction through the remaining battery packs, and responds to and executes the control instruction.
[0035] Compared with the prior art, the embodiment of the present invention provides a battery pack communication management system and method, the system comprising: a role allocation module, a master control module and a slave control module; wherein the master control module is configured by the main battery pack in the battery pack; the slave control module is configured by the remaining battery packs in the battery pack; the role allocation module is used to perform role allocation on all battery packs in the battery pack when the role configuration mode is triggered, and determine a main battery pack and multiple slave battery packs; the master control module is used to obtain monitoring information of the battery pack through the main battery pack, and send information instructions and control instructions to the remaining battery packs in the battery pack; the slave control module is used to receive information instructions through the remaining battery packs, and respond to and execute control instructions. The present invention can enable the main battery pack in the battery pack to effectively manage the operation of the remaining battery packs through internal communication through automated role allocation operations without adding additional hardware equipment, and is suitable for battery packs of various sizes. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a structural schematic diagram of an embodiment of a battery communication management system provided by the present invention;
[0037] Figure 2 is a schematic diagram of an embodiment of a battery pack provided by the present invention;
[0038] Figure 3 It is a schematic diagram of an embodiment of the master battery pack provided by the present invention coordinating the work of the slave battery pack and external interaction;
[0039] Figure 4 is a structural diagram of an embodiment of a role allocation module provided by the present invention;
[0040] Figure 5 is a schematic diagram of an embodiment of the battery pack SN code provided by the present invention;
[0041] Figure 6 is a schematic diagram of an embodiment of a trigger role configuration mode provided by the present invention;
[0042] Figure 7 It is a structural diagram of an embodiment of a main control module provided by the present invention;
[0043] Figure 8 is a structural schematic diagram of an embodiment of a slave control module provided by the present invention;
[0044] Fig. 9 is a schematic diagram of an embodiment of off-line detection and processing of a battery pack provided by the present invention;
[0045] Fig.10 It is a schematic diagram of an embodiment of online detection and processing of a battery pack provided by the present invention;
[0046] Fig.11 is a schematic diagram of an embodiment of master control conflict detection and processing provided by the present invention;
[0047] Fig.12 is a schematic diagram of an embodiment of role anomaly detection and processing provided by the present invention,
[0048] Fig.13 is a schematic diagram of an embodiment of a battery pack provided by the present invention entering dormancy;
[0049] Fig.14 is a schematic diagram of an embodiment of a battery pack provided by the present invention being awakened;
[0050] Fig.15 It is a flow chart of an embodiment of the battery pack communication management method provided by the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this technical field without creative work are within the scope of protection of the present invention.
[0052] See also Figure 1 , is a structural diagram of an embodiment of a battery pack communication management system provided by the present invention.
[0053] The first aspect of the present invention provides a battery pack communication management system, comprising: a role allocation module 10, a master control module 20 and a slave control module 30; wherein the master control module 20 is configured by a master battery pack in a battery pack; and the slave control module 30 is configured by the remaining battery packs in the battery pack;
[0054] The role allocation module 10 is used to allocate roles to all battery packs in the battery pack when the role configuration mode is triggered, and determine a master battery pack and multiple slave battery packs;
[0055] The main control module 20 is used to obtain monitoring information of the battery pack through the main battery pack and send information instructions and control instructions to the remaining battery packs in the battery pack;
[0056] The slave control module 30 is used to receive the information instructions through the remaining battery packs, and respond to and execute the control instructions.
[0057] In the embodiment of the present invention, the master control module 20 includes a master battery pack, and all execution steps in the master control module 20 are executed by the master battery pack; the slave control module 30 includes the remaining battery packs in the battery pack except the master battery pack, and the execution steps in the slave control module 30 are all executed by the designated battery pack that receives the information instruction or control instruction from the remaining battery packs. It is worth noting that the remaining battery packs in the battery pack except the master battery pack include but are not limited to:
[0058] (1) The original secondary battery pack in the battery pack;
[0059] (2) After the battery group has completed the role assignment, the battery packs that are subsequently added to the battery group, such as the master battery pack or slave battery pack that has been assigned a role and extracted from other management systems, as well as the battery pack that has not been assigned a role.
[0060] It should be noted that the battery pack is a whole formed by combining the battery cells in series and in parallel and then combining them with the control board. The control board inside the battery pack in the embodiment of the present invention has both the management function of the battery management system (BMS) (such as monitoring the state parameters of the battery pack itself and providing independent over-current, over-voltage and over-temperature protection), and the parallel management function, which can manage the collaborative work of multiple battery packs, such as Figure 2 In other words, any battery pack in the battery pack may be defined as the main battery pack. Once a battery pack is determined to be the main control role (i.e., the main battery pack), it not only has an independent BMS to monitor its own status, but also can manage and coordinate the work of all battery packs in the entire battery pack.
[0061] Each battery pack has three functions: master role, slave role and unconfigured role. When the role assignment mode is triggered (such as pressing and holding the button of any battery pack for 5 seconds to enter the role assignment mode), the preset role assignment strategy is used to determine the role type that each battery pack starts, that is, the battery packs in the battery pack are set to two identity roles (one master battery pack and multiple slave battery packs); and at the factory, each battery pack defaults to an unconfigured role.
[0062] like Figure 3As shown, the master battery pack in the embodiment of the present invention is equivalent to the commander of the battery pack communication management system and is unique in the entire system; while the slave battery packs are subject to the commander's arrangements, and each slave battery pack will be assigned a number, which is convenient for the commander to control the designated slave battery pack. On the one hand, the master battery pack (i.e., the main control module 20) can summarize the monitoring information of all battery packs in the battery pack (such as status parameters, request instructions and response instructions, etc.), coordinate and control the operation of each battery pack from a global perspective, including but not limited to: offline control, online control, sleep control and wake-up control of the slave battery pack; on the other hand, the master battery pack (i.e., the main control module 20) can also be responsible for the working interaction with external devices, which include: Electronic Control Unit (ECU), motor, instrument and smart charging gun.
[0063] See also Figure 4 , is a structural diagram of an embodiment of a role allocation module provided by the present invention.
[0064] In an optional embodiment, the role allocation module 10 includes:
[0065] The master-slave role configuration unit 101 is used to collect identification codes of all battery packs in the battery pack by specifying a battery pack when the role configuration mode is triggered, and to sort all the identification codes based on a preset sorting rule to obtain an ordered sequence; and to set the battery pack corresponding to the first identification code in the ordered sequence as the master battery pack, and the battery packs corresponding to the remaining identification codes as slave battery packs;
[0066] The master-slave identity transmission unit 102 is used to send the identification codes of all the slave battery packs to the master battery pack, and send the identification code of the master battery pack to each of the slave battery packs.
[0067] It should be noted that the battery pack identification code in the embodiment of the present invention can be further obtained through the unique identification code of the microcontroller unit (MCU) inside each battery pack, or the unique serial number (SN code) assigned to the battery pack when it leaves the factory. Figure 5 , which is a schematic diagram of an embodiment of the battery pack SN code provided by the present invention. Each battery pack is assigned a unique production serial number, such as an SN code (usually represented by "product number + production date + production sequence number") when it leaves the factory. By sorting the digital string of the "production date + production sequence number" part of the SN code value from large to small, the main battery pack, the slave 1 battery pack, the slave 2 battery pack, ..., the slave N battery pack can be determined, and finally assigned different role numbers.
[0068] However, since the SN code exists in a text format of a string, it is very inconvenient to transmit the SN code in a string format in communication, especially on a CAN-BUS communication bus, because it requires multiple data frames to be transmitted. The embodiment of the present invention converts the string part of "production date + production sequence number" in the SN code into a DWORD (32-bit) data type to facilitate transmission and processing in communication.
[0069] The following uses the SN code as an example to describe the process of generating the battery pack identification code (DWORD (32bit) format):
[0070] (1) Conversion of the production date to the preset standard number of days: Calculate the number of days from the production date in the SN code to the base date (e.g., January 1, 1970); then divide the calculated number of days by the maximum designed service life of the equipment (e.g., 25 years: 25*365=9125 days) and take the remainder to obtain the preset standard number of days.
[0071] (2) Conversion of production sequence number: The production sequence number represents the production sequence of each battery pack on that day. For example, if 99,999 battery packs can be produced in one day, the production sequence number is a value between 00001 and 99999.
[0072] (3) Combine the preset standard days and production sequence number into a 32-bit identification code:
[0073] The first method is to fix the bit field: for example, fill the preset standard days into the high-order area (bit31-bit18) of the identification code, and fill the production sequence number into the low-order area (bit17-bit0).
[0074] The second multiple method: For example, if the maximum value of the production sequence number is set to 99999, then multiply the preset standard number of days by a large multiple (i.e. 100000) and then add the production sequence number to generate a unique identification code; this is equivalent to the concatenation of "preset standard number of days" and "production sequence number" in the form of a digital string.
[0075] For example, the SN code of a battery pack is "P4815 2023013100001", and its production date is January 31, 2023, which is 19388 (0x4BBC) days different from January 1, 1970. After taking the remainder, the preset standard number of days is 19388%9125=1138 (0x0472) days; its production sequence number is 00001. If the first fixed bit field method is used, the number of days 1138 (0x0472) is filled into bit31-bit18, and the production sequence 00001 is filled into bit17-bit0, and the unique identification code of the battery pack is 0x11C80001; if the second multiple method is used, 1138*100000+1=113800001=0x06C87341 is the unique identification code of the battery pack.
[0076] See also Figure 6 , is a schematic diagram of an embodiment of the trigger role configuration mode provided by the present invention. In the battery pack communication management system, after the battery packs to be connected in parallel are installed in the battery pack (such as Figure 6 (a)), you can trigger the role configuration mode by pressing and holding the button of any battery pack in the battery pack for 5 seconds, such as Figure 6 (b) is shown. In the role configuration mode, all execution steps of the role allocation module 10 (including the master-slave role configuration unit 101 and the master-slave identity transmission unit 102) are executed by the designated battery pack (i.e., the battery pack whose button is pressed). When the master-slave role configuration unit 101 triggers the role configuration mode, the designated battery pack executes the following steps: first, the identification codes of all battery packs in the battery pack are summarized; then, all identification codes are sorted from large to small, and the master role, slave 1 role, slave 2 role, and finally slave N role are determined in the sorted order. In the master-slave identity transmission unit 102, the designated battery pack sends the assigned role and related information to the corresponding battery pack through internal communication, so that the master battery pack can save the identification codes and corresponding role numbers of all slave battery packs, and each slave battery pack can save the master battery pack identification code and its own role number after this assignment. After the designated battery pack exits the role allocation process, the main control module 20 (i.e., the master battery pack) will take over the management of the system in full.
[0077] See also Figure 7 , is a structural diagram of an embodiment of a main control module provided by the present invention.
[0078] In an optional embodiment, the main control module 20 includes:
[0079] The offline control unit 201 is used to mark the slave battery pack with interrupted communication as an offline slave battery pack when communication is interrupted between the master battery pack and any slave battery pack, and send information of the offline slave battery pack to an external device.
[0080] See also Figure 8 , is a structural diagram of an embodiment of a slave control module provided by the present invention.
[0081] As an improvement of the above solution, the slave control module 30 includes:
[0082] The offline response unit 301 is used to switch the corresponding online state to an offline state, turn off the corresponding charging and discharging function, and send an offline prompt message based on the slave battery pack with interrupted communication when communication is interrupted between any of the slave battery packs and the master battery pack.
[0083] It should be noted that, when communication is interrupted between the main battery pack and any slave battery pack in the battery group, on the one hand, the offline control unit 201 marks the slave battery pack with interrupted communication as an offline slave battery pack through the main battery pack, and sends the information of the offline slave battery pack to the external device; on the other hand, the offline response unit 301 stops its own charging and discharging work through the offline slave battery pack.
[0084] like Fig. 9 As shown, it is a schematic diagram of an embodiment of the offline detection and processing of the slave battery pack provided by the present invention, in which the master battery pack periodically sends polling instructions (such as instructions for obtaining status information) to the slave battery packs in the battery group. When any slave battery pack times out in responding to the polling instruction of the master battery pack, the offline control unit 201 regards the communication between the master battery pack and the slave battery pack whose response has timed out as interrupted, marks the slave battery pack whose communication has been interrupted as an offline slave battery pack through the master battery pack, and sends the information of the offline slave battery pack to the external device. Accordingly, when any slave battery pack times out in receiving the polling instruction of the master battery pack, the offline response unit 301 may regard the communication between the slave battery pack whose reception has timed out and the master battery pack as interrupted, set itself to an offline state through the slave battery pack whose reception has timed out, turn off the corresponding charging and discharging function, send an offline prompt message (prompting that the slave battery pack is currently offline), and further send a loss of connection notification to the external device.
[0085] In an optional embodiment, the main control module 20 includes:
[0086] The online control unit 202 is used to determine whether the offline slave battery pack applying for online status belongs to the slave battery pack controlled by the main battery pack when the main battery pack receives an online application from any offline slave battery pack; if so, send an online permission instruction to the offline slave battery pack applying for online status; otherwise, set the offline slave battery pack applying for online status as an unconfigured role.
[0087] As an improvement of the above solution, the slave control module 30 includes:
[0088] The online response unit 302 is used to determine whether the main battery pack sending the instruction is the main battery pack responded to by the offline slave battery pack when any offline slave battery pack receives the instruction sent by the master battery pack; if so, send an online application to the main battery pack sending the instruction; otherwise, based on the offline slave battery pack, reset the corresponding identity role to an unconfigured role, turn off the corresponding charging and discharging function, and issue an alarm prompt.
[0089] It should be noted that when any offline slave battery pack accesses the management system again, on the one hand, the online control unit 202 verifies its identity through the master battery pack (such as using a unique identification code). If the verification is successful, the slave battery pack is allowed to re-access the current management system to work; on the other hand, the online response unit 302 verifies whether the offline slave battery pack belongs to the current management system by itself. If the verification is successful, the offline slave battery pack responds to the online permission instruction and accesses the current management system to work.
[0090] like Fig.10 As shown, it is a schematic diagram of an embodiment of the online detection and processing of the slave battery pack provided by the present invention, in which the main battery pack periodically sends polling instructions to the remaining battery packs in the battery group. When any offline slave battery pack receives the polling instruction sent by the main battery pack, the online response unit 302 can determine whether the main battery pack identification code in the instruction is consistent with the main battery pack identification code stored in itself through the offline slave battery pack; if they are consistent, the offline slave battery pack sends an online application to the main battery pack that sends the polling instruction; if they are inconsistent, the offline slave battery pack resets itself to an unconfigured role battery pack, turns off the corresponding charging and discharging function, and issues an alarm prompt (such as an LED flashing alarm). Accordingly, when the main battery pack receives an online application from any offline slave battery pack, the online control unit 202 can determine through the main battery pack whether the identification code of the offline slave battery pack in the application is consistent with the identification code of a slave battery pack stored in itself; if they are consistent, the main battery pack sends an online permission instruction to the offline slave battery pack, so that the offline slave battery pack can respond and go online to perform normal operations; otherwise, the main battery pack sends a "set the slave battery pack to an unconfigured role" instruction to the offline slave battery pack.
[0091] In an optional embodiment, the main control module 20 includes:
[0092] A heartbeat information sending unit 203, configured for the main battery pack to periodically send the main control heartbeat information to the other battery packs;
[0093] A master control conflict detection unit 204, configured to determine whether a new master battery pack exists in the battery pack when the master battery pack receives the master control heartbeat information from the remaining battery packs;
[0094] The main control conflict processing unit 205 is used to shut down the charge and discharge functions of the original main battery pack in the battery pack when it is determined that there is a newly added main battery pack in the battery pack, and send the main control conflict alarm instruction to the remaining battery packs through the original main battery pack, so that the remaining battery packs all shut down the corresponding charge and discharge functions, and the newly added main battery pack sends an alarm prompt.
[0095] like Fig.11 As shown, it is a schematic diagram of an embodiment of the master control conflict detection and processing provided by the present invention. The battery pack communication management system in the embodiment of the present invention adopts a "one master and multiple slaves" management mode as a whole. When there are multiple master control battery packs in the battery pack, for example, in the process of replacing the battery pack, the master battery pack of other systems is artificially added to the current battery pack, causing the system to enter a conflict protection state and stop working. The heartbeat information sending unit 203 periodically sends the master control heartbeat information to the remaining battery packs in the battery pack through the master battery pack. When the master battery pack receives the master control heartbeat information from the remaining battery packs, the master control conflict detection unit 204 will determine that there is a newly added master battery pack in the battery pack, that is, there are multiple master battery packs in the battery pack. When the master control conflict processing unit 205 determines that there is a newly added master battery pack in the battery pack, it can judge whether the battery pack sending the master control heartbeat information in the battery pack is the original master battery pack or the newly added master battery pack by comparing the identification codes of all the slave battery packs in the battery pack saved by the master control and the identification codes of the master control saved by all the slave battery packs. Further, after confirming the original master battery pack, the master control conflict processing unit 205 preferentially turns off the charge and discharge function of the master battery pack and sends an alarm prompt (such as an LED flashing alarm); it also sends the master control conflict alarm instruction (i.e., "master battery pack conflict alarm") to the remaining battery packs (including the remaining slave battery packs and the newly added master battery pack) through the original master battery pack, so that the remaining battery packs all turn off the corresponding charge and discharge functions, and the LED light of the newly added master battery pack flashes to alarm. After removing the master battery pack that does not belong to the management system, or re-triggering the role allocation mode to eliminate the redundant master control role, the system will resume normal operation.
[0096] In an optional embodiment, the slave control module 30 includes:
[0097] The role abnormality checking unit 303 is used to set a corresponding main battery pack existence mark through any battery pack not configured with a role in the battery pack, and send an unconfigured alarm to the main battery pack when the battery pack not configured with a role receives an instruction sent by the main battery pack;
[0098] The role exception processing unit 304 is used to periodically check whether the corresponding main battery pack existence mark is reset through the battery pack of the unconfigured role; if the mark is reset, stop sending the unconfigured alarm to the main battery pack; otherwise, continue to send the unconfigured alarm.
[0099] It should be noted that if a battery pack with no role is connected to the system (battery pack), it will actively send relevant alarm notifications, so that the main battery pack will issue an alarm prompt (such as flashing LED lights) after detecting the alarm, and can also inform external devices through communication methods. Battery packs with no role configuration never participate in the charge and discharge control of the main control, and their own charge and discharge functions are stopped. In combination with the above embodiments, it can be seen that when the battery pack leaves the factory, it is in an unconfigured role state by default; alternatively, when a slave battery pack is installed in another management system, the slave battery pack will be reset to an unconfigured role state.
[0100] like Fig.12 As shown, it is a schematic diagram of an embodiment of the role abnormality detection and processing provided by the present invention, in which the main battery pack periodically sends polling instructions to the remaining battery packs in the battery pack. When any battery pack with an unconfigured role in the battery pack receives the polling instruction sent by the main battery pack, the role abnormality checking unit 303 sets the corresponding main battery pack existence mark and sends an unconfigured alarm (i.e., an unconfigured battery pack alarm) to the main battery pack, so that the main battery pack can notify the external device that there is an unconfigured battery pack in the current system. The role abnormality processing unit 304 periodically checks whether the corresponding main battery pack existence mark is reset through the unconfigured role battery pack; if the mark is reset, the unconfigured alarm is stopped from being sent to the main battery pack. For example, when the unconfigured role battery pack is physically disconnected from the management system (or battery pack), it does not receive the periodic polling command of the main control battery within the subsequent time (5 seconds), then the main battery pack existence mark is reset; otherwise, the unconfigured alarm continues to be sent.
[0101] In an optional embodiment, the main control module 20 includes:
[0102] The sleep unit 206 is used to determine whether the battery pack enters a full sleep mode when it is determined that the battery pack is in an idle state; if so, send a sleep notification instruction to all the slave battery packs and control the master battery pack to enter sleep mode; if not, designate a battery pack to start the discharge function and control the remaining battery packs except the designated discharge battery pack to enter sleep mode;
[0103] The awakening unit 207 is configured to send an awakening notification instruction to all the slave battery packs through the master battery pack when the master battery pack is awakened.
[0104] It should be noted that a single battery pack enters sleep mode when it is in a long-term idle state (no charging or discharging, external communication, key operation, no protection, etc.). When multiple battery packs are connected in parallel, there will be mutual charging current and internal communication between the battery packs, making it impossible for the original battery pack itself to determine whether to enter sleep mode.
[0105] like Fig.13 As shown, it is a schematic diagram of an embodiment of the battery pack provided by the present invention entering sleep mode. The sleep unit 206 checks whether the battery pack is in an idle state through the main battery pack, that is, determines whether the battery pack meets the sleep condition; wherein the sleep condition is that the total bus current is less than the preset current threshold, no battery pack is in a self-protection state, and there is no external communication interaction. If the main battery pack determines that the battery pack meets the above sleep conditions, it will further check whether the battery pack enters a full sleep mode; if so, the main battery pack notifies all slave battery packs to enter sleep mode through communication, and finally enters sleep mode itself; if not, the main battery pack first specifies a battery pack with normal discharge function (which can be a main battery or a slave battery pack), turns on the discharge function, and then controls the remaining battery packs except the designated battery pack with the discharge function turned on to enter sleep mode. If the slave battery pack fails to enter sleep mode, a pre-offline alarm is sent within the time before the offline timeout is reached, and the master control battery is awakened in time through communication, so the slave control module 30 also includes a sleep failure unit. The sleep failure unit is used to send a pre-offline alarm instruction to the main battery pack through the battery pack that fails to sleep when any slave battery pack fails to sleep, so that the main battery pack is awakened.
[0106] like Fig.14 As shown in FIG. 1 , it is a schematic diagram of an embodiment of the battery pack awakening provided by the present invention. When any battery pack in the management system is awakened, after the main battery pack is awakened by communication, the main battery pack takes over the awakening operation process to awaken the remaining battery packs. The awakening unit 207 can be started in one of the following two situations: one is to awaken the main battery pack through the awakening notification instruction of the slave battery pack (such as Fig.14 (a)), and secondly, the main battery pack is awakened by an external button or other operation (such as Fig.14(b)). In any of the above situations, after the master battery pack is awakened, it will send a wake-up notification instruction to all slave battery packs to restore the entire battery pack from the sleep state.
[0107] See also Fig.15 , is a flow chart of an embodiment of the battery pack communication management method provided by the present invention.
[0108] A second aspect of the present invention provides a battery pack communication management method, which is applied to the battery pack communication management system described in any embodiment of the first aspect. The system includes a role allocation module 10, a master control module 20 and a slave control module 30. The method includes steps S1 to S3, which are as follows:
[0109] Step S1: when the role configuration mode is triggered, the role allocation module 10 performs role allocation on all battery packs in the battery pack to determine a master battery pack and a plurality of slave battery packs;
[0110] Step S2: the main control module 20 obtains monitoring information of the battery pack through the main battery pack, and sends information instructions and control instructions to the remaining battery packs in the battery pack;
[0111] Step S3: the slave control module 30 receives the information instruction through the remaining battery packs, and responds to and executes the control instruction.
[0112] It should be noted that a battery pack communication management method provided in an embodiment of the present invention is used for the battery pack communication management system described in any embodiment of the first aspect above, and its working principle and beneficial effects correspond one to one, so they are not repeated here.
[0113] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A battery pack communication management system, It is characterized in that include: A role allocation module, a master control module and a slave control module; wherein the master control module is configured by the main battery pack in the battery pack; and the slave control module is configured by the remaining battery packs in the battery pack; The role allocation module is used to allocate roles to all battery packs in the battery pack when the role configuration mode is triggered, and determine a master battery pack and multiple slave battery packs; The main control module is used to obtain monitoring information of the battery pack through the main battery pack and send information instructions and control instructions to the remaining battery packs in the battery pack; The slave control module is used to receive the information instructions through the remaining battery packs, and respond to and execute the control instructions.
2. The battery pack communication management system according to claim 1, It is characterized in that The role allocation module includes: A master-slave role configuration unit, for collecting identification codes of all battery packs in the battery pack by specifying a battery pack when a role configuration mode is triggered, and sorting all the identification codes based on a preset sorting rule to obtain an ordered sequence; and setting the battery pack corresponding to the first identification code in the ordered sequence as the master battery pack, and setting the battery packs corresponding to the remaining identification codes as slave battery packs; The master-slave identity transmission unit is used to send the identification codes of all the slave battery packs to the master battery pack, and send the identification code of the master battery pack to each of the slave battery packs.
3. The battery pack communication management system according to claim 1, It is characterized in that The main control module comprises: The offline control unit is used to mark the slave battery pack with interrupted communication as an offline slave battery pack when communication is interrupted between the master battery pack and any of the slave battery packs, and send information of the offline slave battery pack to an external device.
4. The battery pack communication management system according to claim 1, It is characterized in that The main control module comprises: An online control unit is used to determine whether the offline slave battery pack applying for online status belongs to the slave battery pack controlled by the main battery pack when the main battery pack receives an online application from any offline slave battery pack; if so, send an online permission instruction to the offline slave battery pack applying for online status; otherwise, set the offline slave battery pack applying for online status to an unconfigured role.
5. The battery pack communication management system according to claim 1, It is characterized in that The slave control module comprises: The offline response unit is used to switch the corresponding online state to an offline state, turn off the corresponding charging and discharging function, and send an offline prompt message based on the slave battery pack with interrupted communication when communication is interrupted between any of the slave battery packs and the master battery pack.
6. The battery pack communication management system according to claim 1, It is characterized in that The slave control module comprises: The online response unit is used to determine whether the main battery pack sending the instruction is the main battery pack responded to by the offline slave battery pack when any offline slave battery pack receives the instruction sent by the main battery pack; if so, send an online application to the main battery pack sending the instruction; otherwise, based on the offline slave battery pack, reset the corresponding identity role to an unconfigured role, turn off the corresponding charging and discharging function, and issue an alarm prompt.
7. The battery pack communication management system according to claim 1, It is characterized in that The main control module comprises: A heartbeat information sending unit, used for the main battery pack to periodically send the main control heartbeat information to the remaining battery packs; a main control conflict detection unit, configured to determine whether a new main battery pack exists in the battery pack when the main battery pack receives the main control heartbeat information from the remaining battery packs; The main control conflict processing unit is used to shut down the charge and discharge functions of the original main battery pack in the battery pack when it is determined that there is a newly added main battery pack in the battery pack, and send the main control conflict alarm instruction to the remaining battery packs through the original main battery pack, so that the remaining battery packs all shut down the corresponding charge and discharge functions, and the newly added main battery pack sends an alarm prompt.
8. The battery pack communication management system as claimed in claim 1, It is characterized in that The slave control module comprises: a role abnormality checking unit, configured to, when any battery pack in the battery pack that is not configured with a role receives an instruction sent by the main battery pack, set a corresponding main battery pack existence mark through the battery pack that is not configured with a role, and send an unconfigured alarm to the main battery pack; The role exception processing unit is used to periodically check whether the corresponding main battery pack existence mark is reset through the battery pack of the unconfigured role; if the mark is reset, stop sending the unconfigured alarm to the main battery pack; otherwise, continue to send the unconfigured alarm.
9. The battery pack communication management system according to claim 1, It is characterized in that The main control module comprises: A sleep unit, configured to determine whether the battery pack enters a full sleep mode when it is determined that the battery pack is in an idle state; if so, send a sleep notification instruction to all the slave battery packs and control the master battery pack to enter sleep mode; if not, designate a battery pack to start a discharge function and control the remaining battery packs except the designated discharge battery pack to enter sleep mode; The awakening unit is used to send a wake-up notification instruction to all the slave battery packs through the master battery pack when the master battery pack is awakened.
10. A battery pack communication management method, It is characterized in that The battery pack communication management system according to any one of claims 1 to 9, wherein the system comprises a role allocation module, a master control module and a slave control module, and the method comprises: When the role configuration mode is triggered, the role allocation module performs role allocation on all battery packs in the battery pack to determine a master battery pack and multiple slave battery packs; The main control module obtains monitoring information of the battery pack through the main battery pack, and sends information instructions and control instructions to the remaining battery packs in the battery pack; The slave control module receives the information instruction through the remaining battery packs, and responds to and executes the control instruction.
