Battery management system upgrade method and electronic device

By laying out multiple buses in the battery management system, allowing the upper computer to access and send upgrade data packets at any interface, the problem of time-consuming, labor-intensive and low efficiency of upgrading the battery management system in the existing technology is solved, and an efficient and simplified upgrade process is achieved.

CN119271244BActive Publication Date: 2025-05-02SYL (NINGBO) BATTERY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411784870.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-05-02
Estimated Expiration
2044-12-06

AI Technical Summary

Technical Problem

The existing battery management system upgrade method is time-consuming and labor-intensive and prone to errors, especially in the case of large-scale upgrades of multiple devices, the upgrade efficiency is inefficient.

Method used

By laying the first bus and at least one second bus in the battery management system, the upper computer is allowed to access at any bus interface, generate an upgrade data packet and send it to the battery management unit to be upgraded through the target communication interface, and the system upgrade is realized.

Benefits of technology

The upgrade operation process is simplified, the upgrade efficiency is improved, the upgrade time is significantly reduced, and the error risk in traditional methods is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271244B_ABST
    Figure CN119271244B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a battery management system upgrade method and electronic device, which relate to the field of battery management technology. The battery management system includes a host computer and a battery management component, and the battery management component includes multiple battery management units. The battery management system upgrade method includes: the host computer generates an upgrade data packet according to the upgrade instruction, the host computer selects a target communication interface from multiple communication interfaces in the battery management component, and the host computer sends the upgrade data packet to the battery management unit to be upgraded through the target communication interface to upgrade the battery management system. Therefore, as long as any communication interface in the battery management system is found, the upgrade of any device in the battery management system can be completed, which improves the upgrade efficiency of the battery management system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery management technology, and in particular to a battery management system upgrade method and electronic equipment. Background Art

[0002] The architecture of the Battery Management System (BMS) is generally divided into three levels: battery array unit (BAU), battery cluster unit (BCU), and battery module unit (BMU). The BMU is responsible for collecting data related to battery voltage and temperature. The BCU is responsible for collecting data from multiple BMUs and implementing fault alarms and safety control. The BAU is responsible for collecting data from multiple BCUs, aggregating and processing data. The communication between the BAU and the BCU and between the BCU and the BMU is currently generally carried out using the CAN bus.

[0003] In the prior art, in order to upgrade the BMS, it is necessary to find the bus interfaces of the BAU, BCU, and BMU that need to be upgraded in the BMS, and connect the upper computer through the bus interfaces to upgrade each BAU, BCU, and BMU. However, this operation is not only time-consuming and labor-intensive, but also prone to errors. Especially in the case of large-scale upgrades of multiple devices, low upgrade efficiency has become a major bottleneck. Summary of the invention

[0004] In view of this, one or more embodiments of the present application provide a battery management system upgrade method and an electronic device to at least partially improve the above-mentioned problem.

[0005] In order to achieve the above objectives, the technical solutions adopted by one or more embodiments of the present application are as follows:

[0006] In a first aspect, one or more embodiments of the present application provide a battery management system upgrade method, which is applied to a battery management system, wherein the battery management system includes a host computer and a battery management component, wherein the battery management component includes multiple battery management units, and the method includes:

[0007] The host computer generates an upgrade data packet according to the upgrade instruction;

[0008] The host computer selects a target communication interface from among the plurality of communication interfaces in the battery management component;

[0009] The host computer sends the upgrade data packet to the battery management unit to be upgraded through the target communication interface to upgrade the battery management system.

[0010] Optionally, the multiple battery management units include a first management unit, at least one second management unit, and at least one third management unit, the battery management component also includes a first bus and at least one second bus, the communication interface of the first management unit is connected to the communication interface of each of the second management units through the first bus, the communication interface of each of the second management units is connected to the communication interface of each of the third management units through each of the second buses, and the host computer sends the upgrade data packet to the battery management unit to be upgraded through the target communication interface, including:

[0011] When the target communication interface is the communication interface connected to the first bus, the host computer sends the upgrade data packet to each of the third management units by double broadcasting;

[0012] When the target communication interface is the communication interface connected to the second bus, the host computer sends the upgrade data packet to the first management unit, each of the second management units, and each of the third management units.

[0013] Optionally, the upgrade instruction includes a battery management unit to be upgraded, and the host computer sends the upgrade data packet to the first management unit, each of the second management units, and each of the third management units, including:

[0014] A battery management unit to be upgraded is determined from the first management unit, each of the second management units, and each of the third management units based on the upgrade instruction, and the upgrade data packet is sent to the battery management unit to be upgraded.

[0015] Optionally, when the battery management unit to be upgraded is the first management unit, sending the upgrade data packet to the battery management unit to be upgraded includes:

[0016] The host computer sends the upgrade data packet to the second management unit connected to the target communication interface;

[0017] The second management unit determines whether the upgrade data packet needs to be forwarded;

[0018] If yes, the second management unit forwards the received upgrade data packet to the battery management unit to be upgraded.

[0019] Optionally, when the battery management unit to be upgraded is the second management unit, the upgrade instruction includes an upgrade mode, and the upgrade mode includes broadcast upgrade and stand-alone upgrade, and sending the upgrade data packet to the battery management unit to be upgraded includes:

[0020] When the upgrade mode is broadcast upgrade, the host computer sends the upgrade data packet to all the second management units;

[0021] When the upgrade mode is a stand-alone upgrade, the host computer determines, based on the battery management unit to be upgraded, whether the communication interface of the battery management unit to be upgraded is connected to the target communication interface through the same second bus;

[0022] If so, the host computer directly sends the upgrade data packet to the battery management unit to be upgraded;

[0023] If not, the host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission.

[0024] Optionally, the host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission, including:

[0025] The host computer sends the upgrade data packet to the access second management unit connected to the target communication interface;

[0026] The access second management unit receives the upgrade data packet and determines whether the upgrade data packet needs to be forwarded;

[0027] If so, the access second management unit forwards the upgrade data packet to the battery management unit to be upgraded;

[0028] The battery management unit to be upgraded processes the upgrade data packet and sends a response instruction to the access second management unit;

[0029] The second access management unit receives the response instruction and determines whether the response instruction needs to be forwarded;

[0030] If yes, the access second management unit sends the response instruction to the host computer;

[0031] The host computer upgrades the target second management unit according to the response instruction.

[0032] Optionally, when the battery management unit to be upgraded is the third management unit, the upgrade instruction includes an upgrade mode, and the upgrade mode includes broadcast upgrade and stand-alone upgrade, and sending the upgrade data packet to the battery management unit to be upgraded includes:

[0033] When the upgrade mode is broadcast upgrade, the host computer sends the upgrade data packet to all the third management units;

[0034] When the upgrade mode is a stand-alone upgrade, the host computer determines whether the communication interface of the battery management unit to be upgraded is connected to the target communication interface through the same second bus according to the battery management unit to be upgraded; if so, the host computer directly sends the upgrade data packet to the battery management unit to be upgraded;

[0035] If not, the host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission.

[0036] Optionally, sending the upgrade data packet to the battery management unit to be upgraded through data transparent transmission includes:

[0037] The host computer sends the upgrade data packet to the access second management unit connected to the target communication interface;

[0038] The access second management unit receives the upgrade data packet and determines whether the upgrade data packet needs to be forwarded;

[0039] If so, the access second management unit forwards the upgrade data packet to a target second management unit connected to the battery management unit to be upgraded;

[0040] The target second management unit determines whether the upgrade data packet needs to be forwarded;

[0041] If so, the target second management unit forwards the upgrade data packet to the battery management unit to be upgraded;

[0042] The battery management unit to be upgraded processes the upgrade data packet and sends a response instruction to the target second management unit;

[0043] The target second management unit receives the response instruction and determines whether the response instruction needs to be forwarded;

[0044] If yes, the target second management unit sends the response instruction to the access second management unit;

[0045] The second access management unit receives the response instruction and determines whether the response instruction needs to be forwarded;

[0046] If yes, the access second management unit sends the response instruction to the host computer;

[0047] The host computer upgrades the battery management unit to be upgraded according to the response instruction.

[0048] Optionally, the host computer sends the upgrade data packet to each of the third management units by dual broadcasting, including:

[0049] The host computer uses data transparent transmission to send a startup instruction for upgrading the third management unit to each of the third management units;

[0050] After receiving the start instruction, each of the third management units sends a response instruction to the host computer using data transparent transmission;

[0051] The host computer determines whether the number of received response instructions is consistent with the number configured in the start instruction within a preset time period;

[0052] If yes, the host computer starts the upgrade process;

[0053] If not, the host computer ends the upgrade process.

[0054] Optionally, the host computer uses data transparent transmission to send a startup instruction for upgrading the third management unit to each of the third management units, including:

[0055] The host computer sends a start instruction to each of the second management units;

[0056] Each of the second management units determines whether forwarding is required according to the start instruction;

[0057] If so, each of the second management units forwards the startup instruction to each of the third management units corresponding to itself.

[0058] Optionally, after receiving the start instruction, each of the third management units uses data transparent transmission to send a response instruction to the host computer, including:

[0059] Each of the third management units sends a response instruction to its corresponding second management unit;

[0060] Each of the second management units determines whether forwarding is required according to the response instruction received by itself;

[0061] If so, each of the second management units sends the response instruction received by itself to the host computer.

[0062] In a second aspect, one or more embodiments of the present application provide an electronic device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements any of the methods described above when executing the program.

[0063] One or more embodiments of the present application provide a battery management system upgrade method and electronic device. By laying out a first bus and at least one second bus in the battery management system, any bus interface in the battery management system can be connected to a host computer, so that the device in the battery management system can be upgraded, and the upgrade efficiency of the device can be improved by data transparent transmission.

[0064] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0066] Figure 1 A flowchart of a battery management system upgrade method provided in an embodiment of the present application;

[0067] Figure 2 A schematic structural block diagram of a battery management system provided in an embodiment of the present application;

[0068] Figure 3 A schematic diagram of a process of step S203 provided in an embodiment of the present application;

[0069] Figure 4 A schematic diagram of a host computer connected to a first bus provided in an embodiment of the present application;

[0070] Figure 5 A schematic diagram of a host computer connected to a second bus provided in an embodiment of the present application;

[0071] Figure 6 A schematic diagram of a process of step S210 provided in an embodiment of the present application;

[0072] Figure 7 A schematic diagram of a process for upgrading a BMU when a host computer is connected to a first bus provided in an embodiment of the present application;

[0073] Figure 8 A schematic diagram of a process of step S220 provided in an embodiment of the present application;

[0074] Fig. 9 A schematic diagram of a process for upgrading a BCU provided in an embodiment of the present application;

[0075] Fig.10 A schematic diagram of a process for upgrading a BMU provided in an embodiment of the present application;

[0076] Fig.11 A schematic structural block diagram of an electronic device provided in an embodiment of the present application.

[0077] Icon: 100 - electronic device; 101 - memory; 102 - communication interface; 103 - processor; 104 - bus. DETAILED DESCRIPTION

[0078] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0079] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0080] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0081] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.

[0082] In the prior art, there are two main types of upgrade solutions for BMS systems. The first type is to use a host computer to perform point-to-point upgrades on the equipment, that is, to upgrade each device one by one. This method is complex to operate and inefficient. For example, if you want to upgrade the BMU, you need to find the bus interface of the corresponding BMU in the system, connect and upgrade them one by one through the host computer. Similarly, to upgrade the BAU, you also need to find the bus interface of the BAU first and upgrade them one by one. The second type is to use a host computer to broadcast upgrades to unified devices. Although this method improves efficiency, it is still not the most ideal upgrade solution. For example, to upgrade all BMUs, you need to first find the bus interface of BCU-1, use the host computer to access the bus, upgrade all BMUs under BCU-1, and then find the bus interface of BCU-2, and upgrade all BMUs under BCU-2, and so on. These methods all have certain limitations in actual operation, especially in large-scale systems, the upgrade process is time-consuming and prone to errors.

[0083] Based on the above situation, one or more embodiments of the present application provide a battery management system upgrade method and electronic device, in which an upper computer generates an upgrade data packet according to an upgrade instruction, and the upper computer selects a target communication interface from multiple communication interfaces in the battery management component. The upper computer sends the upgrade data packet to the battery management unit to be upgraded through the target communication interface to upgrade the battery management system, thereby upgrading the equipment in the battery management system.

[0084] To implement the process steps and functions of each example in this application, please refer to Fig.11 , Fig.11 A schematic structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 includes a memory 101 and a processor 103, and the memory 101 and the processor 103 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses 104 or signal lines. The memory 101 can be used to store software programs and modules, and the processor 103 executes the software programs and modules stored in the memory 101 to perform various functional applications and data processing.

[0085] The electronic device 100 may be, but is not limited to, a personal computer (PC), a server, a distributed computer, etc. It is understandable that the electronic device 100 is not limited to a physical server, but may also be a virtual machine on a physical server, a virtual machine built on a cloud platform, etc., which can provide the same functions as the server or virtual machine. The operating system of the electronic device 100 may be, but is not limited to, a Windows system, a Linux system, etc.

[0086] Among them, the memory 101 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.

[0087] The communication connection between the electronic device 100 and an external device is achieved through at least one communication interface 102 (which can be wired or wireless).

[0088] The processor 103 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of one or more embodiments of the present application can be completed by the hardware integrated logic circuit in the processor 103 or the instructions in the form of software. The processor 103 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0089] Understandably, Fig.11 The structure shown is for illustration only. The electronic device 100 may also include Fig.11 More or fewer components as shown, or with Fig.11 Different configurations are shown. Fig.11 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0090] The following is an exemplary description of one or more battery management system upgrade methods provided in the present application. Specifically, the method is applied to a battery management system, the battery management system includes a host computer and a battery management component, and the battery management component includes multiple battery management units. Figure 1 A flowchart of a battery management system upgrade method provided in an embodiment of the present application is shown in FIG. Figure 1, the method includes the following steps: Figure 1 The following steps are shown:

[0091] S201: The host computer generates an upgrade data packet according to the upgrade instruction.

[0092] The host computer can be a control center or a main control computer, which is responsible for issuing instructions and receiving data. The upgrade instruction can be an instruction received or preset by the host computer, such as an instruction written by an engineer, indicating that the battery management system needs to be upgraded. According to the upgrade instruction, the host computer will generate a data packet that can contain the new software version. This data packet may contain new firmware, configuration files or other necessary software components for updating the battery management system.

[0093] S202: The host computer selects a target communication interface from multiple communication interfaces in the battery management component.

[0094] There are multiple communication interfaces in the battery management component. The host computer needs to be connected to a target communication interface so as to send the upgrade data packet through the target communication interface.

[0095] S203: The host computer sends the upgrade data packet to the battery management unit to be upgraded through the target communication interface to upgrade the battery management system.

[0096] The battery management unit to be upgraded is a specific management unit of the battery management system that needs to receive an upgrade data packet, and may be specified in an upgrade instruction.

[0097] The method comprises the following steps: a host computer generates an upgrade data packet according to an upgrade instruction, selects a target communication interface, and sends the upgrade data packet to the battery management unit to be upgraded through the target communication interface to upgrade the battery management system. Thus, each battery management unit can be upgraded at any communication interface of the battery management system, thereby improving the upgrade efficiency.

[0098] In one possible implementation, the multiple battery management units include a first management unit, at least one second management unit, and at least one third management unit. The battery management component also includes a first bus and at least one second bus. The communication interface of the first management unit is connected to the communication interface of each second management unit through the first bus, and the communication interface of each second management unit is connected to the communication interface of each third management unit through each second bus. Figure 2 A schematic structural block diagram of a battery management system provided in an embodiment of the present application is shown in FIG. Figure 2 In this embodiment, the first management unit is BAU, the second management unit is BCU, and the third management unit is BMU. Figure 3 A flow chart of step S203 provided in the embodiment of the present application is shown in FIG. Figure 3 , the method includes the following steps: Figure 3 The following steps are shown:

[0099] S210: When the target communication interface is the communication interface connected to the first bus, the host computer sends the upgrade data packet to each third management unit by double broadcasting.

[0100] See also Figure 4 When the host computer is connected to the communication interface connected to the first bus, such as the communication interface of BCU-1 on the first bus, the host computer sends data to the BMU through double broadcast, that is, the host computer broadcasts the data to each BCU, and each BCU broadcasts the data to each BMU.

[0101] S220: When the target communication interface is the communication interface connected to the second bus, the host computer sends the upgrade data packet to the first management unit, each second management unit, and each third management unit.

[0102] Lieutenant General Figure 5 When the host computer is connected to the communication interface connected to the second bus, such as the communication interface of BCU-1 on the second bus, the host computer sends the data to the BAU, BCU, and BMU that need to be upgraded through data transparent transmission.

[0103] By setting up a first bus and at least one second bus, the host computer can access the communication interface at any position of the BMS, and can upgrade the devices in the BMS, and the data can be transparently transmitted. Each device does not need to be separately connected to the host computer, so each device can be upgraded, which improves the upgrade efficiency of the BMS.

[0104] In one possible implementation, in order to ensure that the number of upgraded BMUs is correct, some verification can be performed on the BMU upgrade. Figure 6 , the above step S210 may include the following steps:

[0105] S211: The host computer uses data transparent transmission to send a startup instruction for upgrading the third management unit to each third management unit.

[0106] The host computer may send a startup instruction to each third management unit through the second management unit. Specifically, step S211 may include the following steps:

[0107] S2111: The host computer sends a startup instruction to each second management unit.

[0108] See also Figure 4 , the host computer first sends a start command to each BCU.

[0109] S2112: Each second management unit determines whether forwarding is required according to the start instruction. If yes, step S2113 is executed; if no, the second management unit stops forwarding data.

[0110] The method for determining whether forwarding is required may be to determine based on the protocol in the startup instruction. For example, the protocol is as shown in Table 1:

[0111] Table 1

[0112]

[0113] In step 1, the data of P / R / DP and PF remain unchanged, PS is used as the BCU target address, SA is used as the BMU target address, and the data content remains unchanged; in this step, SA is changed to the BMU target address, mainly to accurately locate the position of the BMU, and secondly to reduce the changes to the BCU; if the BMU is upgraded by broadcast, SA is filled with 0xFF.

[0114] In step 2, the data of P / R / DP and PF remain unchanged, PS is used as the BMU target address, SA is used as the BCU source address, and the data content remains unchanged.

[0115] The BCU identifies the SA bit (source address), and the data sent from the host computer to the BCU is 0xF4, and the data forwarded to the BMU is 0xB0-0xCF. This method can be used to determine whether forwarding is required. This method can be used to determine whether forwarding is required in one or more embodiments of the present application.

[0116] S2113: Each second management unit forwards the startup instruction to each corresponding third management unit.

[0117] When the BCU recognizes that forwarding is required, it forwards the startup instruction to each BMU corresponding to it.

[0118] S212: After receiving the start instruction, each third management unit uses data transparent transmission to send a response instruction to the upper computer.

[0119] Optionally, the BMU may send a response instruction to the host computer in the manner of step S211, and step S212 may include the following steps:

[0120] S2121: Each of the third management units sends a response instruction to its corresponding second management unit.

[0121] S2122: Each of the second management units determines whether forwarding is required based on the response instruction received by itself. If yes, step S2123 is executed; if no, no forwarding is performed.

[0122] S2123: Each of the second management units sends the response instruction received by itself to the host computer.

[0123] S213: The host computer determines whether the number of response instructions received is consistent with the number configured in the start instruction within a preset time; if so, execute step S214, if not, execute step S215.

[0124] The number configured in the startup command is the number of BMUs that need to be upgraded.

[0125] S214: The host computer starts the upgrade process.

[0126] S215: The host computer ends the upgrade process.

[0127] For further instructions on upgrading the BMU when the host computer is connected to the first bus, see Figure 4 , Figure 7 Since the host computer is connected to the communication interface of the first bus, the host computer can directly send a startup instruction to each BCU. After receiving the startup instruction, each BCU first determines whether it needs to be forwarded. If forwarding is required, each BCU forwards the startup instruction to the BMU of the same second bus according to the second bus connected to itself. After receiving the startup instruction, each BMU sends a response instruction to the BCU of the same second bus. After receiving the response instruction, each BCU determines whether it needs to be forwarded. If forwarding is required, each BCU forwards the response instruction to the host computer. The host computer waits for receiving the response instruction within a preset time. If the number of responses received within the preset time is consistent with the configured number in the startup instruction, the upgrade process is started. If a response consistent with the configured number in the startup instruction is not received within the preset time, the upgrade process is terminated.

[0128] Compared with the traditional upgrade method, this upgrade method can save a lot of time required for the upgrade. For example, the BMS system is configured as follows: 1 BAU is connected to 10 BCUs, and 1 BCU is connected to 10 BMUs. The total number of devices in the BMS system is 1 BAU, 10 BCUs, and 100 BMUs.

[0129] It takes 30 seconds to upgrade a BMU. The traditional point-to-point method takes 30 seconds*100=3000 seconds=50 minutes. The traditional broadcast upgrade method takes 30*10=300 seconds=5 minutes. The transparent broadcast upgrade method takes only 30 seconds to upgrade all BMUs.

[0130] In a possible implementation, the upgrade instruction includes a battery management unit to be upgraded, and the above step S220 may include the following steps:

[0131] S221: Determine a battery management unit to be upgraded from the first management unit, each second management unit, and each third management unit based on the upgrade instruction, and send an upgrade data packet to the battery management unit to be upgraded.

[0132] See also Figure 8 ,The host computer obtains what management unit to upgrade based on the upgrade ,instructions, and thus implements different upgrade strategies.

[0133] When the battery management unit to be upgraded is the first management unit, that is, upgrading the BAU, step S221 may include:

[0134] S2211: The host computer sends the upgrade data packet to the second management unit connected to the target communication interface.

[0135] S2212: The second management unit determines whether the upgrade data packet needs to be forwarded; if so, execute step S2213; if not, stop forwarding.

[0136] S2213: The second management unit forwards the received upgrade data packet to the battery management unit to be upgraded.

[0137] When the battery management unit to be upgraded is BAU, refer to Figure 5 Since the host computer is connected to the communication interface connected to the second bus, when upgrading the BAU, the upgrade instruction needs to be forwarded to the BAU through the BCU, and the BAU is upgraded according to the upgrade instruction. This method allows the host computer to upgrade the BAU when it is connected to the second bus.

[0138] When the battery management unit to be upgraded is the second management unit, that is, upgrading the BCU, the upgrade instruction includes an upgrade method, and the upgrade method includes broadcast upgrade and stand-alone upgrade. Step S221 may include:

[0139] S2211`: When the upgrade mode is broadcast upgrade, the host computer sends the upgrade data packet to all second management units.

[0140] S2212`: When the upgrade mode is a stand-alone upgrade, the host computer determines whether the communication interface of the battery management unit to be upgraded is connected to the target communication interface through the same second bus according to the battery management unit to be upgraded. If yes, execute step S2213`; if not, execute step S2214`.

[0141] S2213`: The host computer directly sends the upgrade data packet to the battery management unit to be upgraded.

[0142] S2214`: The host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission.

[0143] First, determine whether it is a broadcast upgrade or a stand-alone upgrade based on the upgrade instruction. If it is a broadcast upgrade, each BCU is upgraded through broadcast transparent transmission. If it is a stand-alone upgrade, first determine whether the communication interface of the battery management unit to be upgraded (i.e., the target BCU) is connected to the target communication interface through the same second bus. If so, the upgrade data packet is directly sent to the target BCU for upgrade. If the target BCU is not connected to the target communication interface through the same second bus, the upgrade data packet is sent to the target BCU for upgrade through transparent transmission.

[0144] When the upgrade data packet is sent to the target BCU for upgrade by transparent transmission, step S2214 may include the following steps:

[0145] S22141`: The host computer sends the upgrade data packet to the access second management unit connected to the target communication interface.

[0146] The target communication interface is connected to the access second management unit, and the BCU corresponding to the second bus connected to the target communication interface is the access BCU. Figure 5 In the example, the connected BCU is BCU-1.

[0147] S22142`: Access the second management unit to receive the upgrade data packet, and determine whether the upgrade data packet needs to be forwarded. If yes, execute step S22143`; if no, end the transparent transmission.

[0148] S22143`: Access the second management unit to forward the upgrade data packet to the battery management unit to be upgraded.

[0149] like Figure 5 In the example, if BCU-n needs to be upgraded, BCU-n is the target BCU, that is, the battery management unit to be upgraded.

[0150] S22144`: The battery management unit to be upgraded processes the upgrade instruction and sends a response instruction to the connected second management unit.

[0151] S22145': Access the second management unit to receive the response instruction, and determine whether the response instruction needs to be forwarded. If yes, execute step S22146'; if no, end the transparent transmission.

[0152] S22146`: Access the second management unit to send a response instruction to the host computer.

[0153] S22147`: The host computer upgrades the target second management unit according to the response instruction.

[0154] See also Fig. 9 and Figure 5 ,like Figure 5In the example, the access second management unit connected to the target communication interface is BCU-1, and BCU-1 is the access BCU. The host computer sends the access BCU to the access BCU, and the access BCU determines whether forwarding is required based on the upgrade data packet. If forwarding is not required, the process ends. If forwarding is required, the access BCU forwards the upgrade data packet to the target BCU. The target BCU receives the upgrade data packet and issues a response instruction. The access BCU receives the response instruction and determines whether forwarding is required. If forwarding is not required, the process ends. If forwarding is required, the response instruction is forwarded to the host computer, and the host computer upgrades the target BCU according to the response instruction. This method can first complete the normal communication between the host computer and the target BCU through the upgrade instruction and the response instruction, and then the host computer upgrades the target BCU.

[0155] Similarly, if the BCU is broadcast upgraded, the same transparent transmission method as above is used for upgrading, but the difference is that the upgrade data packet will be forwarded to each BCU, so that each BCU is upgraded.

[0156] When the battery management unit to be upgraded is the third management unit, that is, upgrading the BCU, the upgrade instruction includes an upgrade method, and the upgrade method includes broadcast upgrade and stand-alone upgrade. Step S221 may include:

[0157] S2211``: When the upgrade mode is broadcast upgrade, the host computer sends the upgrade data packet to all third management units.

[0158] S2212``: When the upgrade mode is a stand-alone upgrade, the host computer determines whether the communication interface of the battery management unit to be upgraded is connected to the target communication interface through the same second bus according to the battery management unit to be upgraded. If so, execute step S2213``; if not, execute step S2214``.

[0159] S2213``: The host computer directly sends the upgrade data packet to the battery management unit to be upgraded.

[0160] S2214``: The host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission.

[0161] First, determine whether it is a broadcast upgrade or a stand-alone upgrade according to the upgrade instruction. If it is a broadcast upgrade, upgrade each BMU through broadcast transparent transmission. If it is a stand-alone upgrade, first determine whether the communication interface of the battery management unit to be upgraded (i.e., the target BMU) is connected to the target communication interface through the same second bus. If so, directly send the upgrade data packet to the target BMU for upgrading. If the target BMU is not connected to the target communication interface through the same second bus, send the upgrade data packet to the target BMU through transparent transmission for upgrading. When sending the upgrade data packet to the target BMU for upgrading through transparent transmission, step S2214 may include the following steps:

[0162] S22141``: The host computer sends the upgrade data packet to the access second management unit connected to the target communication interface.

[0163] Similar to step S22141, Figure 5 In the example, the connected BCU is BCU-1.

[0164] S22142``: Access the second management unit to receive the upgrade data packet, and determine whether the upgrade data packet needs to be forwarded. If yes, execute step S22143``; if no, end the transparent transmission.

[0165] S22143``: The access second management unit forwards the upgrade data packet to the target second management unit connected to the battery management unit to be upgraded.

[0166] like Figure 5 As shown, if the target BMU is BMU-1 corresponding to BCU-n, then BCU-n is the target BCU.

[0167] S22144``: The target second management unit determines whether the upgrade data packet needs to be forwarded. If so, execute step S22145``; if not, end the transparent transmission.

[0168] S22145``: The target second management unit forwards the upgrade data packet to the battery management unit to be upgraded.

[0169] As in the example of step S22143``, BMU-1 corresponding to BCU-n is the target BMU.

[0170] S22146``: The battery management unit to be upgraded processes the upgrade instruction and sends a response instruction to the target second management unit.

[0171] S22147``: The target second management unit receives the response instruction and determines whether the response instruction needs to be forwarded. If so, execute step S22148``; if not, end the transparent transmission.

[0172] S22148``: The target second management unit sends a response instruction to the access second management unit.

[0173] S22149``: Access the second management unit to receive the response instruction, and determine whether the response instruction needs to be forwarded. If so, execute step S221410``; if not, end the transparent transmission.

[0174] S221410``: Access the second management unit to send the response command to the host computer.

[0175] S221411``: The host computer upgrades the battery management unit to be upgraded according to the response instruction.

[0176] See also Fig.10 and Figure 5 ,like Figure 5 In the example, the access second management unit connected to the target communication interface is BCU-1, and BCU-1 is the access BCU. The host computer sends the upgrade data packet to the access BCU, and the access BCU determines whether the upgrade data packet needs to be forwarded. If not, the process ends. If forwarding is required, the access BCU forwards the upgrade data packet to the target BCU, and the target BCU determines whether the upgrade data packet needs to be forwarded. If not, the process ends. If forwarding is required, the target BCU forwards the upgrade data packet to the target BMU, and the target BMU receives the upgrade data packet and sends a response instruction to the target BCU. After the target BCU receives the response instruction, the target BCU determines whether the response instruction needs to be forwarded. If not, the process ends. If forwarding is required, the target BCU forwards the response instruction to the access BCU, and the access BCU determines whether the response instruction needs to be forwarded. If not, the process ends. If forwarding is required, the access BCU sends the response instruction to the host computer, and the host computer upgrades the target BMU after receiving the response instruction. This method can first complete the normal communication between the host computer and the target BMU through the upgrade command and the response command, and then the host computer upgrades the target BMU.

[0177] Similarly, if the BMU is broadcast upgraded, the same transparent transmission method as above is used for upgrading, but the difference is that the upgrade data packet will be forwarded to each BMU, and each BMU will issue a response command, thereby upgrading each BMU.

[0178] In summary, one or more embodiments of the present application provide a battery management system upgrade method and electronic device. By laying out a first bus and at least one second bus in the battery management system, any bus communication interface in the battery management system can be connected to the host computer, and the equipment in the battery management system can be upgraded. It can be accessed through any communication interface, and only any communication interface in the system needs to be found to complete the upgrade of any device in the system, which greatly simplifies the operation process and improves work efficiency. The upgrade efficiency of the equipment in the system can also be significantly improved through the technical means of data transparent transmission and dual broadcast communication.

[0179] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0180] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0181] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a computer-readable storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0182] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

[0183] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present application. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A battery management system upgrade method, characterized in that: Applied to a battery management system, the battery management system includes a host computer and a battery management component, the battery management component includes multiple battery management units, the multiple battery management units include a first management unit, at least one second management unit, and at least one third management unit, the battery management component also includes a first bus and at least one second bus, the communication interface of the first management unit is connected to the communication interface of each of the second management units through the first bus, and the communication interface of each of the second management units is connected to the communication interface of each of the third management units through each of the second buses, and the method includes: The host computer generates an upgrade data packet according to the upgrade instruction; The host computer selects a target communication interface from among the plurality of communication interfaces in the battery management component; When the target communication interface is the communication interface connected to the first bus, the host computer sends the upgrade data packet to each of the third management units by double broadcasting, including: the host computer uses data transparent transmission to issue a startup instruction for upgrading the third management unit to each of the third management units; after receiving the startup instruction, each of the third management units uses data transparent transmission to send a response instruction to the host computer; the host computer determines whether the number of response instructions received is consistent with the configuration number in the startup instruction within a preset time period; if so, the host computer starts the upgrade process; if not, the host computer ends the upgrade process; When the target communication interface is the communication interface connected to the second bus, the upgrade instruction includes an upgrade mode, and the upgrade mode includes broadcast upgrade and stand-alone upgrade. Based on the upgrade instruction, a battery management unit to be upgraded is determined from the first management unit, each of the second management units, and each of the third management units, and the upgrade data packet is sent to the battery management unit to be upgraded, including: When the battery management unit to be upgraded is the first management unit, the host computer sends the upgrade data packet to the second management unit connected to the target communication interface; the second management unit determines whether the upgrade data packet needs to be forwarded; if so, the second management unit forwards the received upgrade data packet to the battery management unit to be upgraded; When the battery management unit to be upgraded is the second management unit, in the case where the upgrade mode is broadcast upgrade, the host computer sends the upgrade data packet to all the second management units; in the case where the upgrade mode is single-machine upgrade, the host computer determines whether the communication interface of the battery management unit to be upgraded is connected with the target communication interface through the same second bus according to the battery management unit to be upgraded; if so, the host computer directly sends the upgrade data packet to the battery management unit to be upgraded; if not, the host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission; When the battery management unit to be upgraded is the third management unit, when the upgrade method is broadcast upgrade, the host computer sends the upgrade data packet to all the third management units; when the upgrade method is single-machine upgrade, the host computer determines whether the communication interface of the battery management unit to be upgraded is connected to the target communication interface through the same second bus based on the battery management unit to be upgraded; if so, the host computer directly sends the upgrade data packet to the battery management unit to be upgraded; if not, the host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission.

2. The method according to claim 1, characterized in that The host computer sends the upgrade data packet to the battery management unit to be upgraded through data transparent transmission, including: The host computer sends the upgrade data packet to the access second management unit connected to the target communication interface; The access second management unit receives the upgrade data packet and determines whether the upgrade data packet needs to be forwarded; If so, the access second management unit forwards the upgrade data packet to the battery management unit to be upgraded; The battery management unit to be upgraded processes the upgrade data packet and sends a response instruction to the access second management unit; The second access management unit receives the response instruction and determines whether the response instruction needs to be forwarded; If yes, the access second management unit sends the response instruction to the host computer; The host computer upgrades the target second management unit according to the response instruction.

3. The method according to claim 1, characterized in that: The step of sending the upgrade data packet to the battery management unit to be upgraded by transparent data transmission includes: The host computer sends the upgrade data packet to the access second management unit connected to the target communication interface; The access second management unit receives the upgrade data packet and determines whether the upgrade data packet needs to be forwarded; If so, the access second management unit forwards the upgrade data packet to a target second management unit connected to the battery management unit to be upgraded; The target second management unit determines whether the upgrade data packet needs to be forwarded; If so, the target second management unit forwards the upgrade data packet to the battery management unit to be upgraded; The battery management unit to be upgraded processes the upgrade data packet and sends a response instruction to the target second management unit; The target second management unit receives the response instruction and determines whether the response instruction needs to be forwarded; If yes, the target second management unit sends the response instruction to the access second management unit; The second access management unit receives the response instruction and determines whether the response instruction needs to be forwarded; If yes, the access second management unit sends the response instruction to the host computer; The host computer upgrades the battery management unit to be upgraded according to the response instruction.

4. The method according to claim 1, characterized in that: The host computer uses data transparent transmission to send a startup instruction for upgrading the third management unit to each of the third management units, including: The host computer sends a start instruction to each of the second management units; Each of the second management units determines whether forwarding is required according to the start instruction; If so, each of the second management units forwards the startup instruction to each of the third management units corresponding to itself.

5. The method according to claim 1, characterized in that After receiving the start instruction, each of the third management units uses data transparent transmission to send a response instruction to the host computer, including: Each of the third management units sends a response instruction to its corresponding second management unit; Each of the second management units determines whether forwarding is required according to the response instruction received by itself; If so, each of the second management units sends the response instruction received by itself to the host computer.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Local maintenance method and local maintenance system of battery management system for electric energy storage

    CN115602943A