Battery management system and method for simultaneously realizing battery management and OTA updating
By integrating dual Bluetooth modules in the battery management system, dual-channel communication with remote terminals and battery packs is achieved, the problem of system interruption during remote updates in the existing technology is solved, and the efficiency of OTA updates and the sustainability of battery management is achieved.
Patent Information
- Application Number
- CN202411949859.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-25
AI Technical Summary
The existing battery management system must stop the vehicle and interrupt battery management when it is updated remotely, affecting system continuity and potential risks.
Design a battery management system, using dual Bluetooth modules to realize dual-channel communication and management, establish connections with remote terminals and battery packs through the MCU module, and realize OTA updates while continuously monitoring and managing batteries.
It realizes efficient OTA updates when the vehicle is running, avoids system interruptions, ensures the continuity of battery management and the reliability of the update process, and reduces potential safety risks.
Smart Images

Figure CN119893497A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management system (BMS), in particular to the field of remote wireless upgrade (OTA, Over the Air). Background Art
[0002] The existing wireless battery management system can realize communication between the battery pack and the mobile device through Bluetooth technology, realize real-time data access and management, fault diagnosis and maintenance, and play an important role in automation. However, the existing technology must stop the operation of the vehicle and interrupt the battery management system's management of the battery pack when performing remote updates, and resume the battery management system's management of the battery after the update is completed. The existing technology solution not only affects the continuity of the system, but may also lead to potential risks due to untimely battery management. Summary of the invention
[0003] In order to overcome the above technical defects, the object of the present invention is to provide a battery management system and a method for simultaneously realizing battery management and OTA update, which can realize dual-channel communication and management.
[0004] The present invention discloses a battery management system, comprising: an MCU module, a first communication module, a second communication module and a battery pack;
[0005] The MCU module is connected to a first communication module and a second communication module respectively, the first communication module communicates wirelessly with a remote terminal; the second communication module communicates wirelessly with the battery pack;
[0006] The battery pack is used to send the health data of the battery pack to the MCU module through the second communication module;
[0007] The MCU module is used to receive and download the OTA update file sent by the remote terminal through the first communication module.
[0008] Furthermore, the battery pack includes a third communication module; the first communication module wirelessly communicates with a remote terminal; and the second communication module wirelessly communicates with a third communication module.
[0009] Optionally, the first communication module, the second communication module, and the third communication module may be one of low-power Bluetooth, classic Bluetooth, dual-mode Bluetooth, Wi-Fi, Zigbee, or other communication protocol chips.
[0010] Furthermore, it also includes an external Flash, the MCU module uploads the software running status and software and hardware information to the external Flash, and the external Flash is used to receive and store the files transmitted by the MCU module.
[0011] Furthermore, the MCU module is connected to the external Flash, the first communication module and the second communication module respectively through SPI, I2C and UART protocols.
[0012] Furthermore, the software and hardware information includes one or more of software version number, hardware version number, external Flash usage status and software update history data.
[0013] Furthermore, the health data of the battery pack includes one or more of voltage, current, temperature, internal resistance, number of charging times, charging cycles and historical fault data.
[0014] Furthermore, the second communication module and the third communication module form a master-slave structure, the second communication module is a master, and the third communication module is a slave.
[0015] The present invention also discloses a method for simultaneously realizing battery management and OTA remote update, which is applied to the above-mentioned battery management system, comprising:
[0016] The MCU module establishes a connection with the battery pack, obtains the health data of the battery pack, and continuously monitors and manages the battery;
[0017] When the vehicle is running, the remote terminal establishes a wireless connection with the first communication module, and the MCU module uploads the software running status and software and hardware information to the remote terminal through the first communication module;
[0018] The remote terminal processes the software running status and software and hardware information to determine whether the vehicle needs to be updated remotely;
[0019] If the vehicle needs to be updated remotely, the remote terminal will send the target file to the MCU module;
[0020] The MCU module synchronously updates the received target file to the external Flash for storage;
[0021] When the vehicle is idle, the MCU module actively obtains the update file from the external Flash to update the software of the vehicle.
[0022] Furthermore, the MCU module establishes a wireless communication connection with the third communication module in the battery pack through the second communication module; the remote terminal is a terminal that can support the low-power Bluetooth protocol stack. In the wireless communication interaction, the host is the second communication module and the remote terminal, and the slave is the first communication module and the third communication module.
[0023] The present invention provides a method for integrating dual Bluetooth modules to realize remote update of BMS, integrating two low-power communication modules in BMS to realize dual-channel communication and management. The first communication module interacts with the remote terminal to download and store OTA update files; the second communication module interacts with the third communication module in the battery pack to monitor and manage the battery status in real time. While ensuring continuous battery management, the method can efficiently complete OTA updates, avoid system interruptions, and improve the reliability of the update process and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is the structural block diagram of the battery management system;
[0025] Figure 2 The working communication block diagram of the battery management system;
[0026] Figure 3 The figure is a flowchart of a remote update method for a battery management system.
[0027] Figure numerals: MCU module-11, first communication module-12, second communication module-13, external Flash-14, third communication module-21; battery pack-2; remote terminal-3. DETAILED DESCRIPTION
[0028] The advantages of the present invention are further described below in conjunction with the accompanying drawings and specific embodiments.
[0029] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0030] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0031] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0032] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.
[0033] In the following description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module" and "component" can be used interchangeably.
[0034] like Figure 1 A specific embodiment of the battery management system of the present invention shown includes: an MCU module 11, a first communication module 12, a second communication module 13 and a battery pack 2.
[0035] The MCU module 11 is integrated in the vehicle, and can interact with the first communication module 12 and the second communication module 13 through the SPI protocol, and can interact with the external Flash 14 through the SPI protocol. The second communication module 13 interacts with the battery pack 2 wirelessly; the first communication module 12 and the remote terminal 3 interact wirelessly.
[0036] The MCU module 11 monitors and manages the battery pack 2 through the second communication module 13, analyzes and monitors the battery status, so as to maintain the normal operation of the vehicle. The MCU module 11 interacts with the remote terminal 3 through the first communication module 12. The interaction between the MCU module 11 and the remote terminal 3 includes uploading the software running status and software and hardware information of the vehicle end and receiving the update file issued by the remote terminal 3, wherein the software and hardware information includes one or more of the software version number, hardware version number, external Flash 14 usage status and software update history data, and receiving instructions from the remote terminal 3.
[0037] The battery pack 2 includes a third communication module 21, and the second communication module 13 communicates wirelessly with the third communication module 21. The battery pack 2 collects the health data of the battery pack, and uploads the health data of the battery pack to the MCU module 11 through the second communication module 13 and the third communication module 21 for wireless communication. The health data of the battery pack includes data such as voltage, current, temperature, internal resistance, number of charges, charging cycle, and historical faults.
[0038] The remote terminal 3 is a terminal that can support the low-power Bluetooth protocol stack. It communicates with the MCU module 11 through the first communication module 12, obtains the software running status and software and hardware information, determines the software update requirements, retrieves the update file from the remote software library, and sends the update file to the MCU module 11 through wireless communication interaction with the first communication module 12 according to the diagnostic protocol. Optionally, the remote terminal 3 is a debugging device for various mobile terminals and charging piles, offline sites or after-sales personnel, and the present invention does not make specific restrictions.
[0039] Furthermore, the MCU module 11 is connected to the first communication module 12 via SPI1, and the MCU module 11 is connected to the second communication module 13 via SPI2; the external Flash 14 is connected to the MCU module 11 via SPI3, and the MCU module 11 manages the external Flash 14 and stores the software running status and software and hardware information in the external Flash. The external Flash 14 can be erased, read and written, and the update program downloaded from the remote terminal 3 by the MCU module 11 is stored and updated. Optionally, SPI can be replaced by I2C, UART or other bus structures.
[0040] In this embodiment, the first communication module 12, the second communication module 13 and the third communication module 21 can be a low-power Bluetooth protocol stack. The low-power Bluetooth has a master-slave structure. In the above wireless communication interaction, the host is the second communication module 13 and the remote terminal 3; the slave is the first communication module 12 and the third communication module 21.
[0041] Optionally, the first communication module 12, the second communication module 13 and the third communication module 21 can be replaced with classic Bluetooth, or dual-mode Bluetooth, or replaced with Wi-Fi, or Zigbee, or other communication protocols, and the present invention does not make specific limitations.
[0042] like Figure 2 and Figure 3 As shown, the present invention also discloses a method for simultaneously realizing battery management and OTA remote update, which specifically includes the following steps:
[0043] S1: The MCU module 11 establishes a connection with the battery pack 2, obtains the health data of the battery pack, continuously monitors and manages the battery, and the first communication module 12 defaults to low power consumption mode (to reduce battery consumption) and keeps broadcasting to inform the outside world of its existence.
[0044] Specifically, the MCU module 11 actively establishes and maintains a wireless connection with the third communication module 21 through the second communication module 13, the MCU module 11 interacts with the battery pack 2 through wireless communication, the battery pack 2 continuously collects real-time health data of the battery pack and uploads the battery pack health data to the MCU module 11 through wireless communication, and the MCU module 11 continuously monitors and manages the battery pack 2. The first communication module 12 maintains a low power consumption mode and continuously broadcasts to the outside to inform the remote terminal 3 of its own existence;
[0045] S2: During the operation of the vehicle, the remote terminal 3 monitors the broadcast signal of the first communication module 12. After monitoring the broadcast signal of the first communication module 12, the remote terminal 3 actively requests the first communication module 12 to establish a wireless connection;
[0046] S3: After the remote terminal 3 establishes a wireless connection with the first communication module 12, it interacts with the MCU module 11. The MCU module 11 uploads the software running status and software and hardware information (including: software version number, hardware version number, external Flash 14 usage status, software update history data, etc.) to the remote terminal 3 through the first communication module 12.
[0047] S4: The remote terminal 3 processes the software running status and software and hardware information uploaded by the MCU module 11 to determine whether the vehicle needs to be remotely updated; when the vehicle needs to be remotely updated, the remote terminal 3 obtains the appropriate update file from the terminal software library and sends it to the MCU module 11 through the diagnostic protocol.
[0048] S5: The MCU module 11 synchronously updates the target file to the external Flash 14 for storage.
[0049] S6: After the MCU module 11 ends the interaction with the remote terminal 3, the remote terminal 3 actively disconnects the wireless communication with the first communication module 12, and the first communication module 12 resumes the low power consumption mode and continues to broadcast externally.
[0050] S7: When the vehicle end is idle, the MCU module 11 actively obtains the update file from the external Flash 14 to perform software update on the vehicle end.
[0051] Among them, the vehicle operation process refers to the process of vehicle driving, and the vehicle idle time refers to the vehicle not being in driving state or charging or discharging state, such as when parked at night.
[0052] In this embodiment, the first communication module 12 , the second communication module 13 and the third communication module 21 are low power Bluetooth protocol stacks.
[0053] The present invention provides a method for integrating dual Bluetooth modules in a BMS to implement OTA. By setting a first communication module and a second communication module, wireless communication with a remote terminal and a battery pack is achieved, and dual-channel communication and management of a battery management system are realized. The battery management system can automatically and efficiently complete remote updates while avoiding system interruptions, thereby ensuring that battery management can be carried out continuously, ensuring the continuity and reliability of the system during the update process, and preventing potential safety risks caused by interruptions in the battery management system.
[0054] It should be noted that the embodiments of the present invention have better practicability and do not impose any form of limitation on the present invention. Any technician familiar with the field may use the technical content disclosed above to change or modify it into an equivalent effective embodiment. However, any modification or equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A battery management system, characterized in that: include: MCU module, a first communication module, a second communication module and a battery pack; The MCU module is connected to a first communication module and a second communication module respectively, the first communication module communicates wirelessly with a remote terminal; the second communication module communicates wirelessly with the battery pack; The battery pack is used to send the health data of the battery pack to the MCU module through the second communication module; The MCU module is used to receive and download the OTA update file sent by the remote terminal through the first communication module.
2. The battery management system according to claim 1, characterized in that: The battery pack includes a third communication module; the first communication module wirelessly communicates with a remote terminal; and the second communication module wirelessly communicates with a third communication module.
3. The battery management system according to claim 1 or 2, characterized in that: The first communication module, the second communication module, and the third communication module may be low-power Bluetooth, or classic Bluetooth, or dual-mode Bluetooth, or Wi-Fi, or Zigbee.
4. The battery management system according to claim 1, characterized in that: It also includes an external Flash, the MCU module uploads software running status and software and hardware information to the external Flash, and the external Flash is used to receive and store files transmitted by the MCU module.
5. The battery management system according to claim 4, characterized in that: The MCU module can be connected to the external Flash, the first communication module and the second communication module through protocols including SPI, I2C, and UART.
6. The battery management system according to claim 4, characterized in that: The software and hardware information includes one or more of software version number, hardware version number, external Flash usage status and software update history data.
7. The battery management system according to claim 1, characterized in that: The health data of the battery pack includes one or more of voltage, current, temperature, internal resistance, number of charging times, charging cycles and historical fault data.
8. The battery management system according to claim 1, characterized in that: The second communication module and the third communication module form a master-slave structure, the second communication module is a master, and the third communication module is a slave.
9. A method for simultaneously implementing battery management and OTA update, applied to the battery management system according to any one of claims 1 to 8, characterized in that: The method comprises: The MCU module establishes a connection with the battery pack, obtains the health data of the battery pack, and continuously monitors and manages the battery; When the vehicle is running, the remote terminal establishes a wireless connection with the first communication module, and the MCU module uploads the software running status and software and hardware information to the remote terminal through the first communication module; The remote terminal processes the software running status and software and hardware information to determine whether the vehicle needs to be updated remotely; If the vehicle needs to be updated remotely, the remote terminal sends the target file to the MCU module; The MCU module updates the received target file to the external Flash for storage; When the vehicle is idle, the MCU module obtains the update file from the external Flash and performs software update on the vehicle.
10. The remote update method according to claim 9, characterized in that: The method further comprises: The MCU module establishes a wireless communication connection with the third communication module in the battery pack through the second communication module; the remote terminal is a terminal that can support the low-power Bluetooth protocol stack. In the wireless communication interaction, the host is the second communication module and the remote terminal, and the slave is the first communication module and the third communication module.