Vehicle, battery cell balancing method and device and storage medium
By storing and updating the waiting time of the cells in the battery management system, the problem of inconsistent cell voltage and capacity in the lithium iron phosphate battery pack is solved, and the utilization rate of the cells and the overall performance of the battery pack are improved.
Patent Information
- Application Number
- CN202310327086.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
In lithium iron phosphate battery packs, due to performance differences between individual cells and the influence of environmental factors, the cell voltage and capacity are inconsistent, affecting the overall cell utilization and energy storage.
In the battery management system of the target vehicle, the waiting time for balancing of each battery cell is stored in the flash memory based on the micro control unit, and when the detection trigger condition is reached, the waiting time for balancing is redetermined and updated to achieve the balancing operation of the battery cells.
Determine and balance the cells promptly and accurately to improve the utilization of the overall cells in the lithium iron phosphate battery pack and extend the service life of the battery pack.
Smart Images

Figure CN118722338A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle and battery cell balancing method, device, and storage medium. Background Art
[0002] Under the current level of battery cell manufacturing technology, different battery cells of the same model and specification have different parameters such as voltage, internal resistance and capacity. The lithium iron phosphate battery pack (Pack) is composed of multiple single cells. During the entire life cycle of the lithium iron phosphate battery pack, there are performance differences between the single cells. The difference in cell voltage is more easily aggravated by environmental factors during the charging and discharging process. For example, different cells have different positions in the lithium iron phosphate battery pack, and the temperature will be different, which will affect the self-discharge of the battery cell for a long time and reduce the effective active substances inside. After these subtle changes accumulate over a long period of time, it is easy to cause the voltage and capacity of each cell in the lithium iron phosphate battery pack to be inconsistent, resulting in a voltage difference between the single cells.
[0003] If the voltage difference of the battery cells is not managed, the low-voltage battery cells will reach the discharge cut-off voltage too early during discharge, thereby terminating the discharge of the lithium iron phosphate battery pack, and the high-voltage battery cells will reach the charge cut-off voltage too early during charging, thereby terminating the charging of the lithium iron phosphate battery pack. This will affect the overall utilization of the battery cells in the lithium iron phosphate battery pack, thereby reducing the stored energy. Therefore, it is necessary to balance the battery cells in the lithium iron phosphate battery pack.
[0004] Therefore, how to balance the cells in the lithium iron phosphate battery pack to improve the overall utilization of the cells in the lithium iron phosphate battery pack is a technical problem that technicians in this field urgently need to solve. Summary of the invention
[0005] The purpose of the present application is to provide a vehicle and battery cell balancing method, device, and storage medium to improve the overall battery cell utilization in a lithium iron phosphate battery pack.
[0006] In order to solve the above technical problems, this application provides the following technical solutions:
[0007] In a first aspect, a cell balancing method is provided, comprising:
[0008] When the battery management system of the target vehicle is in any mode, performing a balancing operation on the cells in the lithium iron phosphate battery pack based on the waiting balancing time of each cell stored in the flash memory of the micro control unit of the target vehicle;
[0009] When the detection trigger condition is met, re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack;
[0010] Based on the re-determined time length for each battery cell to be balanced, the time length for each battery cell to be balanced stored in the flash memory is updated.
[0011] Optionally, determining whether the detection trigger condition is met is performed by the following steps:
[0012] When the battery management system is in a charging mode, monitoring the maximum cell voltage and charging current of the lithium iron phosphate battery pack;
[0013] Determine whether the detection trigger condition is met according to the highest battery cell voltage and the charging current.
[0014] Optionally, determining whether the detection trigger condition is met according to the highest battery cell voltage and the charging current includes:
[0015] Whether the detection trigger condition is met is determined according to whether the highest battery cell voltage is greater than or equal to the first voltage and whether the charging current is less than or equal to the first current.
[0016] Optionally, the re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes:
[0017] Determine the voltage difference between the voltage of each battery cell in the lithium iron phosphate battery pack and the lowest battery cell voltage;
[0018] The balancing time of each battery cell is determined according to the voltage difference and the pre-obtained balancing current.
[0019] Optionally, determining the waiting time for balancing of each battery cell according to the voltage difference and the pre-obtained balancing current includes:
[0020] Determining a theoretical balancing time of each battery cell based on a ratio of the voltage difference to a pre-obtained balancing current;
[0021] The time to be balanced for each battery cell is determined according to the product of the theoretical balancing time of each battery cell and a preset target value, where the target value is a positive number less than or equal to 1.
[0022] Optionally, the detection trigger condition is determined to be met by the following steps:
[0023] When it is monitored that the battery management system issues a power-off request, it is determined that the detection trigger condition is met.
[0024] Optionally, the re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes:
[0025] If no overcharging event occurs in the battery management system from power-on to power-off, determining a first operation time of the battery management system based on the power-on time and the power-off time of the battery management system;
[0026] The balancing time of each battery cell in the lithium iron phosphate battery pack is re-determined according to the first operating time.
[0027] Optionally, the re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes:
[0028] If an overcharging event occurs in the battery management system from power-on to power-off, obtaining a determination time corresponding to the last time the balancing time of each battery cell in the lithium iron phosphate battery pack was re-determined when the battery management system is in a charging mode;
[0029] Determining a second operation time of the battery management system based on the determination time and the power-off time of the battery management system;
[0030] The balancing time of each battery cell in the lithium iron phosphate battery pack is re-determined according to the second operating time.
[0031] Optionally, the detection trigger condition is determined to be met by the following steps:
[0032] When it is monitored that the battery management system is powered on, it is determined that the detection trigger condition is met.
[0033] Optionally, the re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes:
[0034] Determining a sleep duration of the battery management system;
[0035] According to the sleep time, the time for each battery cell in the lithium iron phosphate battery pack to be balanced is re-determined.
[0036] Optionally, the unit of the balancing time of each battery cell stored in the flash memory is N, and N is greater than 1 minute.
[0037] Optionally, the flash memory driver runs in a random access memory.
[0038] Optionally, when the arbitrary mode is the sleep mode, the balancing operation on the cells in the lithium iron phosphate battery pack includes:
[0039] The dormant automatic balancing function of the analog front end is used to balance the cells in the lithium iron phosphate battery pack.
[0040] In a second aspect, a cell balancing device is provided, comprising:
[0041] A balancing module, used for performing a balancing operation on the cells in the lithium iron phosphate battery pack based on the waiting balancing time of each cell stored in the flash memory of the micro control unit of the target vehicle when the battery management system of the target vehicle is in any mode;
[0042] A determination module, used to re-determine the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack when the detection trigger condition is met;
[0043] The updating module is used to update the waiting time for balancing of each battery cell stored in the flash memory based on the re-determined waiting time for balancing of each battery cell.
[0044] In a third aspect, a vehicle is provided, comprising a vehicle body, and a battery cell balancing device as described in the second aspect and disposed in the vehicle body.
[0045] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the cell balancing method described in the first aspect are implemented.
[0046] In a fifth aspect, a computer program product is provided, the computer program product comprising computer instructions, the computer instructions being stored in a computer-readable storage medium and being suitable for being read and executed by a processor, so that a computer device having the processor performs the steps of the cell balancing method as described in the first aspect.
[0047] By applying the technical solution provided in the embodiment of the present application, when the battery management system of the target vehicle is in any mode, the cells in the lithium iron phosphate battery pack are balanced based on the waiting time of each cell stored in the flash memory of the microcontroller unit, and when the detection trigger condition is met, the waiting time of each cell is re-determined, and the waiting time of each cell stored in the flash memory is updated. In this way, the cells that need to be balanced in the lithium iron phosphate battery pack can be determined in a timely and accurate manner, and the cells can be balanced in a timely manner, thereby improving the overall utilization rate of the cells in the lithium iron phosphate battery pack.
[0048] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 This is a flowchart of an implementation method of a battery cell balancing method in an embodiment of the present application;
[0051] Figure 2 A schematic diagram of a cell balancing process in an embodiment of the present application;
[0052] Figure 3 This is a schematic diagram of the structure of a battery cell balancing device in an embodiment of the present application;
[0053] Figure 4 It is a schematic diagram of the structure of a vehicle in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0055] See also Figure 1 FIG. 1 is a flowchart of an implementation of a cell balancing method provided in an embodiment of the present application. The method may include the following steps:
[0056] S110: When the battery management system of the target vehicle is in any mode, the cells in the lithium iron phosphate battery pack are balanced based on the waiting time for balancing of each cell stored in the memory of the micro control unit of the target vehicle.
[0057] In an embodiment of the present application, the battery management system (BMS) of the target vehicle can manage the lithium iron phosphate battery pack. The lithium iron phosphate battery pack is composed of multiple battery cells. The waiting time for each battery cell in the lithium iron phosphate battery pack can be stored in the flash memory of the micro control unit (MCU) of the target vehicle, and the waiting time for different battery cells may be the same or different. For a battery cell, if the waiting time for the battery cell is greater than 0, it means that the battery cell is a battery cell that needs to be balanced. If the waiting time for the battery cell is 0 or does not exist, it means that the battery cell does not need to be balanced.
[0058] When the battery management system is in any mode, the cells in the lithium iron phosphate battery pack can be balanced based on the waiting time of each cell stored in the flash memory of the micro control unit.
[0059] For the balancing of the cells in the lithium iron phosphate battery pack, active balancing technology or passive balancing technology can be used. Among them, the passive balancing technology does not require additional circuits or controllers, is relatively simple and economical, and dissipates the energy of the cells with high energy through resistance heating to reduce the voltage difference between the cells, thereby improving the charge and discharge capacity of the lithium iron phosphate battery pack.
[0060] Any mode of the battery management system can include driving mode, charging mode, sleep mode, etc., that is, in various situations such as driving, charging, parking, etc., the battery cells are balanced based on the waiting time of each battery cell stored in the flash memory. This can effectively ensure sufficient balancing time.
[0061] S120: When the detection trigger condition is met, re-determine the balancing time of each battery cell in the lithium iron phosphate battery pack.
[0062] In an embodiment of the present application, a detection trigger condition may be pre-set, and the detection trigger condition is used to trigger detection of each battery cell in the lithium iron phosphate battery pack to re-determine the balancing time of each battery cell.
[0063] When the detection trigger condition is met, the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack can be re-determined. The waiting time for balancing of each battery cell can be re-determined to ensure the accuracy of the waiting time for balancing of each battery cell.
[0064] S130: Based on the re-determined time period for each battery cell to be balanced, update the time period for each battery cell to be balanced stored in the flash memory.
[0065] In an embodiment of the present application, when the detection trigger condition is met, after the time to be balanced of each battery cell in the lithium iron phosphate battery pack is redetermined, the time to be balanced of each battery cell stored in the flash memory can be updated based on the redetermined time to be balanced of each battery cell, so that the time to be balanced of each battery cell stored in the flash memory is more accurate, and then based on the time to be balanced of each battery cell stored in the flash memory, the balancing operation of the battery cells in the lithium iron phosphate battery pack can be more accurate.
[0066] By applying the method provided in the embodiment of the present application, when the battery management system of the target vehicle is in any mode, the cells in the lithium iron phosphate battery pack are balanced based on the waiting time of each cell stored in the flash memory of the microcontroller unit, and when the detection trigger condition is met, the waiting time of each cell is re-determined, and the waiting time of each cell stored in the flash memory is updated. In this way, the cells that need to be balanced in the lithium iron phosphate battery pack can be determined in a timely and accurate manner, and the cells can be balanced in a timely manner, thereby improving the overall utilization rate of the cells in the lithium iron phosphate battery pack.
[0067] In some embodiments of the present application, whether the detection trigger condition is met may be determined by the following steps:
[0068] Step 1: When the battery management system is in charging mode, monitor the maximum cell voltage and charging current of the lithium iron phosphate battery pack;
[0069] Step 2: Determine whether the detection trigger condition is met based on the maximum cell voltage and charging current.
[0070] For the convenience of description, the above two steps are combined for explanation.
[0071] In the related art, the collected cell voltage is used instead of the open circuit voltage (OCV) based on long-term static state, and then the state of charge difference or cell voltage difference is judged by the open circuit voltage-state of charge (OCV-SOC) curve. However, lithium iron phosphate batteries have the characteristics of a long plateau period of open circuit voltage-state of charge, and there may be voltage acquisition errors in the front-end chip, which can easily lead to large state of charge errors. Therefore, it is impossible to judge the cell capacity of lithium iron phosphate batteries by long-term static state like ternary batteries. Moreover, the wrong judgment of the cell voltage difference and capacity difference is more likely to increase the cell voltage difference, thereby reducing the capacity utilization of the lithium iron phosphate battery pack.
[0072] In an embodiment of the present application, in order to address the problem of a long plateau period of lithium iron phosphate batteries and inaccurate judgment of cells that need equalization, when the battery management system is in charging mode, the maximum cell voltage and charging current in the lithium iron phosphate battery pack are monitored, and based on the maximum cell voltage and charging current during the monitoring process, it is determined whether a detection trigger condition is met. If the detection trigger condition is met, the time for the cells to be balanced is re-determined to improve the accuracy of the judgment of the cells that need equalization.
[0073] Optionally, whether the detection trigger condition is met may be determined based on whether the highest cell voltage is greater than or equal to the first voltage, and whether the charging current is less than or equal to the first current.
[0074] The first voltage and the first current can be set and adjusted according to actual conditions, such as setting the first voltage to 3.6V and setting the first current to 0.5A.
[0075] When the highest cell voltage is greater than or equal to the first voltage, and the charging current is less than or equal to the first current, the lithium iron phosphate battery pack can be considered to be at the end of charging. In this case, the monitored cell voltage is relatively accurate, thereby ensuring the accuracy of the re-determined time to be balanced of the cells in the lithium iron phosphate battery pack. Therefore, when the highest cell voltage is greater than or equal to the first voltage, and the charging current is less than or equal to the first current, it can be determined that the detection trigger condition is met, and when the highest cell voltage is less than the first voltage, or the charging current is greater than the first current, it can be determined that the detection trigger condition is not met, so as to improve the accuracy of determining the time to be balanced of the cells in the lithium iron phosphate battery pack.
[0076] In some embodiments of the present application, re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack may include the following steps:
[0077] The first step: determine the voltage difference between each cell voltage and the minimum cell voltage in the lithium iron phosphate battery pack;
[0078] The second step: Determine the balancing time for each battery cell based on the voltage difference and the pre-obtained balancing current.
[0079] For the convenience of description, the above two steps are combined for explanation.
[0080] In an embodiment of the present application, when the battery management system is in charging mode, the maximum cell voltage and charging current of the lithium iron phosphate battery pack are monitored, and whether the detection trigger condition is met is determined based on the maximum cell voltage and charging current. If the detection trigger condition is met, the voltage difference between the voltage of each cell in the lithium iron phosphate battery pack and the minimum cell voltage can be determined, and then the time for each cell to be balanced can be determined based on the voltage difference and the pre-obtained balancing current, that is, the time for each cell to be balanced. The balancing current can be obtained in advance through configuration information, such as the balancing current is 150mA.
[0081] Optionally, the balancing time of each cell can be determined based on the ratio of the voltage difference and the pre-obtained balancing current. For example, for each cell, the ratio of the voltage difference between the cell voltage and the lowest cell voltage to the balancing current can be determined as the balancing time of the cell.
[0082] Optionally, the theoretical balancing time of each battery cell can be determined based on the ratio of the voltage difference and the pre-obtained balancing current, and then the waiting balancing time of each battery cell can be determined based on the product of the theoretical balancing time of each battery cell and the preset target value, and the target value is a positive number less than or equal to 1, such as 0.5. For example, for each battery cell, the ratio of the voltage difference between the battery cell voltage and the minimum battery cell voltage and the balancing current can be first determined as the theoretical balancing time of the battery cell, and then the theoretical balancing time of the battery cell can be multiplied by the target value to obtain the waiting balancing time of the battery cell. This can ensure better tolerance.
[0083] In some embodiments of the present application, the following steps may be used to determine whether the detection trigger condition is met:
[0084] When it is detected that the battery management system issues a power-off request, it is determined that a detection trigger condition is met.
[0085] In an embodiment of the present application, whether the detection trigger condition is met can be determined based on whether the battery management system issues a power-off request. Optionally, it can be determined that the detection trigger condition is met when it is detected that the battery management system issues a power-off request. When the detection trigger condition is met, the waiting time for each battery cell in the lithium iron phosphate battery pack is re-determined, and the waiting time for each battery cell stored in the flash memory is updated to perform a balancing operation on the battery cell based on the updated waiting time for balancing.
[0086] In some embodiments of the present application, re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack may include the following steps:
[0087] Step 1: If no overcharging event occurs during the period from power-on to power-off of the battery management system, determining the first operation time of the battery management system based on the power-on time and the power-off time of the battery management system;
[0088] Step 2: Re-determine the balancing time of each battery cell in the lithium iron phosphate battery pack according to the first operating time.
[0089] For the convenience of description, the above two steps are combined for explanation.
[0090] In the embodiment of the present application, the battery management system performs a balancing operation on the cells in the lithium iron phosphate battery pack based on the waiting time of each cell stored in the flash memory in any mode, that is, the balancing operation of the cells in the lithium iron phosphate battery pack is performed around the clock. When the battery management system issues a power-off request, the power-off request time can be used as the power-off time, or the power-off request time plus the set time can be used as the power-off time.
[0091] If no overcharging event occurs during the period from power-on to power-off of the battery management system, the first operating time of the battery management system can be determined based on the power-on time and power-off time of the battery management system. Optionally, the time between the power-on time and the power-off time of the battery management system can be determined as the first operating time of the battery management system.
[0092] During the first operation time, the balancing operation is performed based on the time to be balanced of each battery cell stored in the flash memory. According to the first operation time, the time to be balanced of each battery cell in the lithium iron phosphate battery pack can be re-determined. Optionally, the time to be balanced of each battery cell stored in the flash memory can be subtracted from the first operation time to obtain the re-determined time to be balanced of each battery cell, and the time to be balanced of each battery cell stored in the flash memory can be updated. In this way, after the battery management system is powered off, the battery cells can be balanced based on the updated time to be balanced of each battery cell stored in the flash memory, thereby improving the accuracy of the balancing operation.
[0093] In some embodiments of the present application, re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack may include the following steps:
[0094] The first step: if an overcharging event occurs during the period from power-on to power-off of the battery management system, then the determination time corresponding to the last time the balancing time of each battery cell in the lithium iron phosphate battery pack was re-determined when the battery management system was in the charging mode is obtained;
[0095] The second step: determining the second operation time of the battery management system based on the determination time and the power-off time of the battery management system;
[0096] The third step: based on the second operating time, re-determine the balancing time of each battery cell in the lithium iron phosphate battery pack.
[0097] For the convenience of description, the above three steps are combined for explanation.
[0098] In the embodiment of the present application, when the battery management system is in any mode, the cells in the lithium iron phosphate battery pack are balanced based on the waiting time of each cell stored in the flash memory, that is, the balancing operation of the cells in the lithium iron phosphate battery pack is performed around the clock. When the battery management system is in the charging mode, if it is determined that the detection trigger condition is met based on the maximum cell voltage and charging current, the waiting time of each cell in the lithium iron phosphate battery pack can be re-determined, and the waiting time of each cell stored in the flash memory can be updated.
[0099] If an overcharging event occurs during the period from power-on to power-off of the battery management system, it can be considered that the time for the battery cells to be balanced may have been re-determined during this period, and the determination time corresponding to the most recent re-determination of the time for each battery cell in the lithium iron phosphate battery pack to be balanced when the battery management system is in charging mode can be obtained.
[0100] Based on the determined time and the power-off time of the battery management system, the second operating time of the battery management system can be determined. During the second operating time, the balancing operation is performed based on the time to be balanced of each battery cell stored in the flash memory. According to the second operating time, the time to be balanced of each battery cell in the lithium iron phosphate battery pack can be re-determined. Optionally, the time to be balanced of each battery cell stored in the flash memory can be subtracted from the second operating time to obtain the re-determined time to be balanced of each battery cell, and the time to be balanced of each battery cell stored in the flash memory can be updated. In this way, after the battery management system is powered off, the battery cells can be balanced based on the updated time to be balanced of each battery cell stored in the flash memory, thereby improving the accuracy of the balancing operation.
[0101] In some embodiments of the present application, the following steps may be used to determine whether the detection trigger condition is met:
[0102] When it is detected that the battery management system is powered on, it is determined that a detection trigger condition is met.
[0103] In an embodiment of the present application, it can be determined whether the detection trigger condition is met based on whether the battery management system is powered on. Optionally, it can be determined that the detection trigger condition is met when it is monitored that the battery management system is powered on. When the detection trigger condition is met, the waiting time for each battery cell in the lithium iron phosphate battery pack is re-determined, and the waiting time for each battery cell stored in the flash memory is updated to perform a balancing operation on the battery cell based on the updated waiting time for balancing.
[0104] In some embodiments of the present application, re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack may include the following steps:
[0105] Step 1: Determine the sleep time of the battery management system;
[0106] Step 2: Re-determine the balancing time for each cell in the lithium iron phosphate battery pack based on the sleep time.
[0107] For the convenience of description, the above two steps are combined for explanation.
[0108] In the embodiment of the present application, the battery management system performs a balancing operation on the cells in the lithium iron phosphate battery pack based on the waiting time of each cell stored in the flash memory in any mode, that is, the balancing operation on the cells in the lithium iron phosphate battery pack is performed around the clock. That is, the battery management system also performs a balancing operation on the cells after the power is turned off.
[0109] When it is detected that the battery management system is powered on, the sleep time of the battery management system can be determined, and the battery cells are also balanced during the sleep time.
[0110] According to the sleep time, the time to be balanced for each battery cell in the lithium iron phosphate battery pack can be re-determined. Optionally, the time to be balanced for each battery cell stored in the flash memory can be subtracted from the sleep time to obtain the re-determined time to be balanced for each battery cell, and the time to be balanced for each battery cell stored in the flash memory can be updated. In this way, after the battery management system is powered on, the battery cells can be balanced based on the updated time to be balanced for each battery cell stored in the flash memory, thereby improving the accuracy of the balancing operation.
[0111] In some embodiments of the present application, the unit of the balancing time of each battery cell stored in the flash memory is N, and N is greater than 1 minute.
[0112] The lithium iron phosphate battery pack is composed of multiple cells. The waiting time for each cell needs to be recorded separately. The data of the waiting time for balancing that needs to be stored is relatively large. Therefore, the embodiment of the present application increases the unit of the waiting time for balancing to be greater than 1 minute. For example, N is 10 minutes, that is, the stored waiting time for balancing is 1, which means 10 minutes. This can save storage space.
[0113] In addition, if the larger time data to be balanced is stored in an electrically erasable programmable read only memory (EEPROM), a larger storage space is required, which increases the hardware cost. The embodiment of the present application stores the time data to be balanced in the flash memory of the micro control unit, which can reduce the hardware cost.
[0114] In some embodiments of the present application, the flash memory driver runs in the random access memory.
[0115] In an embodiment of the present application, the waiting time for each battery cell to be balanced is stored in the flash memory of the microcontroller. When updating the waiting time for balance in the flash memory, the driver of the flash memory is required. If the driver of the flash memory is always effectively enabled, there is a possibility that the microcontroller is mistakenly erased or mistakenly written. The embodiment of the present application runs the driver of the flash memory in a random access memory (Random Access Memory, RAM). In the case of legal operation and / or correct authentication, the driver of the flash memory is loaded into the random access memory. In other cases, the driver of the flash memory in the random access memory is invalid data, which can effectively prevent the misoperation of the flash memory. Legal operation can be a built-in operation that meets compliance checks.
[0116] In some embodiments of the present application, when any mode is a sleep mode, performing a balancing operation on the cells in the lithium iron phosphate battery pack may include the following steps:
[0117] The dormant automatic balancing function of the analog front end is used to balance the cells in the lithium iron phosphate battery pack.
[0118] In an embodiment of the present application, when the battery management system is in sleep mode, the sleep automatic balancing function of the analog front end (Analog Front End, AFE) can be used to balance the cells in the lithium iron phosphate battery pack. That is, the balancing operation can be performed only by using the sleep automatic balancing function of the analog front end, and the microcontroller on the main board (BCU) can be completely sleep. The analog front end can use NXP 3374AFE, which has the characteristics of main board sleep and chip automatic balancing. In this way, the balancing operation of the battery cells can be achieved around the clock, ensuring sufficient balancing time.
[0119] For ease of understanding, the following Figure 2 The cell balancing process shown further illustrates the embodiment of the present application.
[0120] 1) Start the cell balancing device;
[0121] 2) Determine whether the BMS is powered on by KL15. If it is powered on by KL15, jump to step 3), otherwise jump to step 15);
[0122] 3) Read the balancing time of each battery cell stored in Flash;
[0123] 4) Subtract the BMS sleep time from the waiting time for balancing of each battery cell read from the Flash, and update the waiting time for balancing of each battery cell in the Flash;
[0124] 5) Based on the waiting time for balancing of each battery cell in the Flash, start balancing the battery cells.
[0125] 6) Determine whether the BMS is in charging mode. If so, jump to step 7), otherwise jump to step 9);
[0126] 7) Determine whether the detection trigger condition is met, such as whether the highest cell voltage is greater than or equal to the first voltage, and whether the charging current is less than or equal to the first current. If the detection trigger condition is met, jump to step 8), otherwise jump to step 6);
[0127] 8) Based on the voltage difference between each cell and the lowest cell voltage, and the balancing current, the balancing time of each cell is re-determined and updated to the Flash;
[0128] 9) When the BMS is in standby or driving mode, balance the cells;
[0129] 10) Determine whether the BMS issues a power-off request. If so, jump to step 11), otherwise jump to step 9);
[0130] 11) Subtract the BMS operation time from the waiting time of each battery cell in Flash or the BMS operation time from the time when the waiting time of balancing is re-determined in step 8) to the time of power-off, and update the waiting time of each battery cell in Flash;
[0131] 12) BMS is in sleep mode, and the AFE automatic balancing function is turned on according to the balancing time of each battery cell stored in the Flash;
[0132] 13) Determine whether the BMS enters sleep mode again. If so, jump to step 14), otherwise jump to step 2);
[0133] 14) BMS remains in sleep mode and goes to step 15);
[0134] 15) Determine whether the BMS wakes up regularly. If so, jump to step 2), otherwise jump to step 14).
[0135] The embodiment of the present application updates the waiting time for balancing of each battery cell in the Flash in the following three situations:
[0136] In the charging mode, whether the highest cell voltage is greater than or equal to the first voltage, and whether the charging current is less than or equal to the first current;
[0137] When the BMS is powered on;
[0138] When the BMS issues a power-off request.
[0139] This can reduce the number of Flash erase times and increase the Flash life.
[0140] Corresponding to the above method embodiment, the embodiment of the present application further provides a cell balancing device. The cell balancing device described below and the cell balancing method described above can refer to each other.
[0141] See also Figure 3 As shown, the cell balancing device 300 may include the following modules:
[0142] The balancing module 310 is used to balance the cells in the lithium iron phosphate battery pack based on the waiting time of each cell stored in the flash memory of the micro control unit of the target vehicle when the battery management system of the target vehicle is in any mode;
[0143] A determination module 320, configured to re-determine the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack when the detection trigger condition is met;
[0144] The updating module 330 is used to update the waiting time for balancing of each battery cell stored in the flash memory based on the re-determined waiting time for balancing of each battery cell.
[0145] By using the device provided in the embodiment of the present application, when the battery management system of the target vehicle is in any mode, the cells in the lithium iron phosphate battery pack are balanced based on the waiting time of each cell stored in the flash memory of the microcontroller unit, and when the detection trigger condition is met, the waiting time of each cell is re-determined, and the waiting time of each cell stored in the flash memory is updated. In this way, the cells that need to be balanced in the lithium iron phosphate battery pack can be determined in a timely and accurate manner, and the cells can be balanced in a timely manner, thereby improving the overall utilization rate of the cells in the lithium iron phosphate battery pack.
[0146] In some embodiments of the present application, the determination module 320 is used to determine whether the detection trigger condition is met through the following steps:
[0147] When the battery management system is in charging mode, monitor the maximum cell voltage and charging current of the lithium iron phosphate battery pack;
[0148] Determine whether the detection trigger condition is met based on the highest cell voltage and charging current.
[0149] In some embodiments of the present application, the determination module 320 is used to:
[0150] Whether the detection trigger condition is met is determined according to whether the highest battery cell voltage is greater than or equal to the first voltage and whether the charging current is less than or equal to the first current.
[0151] In some embodiments of the present application, the determination module 320 is used to:
[0152] Determine the voltage difference between each cell voltage and the minimum cell voltage in the lithium iron phosphate battery pack;
[0153] The balancing time of each battery cell is determined based on the voltage difference and the pre-obtained balancing current.
[0154] In some embodiments of the present application, the determination module 320 is used to:
[0155] Based on the ratio of the voltage difference and the pre-obtained balancing current, the theoretical balancing time of each battery cell is determined; according to the product of the theoretical balancing time of each battery cell and the preset target value, the balancing time of each battery cell is determined, and the target value is a positive number less than or equal to 1.
[0156] In some embodiments of the present application, the determination module 320 is used to determine whether the detection trigger condition is met through the following steps:
[0157] When it is detected that the battery management system issues a power-off request, it is determined that a detection trigger condition is met.
[0158] In some embodiments of the present application, the determination module 320 is used to:
[0159] If no overcharging event occurs in the battery management system from power-on to power-off, determining a first operation time of the battery management system based on the power-on time and the power-off time of the battery management system;
[0160] According to the first operating time, the balancing time of each battery cell in the lithium iron phosphate battery pack is re-determined.
[0161] In some embodiments of the present application, the determination module 320 is used to:
[0162] If an overcharging event occurs during the period from power-on to power-off of the battery management system, then the determination time corresponding to the last time the balancing time of each battery cell in the lithium iron phosphate battery pack was re-determined when the battery management system was in the charging mode is obtained;
[0163] Determining a second operation time of the battery management system based on the determination time and the power-off time of the battery management system;
[0164] According to the second operating time, the balancing time of each battery cell in the lithium iron phosphate battery pack is re-determined.
[0165] In some embodiments of the present application, the determination module 320 is used to determine whether the detection trigger condition is met through the following steps:
[0166] When it is detected that the battery management system is powered on, it is determined that a detection trigger condition is met.
[0167] In some embodiments of the present application, the determination module 320 is used to:
[0168] Determine the sleep duration of the battery management system;
[0169] According to the sleep time, the balancing time of each battery cell in the lithium iron phosphate battery pack is re-determined.
[0170] In some embodiments of the present application, the unit of the balancing time of each battery cell stored in the flash memory is N, and N is greater than 1 minute.
[0171] In some embodiments of the present application, the flash memory driver runs in the random access memory.
[0172] In some embodiments of the present application, when any mode is a sleep mode, the balancing module 310 is configured to:
[0173] The dormant automatic balancing function of the analog front end is used to balance the cells in the lithium iron phosphate battery pack.
[0174] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0175] Corresponding to the above method embodiment, the present application embodiment also provides a vehicle, such as Figure 4 As shown, the vehicle includes a vehicle body 410, and a Figure 3 The cell balancing device 300 is shown.
[0176] Corresponding to the above method embodiment, the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned battery cell balancing method are implemented.
[0177] In addition, it should be noted that: the embodiment of the present application also provides a computer program product or a computer program, which may include computer instructions, and the computer instructions may be stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor can execute the computer instructions so that the computer device executes the description of the cell balancing method in the corresponding embodiment above, so it will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated. For technical details not disclosed in the computer program product or computer program embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0178] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0179] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0180] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0181] Specific examples are used herein to illustrate the principles and implementation methods of the present application, and the description of the above embodiments is only used to help understand the technical solution and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A cell balancing method, characterized in that: include: When the battery management system of the target vehicle is in any mode, performing a balancing operation on the cells in the lithium iron phosphate battery pack based on the waiting balancing time of each cell stored in the flash memory of the micro control unit of the target vehicle; When the detection trigger condition is met, re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack; Based on the re-determined time period for each battery cell to be balanced, the time period for each battery cell to be balanced stored in the flash memory is updated.
2. The method according to claim 1, characterized in that Determine whether the detection trigger condition is met by the following steps: When the battery management system is in a charging mode, monitoring the maximum cell voltage and charging current of the lithium iron phosphate battery pack; Determine whether the detection trigger condition is met according to the highest battery cell voltage and the charging current.
3. The method according to claim 2, characterized in that The determining, according to the highest cell voltage and the charging current, whether the detection trigger condition is met includes: Whether the detection trigger condition is met is determined according to whether the highest battery cell voltage is greater than or equal to the first voltage and whether the charging current is less than or equal to the first current.
4. The method according to claim 2, characterized in that: The re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes: Determine the voltage difference between the voltage of each battery cell in the lithium iron phosphate battery pack and the lowest battery cell voltage; The balancing time of each battery cell is determined according to the voltage difference and the pre-obtained balancing current.
5. The method according to claim 4, characterized in that The step of determining the waiting time for balancing of each battery cell according to the voltage difference and the pre-obtained balancing current includes: Determining a theoretical balancing time of each battery cell based on a ratio of the voltage difference to a pre-obtained balancing current; The time to be balanced for each battery cell is determined according to the product of the theoretical balancing time of each battery cell and a preset target value, where the target value is a positive number less than or equal to 1.
6. The method according to claim 1, characterized in that Determine that the detection trigger condition is met by the following steps: When it is monitored that the battery management system issues a power-off request, it is determined that the detection trigger condition is met.
7. The method according to claim 6, characterized in that The re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes: If no overcharging event occurs in the battery management system from power-on to power-off, determining a first operation time of the battery management system based on the power-on time and the power-off time of the battery management system; The balancing time of each battery cell in the lithium iron phosphate battery pack is re-determined according to the first operating time.
8. The method according to claim 6, characterized in that The re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes: If an overcharging event occurs in the battery management system from power-on to power-off, obtaining a determination time corresponding to the last time the balancing time of each battery cell in the lithium iron phosphate battery pack was re-determined when the battery management system is in a charging mode; Determining a second operation time of the battery management system based on the determination time and the power-off time of the battery management system; The balancing time of each battery cell in the lithium iron phosphate battery pack is re-determined according to the second operating time.
9. The method according to claim 1, characterized in that: Determine that the detection trigger condition is met by the following steps: When it is monitored that the battery management system is powered on, it is determined that the detection trigger condition is met.
10. The method according to claim 9, characterized in that The re-determining the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack includes: Determining a sleep duration of the battery management system; According to the sleep time, the time for each battery cell in the lithium iron phosphate battery pack to be balanced is re-determined.
11. The method according to claim 1, characterized in that: The unit of the waiting time for balancing of each battery cell stored in the flash memory is N, where N is greater than 1 minute.
12. The method according to claim 1, characterized in that The driver of the flash memory runs in the random access memory.
13. The method according to any one of claims 1 to 12, characterized in that When any mode is a sleep mode, the balancing operation on the cells in the lithium iron phosphate battery pack includes: The dormant automatic balancing function of the analog front end is used to balance the cells in the lithium iron phosphate battery pack.
14. A cell balancing device, characterized in that: include: A balancing module, used for performing a balancing operation on the cells in the lithium iron phosphate battery pack based on the waiting balancing time of each cell stored in the flash memory of the micro control unit of the target vehicle when the battery management system of the target vehicle is in any mode; A determination module, used to re-determine the waiting time for balancing of each battery cell in the lithium iron phosphate battery pack when the detection trigger condition is met; The updating module is used to update the waiting time for balancing of each battery cell stored in the flash memory based on the re-determined waiting time for balancing of each battery cell.
15. A vehicle, characterized in that: It comprises a vehicle body, and a battery cell balancing device as claimed in claim 14 disposed in the vehicle body.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the cell balancing method according to any one of claims 1 to 13 are implemented.
