Lithium battery control system BMS upgrading method and system based on cloud programmable
The BMS upgrade method, which utilizes cloud platform configuration and machine learning optimization, solves the problems of time consumption and lack of flexibility in traditional BMS firmware upgrades, enabling efficient and personalized firmware upgrades and system optimization.
Patent Information
- Application Number
- CN202511140240.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2026-01-16
AI Technical Summary
Traditional BMS firmware upgrade methods rely on manual operation, which is time-consuming and labor-intensive, making it difficult to meet the needs of rapid iteration. Furthermore, existing OTA solutions lack flexibility and security, and cannot effectively respond to users' personalized needs.
A cloud-based programmable lithium battery control system (BMS) upgrade method is adopted. Functional modules are obtained through the cloud platform, specific operating strategies are configured, customized firmware upgrade programs are generated, and machine learning analysis data is used for optimization and updates.
It enables efficient, flexible, and personalized firmware upgrades, allowing users to quickly adjust system configurations according to their needs, improving system adaptability and security, and reducing costs and complexity.
Smart Images

Figure CN121357166A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a new energy lithium battery control system, and more specifically to a cloud-based programmable lithium battery control system (BMS) upgrade method and system. Background Technology
[0002] The rapid development of the new energy vehicle industry has brought lithium batteries and their battery management systems (BMS) into sharp focus. BMS not only monitors and manages the battery's operating status, such as voltage, current, and temperature, but also protects the battery, extends its lifespan, and improves vehicle safety by optimizing the charging and discharging process. With technological advancements, the functionality of BMS continues to expand, making firmware upgrades particularly important to promptly introduce new features or fix problems.
[0003] However, traditional BMS firmware upgrade methods rely on on-site operation by technicians, which is both time-consuming and labor-intensive, especially in large-scale applications where it struggles to meet the demands of rapid iteration. This approach not only increases labor costs but also results in slow response times, often failing to act quickly in the face of unexpected situations or urgent update requests. Therefore, this inefficient upgrade model has become a major bottleneck restricting the improvement of BMS performance. To address these issues, OTA (Over-the-Air Technology) has been applied to BMS firmware upgrades, enabling remote updates via mobile communication networks and significantly improving efficiency. Nevertheless, existing OTA solutions still face some challenges, including reliance on pre-compiled and released versions by manufacturers, limiting the ability to respond promptly to personalized user needs, and potential security risks. Future development may focus on improving the flexibility and security of OTA technology to better support specific user needs and ensure stable system operation.
[0004] Therefore, it is necessary to design a new method that not only improves the flexibility and efficiency of firmware upgrades, but also gives users greater autonomy, enabling them to quickly adjust and optimize system configurations according to actual conditions. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide a cloud-based programmable lithium battery control system (BMS) upgrade method and system.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: a cloud-based programmable lithium battery control system (BMS) upgrade method, comprising:
[0007] Obtain the functional modules that require firmware upgrades;
[0008] Specific operating strategies for the functional modules can be configured through cloud platform configuration.
[0009] Generate the corresponding firmware upgrade program based on the specific operation strategy described above;
[0010] The firmware upgrade program is uploaded to the cloud platform for transmission to the target device, whereby the target device performs a system update based on the firmware upgrade program.
[0011] The further technical solution is as follows: configuring specific operating strategies for the functional modules through cloud platform configuration includes:
[0012] Configure the functional modules and set specific operating strategies.
[0013] The further technical solution is as follows: the specific operation strategy includes execution logic for instructing the firmware function corresponding to the functional module.
[0014] The further technical solution is as follows: the specific operation strategy includes passive balancing, overcurrent, short-circuit strategy and corresponding derivative strategies.
[0015] The further technical solution is as follows: the generation of the corresponding firmware upgrade program based on the specific operation strategy includes:
[0016] The specific operational strategy is then translated into the corresponding underlying code implementation.
[0017] The underlying code is compiled using a cloud-based compiler, and firmware performance and efficiency are improved through optimization.
[0018] The compiled and optimized code is packaged into a customized firmware upgrade package, and the firmware upgrade package is rigorously tested to obtain the corresponding firmware upgrade program.
[0019] Its further technical solutions include:
[0020] Record lithium battery operating data and upload it to a cloud database.
[0021] The further technical solution is as follows: after recording the lithium battery operating data and uploading it to the cloud database, it also includes:
[0022] Machine learning algorithms are used to analyze data in cloud databases, identify patterns and trends, and discover potential problems or optimization opportunities to obtain analytical results.
[0023] Its further technical solution is as follows:
[0024] After analyzing data in the cloud database using machine learning algorithms to identify patterns and trends, discover potential problems or optimization opportunities, and obtain the analysis results, the process also includes:
[0025] Based on the analysis results, specific improvement suggestions are generated and real-time configuration updates are implemented through the cloud platform.
[0026] The further technical solution is as follows: the method further includes:
[0027] It achieves self-learning and continuous optimization through a cyclical feedback mechanism.
[0028] This invention also provides a cloud-based programmable lithium battery control system (BMS) upgrade system, including:
[0029] The acquisition unit is used to acquire the functional modules that require firmware upgrades.
[0030] The configuration unit is used to configure specific operating strategies for the functional modules through cloud platform configuration.
[0031] The program generation unit is used to generate a corresponding firmware upgrade program based on the specific operation strategy.
[0032] The upload unit is used to upload the firmware upgrade program to the cloud platform, so that it can be transmitted to the target device through the cloud platform, and the target device can perform a system update according to the firmware upgrade program.
[0033] The advantages of this invention compared to existing technologies are as follows: This invention obtains the functional modules that require firmware upgrades, then configures specific operating strategies for these modules on a cloud platform, generates corresponding firmware upgrade programs based on the configured operating strategies, uploads these firmware upgrade programs to the cloud platform, and transmits them to the target device to complete the system update. This method not only significantly improves the flexibility and efficiency of firmware upgrades but also gives users greater autonomy, enabling them to quickly adjust and optimize system configurations according to actual needs. Users can selectively select the required functional modules and configure corresponding strategies in the cloud without relying on manufacturers. The cloud platform automatically generates customized firmware upgrade packages, simplifying the upgrade process and reducing costs, thereby achieving a more convenient and personalized user experience. This mechanism is particularly suitable for dealing with diverse application scenarios and constantly changing technical requirements, helping to improve the system's adaptability and market competitiveness.
[0034] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. Attached Figure Description
[0035] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 A schematic flowchart illustrating the cloud-based programmable lithium battery control system (BMS) upgrade method provided in this embodiment of the invention.
[0037] Figure 2 This is a schematic block diagram of a cloud-based programmable lithium battery control system (BMS) upgrade system provided in an embodiment of the present invention. Detailed Implementation
[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0039] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0040] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0041] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0042] Please see Figure 1 , Figure 1This is a schematic flowchart illustrating a cloud-based programmable lithium battery control system (BMS) upgrade method provided in this embodiment of the invention. This method is applied to a server that interacts with a cloud platform, a terminal, and the lithium battery control system. It acquires the functional modules requiring upgrades and configures specific operating strategies, including passive balancing, overcurrent protection, short-circuit protection, and their derivative strategies. A corresponding firmware upgrade program is then generated and transmitted to the target device via the cloud platform for system updates. This method not only achieves a high degree of automation and optimization in the firmware upgrade process, improving upgrade flexibility and efficiency, but also allows users to set specific operating strategies through configuration operations, enabling precise control of functional modules. Furthermore, the derivative strategies of the short-circuit protection can dynamically adjust protection measures according to the battery state, ensuring the safe and stable operation of the system. It empowers users to quickly adjust and optimize system configurations based on actual conditions, thereby greatly improving system response speed and user experience. Ultimately, this method effectively combines the advantages of the cloud with the needs of practical applications, providing users with a powerful and flexible lithium battery control solution.
[0043] Figure 1 This is a flowchart illustrating the cloud-based programmable lithium battery control system (BMS) upgrade method provided in an embodiment of the present invention. Figure 1 As shown, the method includes the following steps S110 to S140.
[0044] S110, Obtain the functional modules that require firmware upgrades.
[0045] In this embodiment, the first step is to conduct a detailed analysis of the user's actual needs. Users may want to adjust or optimize functional modules such as passive balancing, overcurrent protection, and short-circuit protection based on different business scenarios or technical requirements. For example, users may want to improve the system's security or efficiency by modifying certain thresholds, and these adjustments often require firmware upgrades.
[0046] After determining the user's specific needs, the next step is to present the user with a clear interface on the cloud platform, such as... Figure 2 As shown, this allows users to intuitively select the functional modules that need firmware upgrades. This process typically involves checking or deselecting unwanted configuration functions and dragging and dropping the required strategies to the designated location. Each graphical configuration function actually represents a piece of encapsulated code logic, corresponding to a specific functional module.
[0047] Once the user completes the above selection, the system will automatically identify and confirm the target functional modules that need to be upgraded based on the user's actions. These target functional modules can be single, such as only needing to update the short-circuit protection strategy; or they can be multiple combinations, such as updating both overcurrent protection and passive balancing strategies simultaneously.
[0048] Finally, the system will collect all information about the target functional module, including but not limited to the module name and required operating strategy, and prepare it for the next step. This information will be directly used to generate the corresponding firmware upgrade program, laying the foundation for subsequent cloud compilation and firmware upgrade package creation.
[0049] In summary, the S110 step is a crucial starting point, not only determining the direction and accuracy of each subsequent step but also being key to ensuring the final firmware upgrade meets user expectations. Through this step, users can easily participate in the firmware upgrade process, achieving a highly personalized customization service.
[0050] S120. Configure specific operating strategies for the functional modules through cloud platform configuration.
[0051] In this embodiment, the functional modules are configured to set specific operating strategies.
[0052] The specific operation strategy includes the execution logic used to instruct the execution of the firmware functions corresponding to the functional modules.
[0053] The specific operating strategies include passive balancing, overcurrent, short-circuit strategies, and corresponding derivative strategies.
[0054] In this embodiment, step S120 is a crucial step immediately following step S110, which involves obtaining the functional modules that require firmware upgrades. This step mainly involves performing detailed configuration operations on the selected functional modules and setting specific operating strategies for each module. This step ensures that the firmware customized according to the user's specific needs can accurately execute the required functions.
[0055] On the cloud platform, users can configure selected functional modules (such as passive balancing, overcurrent protection, and short-circuit protection). These configuration operations allow users to intuitively select or deselect unwanted configuration functions and drag and drop desired strategies to designated locations through a graphical interface. Each graphical configuration function actually represents a piece of encapsulated code logic, corresponding to a specific functional module and its operation mode.
[0056] Specific operational strategy settings:
[0057] Passive balancing strategy: Used to balance the charge differences between individual cells within the battery pack. Users can select different balancing modes according to actual conditions, such as automatic balancing based on voltage difference or manual balancing based on preset time intervals.
[0058] Overcurrent protection strategy: Designed to prevent current from exceeding a safe threshold and causing equipment damage. Users can set the specific current threshold that triggers the protection, as well as the corresponding response measures, such as immediately cutting off the power supply or issuing a warning signal.
[0059] Short-circuit protection strategy: Provides multiple short-circuit recovery modes for users to choose from. For example:
[0060] Short circuit mode 1: Once a short circuit is detected, the system will only allow the system to return to normal by charging.
[0061] Short circuit mode 2: The system will attempt to recover automatically after a delay after detecting a short circuit; if multiple short circuits occur in a short period of time, the system will be locked to prevent further damage, but it can still be recovered by charging.
[0062] Derivative Strategies: In addition to the basic strategies mentioned above, there may be specific strategies derived from actual application needs. For example, for certain high-requirement application scenarios, it may be necessary to add multiple verification mechanisms to ensure the stability and security of the system.
[0063] Each operating strategy contains a set of explicit execution logic that guides the firmware on how to handle inputs and outputs under specific conditions. For example, in short-circuit mode, when the system detects an abnormal current, it first determines whether a short circuit has actually occurred according to a predefined algorithm, and then takes appropriate action based on the selected mode, such as cutting off the circuit or sending an alarm signal.
[0064] Through the S120 procedure, users can not only flexibly select and adjust various functional modules, but also finely configure their operating modes and response mechanisms, thereby achieving highly personalized lithium battery control system management. This process greatly improves the system's adaptability, meets diverse needs in different application scenarios, simplifies maintenance procedures, and reduces costs.
[0065] In this embodiment, the short-circuit strategy includes disconnecting the discharge MOSFET when a short circuit is detected in the lithium battery, in order to perform a strategy upgrade operation.
[0066] The derived strategies of the short-circuit strategy include: checking whether the lithium battery control system is currently in a charging state; if it is in a charging state, the short-circuit protection is released and the discharge MOSFET is turned on again to allow normal operation; if it is not in a charging state, the discharge MOSFET is kept off and monitoring continues to determine whether it enters a charging state.
[0067] The derivative strategies of the short-circuit strategy also include:
[0068] Disconnect the discharge MOSFET and increment the short-circuit count counter;
[0069] Check whether the lithium battery control system is currently charging.
[0070] If the device is currently charging, the short-circuit protection will be released directly, and the discharge MOSFET will be turned on again, allowing normal operation.
[0071] If the device is not currently charging, check if the number of discharge short circuits exceeds the threshold.
[0072] If the number of discharge short circuits exceeds the threshold, the discharge circuit is locked, and any discharge operation is prohibited to ensure safety.
[0073] If the number of short-circuit discharges does not exceed the threshold, short-circuit detection and processing will be performed again after a delay.
[0074] The derived strategy of the short-circuit strategy will continuously monitor the battery status, including the charging status and the number of short circuits.
[0075] In this embodiment, the short-circuit strategy and its derivative strategies are key components in ensuring the safe and stable operation of the battery system.
[0076] When a short circuit is detected in the lithium battery, the system immediately performs the following steps to ensure safety and prepare for a policy upgrade:
[0077] Disconnecting the discharge MOSFET: Once a short circuit is detected, the system will immediately disconnect the discharge MOSFET (metal-oxide-semiconductor field-effect transistor) connecting the battery and the load, thereby preventing current from continuing to flow through the short circuit path and avoiding further damage or safety hazards.
[0078] Based on the above-mentioned basic short-circuit protection measures, this embodiment proposes two main derivative strategies to adapt to different application scenarios and requirements:
[0079] Short circuit mode 1:
[0080] In this mode, the system first checks whether it is currently charging.
[0081] If the system is charging (Y), the short-circuit protection mechanism is released, and the discharge MOSFET is turned on again to restore the battery to normal operating status.
[0082] If it is not in the charging state (N), the discharge MOSFET remains off, and monitoring continues until it enters the charging state.
[0083] Short circuit mode 2:
[0084] First, disconnect the discharge MOSFET and start a counter to record the number of short circuits.
[0085] Next, check if it is currently charging.
[0086] If it is (Y), then the short circuit protection will be directly released and the discharge MOSFET will be turned on again.
[0087] If it is not (N), then further determine whether the number of short circuits exceeds the preset safety threshold (e.g., 3 times).
[0088] If the threshold (Y) is exceeded, the discharge circuit is locked to prevent any discharge behavior as a precaution.
[0089] If the threshold (N) is not exceeded, the short circuit detection process is repeated after a period of time (e.g., 10 minutes) in an attempt to recover automatically.
[0090] Whether using short-circuit mode 1 or mode 2, the system continuously monitors the battery's status, including but not limited to key parameters such as charging status and the frequency of short circuits. Based on changes in this real-time data, the system can intelligently adjust its processing strategy to ensure optimal safety and performance even in complex and variable operating environments.
[0091] This design not only improves the system's flexibility and responsiveness but also significantly reduces the risks caused by misjudgments or delayed responses, thereby effectively extending the lifespan of lithium batteries and enhancing the user experience. Furthermore, through a cloud-based programmable platform, users can easily configure these strategies according to their own needs, achieving a highly personalized and convenient management approach.
[0092] S130. Generate the corresponding firmware upgrade program based on the specific operation strategy.
[0093] In this embodiment, the firmware upgrade program refers to a specific software package generated through a series of processing steps to update the firmware of the lithium battery control system (BMS) based on the specific operating strategy (e.g., short-circuit mode selection, equalization control strategy, etc.) selected and configured by the user through the cloud platform. This firmware upgrade program contains all the necessary information and instructions, enabling the lithium battery control system to achieve the new functions or improve existing functions as desired by the user.
[0094] In one embodiment, step S130 described above may include steps S131 to S133.
[0095] S131. Transform the specific operation strategy into the corresponding underlying code implementation.
[0096] In this embodiment, the first step is to convert the specific operating strategy selected by the user on the cloud platform (such as the selection of short-circuit mode, equalization control strategy, etc.) into low-level code that can be recognized and executed by the lithium battery control system. This step involves detailed coding implementation of the logic of each functional module to ensure that each function can accurately respond to the user's customized needs. During this process, developers must follow best practices to ensure the efficiency, reliability, and security of the code.
[0097] S132. Use a cloud compiler to compile the underlying code and improve firmware performance and efficiency through optimization.
[0098] In this embodiment, after the code is written, the next step is to compile this underlying code using a cloud-integrated compiler. The cloud compiler not only converts the source code into target machine code, but also automatically applies a series of optimizations to improve the performance and efficiency of the final firmware. These optimizations may include, but are not limited to:
[0099] Code simplification: Remove redundant code to reduce firmware size.
[0100] Performance optimization: Adjust the code structure to make the algorithm execute more efficiently.
[0101] Energy efficiency optimization: The code has been specially optimized to reduce power consumption, taking into account the characteristics of the battery management system.
[0102] S133. The compiled and optimized code is packaged into a customized firmware upgrade package, and the firmware upgrade package is rigorously tested to obtain the corresponding firmware upgrade program.
[0103] In this embodiment, the final step is to package the compiled and optimized code into a complete firmware upgrade package. This upgrade package contains all the necessary information to facilitate the subsequent download and installation process. To ensure its quality and reliability, it also needs to undergo rigorous testing before official release, including but not limited to:
[0104] Functional testing: Verify that each functional module works as expected.
[0105] Compatibility testing: Check the compatibility between the new firmware and existing hardware and other software components.
[0106] Stability testing: Long-term operation testing to ensure the system can work stably under various conditions.
[0107] Security testing: Evaluate the firmware's security capabilities to prevent potential security threats.
[0108] Following the steps outlined above, the resulting firmware upgrade program not only meets users' personalized needs but also delivers superior performance while ensuring system security and stability. This cloud-based programmable approach significantly simplifies the firmware upgrade process, reduces costs, and enhances flexibility and user experience.
[0109] S140. Upload the firmware upgrade program to the cloud platform so that it can be transmitted to the target device through the cloud platform, and the target device can perform a system update according to the firmware upgrade program.
[0110] The firmware upgrade process is a crucial step in ensuring that the lithium-ion battery management system (BMS) can receive the latest functional updates in a timely manner. This process not only improves the system's flexibility and adaptability but also greatly simplifies the user's operation. The specific implementation method is as follows:
[0111] Firmware upgrade programs are generated based on user-defined operating strategies. These programs undergo rigorous compilation and optimization, and are subjected to comprehensive testing to ensure their stability and reliability.
[0112] Before uploading, a final quality check must be performed on the generated firmware upgrade program, including but not limited to functional integrity checks, compatibility verification, and security assessments, to ensure that it can run without errors on the target device.
[0113] The generated firmware upgrade program is uploaded to a cloud repository using a secure interface or API provided by the cloud platform. This repository typically features high availability and redundancy to ensure data security and efficient access.
[0114] Each uploaded firmware upgrade is assigned a unique version number, and relevant metadata, such as release date and applicable device models, is recorded. This helps track differences between versions and supports subsequent rollback operations.
[0115] Using wireless communication technologies (such as Wi-Fi and cellular networks), firmware upgrade programs are pushed to target devices via a cloud platform. This remote update method greatly simplifies the user experience, especially in large-scale distributed application scenarios.
[0116] To improve update efficiency and avoid network congestion, the cloud platform can intelligently schedule firmware push times based on actual network conditions and device status. For example, updates can be performed during off-peak hours or when the device is charging.
[0117] After receiving a firmware upgrade notification from the cloud platform, the target device automatically downloads the corresponding firmware upgrade package and performs necessary preparatory work, such as closing unnecessary applications and services and freeing up memory resources.
[0118] After completing the above steps, the device will begin installing the new firmware step by step in a predetermined sequence. After installation, a device reboot may be required for the changes to take effect.
[0119] After the update is complete, the system will automatically perform a self-check to confirm that the new firmware is installed correctly and that all functions are working properly. Then, it will send the update results back to the cloud platform for administrators to review and record.
[0120] Through the above steps, the method in this embodiment realizes a complete process from generating and uploading the firmware upgrade program to its successful deployment on the target device, significantly improving the maintainability and user experience of the lithium battery control system. At the same time, leveraging the powerful functions of the cloud platform makes the entire process more efficient and convenient, strongly promoting the development and popularization of lithium battery control technology in the new energy field.
[0121] In this embodiment, when designing the firmware upgrade software and cloud platform configuration software, each functional module is separated, ensuring that each function corresponds to only a specific function and avoiding mutual interference between functions. For example, functional modules such as passive balancing, overcurrent protection, and short-circuit protection can be configured independently. Users can choose to enable or disable the required functional modules; in addition, they can be grouped according to common market strategies, such as short-circuit mode 1: short circuit can only be recovered in the charging state; short-circuit mode 2: short circuit delay and automatic recovery, locking after multiple short circuits, and recovery is also possible in the charging state, etc.
[0122] The cloud platform provides a graphical configuration interface, allowing customers to select and configure corresponding functional modules and strategies according to their needs. Behind each graphical element is pre-packaged code, which is automatically generated by the cloud-based compiler based on the user's configuration selections to meet the specified firmware upgrade package requirements. Users simply click download to obtain the firmware update file suitable for their devices. The entire upgrade process uses OTA (Over-The-Air) technology, similar to currently widely used methods.
[0123] Users can make simple adjustments and optimizations directly on the open cloud platform configuration port. Utilizing cloud programmable technology, users can configure certain functions and policies in the cloud, and the cloud platform will then generate customized firmware based on these configurations. This approach significantly reduces the labor and time costs for manufacturers of compiling, modifying, and releasing firmware for different user configurations, lowers the operation and maintenance costs and complexity of lithium battery control systems, and improves the system's economics and market competitiveness. Simultaneously, this also helps promote the commercial application and market penetration of lithium battery control technology.
[0124] Firmware upgrades for new energy lithium battery control systems are performed via a cloud-based programmable platform, enhancing upgrade flexibility and meeting personalized upgrade needs. This method not only simplifies the firmware upgrade process but also allows users to customize functions according to their specific requirements. This embodiment of the method flexibly addresses different types of short-circuit conditions, implementing appropriate protective measures to effectively ensure lithium battery safety and extend its lifespan. This method fully utilizes existing mobile communication networks, opening configuration ports on the cloud platform. Customers only need to selectively select configuration functions, and the cloud platform automatically generates upgrade firmware based on these functions, completing the upgrade without requiring manufacturers to compile, modify, or release firmware. This method provides customers with a more convenient and personalized participation method, allowing them to adjust and optimize according to their own needs.
[0125] To meet users' personalized needs for system operation strategies, a novel approach based on cloud platform configuration software is proposed. This method goes beyond simply adjusting thresholds; it achieves more complex and nuanced functional improvements by updating specific operation strategies and upgrading firmware. During the design phase, different functional modules (such as passive balancing, active balancing, heating, pre-charging, and pre-discharging) are separated, and each function is associated with a specific operation strategy. These strategies are presented graphically to users on the cloud platform, allowing them to select and configure them according to their needs.
[0126] Users can easily select the desired functions and strategies through an intuitive graphical interface without needing to delve into the underlying code. Each graphical element actually represents a well-encapsulated block of code.
[0127] Users can configure the relationships between different strategies, such as using logical operators (AND, OR) and setting priorities, to create personalized operating strategies that meet their specific needs.
[0128] Once the user completes the selection and configuration of the strategy, the cloud platform's built-in compiler will automatically convert these selections into specific running strategies and push them to the target device via OTA (Over-The-Air) technology to achieve automated updates.
[0129] Users can easily perform customized adjustments and optimizations on the open cloud platform, greatly improving the user experience. By reducing manual involvement in firmware compilation, modification, and release processes, labor and time costs are significantly reduced. The maintenance difficulty and complexity of the lithium battery control system are lowered, improving the system's economics and market competitiveness. This helps accelerate the commercial promotion and market penetration of lithium battery control technology, driving industry progress.
[0130] In summary, this invention provides an efficient, flexible, and user-friendly solution that allows users to quickly customize and deploy new operating strategies according to their specific needs, while also enabling the system to self-optimize and upgrade, thus possessing significant practical application value.
[0131] To further enhance the effectiveness of cloud-based programmable lithium battery control system (BMS) upgrade methods, a cloud database is established, and advanced machine learning algorithms are used to analyze the stored data. Specifically, lithium battery operating data is recorded and uploaded to the cloud database.
[0132] During the operation of each target device, the system automatically records a large amount of operational data, short-circuit event records, and other relevant operational status information. This data includes, but is not limited to, voltage, current, temperature, equalization status, and charge / discharge cycle count. All collected data is uploaded and centrally stored in a secure and reliable cloud database. This method ensures data integrity and availability, while also facilitating subsequent data processing and analysis.
[0133] Furthermore, machine learning algorithms are employed to analyze data within cloud databases, identifying patterns and trends to uncover potential problems or optimization opportunities, thus yielding analytical results. Specifically, machine learning algorithms are used to conduct in-depth analysis of massive amounts of data in cloud databases. These algorithms can identify patterns and trends in the data, thereby discovering potential problems or optimization opportunities. For example, by analyzing historical short-circuit events, common causes of short circuits and their occurrence patterns can be identified.
[0134] Furthermore, based on the analysis results, specific improvement suggestions are generated and real-time configuration updates are implemented through the cloud platform. Specifically, based on the above analysis results, the machine learning model can automatically generate specific improvement suggestions. These suggestions may involve adjusting certain parameters (such as thresholds), updating specific functional modules, or improving existing operating strategies. For example, if the analysis shows that overcurrent occurs frequently within a certain period, the system may suggest adding additional protection mechanisms or adjusting the current detection threshold.
[0135] Based on the generated improvement suggestions, users can flexibly configure and instantly update relevant functional modules through the cloud platform without waiting for manual intervention. This not only improves response speed but also effectively prevents similar problems from recurring.
[0136] This embodiment also includes: achieving self-learning and continuous optimization through a cyclical feedback mechanism.
[0137] After implementing the improvement suggestions, the system will continue to monitor their effects and feed the new data back to the cloud database. By continuously repeating this process, the system can achieve self-learning and continuous optimization.
[0138] Throughout the entire process of data collection, storage, and analysis, relevant laws and regulations must be strictly followed to ensure the security and privacy of user data. All sensitive information should be encrypted to prevent unauthorized access and disclosure.
[0139] These measures not only improve the stability and safety of lithium battery control systems, but also significantly reduce maintenance costs, extend equipment lifespan, and ultimately promote the widespread application and development of lithium battery technology.
[0140] The aforementioned cloud-based programmable lithium battery control system (BMS) upgrade method involves acquiring the functional modules requiring firmware upgrades, configuring specific operating strategies for these modules on a cloud platform, generating corresponding firmware upgrade programs based on the configured strategies, uploading these programs to the cloud platform, and then transmitting them to the target device to complete the system update. This method significantly improves the flexibility and efficiency of firmware upgrades and grants users greater autonomy, enabling them to quickly adjust and optimize system configurations according to actual needs. Users can selectively select the required functional modules and configure corresponding strategies in the cloud without relying on the manufacturer. The cloud platform automatically generates customized firmware upgrade packages, simplifying the upgrade process and reducing costs, thereby achieving a more convenient and personalized user experience. This mechanism is particularly suitable for dealing with diverse application scenarios and constantly changing technical requirements, helping to improve the system's adaptability and market competitiveness.
[0141] Figure 2 This is a schematic block diagram of a cloud-based programmable lithium battery control system (BMS) upgrade system 300 provided in an embodiment of the present invention. Figure 2 As shown, corresponding to the above-described cloud-based programmable lithium battery control system (BMS) upgrade method, this invention also provides a cloud-based programmable lithium battery control system (BMS) upgrade system 300. This cloud-based programmable lithium battery control system (BMS) upgrade system 300 includes a unit for executing the above-described cloud-based programmable lithium battery control system (BMS) upgrade method, and the system can be configured in a server. Specifically, please refer to... Figure 2 The cloud-based programmable lithium battery control system (BMS) upgrade system 300 includes an acquisition unit 301, a configuration unit 302, a program generation unit 303, and an upload unit 304.
[0142] The acquisition unit 301 is used to acquire the functional modules that need to be upgraded by firmware; the configuration unit 302 is used to configure the specific operation strategy of the functional modules through the cloud platform; the program generation unit 303 is used to generate the corresponding firmware upgrade program based on the specific operation strategy; and the upload unit 304 is used to upload the firmware upgrade program to the cloud platform so that it can be transmitted to the target device through the cloud platform, and the target device can perform a system update according to the firmware upgrade program.
[0143] In one embodiment, the configuration unit 302 is used to configure the functional modules and set specific operating strategies.
[0144] In one embodiment, the program generation unit 303 includes:
[0145] The transformation subunit is used to transform the specific running strategy into the corresponding underlying code implementation; the mutation subunit is used to compile the underlying code using a cloud compiler and improve firmware performance and efficiency through optimization; the encapsulation subunit is used to encapsulate the compiled and optimized code into a customized firmware upgrade package and to rigorously test the firmware upgrade package to obtain the corresponding firmware upgrade program.
[0146] In one embodiment, the system further includes:
[0147] The recording unit is used to record lithium battery operating data and upload it to a cloud database.
[0148] The analysis unit is used to analyze data in a cloud database using machine learning algorithms, identify patterns and trends, and discover potential problems or optimization opportunities to obtain analysis results.
[0149] The generation unit is used to generate specific improvement suggestions based on the analysis results and to implement real-time configuration updates through the cloud platform.
[0150] The optimization unit is used to achieve self-learning and continuous optimization through a cyclical feedback mechanism.
[0151] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the cloud-based programmable lithium battery control system BMS upgrade system 300 and its various units can be found in the corresponding descriptions in the foregoing method embodiments. For the sake of convenience and brevity, these details will not be repeated here.
[0152] The aforementioned cloud-based programmable lithium battery control system (BMS) upgrade system 300 can be implemented as a computer program that can run on a computer device.
[0153] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0154] In the embodiments provided by this invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For example, the division of each unit is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0155] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the system of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0156] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0157] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A cloud programmable lithium battery control system BMS upgrade method, characterized in that, The method comprises the following steps: acquiring a functional module that needs to be upgraded; configuring a specific operation strategy for the functional module through cloud platform configuration; generating a corresponding firmware upgrade program based on the specific operation strategy; uploading the firmware upgrade program to the cloud platform for transmission to a target device through the cloud platform, and performing system update according to the firmware upgrade program by the target device.
2. The cloud programmable-based lithium battery control system (BMS) upgrade method of claim 1, wherein, The step of configuring a specific operation strategy for the functional module through cloud platform configuration comprises the following steps: configuring the functional module to set a specific operation strategy.
3. The cloud programmable-based lithium battery control system (BMS) upgrade method of claim 2, wherein, The specific operation strategy includes an execution logic for indicating the corresponding firmware function of the functional module.
4. The cloud programmable-based lithium battery control system (BMS) upgrade method of claim 3, wherein, The specific operation strategy includes passive balancing, overcurrent, short circuit strategy and corresponding derivative strategy.
5. The cloud programmable-based lithium battery control system BMS upgrade method according to claim 4, characterized in that, The step of generating a corresponding firmware upgrade program based on the specific operation strategy comprises the following steps: convert the specific operation strategy into corresponding underlying code implementation; use a cloud compiler to compile the underlying code and optimize firmware performance and efficiency; package the compiled and optimized code into a customized firmware upgrade package, and strictly test the firmware upgrade package to obtain a corresponding firmware upgrade program.
6. The cloud programmable-based lithium battery control system (BMS) upgrade method of claim 1, wherein, The method further comprises the following steps: record lithium battery operation data and upload to the cloud database.
7. The cloud programmable-based lithium battery control system BMS upgrade method according to claim 6, characterized in that, After the step of recording lithium battery operation data and uploading to the cloud database, the method further comprises the following steps: use a machine learning algorithm to analyze the data in the cloud database, identify patterns and trends, find potential problems or optimization opportunities, and obtain analysis results.
8. The cloud programmable-based lithium battery control system BMS upgrade method according to claim 7, characterized in that, After the step of using a machine learning algorithm to analyze the data in the cloud database, identifying patterns and trends, finding potential problems or optimization opportunities, and obtaining analysis results, the method further comprises the following steps: based on the analysis results, generate specific improvement suggestions and realize real-time configuration update through the cloud platform.
9. The cloud programmable-based lithium battery control system (BMS) upgrade method of claim 1, wherein, The method further comprises the following steps: achieve self-learning and continuous optimization through a cyclic feedback mechanism.
10. A cloud programmable lithium battery control system BMS upgrade system, characterized in that, The method comprises the following steps: an acquiring unit configured to acquire a functional module that needs to be upgraded; a configuration unit configured to configure a specific operation strategy for the functional module through cloud platform configuration; a program generating unit configured to generate a corresponding firmware upgrade program based on the specific operation strategy; an uploading unit configured to upload the firmware upgrade program to the cloud platform for transmission to a target device through the cloud platform, and perform system update according to the firmware upgrade program by the target device.