Battery charging management methods, devices, electronic devices and storage media

By predicting the changes in multiple parameters of the battery and determining the time of charging of the battery, the battery failure problem caused by single parameter judgment in the prior art is solved, and the normal charging and discharging of the battery and the service life extension of the battery are achieved.

CN118539565BActive Publication Date: 2024-11-12SHENZHEN AMPERE TIME DIGITAL ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410965412.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-12
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

Existing battery charging technology mainly relies on a single parameter to determine whether charging is stopped, which can easily lead to battery failure and affect normal charging and discharge.

Method used

By predicting changes in multiple parameters (state of charge value, charging current ratio, battery cell temperature), the target prediction time for the battery to stop charging is determined, and the battery to stop charging is controlled at the target moment to avoid failure.

Benefits of technology

Ensure normal charging and discharging of the battery, extend the service life, and avoid damage and safety risks caused by overcharging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118539565B_ABST
    Figure CN118539565B_ABST
Patent Text Reader

Abstract

The present invention discloses a battery charging management method, device, electronic device and storage medium, the method comprising: detecting whether a target battery is in a charging state, the target battery comprising a plurality of battery cells; when the target battery is in a charging state, obtaining a first parameter set, a second parameter set and a third parameter set of the target battery within a preset time period, the first parameter set comprising a plurality of state of charge values, the second parameter set comprising a plurality of charging current multiples, and the third parameter set comprising the overall temperature of a plurality of battery cells; predicting a stop charging duration of the target battery according to the plurality of first parameter sets, second parameter sets and third parameter sets, and obtaining a target predicted duration; obtaining a current moment; determining a target stop charging moment according to the current moment and the target predicted duration; and when the target stop charging moment is reached, controlling the target battery to stop charging, so as to ensure that the battery is charged and discharged normally.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery charging technology, and in particular to a battery charging management method, device, electronic equipment and storage medium. Background Art

[0002] At present, battery technology has undergone great development and improvement, which not only improves the performance and reliability of batteries, but also greatly expands the application scope and influence of batteries. The progress of battery technology and the improvement of battery charging technology have not only improved the performance and user experience of existing equipment, but also opened up a broader development space for emerging technologies and application scenarios.

[0003] However, during the battery charging process, a single parameter is generally used to determine whether the battery stops charging, which can easily lead to battery failure and affect the normal charging and discharging of the battery. Therefore, how to ensure the normal charging and discharging of the battery needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a battery charging management method, device, electronic device and storage medium, which determine the target predicted duration for stopping battery charging by predicting changes in multiple parameters, thereby determining the target stop charging time according to the current time and the target predicted duration, and when the target stop charging time is reached, control the target battery to stop charging to avoid battery failure, thereby ensuring normal charging and discharging of the battery.

[0005] In a first aspect, an embodiment of the present application provides a battery charging management method, the method comprising:

[0006] Detecting whether a target battery is in a charging state, wherein the target battery includes a plurality of cells;

[0007] When the target battery is in a charging state, a first parameter set, a second parameter set, and a third parameter set of the target battery within a preset time period are obtained, wherein the first parameter set includes multiple state of charge values, the second parameter set includes multiple charging current multiples, and the third parameter set includes the overall temperature of multiple battery cells;

[0008] Predicting a stop charging duration of a target battery according to the plurality of first parameter sets, the second parameter set, and the third parameter set to obtain a target predicted duration;

[0009] Get the current time;

[0010] Determine the target charging stop time based on the current time and the target predicted duration;

[0011] When the target stop charging time arrives, the target battery is controlled to stop charging.

[0012] In a second aspect, an embodiment of the present application provides a battery charging management device, the device comprising: a detection unit and a processing unit;

[0013] A detection unit, used to detect whether a target battery is in a charging state, wherein the target battery includes a plurality of cells;

[0014] a processing unit, configured to obtain, when the target battery is in a charging state, a first parameter set, a second parameter set, and a third parameter set of the target battery within a preset time period, wherein the first parameter set includes a plurality of state of charge values, the second parameter set includes a plurality of charging current multiples, and the third parameter set includes an overall temperature of a plurality of battery cells;

[0015] Predicting a stop charging duration of a target battery according to the plurality of first parameter sets, the second parameter set, and the third parameter set to obtain a target predicted duration;

[0016] Get the current time;

[0017] Determine the target charging stop time based on the current time and the target predicted duration;

[0018] When the target stop charging time arrives, the target battery is controlled to stop charging.

[0019] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory, so that the electronic device executes the method of the first aspect.

[0020] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method of the first aspect.

[0021] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is computer-operable to cause the computer to execute the method of the first aspect.

[0022] The implementation of the present invention has the following beneficial effects:

[0023] It can be seen that the battery charging management method described in the embodiment of the present application detects whether the target battery is in a charging state, and the target battery includes multiple battery cells; when the target battery is in a charging state, obtains the first parameter set, the second parameter set and the third parameter set of the target battery within a preset time period, the first parameter set includes multiple charge state values, the second parameter set includes multiple charging current multiples, and the third parameter set includes the overall temperature of multiple battery cells; predicts the stop charging time of the target battery according to the multiple first parameter sets, the second parameter sets and the third parameter sets, and obtains the target predicted time; obtains the current time; determines the target stop charging time according to the current time and the target predicted time; when the target stop charging time arrives, controls the target battery to stop charging, thereby predicting possible future failure times, and in order to avoid battery failure, stops charging when the failure time arrives, thereby ensuring the normal charging and discharging of the battery, and also helps to ensure the battery life. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the implementation methods of the present application or the background technology, the drawings required for use in the implementation methods of the present application or the background technology will be described below.

[0025] Figure 1 is a flow chart of a battery charging management method provided in an embodiment of the present application;

[0026] Figure 2 It is a flow chart for determining target prediction duration provided by an embodiment of the present application;

[0027] Figure 3 is a structural schematic diagram of a battery charging management device provided by an embodiment of the present invention;

[0028] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the implementation mode of the present application. Obviously, the described implementation mode is only a part of the implementation mode of the present application, not all the implementation modes. Based on the implementation mode in the present application, all other implementation modes obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0030] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0031] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0032] The following is an explanation of some professional terms involved in this application:

[0033] State of charge value: The charge state or power state of a battery, that is, the amount of electrical energy stored in the battery. It can be used to describe the current charge level or remaining power of the battery so that users know how long the battery can provide or when it needs to be charged. The representation and measurement unit of this status value may vary in different types of batteries.

[0034] Charging current rate: refers to the current value required for the battery to discharge its rated capacity within a specified time, which is equal to the multiple of the charging current and the rated capacity of the battery. Too high a charging current rate may cause the battery to heat up, shorten its life, or even be damaged. Therefore, when choosing a charger and charging method, you need to make a reasonable choice based on the specifications and requirements of the battery to ensure the safety and effectiveness of the charging process.

[0035] See also Figure 1 , Figure 1 This is a flow chart of a battery charging management method provided in an embodiment of the present application, including but not limited to the following steps:

[0036] S101: Detect whether the target battery is in a charging state.

[0037] In the embodiment of the present application, the target battery includes a plurality of battery cells. Exemplarily, whether the target battery is in a charging state can be determined by the voltage of the target battery. When the target battery is in a charging state, the voltage value will be higher than a voltage threshold, and the voltage threshold depends on the battery type; whether the target battery is in a charging state can also be determined by the current of the target battery. When the value of the input current of the target battery is greater than a current threshold, it is determined that the target battery is in a charging state.

[0038] It should be noted that, in this embodiment, the target battery is charged by connecting to a charging device. A battery management system may be installed in the charging device. The battery management system may be used to monitor and control the charging device and / or the target battery. The battery management system may also be used to monitor whether the target battery is in a charging state.

[0039] S102: When the target battery is in a charging state, obtaining a first parameter set, a second parameter set, and a third parameter set of the target battery within a preset time period.

[0040] In the embodiment of the present application, the first parameter set includes multiple state of charge values, the second parameter set includes multiple charging current rates, and the third parameter set includes the overall temperature of multiple battery cells.

[0041] Exemplarily, a state of charge sensor, a current sensor, and a temperature sensor may be provided in a battery management system. When the target battery is in a charging state, a first parameter set including multiple state of charge values ​​is acquired through the state of charge sensor in the battery management system, a second parameter set including multiple charging current rates is acquired through the current sensor in the battery management system, and a third parameter set including the overall temperature of multiple battery cells is acquired through the temperature sensor in the battery management system.

[0042] It can be seen that according to the state of charge value and charging current rate of the target battery, the charging strategy can be adjusted in real time to improve charging efficiency, shorten charging time, and reduce the risk of overcharging. Real-time temperature monitoring can take cooling measures in time, such as reducing the charging current or suspending charging. Abnormal state of charge values ​​and charging current rates may indicate internal battery failures, which helps to discover and prevent safety problems in advance. By obtaining the state of charge value, charging current rate and temperature of multiple cells of the target battery, it is convenient to provide sufficient basis for subsequent battery operations, so as to facilitate a series of subsequent operations to be carried out reasonably and safely.

[0043] It should be noted that, in the present embodiment, the temperature of each of the plurality of battery cells is obtained to obtain a plurality of reference temperature values, the maximum value among the plurality of reference temperature values ​​is selected, the mean square error corresponding to the plurality of reference temperatures is determined to obtain the reference mean square error, the target optimization coefficient corresponding to the reference mean square error is determined, the maximum value is optimized according to the target optimization coefficient, and the overall temperature of the plurality of battery cells is obtained. Specifically, the temperature of each of the plurality of battery cells is obtained by a temperature sensor to obtain a plurality of reference temperature values, the maximum value is selected from the plurality of reference temperature values ​​as the representative value of the battery cell temperature, the mean square error corresponding to the plurality of reference temperatures is determined, and the reference mean square error of a statistic used to measure the degree of data dispersion is obtained. The preset mean square error may also be pre-stored. The mapping relationship between the mean square error and the optimization coefficient is that different mean square errors can correspond to different optimization coefficients. The value range of the optimization coefficient can be 0~0.1. The smaller the mean square error, the smaller the optimization coefficient, and the larger the mean square error, the larger the optimization coefficient. Then, the corresponding target optimization coefficient is determined according to the reference mean square error. The target optimization coefficient is used to optimize the maximum value. The maximum value is optimized according to the target optimization coefficient to obtain the overall temperature of multiple battery cells, that is, the overall temperature of multiple battery cells = (1+target optimization coefficient) × maximum value. Setting the actual temperature to be greater than the maximum value can, on the one hand, provide early warning. On the other hand, it also reflects the mutual influence between neighboring battery cells, making the overall temperature more in line with the actual situation. It can be seen that by obtaining the temperature values ​​of multiple battery cells, the temperature distribution of the battery pack can be more comprehensively understood, rather than relying solely on the temperature of a single battery cell. The mean square error takes into account the discreteness of the temperature value, which not only covers the mutual influence between the battery cells, but also can avoid the bulging of the battery, making the temperature assessment more refined. The maximum value is selected as the representative value, and the mean square error and the target optimization coefficient are combined for optimization, which can more accurately reflect the overall temperature state of the battery pack. The overall temperature is determined by combining multiple temperature values ​​and statistics, reducing misjudgments caused by failure or abnormality of a single temperature sensor, and improving the reliability of temperature monitoring. Accurately grasping the temperature of the battery pack helps to promptly discover potential overheating risks and take corresponding measures, such as adjusting the charging strategy or stopping charging, to ensure the safe operation of the battery. Based on accurate temperature assessment, the use and charging conditions of the battery can be better optimized, the battery life and performance can be extended, and stable and reliable temperature information can be provided.

[0044] S103: Predicting a target battery charging stop duration according to the plurality of first parameter sets, the second parameter set, and the third parameter set to obtain a target predicted duration.

[0045] Exemplarily, fitting is performed according to the first parameter set to obtain a first fitting straight line. Specifically, the state of charge value may correspond to a sampling time. Multiple state of charge values ​​and their corresponding sampling times may be combined as coordinate points to obtain multiple coordinate points. Then, a straight line fitting method may be used to fit these multiple coordinate points to obtain a first fitting straight line. The first fitting straight line may also be determined by the least squares method. The parameters of the straight line may be determined by minimizing the sum of squares of deviations between actual data points and the straight line, thereby determining the first fitting straight line. The linear relationship of the data may also be determined by establishing a mathematical model, thereby determining the first fitting straight line. The second fitting straight line and the third fitting straight line may be determined in a similar manner to the first fitting straight line, and will not be described in detail herein.

[0046] Exemplarily, the first predicted duration is determined based on the first fitting straight line and the preset state of charge value. Specifically, the preset state of charge is the maximum state of charge value determined according to the type of the target battery. When the state of charge value of the target battery is less than the preset state of charge value, charging can continue, but when it exceeds the preset state of charge value, the target battery needs to stop charging. Substitute the preset state of charge into the first fitting straight line to determine the corresponding duration, i.e., the first predicted duration. The historical charging record of the target battery can also be obtained to determine the corresponding relationship between the state of charge value and time during the charging process of the target battery. Then, the first predicted duration is determined based on the previous historical charging records of the target battery. It can be seen that by determining the first predicted duration through the first fitting straight line and the preset state of charge value, the charging time to reach the preset state of charge can be accurately predicted.

[0047] It should be noted that, in this embodiment, the preset state of charge value can be preset or the system defaults. For example, the preset state of charge value can be set to any value from 80% to 100%. Overcharging will damage the battery, so the preset state of charge value is limited to between 80% and 100%.

[0048] Exemplarily, fitting is performed according to the second parameter set to obtain a second fitting straight line. Specifically, the charging current rate may correspond to a sampling time. A plurality of charging current rates and their corresponding sampling times may be first combined as coordinate points to obtain a plurality of coordinate points. Then, a straight line fitting method may be used to fit the plurality of coordinate points to obtain a second fitting straight line.

[0049] Exemplarily, the second predicted duration is determined based on the second fitting straight line and the preset charging current rate. Specifically, the preset charging current rate is the maximum charging current rate determined based on the type of the target battery. The target battery can be safely charged when the charging current rate is less than the preset charging current rate. The preset charging current rate is substituted into the second fitting straight line to determine the corresponding duration, i.e., the second predicted duration. The second predicted duration can also be predicted by analyzing the charging time change trend of the battery at different charging current rates. It can be seen that the second predicted duration is determined by the second fitting straight line and the preset charging current rate, and the charging time to reach the preset charging current rate can be accurately predicted.

[0050] It should be noted that, in this embodiment, the preset charging current rate can be pre-set or system default. For example, the preset charging current rate can be any value between 0.5C and 3C, where C represents the capacity of the battery. For example, for a battery with a capacity of 2000mAh, a charging current of 1C is 2000mA.

[0051] Exemplarily, fitting is performed according to the third parameter set to obtain a third fitting straight line. Specifically, the overall temperature may correspond to a sampling time. The overall temperatures of multiple battery cells and their corresponding sampling times may be combined as coordinate points to obtain multiple coordinate points. Then, a straight line fitting method may be used to fit these multiple coordinate points to obtain a third fitting straight line.

[0052] Exemplarily, the third predicted duration is determined based on the third fitting straight line and the preset temperature value. Specifically, the preset temperature value is the maximum temperature value determined according to the type of the target battery. The target battery can be safely charged when the temperature value is less than the preset temperature value. The preset temperature value is substituted into the third fitting straight line to determine the corresponding duration, i.e., the third predicted duration. It can be seen that the third predicted duration is determined by the third fitting straight line and the preset temperature value. The historical charging data under similar temperature conditions can also be analyzed to understand the changing trend of the charging time, so as to determine the third predicted duration. The impact of the health status of the target battery on the battery temperature can also be considered. Newer batteries may have a slower charging temperature rise. Considering various influencing factors of the target battery, the charging time to reach the preset temperature value can be accurately predicted.

[0053] It should be noted that in this embodiment, the preset temperature can be pre-set or system default. For example, the preset temperature can be any value between 50 degrees Celsius and 60 degrees Celsius. If the temperature of the target battery during charging exceeds the preset temperature, it will cause battery performance to decline, shorten life, and even cause safety problems such as thermal runaway.

[0054] It can be seen that the fitting straight line can make predictions based on the trends and rules of the data. Compared with simple estimates or calculations based on fixed rules, it can better reflect the actual situation, thereby improving the accuracy of the prediction time. Fitting and prediction are based on different parameter sets (state of charge value, charging current rate, temperature value), and comprehensive consideration is given to multiple key factors that affect the charging time, making the prediction more comprehensive and reliable. Accurate prediction time is helpful to formulate a more reasonable charging strategy, better plan the charging time, avoid excessive waiting or insufficient charging, and thus improve the utilization efficiency of resources.

[0055] Exemplarily, the target prediction duration is determined according to the first prediction duration, the second prediction duration, and the third prediction duration. Figure 2 , Figure 2 A flowchart for determining a target prediction duration is provided in an embodiment of the present application, including but not limited to the following steps:

[0056] S201: Select the minimum value among the first predicted duration, the second predicted duration and the third predicted duration.

[0057] In this implementation, selecting the minimum value among the first prediction duration, the second prediction duration, and the third prediction duration can provide a basis for subsequently determining the target prediction duration.

[0058] S202: If the minimum value is equal to the first predicted duration, the minimum value is used as the target predicted duration.

[0059] In this embodiment, the first predicted duration is the duration of time when the predicted state of charge value reaches the preset state of charge value. When the state of charge value reaches the preset state of charge value, it means that the target battery power has reached the maximum power and can no longer be charged. Therefore, when the minimum value among the first predicted duration, the second predicted duration, and the third predicted duration is the first predicted duration, it means that the charging time of the target battery cannot exceed the first predicted duration, so that the target battery power does not exceed the maximum power, that is, the state of charge value does not exceed the preset state of charge value, so as to ensure that the target battery will not be overcharged.

[0060] S203: If the minimum value is not equal to the first predicted duration, obtain a first slope of the first fitting straight line, obtain a second slope of the second fitting straight line, and obtain a third slope of the third fitting straight line.

[0061] In this embodiment, if the minimum value is not equal to the first predicted duration, it is possible to ensure that the target battery will not be overcharged, and the target predicted duration is determined by comprehensively considering the state of charge value of the target battery, the charging current rate, and the temperature of multiple cells. Specifically, it is first necessary to obtain the first slope of the first fitting straight line, the second slope of the second fitting straight line, and the third slope of the third fitting straight line. The slopes of each straight line can be determined by obtaining any two points on the straight line or by using the slope-intercept method, so as to facilitate a certain degree of comparison and judgment of subsequent data based on the slope.

[0062] S204: Determine a first weight coefficient, a second weight coefficient and a third weight coefficient according to the first slope, the second slope and the third slope, and the larger the slope, the larger the weight coefficient.

[0063] The slope reflects the speed at which a possible fault occurs. The larger the slope, the greater the weight coefficient.

[0064] In this embodiment, the first weight coefficient, the second weight coefficient and the third weight coefficient are determined according to the first slope of the first fitting straight line, the second slope of the second fitting straight line, and the third slope of the third fitting straight line. Since a larger slope means that the corresponding variable has a more significant impact on the data, by giving a higher weight coefficient to a larger slope, this importance can be highlighted, and the complex multi-factor relationship can be simplified into a slope-based weight distribution, which helps to understand and process data more clearly and reduce unnecessary complexity.

[0065] S205: Perform a weighted operation according to the first predicted duration, the second predicted duration, the third predicted duration, the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain a target predicted duration.

[0066] The target prediction duration is calculated according to the following formula:

[0067]

[0068] Among them, F is the target prediction duration, aq is the first prediction duration, sw is the second prediction duration, de is the third prediction duration, a is the first weight coefficient, b is the second weight coefficient, and c is the third weight coefficient.

[0069] The three prediction durations may also be sorted by size, and the middle value may be taken as the target prediction duration. The first prediction duration, the second prediction duration, and the third prediction duration may also be directly averaged to obtain the target prediction duration.

[0070] It can be seen that the weight coefficient reflects the relative importance of each prediction duration. A more reliable or valuable prediction duration will have a greater impact on the final result, making the target prediction duration more reasonable. By reasonably setting the weights and performing weighted operations, the deviation and uncertainty of a single prediction method can be reduced, thereby improving the accuracy of the target prediction duration. The weight coefficient can be adjusted according to the actual conditions of multiple parameter sets to adapt to different scenarios and data characteristics, making the prediction method more flexible and adaptable.

[0071] S104: Get the current time.

[0072] In this embodiment, obtaining the current time when the target battery is being charged helps to subsequently stop charging the target battery based on the current time and the target predicted duration.

[0073] S105: Determine a target charging stop time according to the current time and the target predicted duration.

[0074] In this embodiment, the target stop time can be obtained by adding the current time to the target predicted duration, which can ensure that the target battery is charged more reasonably, avoid overcharging or undercharging, and thus extend the battery life.

[0075] S106: When the target charging stop time arrives, control the target battery to stop charging.

[0076] In this embodiment, when the target stop charging time is reached, a signal to stop charging is sent through the battery management system, and then the target battery is controlled to stop charging.

[0077] It should be noted that when the target stop charging time is reached, before the target battery is controlled to stop charging, the actual state of charge value is obtained, and the first difference between the actual state of charge value and the preset state of charge value is determined. When the first difference is less than 0, the step of controlling the target battery to stop charging when the target stop charging time is reached is executed, because at this time, although the actual state of charge value has not reached the preset state of charge value, the target stop charging time has been reached. If the target battery continues to be charged, the current charging rate or temperature of the target battery will be too high, causing damage to the target battery. Therefore, when the target stop charging time is reached, the target battery is controlled to stop charging. When the first difference is equal to 0, the step of controlling the target battery to stop charging is executed. Specifically, at this time, the actual state of charge value has reached the preset state of charge value. Although the target stop charging time has not been reached, if charging continues, the actual state of charge value will continue to increase, which will cause unnecessary continued charging and waste time and energy. Therefore, when the first difference is less than 0, the step of controlling the target battery to stop charging is executed when the target charging stop time is reached, and when the first difference is equal to 0, the step of controlling the target battery to stop charging is executed. This can ensure that the target battery reaches the expected state of charge, achieve precise charging completion control, and effectively prevent the battery from being damaged due to overcharging, which helps to extend the battery life, avoid unnecessary continued charging, save time and energy, and reduce safety risks such as battery overheating, swelling, and even explosion caused by overcharging, which helps to maintain the consistency and stability of battery performance, so that it can provide reliable power output in subsequent use.

[0078] Exemplarily, when the first difference is less than 0, controlling the target battery to stop charging includes: obtaining an actual state of charge value, determining a first difference between the actual state of charge value and a preset state of charge value, when the first difference is less than 0, obtaining an actual charging current rate and an actual overall temperature of a plurality of battery cells, determining an absolute value of the difference between the actual charging current rate and the preset charging current rate to obtain a first absolute value, determining an absolute value of the difference between the actual overall temperature and the preset temperature to obtain a second absolute value, determining a stop duration corresponding to the first absolute value to obtain a first stop duration, determining a stop duration corresponding to the second absolute value to obtain a second stop duration, and determining a target stop duration according to the first stop duration and the second stop duration. Specifically, during the charging of the target battery, if the target stop charging time has arrived and the actual state of charge value is different from the preset state of charge value, the target stop charging time is determined. Assuming that the difference between the state of charge values ​​(i.e., the first difference) is less than 0, it means that the actual charge amount of the target battery has not reached the preset standard. Therefore, at this time, the duration of controlling the target battery to stop charging should be determined based on the actual charging current rate and the actual overall temperature of the multiple battery cells. The actual charging current rate and the actual overall temperature of the multiple battery cells can be obtained, and then the absolute value of the difference between the actual charging current rate and the preset charging current rate is determined to obtain the first absolute value, and the absolute value of the difference between the actual overall temperature and the preset temperature is determined to obtain the second absolute value. The first absolute value reflects the degree to which the actual charging current rate deviates from the preset charging current rate, and the second absolute value reflects the degree to which the actual overall temperature deviates from the preset temperature. Therefore, the stop duration corresponding to the actual charging current rate and the actual overall temperature can be determined based on the first absolute value and the second absolute value. Specifically, the stop time corresponding to the first absolute value is determined to obtain the first stop time, and the stop time corresponding to the second absolute value is determined to obtain the second stop time. A corresponding stop time is determined according to the first absolute value, and this time is the first stop time, which is set based on the degree of deviation of the charging current multiple. Similarly, another stop time, namely the second stop time, is determined according to the second absolute value, which is based on the degree of temperature deviation. Then, the first stop time and the second stop time are comprehensively considered to determine the final target stop time, which can reasonably control the time when the battery stops charging to ensure the performance, life and safety of the battery. Exemplarily, the target stop time is determined according to the first stop time and the second stop time. Specifically, the temperature of each battery cell in a plurality of battery cells is determined to obtain a plurality of temperature values, and the target mean square deviation of the plurality of temperature values ​​is determined. The target weight corresponding to the target mean square deviation is determined, and the target weight pair includes a first weight and a second weight. A weighted operation is performed according to the first weight, the second weight, the first stop time and the second stop time to obtain the target stop time.Specifically, firstly, the temperature of each battery cell in the plurality of battery cells is determined, so that a plurality of specific temperature values ​​are obtained. Because the mean square error can reflect the discrete degree of the temperature value, that is, the uniformity or difference of the temperature distribution, the mean square error of the plurality of temperature values ​​is calculated again to obtain the target mean square error of the plurality of temperature values. Then, the target weight corresponding to the target mean square error is determined according to the calculated target mean square error. The target weight is divided into a first weight and a second weight. The corresponding weights are different for different target mean square errors. Finally, the first weight and the second weight are used to perform weighted operations with the first stop time and the second stop time respectively. The purpose of the weighted operation is to comprehensively consider the influence of the two factors of the charging current rate and the temperature on the battery stop charging time. The first weight is multiplied by the first stop time, and the second weight is multiplied by the second stop time. Then, the two products are added together to obtain the target stop time. The target stop time determined in this way can more comprehensively and reasonably balance the influence of the charging current rate and the temperature factors on the battery charging, thereby better ensuring the safety and performance of the battery.

[0079] It can be seen that by determining the mean square error of multiple battery cell temperature values, the discreteness of the temperature distribution can be quantified, and the relationship between the preset mean square error and the temperature distribution can be pre-stored. The larger the mean square error, the more uneven the temperature distribution is, and there may be a risk of local overheating. Combining the first weight and the second weight to perform weighted calculation on the first stop time and the second stop time can more comprehensively consider the impact of current rate and temperature on the charging stop time, so as to formulate a more reasonable stop strategy, and determine the corresponding target weight according to the target mean square error, so that the calculation of the stop time can adapt to different charging scenarios and battery conditions, thereby improving the flexibility and adaptability of charging control. Through this comprehensive consideration, it is helpful to avoid damage to the battery due to uneven temperature or abnormal current rate, and ensure the safe use and stable performance of the battery.

[0080] Exemplarily, the target battery is controlled to stop charging based on a target stop time, and when the target stop time ends, the target battery is controlled to continue charging to reach a preset state of charge value. Specifically, after the target stop time is determined, the target battery is controlled to stop charging based on the target stop time, and when the target stop time ends, the target battery is controlled to continue charging to reach the preset state of charge value. This can avoid potential damage to the battery caused by long-term continuous charging, while also making full use of the charging time, improving charging efficiency, preventing overcharging from causing battery overheating, swelling and even danger, reducing safety risks, and being able to more accurately control the battery to reach a preset state of charge value, improving charging quality, and taking into account changes in factors such as current rate and temperature during the charging process. This flexible control method can better adapt to various complex charging environments and conditions, avoid unnecessary continuous charging, and thus save energy consumption.

[0081] The implementation of the present invention has the following beneficial effects:

[0082] It can be seen that the battery charging management method described in the embodiment of the present application detects whether the target battery is in a charging state, and the target battery includes multiple battery cells; when the target battery is in a charging state, obtains the first parameter set, the second parameter set and the third parameter set of the target battery within a preset time period, the first parameter set includes multiple charge state values, the second parameter set includes multiple charging current multiples, and the third parameter set includes the overall temperature of multiple battery cells; predicts the stop charging time of the target battery according to the multiple first parameter sets, the second parameter sets and the third parameter sets, and obtains the target predicted time; obtains the current time; determines the target stop charging time according to the current time and the target predicted time; when the target stop charging time arrives, controls the target battery to stop charging, thereby predicting possible future failure times, and in order to avoid battery failure, stops charging when the failure time arrives, thereby ensuring the normal charging and discharging of the battery, and also helps to ensure the battery life.

[0083] See also Figure 3 , Figure 3 Schematic diagram of a battery charging management device provided by an embodiment of the present invention. Figure 3 As shown, the battery charging management device 300 includes: a detection unit 301 and a processing unit 302 .

[0084] A detection unit 301 is used to detect whether a target battery is in a charging state, wherein the target battery includes a plurality of cells;

[0085] The processing unit 302 is used to obtain a first parameter set, a second parameter set, and a third parameter set of the target battery within a preset time period when the target battery is in a charging state, wherein the first parameter set includes a plurality of state of charge values, the second parameter set includes a plurality of charging current multiples, and the third parameter set includes an overall temperature of a plurality of battery cells;

[0086] Predicting a stop charging duration of a target battery according to the plurality of first parameter sets, the second parameter set, and the third parameter set to obtain a target predicted duration;

[0087] Get the current time;

[0088] Determine the target charging stop time based on the current time and the target predicted duration;

[0089] When the target charging stop time arrives, the target battery is controlled to stop charging.

[0090] In some possible implementations, in terms of predicting the stop charging duration of the target battery according to the plurality of first parameter sets, the second parameter sets, and the third parameter sets to obtain the target predicted duration, the processing unit 302 is specifically configured to:

[0091] Perform fitting according to the first parameter set to obtain a first fitting straight line;

[0092] Determine a first predicted duration according to the first fitting straight line and a preset state of charge value;

[0093] Perform fitting according to the second parameter set to obtain a second fitting straight line;

[0094] Determine a second predicted duration according to the second fitting straight line and the preset charging current multiple;

[0095] Perform fitting according to the third parameter set to obtain a third fitting straight line;

[0096] Determine a third prediction duration according to the third fitting straight line and the preset temperature value;

[0097] A target prediction duration is determined according to the first prediction duration, the second prediction duration, and the third prediction duration.

[0098] In some possible implementations, in determining the target prediction duration according to the first prediction duration, the second prediction duration, and the third prediction duration, the processing unit 302 is specifically configured to:

[0099] Select the minimum value among the first predicted duration, the second predicted duration and the third predicted duration;

[0100] If the minimum value is equal to the first prediction duration, the minimum value is used as the target prediction duration;

[0101] If the minimum value is not equal to the first predicted duration, obtaining a first slope of the first fitting straight line, obtaining a second slope of the second fitting straight line, and obtaining a third slope of the third fitting straight line;

[0102] Determine a first weight coefficient, a second weight coefficient and a third weight coefficient according to the first slope, the second slope and the third slope, the greater the slope, the greater the weight coefficient;

[0103] A weighted operation is performed according to the first predicted duration, the second predicted duration, the third predicted duration, the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain a target predicted duration. Specifically, the target predicted duration is calculated according to the following formula:

[0104]

[0105] Among them, F is the target prediction duration, aq is the first prediction duration, sw is the second prediction duration, de is the third prediction duration, a is the first weight coefficient, b is the second weight coefficient, and c is the third weight coefficient.

[0106] In some possible implementations, when the target charging stop time is reached, before controlling the target battery to stop charging, the processing unit 302 is specifically configured to:

[0107] Get the actual state of charge value;

[0108] determining a first difference between an actual state of charge value and a preset state of charge value;

[0109] When the first difference is less than 0, executing the step of controlling the target battery to stop charging when the target charging stop time is reached;

[0110] When the first difference is equal to 0, the step of controlling the target battery to stop charging is performed.

[0111] In some possible implementations, when the first difference is less than 0, in terms of controlling the target battery to stop charging, the processing unit 302 is specifically configured to:

[0112] Get the actual state of charge value;

[0113] determining a first difference between an actual state of charge value and a preset state of charge value;

[0114] When the first difference is less than 0, obtaining an actual charging current rate and an actual overall temperature of the plurality of battery cells;

[0115] Determine the absolute value of the difference between the actual charging current rate and the preset charging current rate to obtain a first absolute value;

[0116] Determine the absolute value of the difference between the actual overall temperature and the preset temperature to obtain a second absolute value;

[0117] Determine a stop duration corresponding to the first absolute value to obtain a first stop duration;

[0118] Determine a stop duration corresponding to the second absolute value to obtain a second stop duration;

[0119] Determine a target stop duration according to the first stop duration and the second stop duration;

[0120] Controlling the target battery to stop charging based on the target stop time;

[0121] When the target stop time ends, the target battery is controlled to continue charging to reach a preset state of charge value.

[0122] In some possible implementations, in determining the target stop duration according to the first stop duration and the second stop duration, the processing unit 302 is specifically configured to:

[0123] Determine the temperature of each of the plurality of battery cells to obtain a plurality of temperature values;

[0124] Determining a target mean square error for a plurality of temperature values;

[0125] Determining a target weight corresponding to the target mean square error, wherein the target weight pair includes a first weight and a second weight;

[0126] A weighted operation is performed according to the first weight, the second weight, the first stop duration, and the second stop duration to obtain a target stop duration.

[0127] In some possible implementations, the processing unit 302 is further specifically configured to:

[0128] Acquire the temperature of each of the multiple battery cells to obtain multiple reference temperature values;

[0129] Select the maximum value among multiple reference temperature values;

[0130] Determine the mean square error corresponding to multiple reference temperatures to obtain a reference mean square error;

[0131] Determine a target optimization coefficient corresponding to a reference mean square error;

[0132] The maximum value is optimized according to the target optimization coefficient to obtain the overall temperature of multiple battery cells.

[0133] See also Figure 4 , Figure 4 Schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, the electronic device 400 includes a transceiver 401, a processor 402 and a memory 403. They are connected via a bus 404. The memory 403 is used to store computer programs and data, and can transmit the data stored in the memory 403 to the processor 402.

[0134] The above program includes instructions for performing the following steps:

[0135] Detecting whether a target battery is in a charging state, the target battery comprising a plurality of cells;

[0136] When the target battery is in a charging state, a first parameter set, a second parameter set and a third parameter set of the target battery within a preset time period are obtained, wherein the first parameter set includes a plurality of state of charge values, the second parameter set includes a plurality of charging current multiples, and the third parameter set includes an overall temperature of a plurality of battery cells;

[0137] Predicting a stop charging duration of a target battery according to the plurality of first parameter sets, the second parameter set, and the third parameter set to obtain a target predicted duration;

[0138] Get the current time;

[0139] Determine the target charging stop time based on the current time and the target predicted duration;

[0140] When the target charging stop time arrives, the target battery is controlled to stop charging.

[0141] In some possible implementations, in terms of predicting the stop charging duration of the target battery according to the plurality of first parameter sets, the second parameter sets, and the third parameter sets to obtain the target predicted duration, the program further includes instructions for executing the following steps:

[0142] Perform fitting according to the first parameter set to obtain a first fitting straight line;

[0143] Determine a first predicted duration according to the first fitting straight line and a preset state of charge value;

[0144] Perform fitting according to the second parameter set to obtain a second fitting straight line;

[0145] Determine a second predicted duration according to the second fitting straight line and the preset charging current multiple;

[0146] Perform fitting according to the third parameter set to obtain a third fitting straight line;

[0147] Determine a third prediction duration according to the third fitting straight line and the preset temperature value;

[0148] A target prediction duration is determined according to the first prediction duration, the second prediction duration, and the third prediction duration.

[0149] In some possible implementations, in terms of determining the target predicted duration according to the first predicted duration, the second predicted duration, and the third predicted duration, the program includes instructions for performing the following steps:

[0150] Select the minimum value among the first predicted duration, the second predicted duration and the third predicted duration;

[0151] If the minimum value is equal to the first prediction duration, the minimum value is used as the target prediction duration;

[0152] If the minimum value is not equal to the first predicted duration, obtaining a first slope of the first fitting straight line, obtaining a second slope of the second fitting straight line, and obtaining a third slope of the third fitting straight line;

[0153] Determine a first weight coefficient, a second weight coefficient and a third weight coefficient according to the first slope, the second slope and the third slope, the greater the slope, the greater the weight coefficient;

[0154] A weighted operation is performed according to the first predicted duration, the second predicted duration, the third predicted duration, the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain a target predicted duration. Specifically, the target predicted duration is calculated according to the following formula:

[0155]

[0156] Among them, F is the target prediction duration, aq is the first prediction duration, sw is the second prediction duration, de is the third prediction duration, a is the first weight coefficient, b is the second weight coefficient, and c is the third weight coefficient.

[0157] In some possible implementations, when the target charging stop time is reached, before controlling the target battery to stop charging, the above program includes instructions for executing the following steps:

[0158] Get the actual state of charge value;

[0159] determining a first difference between an actual state of charge value and a preset state of charge value;

[0160] When the first difference is less than 0, executing the step of controlling the target battery to stop charging when the target charging stop time is reached;

[0161] When the first difference is equal to 0, the step of controlling the target battery to stop charging is performed.

[0162] In some possible implementations, in terms of controlling the target battery to stop charging when the first difference is less than 0, the program includes instructions for executing the following steps:

[0163] Get the actual state of charge value;

[0164] determining a first difference between an actual state of charge value and a preset state of charge value;

[0165] When the first difference is less than 0, obtaining an actual charging current rate and an actual overall temperature of the plurality of battery cells;

[0166] Determine the absolute value of the difference between the actual charging current rate and the preset charging current rate to obtain a first absolute value;

[0167] Determine the absolute value of the difference between the actual overall temperature and the preset temperature to obtain a second absolute value;

[0168] Determine a stop duration corresponding to the first absolute value to obtain a first stop duration;

[0169] Determine a stop duration corresponding to the second absolute value to obtain a second stop duration;

[0170] Determine a target stop duration according to the first stop duration and the second stop duration;

[0171] Controlling the target battery to stop charging based on the target stop time;

[0172] When the target stop time ends, the target battery is controlled to continue charging to reach a preset state of charge value.

[0173] In some possible implementations, in determining the target stop duration according to the first stop duration and the second stop duration, the program includes instructions for executing the following steps:

[0174] Determine the temperature of each of the plurality of battery cells to obtain a plurality of temperature values;

[0175] Determining a target mean square error for a plurality of temperature values;

[0176] Determining a target weight corresponding to a target mean square error, wherein the target weight pair includes a first weight and a second weight;

[0177] A weighted operation is performed according to the first weight, the second weight, the first stop duration, and the second stop duration to obtain a target stop duration.

[0178] In some possible implementations, the above program further includes instructions for executing the following steps:

[0179] Acquire the temperature of each of the multiple battery cells to obtain multiple reference temperature values;

[0180] Select the maximum value among multiple reference temperature values;

[0181] Determine the mean square error corresponding to multiple reference temperatures to obtain a reference mean square error;

[0182] Determine a target optimization coefficient corresponding to a reference mean square error;

[0183] The maximum value is optimized according to the target optimization coefficient to obtain the overall temperature of multiple battery cells.

[0184] It should be understood that the electronic devices in this application may include smart phones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptops, mobile Internet devices MID (Mobile Internet Devices, referred to as: MID) or wearable devices or servers, edge computing nodes, etc. The above electronic devices are only examples, not exhaustive, and include but are not limited to the above electronic devices. In practical applications, the above electronic devices may also include: smart vehicle terminals, computer equipment, etc.

[0185] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is executed by a processor to implement part or all of the steps of any battery charging management method recorded in the above method embodiment.

[0186] The embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any battery charging management method recorded in the above method embodiment.

[0187] It should be noted that, for the above-mentioned various method implementations, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by this application.

[0188] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0189] In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device implementation described above is only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0190] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0191] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

[0192] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of each implementation method of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0193] A person skilled in the art may understand that all or part of the steps in the various methods of the above-mentioned embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0194] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A battery charging management method, characterized in that: include: Detecting whether a target battery is in a charging state, wherein the target battery includes a plurality of cells; When the target battery is in the charging state, obtaining a first parameter set, a second parameter set, and a third parameter set of the target battery within a preset time period, wherein the first parameter set includes a plurality of state of charge values, the second parameter set includes a plurality of charging current multiples, and the third parameter set includes a plurality of overall temperatures of the plurality of battery cells; Predicting a charging stop duration of the target battery according to the first parameter set, the second parameter set, and the third parameter set to obtain a target predicted duration; Get the current time; Determine a target charging stop time according to the current time and the target predicted duration; When the target charging stop time is reached, controlling the target battery to stop charging; When the target charging stop time is reached, before controlling the target battery to stop charging, the method further includes: Get the actual state of charge value; determining a first difference between the actual state of charge value and a preset state of charge value; When the first difference is less than 0, executing the step of controlling the target battery to stop charging when the target charging stop time is reached; When the first difference is equal to 0, executing the step of controlling the target battery to stop charging; Wherein, when the first difference is less than 0, controlling the target battery to stop charging includes: When the first difference is less than 0, obtaining an actual charging current rate and an actual overall temperature of the plurality of battery cells; Determine the absolute value of the difference between the actual charging current rate and the preset charging current rate to obtain a first absolute value; Determine an absolute value of a difference between the actual overall temperature and a preset temperature to obtain a second absolute value; Determine a stop duration corresponding to the first absolute value to obtain a first stop duration; Determine a stop duration corresponding to the second absolute value to obtain a second stop duration; Determine a target stop duration according to the first stop duration and the second stop duration; Controlling the target battery to stop charging based on the target stop duration; When the target stop time ends, controlling the target battery to continue charging to reach the preset state of charge value; The determining of the target stop duration according to the first stop duration and the second stop duration includes: Determine the temperature of each of the plurality of battery cells to obtain a plurality of temperature values; determining a target mean square error for the plurality of temperature values; Determine a target weight corresponding to the target mean square error, wherein the target weight includes a first weight and a second weight; A weighted calculation is performed according to the first weight, the second weight, the first stop duration, and the second stop duration to obtain the target stop duration.

2. The method according to claim 1, characterized in that The step of predicting the stop charging duration of the target battery according to the first parameter set, the second parameter set, and the third parameter set to obtain a target predicted duration includes: Perform fitting according to the first parameter set to obtain a first fitting straight line; Determine a first predicted duration according to the first fitting straight line and the preset state of charge value; Perform fitting according to the second parameter set to obtain a second fitting straight line; Determine a second predicted duration according to the second fitting straight line and the preset charging current ratio; Perform fitting according to the third parameter set to obtain a third fitting straight line; Determine a third prediction duration according to the third fitting straight line and the preset temperature value; The target prediction duration is determined according to the first prediction duration, the second prediction duration and the third prediction duration.

3. The method according to claim 2, characterized in that The determining the target prediction duration according to the first prediction duration, the second prediction duration, and the third prediction duration includes: Selecting the minimum value among the first predicted duration, the second predicted duration and the third predicted duration; If the minimum value is equal to the first predicted duration, the minimum value is used as the target predicted duration; If the minimum value is not equal to the first predicted duration, obtaining a first slope of the first fitting straight line, obtaining a second slope of the second fitting straight line, and obtaining a third slope of the third fitting straight line; determining a first weight coefficient, a second weight coefficient and a third weight coefficient according to the first slope, the second slope and the third slope, wherein the greater the slope, the greater the weight coefficient; A weighted operation is performed according to the first predicted duration, the second predicted duration, the third predicted duration, the first weight coefficient, the second weight coefficient, and the third weight coefficient to obtain the target predicted duration. The target predicted duration is calculated specifically according to the following formula: Among them, F is the target prediction duration, aq is the first prediction duration, sw is the second prediction duration, de is the third prediction duration, a is the first weight coefficient, b is the second weight coefficient, and c is the third weight coefficient.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Acquire the temperature of each of the plurality of battery cells to obtain a plurality of reference temperature values; Selecting a maximum value among the multiple reference temperature values; Determine the mean square error corresponding to the multiple reference temperature values ​​to obtain a reference mean square error; Determining a target optimization coefficient corresponding to the reference mean square error; The maximum value is optimized according to the target optimization coefficient to obtain the overall temperature of the plurality of battery cells.

5. A battery charging management device, characterized in that: The device comprises: a detection unit and a processing unit; The detection unit is used to detect whether the target battery is in a charging state, wherein the target battery includes a plurality of cells; The processing unit is configured to obtain, when the target battery is in the charging state, a first parameter set, a second parameter set, and a third parameter set of the target battery within a preset time period, wherein the first parameter set includes a plurality of state of charge values, the second parameter set includes a plurality of charging current multiples, and the third parameter set includes a plurality of overall temperatures of the plurality of battery cells; Predicting a charging stop duration of the target battery according to the first parameter set, the second parameter set, and the third parameter set to obtain a target predicted duration; Get the current time; Determine a target charging stop time according to the current time and the target predicted duration; When the target charging stop time is reached, controlling the target battery to stop charging; When the target charging stop time is reached, before controlling the target battery to stop charging, the method further includes: Get the actual state of charge value; determining a first difference between the actual state of charge value and a preset state of charge value; When the first difference is less than 0, executing the step of controlling the target battery to stop charging when the target charging stop time is reached; When the first difference is equal to 0, executing the step of controlling the target battery to stop charging; Wherein, when the first difference is less than 0, controlling the target battery to stop charging includes: When the first difference is less than 0, obtaining an actual charging current rate and an actual overall temperature of the plurality of battery cells; Determine the absolute value of the difference between the actual charging current rate and the preset charging current rate to obtain a first absolute value; Determine an absolute value of a difference between the actual overall temperature and a preset temperature to obtain a second absolute value; Determine a stop duration corresponding to the first absolute value to obtain a first stop duration; Determine a stop duration corresponding to the second absolute value to obtain a second stop duration; Determine a target stop duration according to the first stop duration and the second stop duration; Controlling the target battery to stop charging based on the target stop duration; When the target stop time ends, controlling the target battery to continue charging to reach the preset state of charge value; The determining of the target stop duration according to the first stop duration and the second stop duration includes: Determine the temperature of each of the plurality of battery cells to obtain a plurality of temperature values; determining a target mean square error for the plurality of temperature values; Determine a target weight corresponding to the target mean square error, wherein the target weight includes a first weight and a second weight; A weighted calculation is performed according to the first weight, the second weight, the first stop duration, and the second stop duration to obtain the target stop duration.

6. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs include instructions for executing the steps in the method described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 4.