Power battery equalization control method and device, medium and program product
By splitting the balancing control task of the power battery management system into multiple subtasks, using small arrays and large arrays for processing, and combining it with non-volatile memory, the problem of inconsistent voltage and capacity between single cells is solved, achieving efficient and low-cost power battery management, and improving the energy utilization and stability of the battery pack.
Patent Information
- Application Number
- CN202510778360.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-10-03
AI Technical Summary
In the existing technology, the problem of inconsistent voltage and capacity between single cells in the power battery management system leads to overcharging or over-discharging, and insufficient processor performance or limited memory resources leads to long execution time and serious task loss, increasing system risks.
The balancing control task is split into multiple independent subtasks, which are processed by small and large arrays, combined with non-volatile memory, and multi-processor parallel processing and data storage to achieve intelligent balancing control of power batteries.
It significantly reduces hardware costs, shortens execution time, reduces task loss, improves the energy utilization efficiency and performance of power batteries, and enhances the stability and safety of battery packs.
Smart Images

Figure CN120735656A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of battery management technology, and specifically relates to a power battery balancing control method, device, medium and program product. Background Art
[0002] In a battery management system (BMS), a power battery is composed of multiple cells connected in series or parallel. Due to factors such as different internal resistance, self-discharge rates, and uneven temperature distribution among the cells, their state of charge and capacity will gradually differ significantly. For example, in a series-connected battery pack, smaller cells are prone to overcharge or over-discharge, accelerating degradation and dragging down the performance of the entire battery pack. Power battery balancing control methods are key technologies for resolving inconsistent voltage data and capacity between cells, aiming to improve battery performance and lifespan while ensuring safety.
[0003] Related technologies typically perform a comprehensive scan of all battery cell voltage data during each scheduling cycle. For example, this involves polling the voltage data of 224 battery cells to identify cells that require balancing and calculate the balancing time required. However, this method requires hardware selection with a processor that has powerful processing power or ample memory resources, significantly increasing production costs. Inadequate processor performance or limited memory resources can lead to extended execution times and severe task loss, significantly increasing the system risk of the BMS. Summary of the Invention
[0004] The present disclosure provides a power battery balancing control method, device, medium and program product, which aim to at least to some extent solve the technical problems of related technologies or those that require excessive processor performance or take too long to execute and suffer serious task loss.
[0005] At least one embodiment of the present disclosure provides a power battery balancing control method, which is applied to a battery management system provided with a power battery, wherein the power battery includes a plurality of single cells. The method includes:
[0006] In each scheduling period, generating a balancing control task including balancing information of each of the plurality of single batteries;
[0007] Splitting the balancing control task into a plurality of independently executed subtasks, wherein each of the plurality of independently executed subtasks is used to process balancing information of a first number of the single battery cells;
[0008] Sending each of the subtasks to an independent processor, causing the processor to perform a first-level processing on the balancing information in the corresponding subtask based on a preset first array, and updating the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, wherein the dimension of the first array matches the first quantity; and
[0009] Obtain updated balancing information of the single cells in the corresponding subtask fed back by each processor, and perform second-level processing on all the updated balancing information based on a preset second array, wherein the dimension of the second array matches the total number of single cells of the power battery.
[0010] In the method provided in at least one embodiment of the present disclosure, the battery management system includes a non-volatile memory, and the method further includes:
[0011] When the battery management system is powered off, storing the data of the second array in the non-volatile memory; and
[0012] After the battery management system is powered on, the data of the second array stored in the non-volatile memory is acquired, and the balancing information of each of the plurality of single cells in the new balancing control task is reassigned based on the data of the second array.
[0013] In the method provided in at least one embodiment of the present disclosure, the balancing information of the single battery includes:
[0014] A balancing control instruction, wherein the balancing control instruction is used to control the single battery so that its voltage data or power data is adjusted to a set range;
[0015] The balancing execution time is used to count or limit the time taken for the voltage data or power data of the single battery to be adjusted to a set range.
[0016] In the method provided in at least one embodiment of the present disclosure, the balancing information of the single battery further includes:
[0017] The single cell voltage message information is configured to include the serial number of the single cell, voltage data, and a parameter used to indicate whether the voltage data is valid.
[0018] In the method provided by at least one embodiment of the present disclosure, the first-level processing includes performing a balancing operation on the corresponding single battery according to the balancing information in the subtask, the second-level processing includes integrating all the updated balancing information, and generating a balancing control task containing the balancing information of each of the plurality of single batteries includes:
[0019] Acquiring voltage data or power data of each of the plurality of single batteries;
[0020] Performing a balancing judgment on the power battery based on the voltage data or the power data of each of the plurality of single cells, and screening out all the single cells to be processed that require balancing control;
[0021] For each of the single cells to be processed, obtaining a balancing control instruction and a balancing execution time for adjusting the voltage data or the power data of the single cell to be processed to a set range; and
[0022] The balancing information of the single battery to be processed is generated based on the serial number of the single battery to be processed, the balancing control instruction and the balancing execution time, and then the balancing control task is generated.
[0023] In the method provided in at least one embodiment of the present disclosure, splitting the balancing control task into a plurality of independently executed subtasks includes:
[0024] Obtaining performance parameters of the processor in an idle state;
[0025] Based on the performance parameter and a preset execution time of the balancing control task, a second number is generated to represent the total number of the subtasks after the splitting; and
[0026] The balancing control task is split into the second number of independently executed subtasks, so that the balancing control task is completed within a time range limited by the balancing control task execution duration.
[0027] In the method provided by at least one embodiment of the present disclosure, the processor performs a first-level processing on the corresponding subtask based on its preset first array, and updates the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, including:
[0028] Loading the subtasks into a first array;
[0029] Performing balanced cell screening based on the content of the first array to obtain the sequence number of the cell to be processed;
[0030] Selecting a balancing mode for the single battery to be processed;
[0031] Based on the selected balancing mode, executing a balancing control instruction on the single battery to be processed;
[0032] Starting the equalization timer and monitoring the voltage data or power data of the single battery to be processed; and
[0033] When the voltage data or the power data of the single cell to be processed reaches a set range, the balancing time timing is ended, the corresponding balancing execution time in the subtask is updated based on the timing result, and a first notification information is issued to indicate that the single cell balancing control of the single cell to be processed with the sequence number is completed;
[0034] The voltage data or the power data of the single cell to be processed with the serial number is obtained again, and the corresponding single cell voltage message information in the subtask is updated based on the voltage data or power data obtained again.
[0035] In the method provided by at least one embodiment of the present disclosure, performing balanced monomer screening based on the content of the first array includes:
[0036] The voltage data of each single cell in the subtask is compared with a preset voltage threshold range, and the single cells whose voltage data exceeds the voltage threshold range are screened out as the single cells to be processed, wherein the voltage threshold range is used to limit the occurrence of overcharge or over-discharge conditions in the single cells.
[0037] In the method provided by at least one embodiment of the present disclosure, the battery management system includes a master control module and multiple slave control modules. The master control module is used to generate, split, send, obtain feedback, and perform the second-level processing of the balancing control task. Each of the multiple slave control modules is used to collect voltage information of the corresponding single battery and perform the first-level processing, and is provided with an independent processor; and
[0038] The performance parameters include the information collection period of the slave control module and the single cell balancing information update frequency.
[0039] At least one embodiment of the present disclosure further provides a power battery balancing control device, which is applied to a battery management system provided with a power battery, wherein the power battery includes a plurality of single cells, and the device includes:
[0040] a pre-processing unit configured to generate, in each scheduling period, a balancing control task including balancing information of each of the plurality of single batteries;
[0041] a subtask generating unit configured to split the balancing control task into a plurality of independently executed subtasks, wherein each of the plurality of independently executed subtasks is used to process balancing information of a first number of the single battery cells;
[0042] a first-level control unit configured to send each of the subtasks to an independent processor, so that the processor performs a first-level processing on the balancing information in the corresponding subtask based on a preset first array, and updates the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, wherein the dimension of the first array matches the first quantity; and
[0043] The second-level control unit is configured to obtain updated balancing information of the single cells in the corresponding subtask fed back by each processor, and perform second-level processing on all the updated balancing information based on a preset second array, wherein the dimension of the second array matches the total number of single cells of the power battery.
[0044] At least one embodiment of the present disclosure further provides a storage medium, wherein the storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method provided in any embodiment of the present disclosure are implemented.
[0045] At least one embodiment of the present disclosure further provides a program product, including a program or instructions, wherein when the program or instructions are executed by a processor, the steps of the method provided in any embodiment of the present disclosure are implemented.
[0046] The power battery balancing control method, device, medium and program product provided by the embodiments of the present disclosure have significant advantages over related technologies. First, a non-high-performance processor can be used, which significantly reduces the hardware cost. Secondly, by splitting the balancing control task into subtasks, the execution time of the balancing control task is effectively shortened, and the number of task losses is reduced. In addition, the combination of small arrays (the first group of numbers) and large arrays (the second group of numbers) successfully solves the problem of task loss. The system can be intelligently adjusted according to the real-time status of the power battery to achieve balanced energy distribution within the battery pack. This not only improves the energy utilization efficiency of the power battery, but also reduces the energy consumption and heat generation of the power battery during operation, thereby further enhancing the performance of the power battery, and solving the technical problems of related technologies or excessively high processor performance requirements or long execution time and serious task loss.
[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A single cell voltage message information architecture provided by at least one embodiment of the present disclosure;
[0050] Figure 2 The information architecture of the balancing control instruction message provided by at least one embodiment of the present disclosure;
[0051] Figure 3 A schematic diagram illustrating the principle of a power battery balancing control method provided by at least one embodiment of the present disclosure;
[0052] Figure 4 A graph showing test results of a power battery balancing control method provided by at least one embodiment of the present disclosure;
[0053] Figure 5 A graph showing test results of another power battery balancing control method provided by at least one embodiment of the present disclosure;
[0054] Figure 6 A structural block diagram of a power battery balancing control device provided by at least one embodiment of the present disclosure;
[0055] Figure 7 A schematic diagram of the composition of a program product provided for at least one embodiment of the present disclosure. DETAILED DESCRIPTION
[0056] The present disclosure is further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present disclosure and do not limit the scope of the present disclosure. Similarly, the following examples are only some embodiments of the present disclosure and not all embodiments. All other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present disclosure.
[0057] The terms "first," "second," and "third" in the embodiments of the present disclosure are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Therefore, features defined as "first," "second," and "third" may explicitly or implicitly include at least one of such features.
[0058] In the description of the present disclosure, “a plurality of” means at least two, such as two or three, etc., unless otherwise clearly and specifically defined.
[0059] In the present disclosure, the terms "one embodiment", "some embodiments", "examples", "specific examples" or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, unless there is any contradiction, those skilled in the art may combine and perform secondary processing on the different embodiments or examples and the features of the different embodiments or examples described in this specification.
[0060] The terms "including," "having," and any variations thereof in the embodiments of the present disclosure are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or components inherent to the process, method, product, or apparatus.
[0061] As used herein, a "program product" is a software product that implements its solution primarily through a computer program and is not limited to running on a specific type of electronic device or apparatus.
[0062] As used herein, "electronic equipment" includes, but is not limited to, devices configured to receive / transmit communication signals via a wireline connection (e.g., via a public switched telephone network (PSTN), a digital subscriber line (DSL), a digital cable or direct cable connection, and / or another network connection / network) and / or via a wireless interface (e.g., to a cellular network, a wireless local area network (WLAN), a digital television network such as a DVB-H network, a satellite network, or an AM-FM broadcast transmitter, and / or another communication terminal). A communication terminal configured to communicate via a wireless interface may be referred to as a "wireless communication terminal," "wireless terminal," or "mobile terminal." Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; personal communication system (PCS) terminals that can combine secondary processing of a cellular radiotelephone with network processing, fax, and network communication capabilities; PDAs that can include a wireless telephone, a pager, Internet / Intranet access, a web browser, a notepad, a calendar, and / or a global positioning system (GPS) receiver; and conventional laptop and / or palmtop receivers or other electronic devices that include a wireless telephone transceiver.
[0063] The term "battery management system," or BMS, as used in the present disclosure, refers to a system used to monitor and control the performance, status, and safety of power batteries. BMS collects key parameters such as voltage, current, and temperature for each cell in the power battery and manages and controls these parameters based on this data to ensure safe and efficient battery pack operation.
[0064] The term "power battery balancing control method" in the embodiments of the present disclosure is a core technology for solving the inconsistency of voltage and capacity of single cells caused by manufacturing differences, usage environment and other factors, aiming to improve the overall performance of power batteries, extend their lifespan and ensure safety.
[0065] The term "power battery information collector" in the embodiments of the present disclosure is Battery Information Collector (BIC) in English. The current BIC can collect voltage data of up to 18 single cells or control 18 single cells to execute balancing control instructions.
[0066] The term "balancing control instructions" in the embodiments of this disclosure refers to control instructions that use power electronics technology to ensure that the voltage deviation of lithium-ion battery cells or battery packs is controlled within a predetermined range, thereby ensuring that each battery cell maintains a consistent state during normal use. This effectively prevents overcharging and over-discharging. In actual products, a passive balancing strategy is often adopted, which uses a resistive load to dissipate excess energy from the higher-voltage cells in the battery pack to reduce their voltage.
[0067] The term "non-volatile memory" in the embodiments of the present disclosure is Electrically Erasable Programmable read only memory, or EEPROM for short. It is a memory used in vehicles that can retain stored data when the vehicle power is turned off.
[0068] The root cause of task loss caused by long balancing control execution times in related technologies is insufficient processor performance or limited memory resources. Currently, the common solution is to upgrade hardware and replace the processor, which significantly increases costs.
[0069] At least one embodiment of the present disclosure provides a power battery balancing control method, which is applied to a battery management system equipped with a power battery, wherein the power battery includes a plurality of single cells. The method includes the following steps S10 to S40.
[0070] Step S10: In each scheduling period, a balancing control task (also called a balancing round-robin task) is generated, which includes balancing information of each of the multiple single cells.
[0071] Step S20: splitting the balancing control task into a plurality of independently executed subtasks, wherein each of the plurality of independently executed subtasks is used to process balancing information of a first number of single cells.
[0072] Step S30: Send each subtask to an independent processor, so that the processor performs a first-level processing on the balancing information in the corresponding subtask based on a pre-set first array, and updates the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, wherein the dimension of the first array matches the first quantity.
[0073] Step S40: obtaining updated balancing information of the single cells in the corresponding subtask fed back by each processor, and performing second-level processing on all updated balancing information based on a preset second array, wherein the dimension of the second array matches the total number of single cells of the power battery.
[0074] It should be noted that the number of balancing information in a balancing control task is consistent with the total number of cells. The first-level processing involves balancing the corresponding cells based on the balancing information in the subtask, while the second-level processing involves integrating all updated balancing information. During the first-level processing, each independent processor independently performs balancing operations on the corresponding cells based on the cell balancing information assigned in the subtask. This may include charging, discharging, or maintaining the original state to ensure that the voltage and capacity of all cells are as close to the ideal state as possible. This processing can significantly reduce imbalances between cells, extend the overall service life of the power battery, and effectively address voltage and capacity inconsistencies caused by factors such as manufacturing variations and usage environment. In the second-level processing stage, the system integrates or processes the updated balancing information fed back by all processors. Based on a pre-set second array, the system combines this information in a specific order to form a complete balancing control solution.
[0075] In order to prove the technical effect of the method provided by the above embodiment of the present disclosure, a series of experiments were carried out. If the processing performance of the selected processor is insufficient or the memory resources are limited, some tasks will not be executed, that is, the task loss problem will occur. For example, in some test results, the balancing control task lost 597 other tasks (non-balancing control tasks) within 1 minute. The method provided by the present disclosure is applied to split the balancing control task (updating the voltage data of 224 single cells each time) into multiple subtasks for execution (updating the voltage data of 3 single cells each time). The cycle of the voltage data of the single electromagnetic input by each processor is 100ms and the voltage data of 3 single cells is updated each time. The output balancing control instruction is controlled according to BIC, and the cycle is 1s. The test results show that the balancing control task lost 42 other tasks within 1 minute, and the task loss problem was effectively solved, with only a small number of task loss problems.
[0076] Some embodiments of the present disclosure also provide devices, media (storage media), and program products corresponding to the above methods.
[0077] The method provided by at least one embodiment of the present disclosure is applicable to any existing use scenario of power batteries, and the embodiments of the present disclosure are not limited to this. For example, in vehicles such as electric vehicles, hybrid vehicles, electric buses, and electric trucks, power batteries are core energy storage components, and their performance and life directly affect the overall performance and operating costs of the vehicle. By adopting the power battery balancing control method provided by the present disclosure, effective management and balancing control of each single cell in the power battery can be achieved, thereby improving the overall performance and life of the power battery and reducing the operating costs of the vehicle. In addition, power batteries also play an important role in fields such as energy storage systems and uninterruptible power supplies (UPS). In these application scenarios, balancing control of power batteries is also crucial. The power battery balancing control method provided by the present disclosure is also applicable to these fields and can be customized and optimized according to specific application scenarios and requirements to meet the needs of different users.
[0078] The method proposed in the present disclosure has significant advantages over related technologies. First, a non-high-performance processor can be used, which significantly reduces the hardware cost. Secondly, by splitting the balancing control task into subtasks, the execution time of the balancing control task is effectively shortened, and the number of task losses is reduced. In addition, the combination of small arrays (the first group of numbers) and large arrays (the second group of numbers) successfully solves the problem of task loss. The system can be intelligently adjusted according to the real-time status of the power battery to achieve a balanced distribution of energy within the battery pack. This not only improves the energy utilization efficiency of the power battery, but also reduces the energy consumption and heat generation of the power battery during operation, thereby further enhancing the performance of the power battery, and solving the technical problems of related technologies that have too high requirements on processor performance or too long execution time and serious task loss.
[0079] In step S10, the balancing control task aims to execute an optimized balancing strategy (including balancing control instructions for each cell) based on the voltage, temperature, and other parameters of each cell in the current power battery. When generating the balancing control task, the system comprehensively considers multiple factors, including but not limited to cell voltage differences, temperature distribution, the overall state of the power battery, and the driving status of the vehicle. During each scheduling cycle, the system generates a new balancing control task to ensure that the power battery is always in optimal operating condition.
[0080] In step S20, based on the preset execution duration of the balancing control task (the update time between the received and output signals), the balancing control task (e.g., updating the status information of 244 cells per step) is split into multiple independently executed subtasks (e.g., updating the status information of 3 cells per step). This reduces the execution time of each execution and frees up the CPU for scheduling other tasks.
[0081] In step S30, during the first-level processing, the balancing information is managed in small arrays (e.g., three dimensions). This first-level processing can be performed within multiple independent processors (balancing control modules). Each processor is responsible for processing a portion of the balancing information, enabling parallel processing and accelerating the entire balancing control process. This small array management approach helps reduce data access conflicts and improve memory access efficiency. Furthermore, through multi-processor parallel processing, the execution time of the balancing control task can be significantly shortened.
[0082] For step S40, during the second-level processing, the balancing information is managed in a large array (e.g., 224 dimensions). The second-level processing is performed on a higher-level processor (such as a main controller), which integrates the balancing information received from each balancing control module during the first-level processing. The large array management method can efficiently process large amounts of data and ensure the integrity and accuracy of the data. Through the second-level processing, the balancing control strategy can be further analyzed and optimized to achieve more accurate and efficient balancing control of the power battery. This hierarchical processing method not only improves the efficiency of balancing control, but also enhances the scalability and flexibility of the system.
[0083] At least one embodiment of the present disclosure provides another power battery balancing control method, wherein the battery management system includes a non-volatile memory. To ensure the continuity and stability of the balancing control, the method further includes the following steps S50 to S60.
[0084] Step S50: When the battery management system is powered off, the data of the second array is stored in the non-volatile memory (also called storage processing).
[0085] Step S60: After the battery management system is powered on, the data of the second array stored in the non-volatile memory is obtained, and the balancing information of each of the multiple single cells in the new balancing control task is reassigned based on the data of the second array.
[0086] Among them, the storage process is performed during the power-off process, so that when the vehicle is powered on next time, the balancing control instructions and balancing execution time can be synchronously updated, which can prevent data overwriting and loss. Through steps S50-S60, it can be ensured that after the battery management system is powered off and then powered on again, the balancing control task can be seamlessly continued, and the progress of the balancing control will not be lost due to power outage. This design not only improves the continuity and stability of balancing control, but also avoids data loss due to power outages, thereby reducing the additional time and energy consumption caused by recalculating balancing information. In addition, this storage and reassignment method makes the balancing control method more intelligent and automated, improving the overall performance and reliability of the battery management system.
[0087] After testing (test results see Figure 5 ), the balancing control task is split into multiple subtasks for execution (updating 3 single cell information each time). At the same time, the information related to the total number of batteries, such as the balancing control instructions and balancing time, is managed in a small array (such as 3 dimensions) inside the controller, and in a large array (such as 224 dimensions) outside the balancing control. After the E-side processing is stored during the power-off process, the problem of task loss is completely solved.
[0088] In some embodiments, cell balancing information includes balancing control instructions and balancing execution times. Balancing control instructions are used to control the cell voltage or charge data to within a set range. The number of balancing control instructions can be set to match the total number of cells. To ensure real-time updates of balancing control instructions, all voltage states are cycled through during each scheduling cycle to update the balancing control instructions. The balancing execution time is used to count or limit the time required to adjust the cell voltage or charge data to within a set range. The number of balancing execution times can be set to match the total number of cells. Balancing control instructions and balancing execution times enable precise control and management of the cells. Balancing control instructions serve as guidance, precisely instructing the cells to adjust their voltage or charge data to within a preset range. Furthermore, the balancing execution time can serve as a constraint to ensure that the adjustment process is completed within a reasonable timeframe, avoiding the energy waste and reduced efficiency that can result from excessively long adjustment cycles. This dual control mechanism not only improves the accuracy and efficiency of battery management but also further enhances the consistency and stability of the battery pack, providing more reliable and sustainable energy support for electric vehicle applications.
[0089] As an exemplary embodiment, within the battery management system, balancing control instructions and balancing execution times can be stored as a 224-dimensional array (assuming a total of 224 battery cells). This ensures that the balancing control instructions and balancing execution times for each battery cell are stored, ensuring data integrity and reliability. If stored as a 3-dimensional array (EEPROM), the balancing control instructions and balancing execution times for only three battery cells will be synchronized and updated the next time the vehicle is powered on, while the balancing control instructions and balancing execution times for the majority of cells will be lost.
[0090] In some embodiments, the balancing information of a single cell also includes single cell voltage message information. The single cell voltage message information is configured to include the single cell serial number, voltage data, and parameters used to characterize whether the voltage data is valid. The serial number is used to uniquely identify each single cell for easy management and tracking. The voltage data reflects the current voltage status of the single cell in real time and is an important basis for balancing control. The parameters used to characterize whether the voltage data is valid can ensure that the voltage data used is accurate and reliable, avoiding balancing control errors caused by data errors. Through this detailed balancing information, the battery management system can more accurately understand the status of each single cell, thereby implementing a more accurate and effective balancing control strategy, further improving the overall performance and stability of the power battery.
[0091] Figure 1 The single cell voltage message information architecture provided by at least one embodiment of the present disclosure. Figure 1As shown, the cell voltage message includes the serial number, voltage value, and valid parameters of each cell. The serial number field ensures that each cell can be uniquely identified, which is crucial for tracking and managing batteries in complex systems. The voltage data field records the voltage status of each cell in real time, providing the system with critical data for balancing control. The valid parameters field is a crucial verification mechanism that ensures the accuracy and reliability of voltage data, thereby avoiding balancing control issues that may be caused by data errors.
[0092] Figure 2 The information structure of the balancing control instruction message provided by at least one embodiment of the present disclosure is as follows. Figure 2 As shown in the figure, balancing control instructions are sent only when needed. This design aims to reduce unnecessary communication overhead and improve system efficiency. The balancing control instruction message information architecture also contains key information fields to ensure the accurate communication and execution of instructions. These fields may include the serial number of the single battery to be processed, the specific operation type of balancing control (such as charging, discharging or adjusting voltage, etc.), and the parameter values required for the operation. Through this design, the system can accurately control the status of each single battery, achieve more refined balancing control, and further improve the overall performance and stability of the power battery.
[0093] In some embodiments, in each scheduling cycle, in order to achieve accurate monitoring and balanced control of the status of single cells in the power battery, step S10 is refined to include the following sub-steps S101 to S104.
[0094] Sub-step S101: obtaining voltage data or power data of each of a plurality of single batteries.
[0095] Sub-step S102: performing a balancing judgment on the power battery based on the voltage data or the power data of each of the plurality of single cells, and screening out all the single cells to be processed that need to be subjected to balancing control.
[0096] Sub-step S103: For each single battery to be processed, obtain a balancing control instruction and a balancing execution time for adjusting the voltage data or the power data of the single battery to be processed to a set range.
[0097] Sub-step S104: generating balancing information of the single battery to be processed based on the serial number of the single battery to be processed, the balancing control instruction and the balancing execution time, and then generating a balancing control task.
[0098] The balancing control task includes balancing information for all cells to be processed. Sub-step S101 obtains real-time voltage or power data for each cell, providing the basis for subsequent balancing decisions. This data can be obtained via a power battery information collector. Sub-step S102 then uses this data to perform balancing decisions on the power batteries, accurately identifying cells requiring balancing control. This avoids unnecessary balancing operations and improves efficiency. Sub-step S103 establishes specific balancing control instructions and balancing execution times for each cell to be processed, ensuring the accuracy and effectiveness of balancing control. Sub-steps S102 and S103 filter cells requiring balancing control and calculate the balancing execution time. Finally, sub-step S104 integrates the sequence number, balancing control instructions, and balancing execution time of the cell to be processed, generating complete balancing information for that cell, forming a balancing control task and providing clear guidance for subsequent execution. The coordinated operation of this series of sub-steps enables intelligent and automated balancing control for power batteries.
[0099] In some embodiments, in order to improve the execution efficiency of the balancing control task, step S20 is refined into the following sub-steps S201 to S203.
[0100] Sub-step S201: Acquire performance parameters of a processor in an idle state.
[0101] Sub-step S202: Based on the above performance parameters and the preset execution time of the balancing control task, generate a second number for representing the total number of the subtasks after the splitting.
[0102] Sub-step S203: splitting the balancing control task into a second number of independently executed sub-tasks, so that the balancing control task is completed within the time range limited by the balancing control task execution duration.
[0103] Among them, through sub-steps S201-S203, the execution efficiency and reliability of the balancing control task can be significantly improved. Specifically, by obtaining the performance parameters of the idle processors, the system can intelligently evaluate the processing capabilities of each processor to ensure the rationality of task allocation. Based on these performance parameters and the preset execution time of the balancing control task, the system generates an accurate second number, which represents the total number of sub-tasks after splitting. This step not only takes into account the current state of the processor, but also presets the execution time of the task, thereby achieving a fine division of the task. Ultimately, the balancing control task is split into multiple independently executed sub-tasks, which run in parallel within a limited time range, greatly improving the efficiency of task completion, while also reducing the risk of task loss. This splitting strategy not only optimizes resource utilization, but also ensures the stable operation of the power battery system.
[0104] In some embodiments, the performance parameters in step S201 include the information collection cycle of the slave control module and the frequency of updating the cell balancing information. The information collection cycle and update frequency directly affect the accuracy and real-time performance of the balancing control task. The information collection cycle of the slave control module determines how often the system acquires power battery status information. A shorter collection cycle can more promptly reflect the current state of the battery pack, helping the system make more accurate balancing control decisions. The frequency of updating the cell balancing information is related to the timeliness of the balancing operation instructions. A high frequency of updates ensures that the balancing control strategy can quickly respond to the unbalanced state of the battery pack, effectively avoiding the occurrence of overcharging or over-discharging. By comprehensively considering these information collection and update parameters, the system can further optimize the execution of the balancing control task and improve the overall performance and safety of the power battery system.
[0105] In some embodiments, in order to achieve precise balancing control of single cells in a power battery, the first level of processing of the processor is configured to include the following sub-steps S01 to S07 .
[0106] Sub-step S01: Load subtasks into a first array.
[0107] Sub-step S02: performing balanced cell screening based on the content of the first array to obtain the serial number of the cell to be processed.
[0108] Sub-step S03: selecting a balancing mode for the single battery to be processed.
[0109] Sub-step S04: Based on the selected balancing mode, executing balancing control instructions on the single battery cells to be processed.
[0110] Sub-step S05: start the equalization timer and monitor the voltage data or power data of the single battery to be processed.
[0111] Sub-step S06: When the voltage data or power data of the single cell to be processed reaches the set range, the balancing time is terminated, the corresponding balancing execution time in the subtask is updated based on the timing result, and a first notification message is issued to indicate the end of the single cell balancing control of the single cell to be processed with the sequence number.
[0112] Sub-step S07: reacquire the voltage data or power data of the single cell to be processed with the above sequence number, and update the corresponding single cell voltage message information in the sub-task based on the reacquired voltage data or power data.
[0113] Substeps S01 through S07 not only improve the efficiency of balancing control but also ensure the safety and stability of individual cells during the balancing process. By monitoring voltage or power data in real time and terminating balancing promptly when it reaches the set range, over- or under-balancing is avoided, thereby extending the service life of the power battery. Updating individual cell voltage message information provides accurate data support for subsequent battery management.
[0114] In some embodiments, sub-step S02 is configured to compare the voltage data of each single cell in the subtask with a pre-set voltage threshold range, and screen out single cells whose voltage data exceeds the voltage threshold range as single cells to be processed, wherein the voltage threshold range is used to limit the occurrence of overcharge or over-discharge conditions in single cells. The voltage threshold range is set based on the safe operating voltage range of the single cells and is obtained through precise calculation to ensure that the single cells will not be overcharged due to excessively high voltage or over-discharged due to excessively low voltage during the balancing process. Such a setting not only improves the accuracy of balancing control, but also effectively avoids battery damage or safety hazards caused by voltage anomalies. At the same time, by screening out single cells that exceed the voltage threshold range as single cells to be processed, targeted balancing control can be performed, further improving the efficiency and effectiveness of balancing control.
[0115] In some embodiments, a battery management system includes a master control module and multiple slave control modules. The master control module is responsible for formulating balancing strategies, including generating, splitting, and sending balancing control tasks, obtaining feedback, and performing second-level processing, executing steps S10-S40. Each of the multiple slave control modules is responsible for collecting voltage data from a corresponding battery cell and performing first-level processing. Each slave control module is equipped with an independent processor for executing steps S01-S07. For example, a slave control module can be configured with a cell voltage collection message period of 0.1s, receiving voltage data from three cells at a time. Cell voltage data is updated sequentially from 0-223, allowing the voltage data of 30 cells to be updated in 1s. Because balancing control instructions are filtered based on cell voltage, balancing information for 30 cells can be filtered in 1s, and balancing control instructions can be sent for a maximum of 16 cells in 1s. This allows for faster balancing information updates than balancing control instruction transmissions. Furthermore, the subtasks are independent and are executed sequentially according to a fixed time sequence. Because a certain margin is allowed for voltage thresholds during the balancing cell screening process, this margin prevents overcharging or over-discharging of the cells.
[0116] Figure 3 This is a schematic diagram of the principle of the power battery balancing control method provided by at least one embodiment of the present disclosure. The combination of all slave control modules is regarded as a balancing control module. Figure 3As shown in the figure, the balancing control instructions and balancing execution time of the single battery are stored in a 224-dimensional array E. After the balancing control module is executed, the test results are as follows: Figure 4 After the BMS is powered on, it first reads data from the E-square array, then performs balanced control calculations, and reassigns balanced control instructions and balanced execution time. The test results are shown in the figure below. Figure 5 The test results show that the method provided by the present disclosure can effectively prevent data loss and overwriting.
[0117] Figure 6 This is a structural block diagram of a power battery balancing control device provided by at least one embodiment of the present disclosure. The device is applied to a battery management system provided with a power battery, which includes multiple single cells. Figure 6 As shown, the power battery balancing control device 1 includes a pre-processing unit 10 , a subtask generating unit 20 , a first-level control unit 30 and a second-level control unit 40 .
[0118] The pre-processing unit 10 is configured to generate a balancing control task including balancing information of each of the plurality of battery cells in each scheduling period.
[0119] The subtask generating unit 20 is configured to split the balancing control task into a plurality of independently executed subtasks, wherein each of the plurality of independently executed subtasks is used to process balancing information of a first number of single cells.
[0120] The first-level control unit 30 is configured to send each subtask to an independent processor, so that the processor performs a first-level processing on the balancing information in the corresponding subtask based on a pre-set first array, and updates the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, wherein the dimension of the first array matches the first quantity.
[0121] The second-level control unit 40 is configured to obtain updated balancing information of the single cells in the corresponding subtask fed back by each processor, and perform second-level processing on all the updated balancing information based on a preset second array, wherein the dimension of the second array matches the total number of single cells in the power battery.
[0122] The specific manner in which each unit performs operations in the above system embodiment has been described in detail in the embodiment of the method, and will not be elaborated on here.
[0123] The embodiment of the present disclosure further provides a storage medium, which stores a program or instruction. When the program or instruction is executed by a processor, the steps of the above method embodiment are implemented.
[0124] The present disclosure also provides a program product, such as Figure 7As shown, the program product includes one or more processors 21 and a memory 22. Figure 7 A processor 21 is taken as an example.
[0125] The controller may further include an input device 23 and an output device 24 .
[0126] The processor 21, the memory 22, the input device 23 and the output device 24 may be connected via a bus or other means. Figure 7 The bus connection is taken as an example.
[0127] The processor 21 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or other chips, or the second-level processing of the above-mentioned chips. The general-purpose processor can be a microprocessor or any conventional processor.
[0128] Memory 22, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and units, such as the program instructions / units corresponding to the method in the embodiments of the present disclosure. Processor 21 executes the non-transitory software programs, instructions, and units stored in memory 22 to execute various functional applications and array processing of the server, thereby implementing the steps of the above-mentioned method embodiments.
[0129] The memory 22 may include a program storage area and an array storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the array storage area may store arrays created based on the use of a processing device operated by the server, etc. In addition, the memory 22 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 22 may optionally include a memory remotely located relative to the processor 21, and these remote memories may be connected to a network connection device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and its second-level processing.
[0130] The input device 23 can receive input digital or character information and generate key signal input related to user settings and function control of the processing device of the server. The output device 24 can include a display device such as a display screen.
[0131] One or more units are stored in the memory 22 and when executed by one or more processors 21, perform the following steps: Figure 1 The method shown.
[0132] Those skilled in the art will appreciate that all or part of the processes in the above method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FM), a hard disk drive (HDD), or a solid-state drive (SSD). The storage medium can also include secondary processing of the above-mentioned types of memory.
[0133] Although the embodiments of the present disclosure have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
[0134] Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are illustrative and are not to be construed as limitations on the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.
Claims
1. A power battery balancing control method, applied to a battery management system provided with a power battery, wherein the power battery comprises a plurality of single cells, characterized in that: The method comprises: In each scheduling period, generating a balancing control task including balancing information of each of the plurality of single batteries; Splitting the balancing control task into a plurality of independently executed subtasks, wherein each of the plurality of independently executed subtasks is used to process balancing information of a first number of the single battery cells; Sending each of the subtasks to an independent processor, causing the processor to perform a first-level processing on the balancing information in the corresponding subtask based on a preset first array, and updating the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, wherein the dimension of the first array matches the first quantity; and Obtain updated balancing information of the single cells in the corresponding subtask fed back by each processor, and perform second-level processing on all the updated balancing information based on a preset second array, wherein the dimension of the second array matches the total number of single cells of the power battery.
2. The method according to claim 1, characterized in that The battery management system includes a non-volatile memory, and the method further includes: When the battery management system is powered off, storing the data of the second array in the non-volatile memory; and After the battery management system is powered on, the data of the second array stored in the non-volatile memory is acquired, and the balancing information of each of the plurality of single cells in the new balancing control task is reassigned based on the data of the second array.
3. The method according to claim 1 or 2, characterized in that The balancing information of the single battery includes: A balancing control instruction, wherein the balancing control instruction is used to control the single battery so that its voltage data or power data is adjusted to a set range; and The balancing execution time is used to count or limit the time taken for the voltage data or power data of the single battery to be adjusted to a set range.
4. The method according to claim 3, characterized in that The balancing information of the single battery also includes: The single cell voltage message information is configured to include the serial number of the single cell, voltage data, and a parameter used to indicate whether the voltage data is valid.
5. The method according to claim 1 or 2, characterized in that The first-level processing includes performing a balancing operation on the corresponding single battery according to the balancing information in the subtask, and the second-level processing includes integrating all the updated balancing information. Furthermore, generating a balancing control task including the balancing information of each of the plurality of single batteries includes: Acquiring voltage data or power data of each of the plurality of single batteries; Performing a balancing judgment on the power battery based on the voltage data or the power data of each of the plurality of single cells, and screening out all the single cells to be processed that require balancing control; For each of the cells to be processed, obtaining a balancing control instruction and a balancing execution time for adjusting the voltage data or the power data of the cells to be processed to a set range; and The balancing information of the single battery to be processed is generated based on the serial number of the single battery to be processed, the balancing control instruction and the balancing execution time, and then the balancing control task is generated.
6. The method according to claim 1 or 2, characterized in that The step of splitting the balancing control task into a plurality of independently executed subtasks includes: Acquiring performance parameters of the processor in an idle state; Based on the performance parameter and a preset execution time of the balancing control task, a second number is generated to represent the total number of the subtasks after the splitting; and The balancing control task is split into the second number of independently executed subtasks, so that the balancing control task is completed within a time range limited by the balancing control task execution duration.
7. The method according to claim 4, characterized in that The processor performs a first-level processing on the corresponding subtask based on a preset first array, and updates the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, including: Loading the subtasks into a first array; Performing balanced cell screening based on the content of the first array to obtain the sequence number of the cell to be processed; Selecting a balancing mode for the single battery to be processed; Based on the selected balancing mode, executing a balancing control instruction on the single battery to be processed; Starting the equalization timer and monitoring the voltage data or power data of the single battery to be processed; and When the voltage data or the power data of the single cell to be processed reaches a set range, the balancing time timing is ended, the corresponding balancing execution time in the subtask is updated based on the timing result, and a first notification information is issued to indicate that the single cell balancing control of the single cell to be processed with the sequence number is completed; The voltage data or the power data of the single cell to be processed with the serial number is obtained again, and the corresponding single cell voltage message information in the subtask is updated based on the voltage data or power data obtained again.
8. The method according to claim 7, characterized in that The performing balanced monomer screening based on the content of the first array includes: The voltage data of each single cell in the subtask is compared with a preset voltage threshold range, and the single cells whose voltage data exceeds the voltage threshold range are screened out as the single cells to be processed, wherein the voltage threshold range is used to limit the occurrence of overcharge or over-discharge conditions in the single cells.
9. The method according to claim 6, characterized in that The battery management system includes a master control module and multiple slave control modules. The master control module is used to generate, split, send, obtain feedback of the balancing control task, and perform the second-level processing. Each of the multiple slave control modules is used to collect voltage information of the corresponding single battery and perform the first-level processing, and is provided with an independent processor; and The performance parameters include the information collection period of the slave control module and the single cell balancing information update frequency.
10. A power battery balancing control device, applied to a battery management system provided with a power battery, wherein the power battery comprises a plurality of single cells, characterized in that: The device comprises: a pre-processing unit configured to generate, in each scheduling period, a balancing control task including balancing information of each of the plurality of single batteries; a subtask generating unit configured to split the balancing control task into a plurality of independently executed subtasks, wherein each of the plurality of independently executed subtasks is used to process balancing information of a first number of the single battery cells; a first-level control unit configured to send each of the subtasks to an independent processor, so that the processor performs a first-level processing on the balancing information in the corresponding subtask based on a preset first array, and updates the balancing information of the corresponding single battery in the subtask after the first-level processing is completed, wherein the dimension of the first array matches the first quantity; and The second-level control unit is configured to obtain updated balancing information of the single cells in the corresponding subtask fed back by each processor, and perform second-level processing on all the updated balancing information based on a preset second array, wherein the dimension of the second array matches the total number of single cells of the power battery.
11. A storage medium, characterized in that: The storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
12. A program product comprising a program or instructions, characterized in that When the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.