A battery management system information updating method and device

By cooperating with the host computer through a multi-channel switch module, the power supply and communication of the battery management system devices are controlled one by one, which solves the problems of low information update efficiency and errors in the existing technology and realizes efficient and accurate information update.

CN116315168BActive Publication Date: 2026-05-01SUZHOU QINGTAO NEW ENERGY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU QINGTAO NEW ENERGY TECH CO LTD
Filing Date
2023-02-01
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing battery management systems suffer from inefficient and error-prone information updates, leading to inaccurate device address modifications and software updates, which impacts production efficiency and system stability.

Method used

A multi-channel switch module is used in conjunction with a host computer to control the power supply of each external device through bus communication, establish communication connections one by one and send update information to ensure that only one device is updated at a time.

Benefits of technology

This improves the efficiency of information updates, avoids the problem of incorrect updates to multiple devices, and ensures the accuracy of information updates and the stability of the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116315168B_ABST
    Figure CN116315168B_ABST
Patent Text Reader

Abstract

The application provides a battery management system information updating method and device. The method comprises the following steps: connecting all external devices requiring information updating to a multi-channel switch module and a first communication channel; for each current external device requiring information updating, performing the following steps: A. controlling the multi-channel switch module to turn on the channel switch between the power supply end of the current external device and an external power supply; B. establishing a communication connection with the current external device by means of the first communication channel through the current identity ID of the current external device, and sending the updating information corresponding to the current external device to the current external device, so that the current external device updates the information.
Need to check novelty before this filing date? Find Prior Art

Description

A method and apparatus for updating information in a battery management system Technical Field

[0001] This invention relates to a method and apparatus for updating information in a battery management system. Background Technology

[0002] In recent years, the energy storage market has been developing rapidly, and the core technology for both small and large-scale energy storage is the Battery Management System (BMS). Depending on the number of battery packs used in the energy storage, a corresponding number of BMS control boards are required. Generally, the larger the capacity, the more BMS control boards are needed. Each BMS control board has a different device address, and during the initial design and later optimization processes, situations often arise where device addresses need to be modified or software updated to refresh information.

[0003] In practical applications, an energy storage cabinet consists of multiple battery boxes, and sometimes one battery box corresponds to one BMS slave controller, as shown in Figure 1. Before leaving the factory, the BMS slave controller of each battery box is programmed with a unified original ID (i.e., the initial ID, which is the same for each battery box). After assembly, the system manufacturer programs the corresponding actual ID according to the installation location. For example, in Figure 1, the left side from top to bottom can be numbered 1, 2, 3, 4, 5, and the right side from bottom to top can be numbered 6, 7, 8, 9, 10. The ID corresponding to the location can be one-to-one with the above numbers or completely identical to the above numbers.

[0004] The specific programming process of the system manufacturer is as follows: Using programming software, connect to the slave interface of one of the battery boxes via, for example, a USB-to-CAN module (see Figure 2). First, set the initial ID on the host computer to establish a connection with the battery box via the CAN bus. Then, manually confirm which battery box's slave port the connection is connected to. Next, determine the actual ID corresponding to the battery box based on its number, and update this actual ID into the connected battery box BMS slave controller. After the operation is complete, attempt to re-establish the connection with the battery box BMS slave controller using the actual ID. If the connection is successful, it indicates that the ID update of the battery box BMS slave controller was successful, thus completing the programming of the battery box BMS slave controller. Repeat the above steps to complete the ID update work for the other battery box slave controllers.

[0005] The above ID update method is highly inefficient and error-prone. For example, it might update the same actual ID to two or more BMS slave controllers. This is because although the above method checks the success of the ID update, it only applies to the BMS slave controller whose ID is being updated. As long as the BMS slave controller's ID is successfully updated with the actual ID, it can reconnect successfully through that actual ID, thus directly concluding that the ID update was successful. Therefore, this check process does not verify the accuracy of the updated actual ID, but only detects whether the update process failed. This leads to ID anomalies during subsequent system-level testing, but it's impossible to identify which BMS slave controllers updated to the same actual ID. Each controller needs to be individually wired for testing and confirmation. Furthermore, updating the wrong ID causes another problem: because the specific content of the updated actual ID of a certain BMS slave controller is unknown, the host computer cannot establish a connection with that BMS slave controller through the ID. In this case, all possible actual IDs need to be entered and tried one by one until the correct actual ID is found, allowing for a successful connection. This creates unnecessary trouble for production.

[0006] Furthermore, the aforementioned ID update error can lead to another derivative problem: In production, if the BMS slave software needs to be updated, a connection must be established using the actual ID after the ID update process is complete, and then the software can be updated. If the actual ID of the BMS slave is updated incorrectly, a connection cannot be established using the correct actual ID, causing the software update to fail and resulting in a missed software update. During system testing, this unsuccessful software update may go undetected, potentially causing hidden dangers during subsequent use. Summary of the Invention

[0007] To address the problems of existing technologies, this invention provides a method and apparatus for updating information in a battery management system, which can solve the problems of low information updating efficiency and susceptibility to errors in existing technologies.

[0008] To address the aforementioned technical problems, this invention provides a method for updating information in a battery management system, comprising:

[0009] Connect all external devices that need to update information to the multi-channel switch module and the first communication channel;

[0010] For each external device that needs to update its information, perform the following steps:

[0011] A. Control the multi-channel switch module to connect the channel switch between the current external device power supply terminal and the external power source;

[0012] B. Establish a communication connection with the current external device through the current identity ID of the current external device and send the update information corresponding to the current external device to the current external device so that the current external device updates the information.

[0013] In a preferred embodiment, the control of the multi-channel switch module in step A is specifically achieved by sending a channel switch control message to the multi-channel switch module.

[0014] In a preferred embodiment, sending the channel switch control message to the multi-channel switch module includes:

[0015] A communication connection is established with the multi-channel switch module through the second communication channel, and a channel switch message is sent to the multi-channel switch module. The channel switch control message contains information indicating that the channel switch between the current external device power supply terminal and the external power supply is turned on.

[0016] In a preferred embodiment, the multi-channel switch module includes a channel control submodule and multiple channel switches. The two ends of the circuit of each channel switch are respectively connected to the power supply terminal and the external power source of an external device that needs to update information. Step A, in which the multi-channel switch module connects the channel switch between the power supply terminal and the external power source of the current external device, includes: after receiving the channel switch message, the channel control submodule parses it and connects the channel switch connected to the current external device according to the parsing result.

[0017] In a preferred embodiment, the first communication channel and the second communication channel are the same bus communication channel.

[0018] In a preferred embodiment, the method further includes: after step A, receiving channel switch status information returned by the multi-channel switch module, and after confirming that the channel switch between the current external device power supply terminal and the external power supply has been successfully connected based on the channel switch status information, continuing to execute step B.

[0019] In a preferred embodiment, the method further includes: after step B, confirming whether the current external device has successfully updated its information.

[0020] In a preferred embodiment, confirming whether the current external device has successfully updated information includes: receiving an information update result message returned by the current external device through a first communication channel, and confirming whether the current external device has successfully updated information based on the information update result message.

[0021] In a preferred embodiment, confirming whether the current external device has successfully updated its information includes: attempting to establish a connection with the current external device using the updated information; if the connection is successful, then confirming that the current external device has successfully updated its information.

[0022] In a preferred embodiment, the updated information includes the actual ID of the current external device.

[0023] In a preferred embodiment, the current identity ID of the current external device in step B specifically includes the original unified ID of the current external device.

[0024] In a preferred embodiment, the updated information includes: updated software.

[0025] In another aspect, the present invention provides a battery management system information updating device, comprising:

[0026] Host computer and multi-channel switch module;

[0027] The multi-channel switch module connects all external devices that need to update information to the external power supply.

[0028] The host computer is used to control the multi-channel switch module, connect the channel switch between the power supply terminal of the current external device and the external power supply, establish a communication connection with the current external device through the current identity ID of the current external device via the first communication channel, and send the update information corresponding to the current external device to the current external device so that the current external device updates its information.

[0029] In a preferred embodiment, the multi-channel switch module includes a channel control submodule and multiple channel switches, with each channel switch having its circuit terminals connected to the power supply terminal of a corresponding external device that needs to update information and an external power source, respectively.

[0030] This invention, through the cooperation of a host computer and a multi-channel switch module, connects only one external device to the external power supply in each cycle, ensuring that only one external device is powered on. This means that subsequent information updates to external devices will only be effective for the powered-on device, avoiding the updating of incorrect information to multiple or incorrect external devices. Furthermore, the entire process eliminates the need for manual plugging and unplugging of cables and switching between devices to update information, resulting in very high execution efficiency. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1 is a structural block diagram of an energy storage cabinet in the prior art;

[0033] Figure 2 is a schematic diagram of the information update process for BMS slave controller in the prior art;

[0034] Figure 3 is a system architecture diagram of the information update method provided in the embodiment of the present invention.

[0035] Figure 4 is a flowchart illustrating the information update method provided in an embodiment of the present invention;

[0036] Figure 5 is a system architecture diagram of applying the solution of the embodiment of the present invention to multiple BMS slave controllers for information updating;

[0037] Figure 6 is a schematic diagram of the communication protocol between the host computer and the multi-channel switch module based on the CAN bus in an embodiment of the present invention. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0039] Figure 3 shows the system architecture diagram of the battery management system information update method provided in this embodiment of the invention. As shown in Figure 3, the host computer 101 is connected to the multi-channel switch module 102, which is connected to the power supply terminals of the external power supply 201 and all external devices 301 that need to update information. The host computer 101 and the multi-channel switch module 102 establish communication through the second communication channel T2, and the host computer 101 and the external devices 301 establish communication through the first communication channel T1.

[0040] Figure 4 shows a flowchart of the battery management system information update method provided in an embodiment of the present invention. Referring to Figures 3 and 4, the method includes the following steps:

[0041] Step S401: Connect all external devices 301 that need to update information to the multi-channel switch module 102 and the first communication channel T1.

[0042] As shown in Figure 3, assuming there are N external devices 301 that need to update their information, they can be numbered 301a-301n respectively.

[0043] Step S402: For each external device that needs to update its information, perform the following steps:

[0044] Step S4021: Determine a current external device 301i from all external devices 301 that need to update information.

[0045] Here, step S402 uses a loop to sequentially perform the operations within the loop body on each external device that needs to update information. The external device operated on in each loop is called the current external device.

[0046] Step S4022: Control the multi-channel switch module 102 to connect the channel switch between the power supply terminal of the current external device 301i and the external power supply 201.

[0047] In this embodiment of the invention, only one external device's power supply terminal is connected to the external power supply 201 in each cycle, ensuring that only one external device is powered on. This means that subsequent information updates to the external device will only be effective for the powered-on device, avoiding the updating of incorrect information to multiple or incorrect external devices. Therefore, in each cycle, step S4022 switches the connection between the power supply terminal of the current external device 301i and the external power supply 201 to supply power to that external device 301i.

[0048] In step S4022, the control of the multi-channel switch module can be achieved by sending a channel switch control message to the multi-channel switch module 102. Specifically, the channel switch control message can be sent from the host computer 101 to the multi-channel switch module 102 via the second communication channel T2. The channel switch control message contains information indicating that the channel switch between the current external device power supply terminal 301i and the external power supply 201 is activated.

[0049] Step S4023: Establish a connection with the current external device 301i through the current identity ID of the current external device 301i via the first communication channel T1, and send the update information corresponding to the current external device 301i to the current external device 301i so that the current external device 301i updates the information.

[0050] After powering on the current external device 301i in step S4022, information can be updated on the powered-on external device 301i in step S4023. Specifically, the information to be updated is sent to the current external device 301i via the first communication channel T1.

[0051] In practice, the first communication channel T1 and the second communication channel T2 mentioned above can both be bus communication channels, or even the same bus communication channel.

[0052] This invention also provides a battery management system information update device, including: a host computer and a multi-channel switch module; the multi-channel switch module connects all external devices that need to update information to an external power supply; the host computer controls the multi-channel switch module to turn on the channel switch between the power supply terminal of the current external device and the external power supply, and establishes a communication connection with the current external device through the current identity ID of the current external device via a first communication channel, and sends the update information corresponding to the current external device to the current external device so that the current external device updates its information.

[0053] The following section uses the BMS slave controller as an example of an external device whose information is to be updated to illustrate the detailed implementation of the embodiments of the present invention.

[0054] Figure 5 shows the system architecture diagram for updating information of multiple BMS slave controllers. As shown in Figure 5, information updates need to be performed on 10 BMS slave controllers. The updated content can be the actual ID of each BMS slave controller, or the software or software configuration information that needs to be updated for each BMS.

[0055] The power supply terminals (PWRs) of 10 BMS slave controllers are connected to the multi-channel switch module 102 via control ports. The multi-channel switch module 102 includes a channel control submodule 1021 and multiple channel switches 1022. The two ends of the circuit of each channel switch 1022 are connected to the power supply terminal of a corresponding external device (in this embodiment, the BMS slave controller) that needs information updates, and an external power supply 201. The connection between each channel switch 1022 and the power supply terminal of the BMS slave controller 301 is specifically achieved through the output interface on the control port 1023, which simultaneously connects the BMS slave controller 301 and the channel switch 1022. For example, in this case, all channel switches 1022 are sequentially numbered Q1-Q10. Furthermore, the first to tenth BMS slave controllers are connected to the external power supply 201 respectively. Specifically, switch Q1 connects the external power supply 201 and the output interface P1 on the control port 1023. Output interface P1 is connected to another BMS slave controller, and so on, ... Switch Q10 connects the external power supply 201 and the output interface P10 on the control port 1023, and output interface P10 is connected to the tenth BMS slave controller.

[0056] The on / off state of each channel switch 1022 can be controlled by its control terminal. For example, in the example shown in Figure 5, channel switches Q1-Q10 all use PMOS transistors, with the gate of the PMOS transistor serving as the control terminal. The channel control submodule 1021 can connect to the gate of each channel switch through different interfaces, thereby controlling the state of different interfaces and directly controlling the operating state of each channel switch. In Figure 5, the channel control submodule 1021 connects to the gates of channel switches Q1-Q10 through interfaces C1-C10. The channel control submodule 1021 can control whether each interface in C1-C10 is high or low, thus controlling whether the gate of each channel switch Q1-Q10 is high or low.

[0057] The channel control submodule 1021 can specifically be a PLC (Programmable Logic Controller). Therefore, the channel control submodule 1021 can have the functions of communication, sending and receiving messages, parsing messages, and executing corresponding control processes.

[0058] The host computer 101 communicates with the multi-channel switch module 102 via a bus, and also communicates with the 10 BMS slave controllers via a bus. In this example, both buses are the same. To achieve bus connectivity, as shown in Figure 5, the multi-channel switch module 102 provides a CAN (Controller Area Network) bus interface (CANH and CANL) to the host computer. The host computer connects to the CAN bus interface provided by the multi-channel switch module 102 via a conversion module 1011 (specifically, a USB-to-CAN bus module). Furthermore, the multi-channel switch module 102 also provides a CAN bus port on its control port 1023, which is used to connect the BMS slave controllers 1-10 that require information updates. Additionally, the pins (CANH and CANL) on the channel control submodule 1021 used for bus communication are connected to the aforementioned CAN bus port. Thus, on the CAN bus, the host computer 101 can communicate with both the channel control submodule 1021 and the BMS slave controllers.

[0059] The following details how the system shown in Figure 5 updates information to the BMS slave controller.

[0060] First, the host computer 101 can send a multi-channel switch module status confirmation command to the multi-channel switch module 102 via the CAN bus. The content of the multi-channel switch module status confirmation command can consist of one byte. This command can be sent via a standard CAN bus message; specifically, one byte of space in the standard CAN bus message can be defined for storing the multi-channel switch module status confirmation command. This communication protocol is agreed upon between the multi-channel switch module 102 and the host computer 101. The host computer 101 can place the multi-channel switch module status confirmation command at a specified byte position in the CAN bus message. The multi-channel switch module 102, upon receiving the message, can accurately locate and extract the byte position of the multi-channel switch module status confirmation command, and then parse it. In a specific example, the content of this one-byte multi-channel switch module status confirmation command can be 0x55, and the byte position storing this command can be the first byte of the message data segment.

[0061] After the multi-channel switch module 102 parses and detects that the received message contains a multi-channel switch module status confirmation command, it determines whether it has been powered on and initialized. If so, it sends a feedback message to the host computer 101 confirming that the multi-channel switch module 102 has completed initialization. This feedback message can also be transmitted via the CAN bus. In the communication protocol definition, the byte position where the feedback message is stored can be different from the byte position of the confirmation command mentioned above. Of course, considering that the multi-channel switch module status confirmation command is sent from the host computer 101 to the multi-channel switch module 102, while the feedback message is sent from the multi-channel switch module 102 to the host computer 101, in order to further improve the space utilization of the message, the byte positions occupied by the two can be reused, for example, both can be in the first byte of the data segment. The content of the confirmation message message that the multi-channel switch module 102 sends to the host computer 101 confirming that initialization is OK can be 0xAA.

[0062] After receiving the initialization OA feedback information from the multi-channel switch module 102, the host computer 101 sequentially sends switch control commands to each BMS slave controller whose information needs to be updated and updates the information accordingly. The specific process is as follows:

[0063] The host computer 101 can first attempt to update the first BMS slave controller. To do this, the host computer 101 can send a channel switch control command to the multi-channel switch module 102 to connect channel switch Q1 between the power supply terminal of the first BMS slave controller and the external power supply 201, while closing the other channel switches Q2-Q10. This channel switch control command can be sent via CAN bus messages. In the communication protocol, multiple bits can be used to represent the control command for each channel switch. For example, a bit value of 1 indicates that the corresponding channel switch is turned on (closed), while a bit value of 0 indicates that the corresponding channel switch is turned off. In the communication protocol, sufficient bits can be reserved according to the number of channel switches included in the multi-channel switch module 102, so that control commands controlling the status of all channel switches can be written into the message. In actual message communication protocols, the internal storage space of a message may be divided in units of bytes (8 bits). Therefore, it is still necessary to define space in multiples of bytes to store the control instructions for the channel switches. However, each bit within each byte corresponds to a different control instruction for the channel switch. In other words, the entire message space is divided and aligned in units of bytes. Taking Figure 5 as an example, the multi-channel switch module 102 contains 10 channel switches Q1-Q10. Therefore, at least 10 bits are needed to store the channel switch control instructions. The smallest integer byte that can accommodate 10 bits is two bytes (containing 16 bits). The first 10 bits of these two bytes can be defined to correspond to the switch control instructions for Q1-Q10 respectively. For example, the first bit of the two bytes represents the switch control instruction for switch Q1, and so on, with the 10th bit representing the switch control instruction for switch Q10. The 11th to 16th bits of the two bytes can be temporarily reserved for later allocation when the number of channel switches is increased.

[0064] After receiving the message containing channel switch control instructions via the CAN bus channel, the multi-channel switch module 102 parses the message content, reads the control instructions for each channel switch, and turns on the corresponding channel switch based on the control instructions, while turning off the other channel switches. Specifically, the multi-channel switch module 102 sets the high and low levels of each interface in control interfaces C1-C10 according to the control state of each channel switch indicated in the control instructions, thereby controlling the high and low levels of the control terminals (i.e., gates) of channel switches Q1-Q10, and thus controlling each switch in channel switches Q1-Q10 to turn on or off.

[0065] Here, we first explain the information update for the first BMS slave controller. For this purpose, the channel switch control command instructs channel switch Q1 to be turned on while other channel switches Q2-Q10 are turned off. As a result, the multi-channel switch module 102 connects the output interface P1 in the control port to the power supply through channel switch Q1. In this way, only BMS slave controller 1 connected to the output interface P1 is successfully powered on, while the other BMS slave controllers 2-10 are not powered on, and the subsequent information update operation will have no effect on them.

[0066] To ensure the success rate and stability of subsequent information update operations by the host computer, the previous control of the channel switches can be confirmed before proceeding with the update steps. Therefore, after the multi-channel switch module 102 activates the corresponding channel switch according to the channel switch control command, it can also send channel switch status information containing the current status of each channel switch to the host computer 101. The host computer 101 then uses this channel switch status information to confirm whether the channel switch between the external device power supply and the external power source has been successfully activated. For example, in this case, the multi-channel switch module 102 previously activated channel switch Q1 connecting the BMS slave controller 1 and the external power source 201, while deactivating other channel switches. Therefore, the multi-channel switch module 102 sends channel switch status information, indicating that channel switch Q1 is activated while other channel switches are deactivated, to the host computer 101.

[0067] The channel switch status information can be transmitted via messages. In the communication protocol, the messages from the multi-channel switch module 102 to the host computer 101 can be defined in a format similar to the channel switch control instructions described earlier. For example, multiple bits can be used to represent the status information of each channel switch. A bit value of 1 indicates that the corresponding channel switch is on, and a bit value of 0 indicates that the corresponding channel switch is off. The internal storage space of the message may be divided in bytes (occupying 8 bits). Taking Figure 5 as an example, the multi-channel switch module 102 contains 10 channel switches Q1-Q10, which requires at least 10 bits to store the status information of the channel switches. The smallest integer byte that can hold 10 bits is two bytes (containing 16 bits). The first 10 bits of the two bytes can be defined to correspond to the status information of the channel switches Q1-Q10 respectively. For example, the first bit of the whole consisting of these two bytes represents the status information of switch Q1, and so on, with the 10th bit representing the status information of switch Q10. The 11th to 16th bits in the two-byte unit can be temporarily reserved for later definition and allocation when the number of channel switches is increased.

[0068] After receiving a message containing channel switch status information, the host computer 101 extracts and parses the message based on the communication protocol. It determines that channel switch Q1 is turned on, while other channel switches Q2-Q10 are turned off. If so, it confirms that it can continue to update the information of BMS slave controller 1 when channel switch Q1 is turned on.

[0069] Figure 6 shows an example of the communication protocol definition between the host computer 101 and the multi-channel switch module 102 based on the CAN bus. Bits 0-15 refer to the expanded content of the two bytes consisting of Byte1 and Byte2.

[0070] The host computer 101 then establishes a communication connection with BMS slave 1 via the CAN bus channel using the slave's current identity identifier (ID), and sends update information to BMS slave 1. In practice, BMS slaves are written with a unified original ID before leaving the factory. This means that most BMS slaves have the same original ID written before leaving the factory. The system manufacturer can define and update the actual ID according to the installation and usage requirements of each BMS slave. When the update process in this example is applied to updating a BMS slave with its actual ID, the host computer can communicate with it using its original ID and send the actual ID to the slave. The actual ID of the BMS slave is used to uniquely identify the slave within a certain range; for example, the actual IDs of all BMS slaves in an energy storage cabinet cannot be duplicated. During bus communication, the message often carries the destination ID, which the receiver uses to identify whether the message was sent to it. When a BMS slave controller has not yet been updated with its actual ID, it still stores the initial, original ID. Therefore, the host computer 101 needs to send a message using the original ID, carrying the actual ID that needs to be updated. In this embodiment, the multi-channel switch module 102 powers on only one BMS slave controller per cycle. Therefore, although multiple BMS slave controllers may still be using the same original ID, only the powered-on BMS slave controller using the original ID can receive the message. When the host computer 101 sends the message, it is indeed sending the message to the powered-on BMS slave controller, thus preventing the incorrect actual ID from being sent to the wrong BMS slave controller and avoiding problems such as updating the same actual ID to two or more BMS slave controllers.

[0071] In this example, assume that the only powered-on BMS slave controller 1 has received a message from the host computer 101. The message carries the actual ID that the host computer 101 wants BMS slave controller 1 to update. For example, based on the serial number of BMS slave controller 1, its actual ID can be defined as "1" or "001," which corresponds to or is identical to its serial number. After parsing the actual ID from the message, BMS slave controller 1 replaces its original ID with the actual ID. After the update is complete, BMS slave controller 1 will use this actual ID when communicating via the CAN bus. To improve the stability of the update process, the host computer 101 can confirm whether the information has been updated successfully. This confirmation process can be initiated after all BMS slave controllers' information has been updated, starting a new loop, sequentially connecting each BMS slave controller to power, and verifying the information update of each powered-on BMS slave controller after each connection. Another alternative implementation is to simultaneously perform a confirmation operation on the successful information update after the information update operation is completed on the currently powered-on BMS slave controller. For example, in this case, after the currently powered-on BMS slave controller 1 receives the update information message and updates its original ID to the actual ID, the host computer 101 can immediately use the actual ID assigned to BMS slave controller 1 to attempt to establish a connection with BMS slave controller 1. If the connection is successful, it means that BMS slave controller 1 has successfully updated using the actual ID.

[0072] The host computer 101 can use the aforementioned active confirmation method to confirm the information update result of the BMS slave controller. In an alternative implementation, the BMS slave controller can also actively report the information update result. For example, after successfully updating the actual ID, BMS slave controller 1 can use the CAN bus channel to return an information update result message to the host computer 101. This message carries the information update result, such as whether the actual ID update was successful or failed. The host computer 101 confirms whether BMS slave controller 1 has successfully updated the information based on this information update result message.

[0073] After the host computer 101 completes the information update for BMS slave controller 1, it attempts to update the information for the second BMS slave controller. Similarly, the host computer 101 sends a control command to the multi-channel switch module 102 to connect channel switch Q2 between the power supply terminal of the second BMS slave controller and the external power supply 201, while closing the other channel switches Q1 and Q3-Q10. The multi-channel switch module 102 connects channel switch Q2 according to the control command, powering on BMS slave controller 2 while de-energizing the other BMS slave controllers. After confirming that BMS slave controller 2 has successfully powered on, the host computer 101 sends update information to BMS slave controller 2. For example, it can use the original ID of BMS slave controller 2 to send the actual ID assigned to that BMS slave controller. Upon receiving this update information, BMS slave controller 2 replaces its original ID with the received actual ID, using it as its new ID. After confirming that BMS slave controller 2 has completed the information update, the host computer 101 continues to attempt to update the information of the third BMS slave controller, and so on, until all 10 BMS slave controllers have completed the information update.

[0074] The above information update process is described using updating the actual ID as an example. In practice, the software update of the BMS slave controller by the host computer 101 is usually also subject to the above process. The main difference is that the update information sent by the host computer 101 to the BMS slave controller is the software that needs to be updated.

[0075] This invention, through the cooperation of a host computer and a multi-channel switch module, connects only one external device to the external power supply in each cycle, ensuring that only one external device is powered on. This means that subsequent information updates to external devices will only be effective for the powered-on device, avoiding the updating of incorrect information to multiple or incorrect external devices. Furthermore, the entire process eliminates the need for manual plugging and unplugging of cables and switching between devices to update information, resulting in very high execution efficiency.

[0076] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0077] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for updating information in a battery management system, characterized in that, include: Connect all external devices that need to update information to the multi-channel switch module and the first communication channel; For each external device that needs to update information, perform the following steps: A. Control the multi-channel switch module to connect the channel switch between the power supply terminal of the current external device and the external power supply; B. Establish a communication connection with the current external device through the current identity ID of the current external device and send the update information corresponding to the current external device to the current external device so that the current external device updates the information.

2. The battery management system information update method as described in claim 1, characterized in that, In step A, the control of the multi-channel switch module is specifically achieved by sending channel switch control messages to the multi-channel switch module.

3. The battery management system information update method as described in claim 2, characterized in that, Sending a channel switch control message to the multi-channel switch module includes: establishing a communication connection with the multi-channel switch module through a second communication channel, and sending a channel switch message to the multi-channel switch module. The channel switch control message contains information indicating that the channel switch between the current external device power supply terminal and the external power supply is turned on.

4. The battery management system information update method as described in claim 3, characterized in that, The multi-channel switch module includes a channel control submodule and multiple channel switches. The two ends of the circuit of each channel switch are respectively connected to the power supply terminal and the external power source of an external device that needs to update information. Step A, in which the multi-channel switch module connects the channel switch between the power supply terminal and the external power source of the current external device, includes: after receiving the channel switch message, the channel control submodule parses it and connects the channel switch connected to the current external device according to the parsing result.

5. The battery management system information update method according to claim 3, characterized in that, The first communication channel and the second communication channel are the same bus communication channel.

6. The battery management system information update method as described in claim 1, characterized in that, The method further includes: after step A, receiving channel switch status information returned by the multi-channel switch module, and after confirming that the channel switch between the current external device power supply terminal and the external power supply has been successfully connected based on the channel switch status information, continuing to execute step B.

7. The battery management system information update method as described in claim 1, characterized in that, The method further includes: after step B, confirming whether the current external device has successfully updated its information.

8. The battery management system information update method as described in claim 7, characterized in that, The step of confirming whether the current external device has successfully updated information includes: receiving an information update result message returned by the current external device through a first communication channel, and confirming whether the current external device has successfully updated information based on the information update result message.

9. The battery management system information update method as described in claim 7, characterized in that, The process of confirming whether the current external device has successfully updated its information includes: attempting to establish a connection with the current external device using the updated information; if the connection is successful, then confirming that the current external device has successfully updated its information.

10. The battery management system information update method according to any one of claims 1 to 9, characterized in that, The updated information includes the actual ID of the current external device.

11. The battery management system information update method as described in claim 10, characterized in that, The current identity ID of the current external device in step B specifically includes the original unified ID of the current external device.

12. The battery management system information update method according to any one of claims 1 to 9, characterized in that, The updated information includes: software updates.

13. A battery management system information update device, characterized in that, include: A host computer and a multi-channel switch module; the multi-channel switch module connects all external devices that need to update information to an external power supply. The host computer is used to control the multi-channel switch module, connect the channel switch between the power supply terminal of the current external device and the external power supply, establish a communication connection with the current external device through the current identity ID of the current external device via the first communication channel, and send the update information corresponding to the current external device to the current external device so that the current external device updates its information.

14. The battery management system information update device as described in claim 13, characterized in that, The multi-channel switch module includes a channel control submodule and multiple channel switches. The two ends of the circuit of each channel switch are respectively connected to the power supply terminal of the corresponding external device that needs to update information and the external power supply.

Citation Information

Patent Citations

  • Burning apparatus and method for control chip

    CN101470410A

  • Battery management system and battery system using the same

    CN107147153A