Method, device and storage medium for estimating remaining charging time

By dividing the charging test interval and calculating the error compensation value to adjust the remaining charging time of the battery, the problem of inaccurate charging time prediction in the existing technology is solved, and more accurate charging time prediction is achieved.

CN116359736BActive Publication Date: 2026-04-28NEUSOFT REACH AUTOMOBILE TECH (SHENYANG) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NEUSOFT REACH AUTOMOBILE TECH (SHENYANG) CO LTD
Filing Date
2023-03-17
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Existing algorithms for remaining battery charging time suffer from calculation errors due to differences in battery status, charging conditions, and aging, making it impossible to accurately predict charging time.

Method used

By dividing the charging test into intervals, calculating the charging test slope for each interval, and determining the error compensation value based on the slope, the initial estimated remaining charging time is adjusted to obtain a more accurate target remaining charging time.

Benefits of technology

The remaining charging time prediction can be optimized during the charging process, reducing the storage consumption of recording error compensation values ​​after the battery is fully charged and improving prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116359736B_ABST
    Figure CN116359736B_ABST
Patent Text Reader

Abstract

The application provides an estimation method, device and equipment of residual charging time and storage medium. The method comprises: obtaining initial data, the initial data comprising an initial estimated residual charging time; dividing a plurality of charging test intervals based on the initial estimated residual charging time; calculating a charging test slope corresponding to each charging test interval according to the initial data; determining an error compensation value corresponding to each charging test interval based on the charging test slope; and adjusting the initial estimated residual charging time based on the error compensation value to obtain a target residual charging time. The application can adjust the target residual charging time during the charging process, so that the target residual charging time can be more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery technology, and more specifically, to a method, apparatus, device, and storage medium for estimating remaining charging time. Background Technology

[0002] With economic development, the stability and capacity of rechargeable batteries have gradually improved, and their applications have become increasingly widespread. For example, rechargeable batteries can be used in transportation, communication, and military fields. Therefore, predicting the remaining charging time of batteries is becoming increasingly important. The remaining charging time of a battery refers to the charging time required for the battery to go from its current charge level to a full charge. Predicting the remaining charging time can not only prevent overcharging or undercharging, which can affect the battery's lifespan, but also allow users to plan their time accordingly.

[0003] Currently, in battery management systems (BMS), the commonly used remaining charging time algorithm is generally a fixed algorithm. A commonly used remaining charging time algorithm is as follows: First, calculate the charging current at a fixed temperature (e.g., 25°C) based on the current state of charge (SOC). Divide the battery capacity by the charging current to obtain the remaining charging time at the current temperature. Then, obtain the temperature-compensated charging time based on a temperature / SOC charging time compensation table using the current temperature and SOC. Finally, obtain the remaining charging time, which is the sum of the remaining charging time at the current temperature and the temperature-compensated charging time.

[0004] However, due to variations in battery manufacturing condition, subsequent charging conditions, battery aging, and different charging systems, the calculation of remaining charging time can be subject to certain deviations. Therefore, finding a simple and accurate way to obtain the remaining charging time of a battery is an urgent problem to be solved. Summary of the Invention

[0005] Some embodiments of this application provide a method, apparatus, device, and storage medium for estimating remaining charging time that can at least partially solve the aforementioned problems existing in the prior art.

[0006] According to one aspect of this application, a method for estimating remaining charging time is provided. The method may include: acquiring initial data, the initial data including an initial estimated remaining charging time; dividing the initial estimated remaining charging time into multiple charging test intervals; calculating a charging test slope corresponding to each charging test interval based on the initial data; determining an error compensation value corresponding to each charging test interval based on the charging test slope; and adjusting the initial estimated remaining charging time based on the error compensation value to obtain a target remaining charging time.

[0007] In one embodiment of this application, the error compensation value is determined based on the charging test slope, the standard charging slope, and the charging test interval.

[0008] In one embodiment of this application, before adjusting the initial estimated remaining charging time based on the error compensation value to obtain the target remaining charging time, the method may further include: performing autoregressive processing on the error compensation value, wherein the autoregressive processing includes: determining a first error compensation value and a corresponding first weight for the k-th charging test interval, and a second error compensation value and a corresponding second weight for the (k+1)-th charging test interval; and performing a weighted summation of the first error compensation value and the second error compensation value to obtain the target error compensation value for the (k+1)-th charging test interval.

[0009] In one embodiment of this application, the charging test interval may include multiple charging test times. Dividing the charging test interval based on the initial estimated remaining charging time may include: setting a first threshold interval corresponding to the charging test interval based on the estimated remaining charging time, and setting a second threshold interval corresponding to the charging test time based on the charging test interval; determining the size of the charging test interval within the first threshold interval and determining the number of charging test times within the second threshold interval.

[0010] In one embodiment of this application, calculating the charging test slope corresponding to each charging test interval based on the initial data may include: obtaining a test dataset within the same charging test interval, wherein the test dataset includes the charging test time, the initial estimated remaining charging time corresponding to the charging test time, and the standard charging time corresponding to the charging test time; obtaining the test dataset corresponding to each charging test interval; and processing the test dataset corresponding to each charging test interval based on a preset algorithm to obtain the charging test slope corresponding to each charging test interval.

[0011] In one embodiment of this application, the initial data includes a table showing the relationship between temperature and remaining battery power. The method may further include updating the table showing the relationship between temperature and remaining battery power based on the target remaining charging time after charging is completed.

[0012] This application also provides a device for estimating remaining charging time. The device may include: a data acquisition module for acquiring initial data, including an initial estimated remaining charging time; a charging test interval division module for dividing the initial estimated remaining charging time into multiple charging test intervals; a slope acquisition module for calculating a charging test slope corresponding to each charging test interval based on the initial data; a compensation value acquisition module for determining an error compensation value corresponding to each charging test interval based on the charging test slope; and a target remaining charging time determination module for adjusting the initial estimated remaining charging time based on the error compensation value to obtain a target remaining charging time.

[0013] In one embodiment of this application, the error compensation value is determined based on the charging test slope, the standard charging slope, and the charging test interval.

[0014] In one embodiment of this application, the compensation value acquisition module can also be used to: perform autoregressive processing on the error compensation value, wherein the autoregressive processing includes: determining a first error compensation value and a corresponding first weight for the kth charging test interval, and a second error compensation value and a corresponding second weight for the (k+1)th charging test interval; and performing a weighted summation of the first error compensation value and the second error compensation value to obtain a target error compensation value for the (k+1)th charging test interval.

[0015] In one embodiment of this application, the charging test interval includes multiple charging test times, and the charging test interval division module is further configured to: set a first threshold interval corresponding to the charging test interval based on the estimated remaining charging time, and set a second threshold interval corresponding to the charging test times based on the charging test interval; determine the size of the charging test interval within the first threshold interval and determine the number of charging test times within the second threshold interval.

[0016] In one embodiment of this application, the slope acquisition module can be used to acquire a test dataset within the same charging test interval, wherein the test dataset includes the charging test time, the initial estimated remaining charging time corresponding to the charging test time, and the standard charging time corresponding to the charging test time; acquire the test dataset corresponding to each charging test interval; and process the test dataset corresponding to each charging test interval based on a preset algorithm to obtain the charging test slope corresponding to each charging test interval.

[0017] In one embodiment of this application, the initial data includes a table showing the relationship between temperature and remaining battery power. The device further includes an update module, configured to update the table showing the relationship between temperature and remaining battery power based on the target remaining charging time after charging is completed.

[0018] In another aspect, this application provides an electronic device that may include: a memory storing computer-executable instructions; and a processor for executing the computer-executable instructions stored in the memory to implement the above-described method for estimating the remaining charging time.

[0019] In another aspect, this application provides a computer storage medium including computer-executable instructions that, when executed by a processor, enable the aforementioned method for estimating remaining charging time.

[0020] According to an exemplary embodiment of this application, a corresponding error compensation value is obtained within each charging test interval, and then a target remaining charging time is obtained based on the initial estimated remaining charging time and the corresponding error compensation value. The target remaining charging time can be adjusted during the charging process to make it more accurate. Furthermore, optimizing the target remaining charging time within each charging test interval does not require the battery to be fully charged, which can reduce the storage consumption caused by recording the entire charging process and then determining the error compensation value. Attached Figure Description

[0021] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings. Wherein:

[0022] Figure 1 This is a schematic diagram illustrating the relationship between standard remaining charging time and remaining charging time in the relevant implementation methods;

[0023] Figure 2 A flowchart of a method for estimating remaining charging time according to an embodiment of this application;

[0024] Figure 3 This is a flowchart illustrating the division of charging test intervals and charging test times according to an exemplary embodiment of this application;

[0025] Figure 4 A flowchart illustrating the calculation of the charging test slope according to an exemplary embodiment of this application;

[0026] Figure 5 This is a schematic diagram illustrating the standard remaining charging time and the estimation of remaining charging time by the battery management system (BMS) according to an exemplary embodiment of this application;

[0027] Figure 6A schematic diagram of a remaining charging time estimation device 2000 according to an embodiment of this application;

[0028] Figure 7 This is a schematic diagram of an electronic device 700 according to an exemplary embodiment of this application. Detailed Implementation

[0029] To better understand this application, various aspects of this application will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are merely illustrative of exemplary embodiments of this application and are not intended to limit the scope of this application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.

[0030] In the accompanying drawings, the size, dimensions, and shapes of the elements have been slightly adjusted for ease of illustration. The drawings are for illustrative purposes only and are not strictly to scale. As used herein, the terms “approximately,” “about,” and similar terms are used to indicate approximation, not degree, and are intended to illustrate inherent deviations in measured or calculated values ​​that will be recognized by one of ordinary skill in the art. Furthermore, the order in which the steps are described in this application does not necessarily indicate the order in which these steps occur in actual operation, unless otherwise expressly defined or deduced from the context.

[0031] It should also be understood that expressions such as "comprising," "including," "having," "containing," and / or "comprising" are open-ended rather than closed-ended expressions in this specification, indicating the presence of the stated features, elements, and / or components, but not excluding the presence of one or more other features, elements, components, and / or combinations thereof. Furthermore, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features, not just individual elements in the list. Additionally, when describing embodiments of this application, the word "may" is used to mean "one or more embodiments of this application." And the term "exemplary" is intended to refer to examples or illustrations.

[0032] Unless otherwise specified, all terms used herein (including engineering and technical terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that, unless expressly stated herein, terms defined in common dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or overly formalized meaning.

[0033] It should be noted that, where there is no conflict, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0034] Figure 1 This is a schematic diagram illustrating the relationship between standard remaining charging time and remaining charging time in the relevant implementation embodiments. For example... Figure 1 As shown, the horizontal axis represents the actual charging time, and the vertical axis represents the remaining charging time. The standard remaining charging time and the actual charging time show a linear relationship with a slope of -1. For example, for every minute the battery is charged, the remaining charging time decreases by 1 minute. The Battery Management System (BMS) can estimate the remaining charging time based on the actual charging time. However, because the BMS generally does not dynamically adjust the remaining charging time during charging, there will be a significant deviation between the estimated remaining charging time and the actual charging time required for the battery.

[0035] Figure 2 This is a flowchart of a method 1000 for estimating remaining charging time according to an embodiment of this application. Figure 2 As shown, the method 1000 for estimating the remaining charging time may include:

[0036] Step S100: Obtain initial data, including the initial estimated remaining charging time;

[0037] Step S200: Based on the initial estimated remaining charging time, divide the time into multiple charging test intervals;

[0038] Step S300: Calculate the charging test slope corresponding to each charging test interval based on the initial data;

[0039] Step S400: Based on the charging test slope, determine the error compensation value corresponding to each charging test interval;

[0040] Step S500: Based on the error compensation value, adjust the initial estimated remaining charging time to obtain the target remaining charging time.

[0041] The following will detail the specific steps of the above-mentioned method 1000 for estimating the remaining charging time.

[0042] Step S100

[0043] In an exemplary embodiment of this application, initial data is first obtained, including an initial estimated remaining charging time. This initial data can be a table showing the relationship between temperature and remaining battery capacity, which includes temperature T, remaining battery capacity (SOC), and the initial estimated remaining charging time y. The remaining battery capacity is generally represented by the battery's state of charge (SOC), which is numerically defined as the ratio of remaining battery capacity to total battery capacity. When SOC = 0%, the battery is fully discharged; when SOC = 100%, the battery is fully charged. Exemplarily, the temperature-remaining battery capacity relationship table can be obtained through experiments or simulations. Table 1 shows the temperature-remaining battery capacity relationship table, where SOC1, SOC2…SOC… m The remaining battery capacity is represented by T1, T2...T n Let be the battery temperature, where m and n are positive integers and can be set based on the needs of actual experiments or simulations. For example, the remaining battery capacity can be set to 0%, 5%, 10%...95%, 100%, and the battery temperature can be set to -10℃, -8℃...0℃, 2℃...40℃. By referring to Table 1, the initial estimated remaining charging time y under different temperatures T and different battery remaining capacities (SOC) can be obtained. For example, if the battery temperature before charging is T1℃ and the remaining battery capacity is SOC2, by referring to Table 1, the initial estimated remaining charging time is y. 12 .

[0044]

[0045] Table 1

[0046] In the exemplary embodiments of this application, multiple temperature-to-remaining battery capacity relationship tables can be generated based on the battery's charging capability or charging method. For example, the battery charging method can include various methods, such as slow charging, fast charging, and super-fast charging, and different charging methods can correspond to different temperature-to-remaining battery capacity relationship tables. Furthermore, the temperature-to-remaining battery capacity relationship table can also be obtained from multiple sub-relationship tables, for example, the sub-relationship table can also include temperature and remaining battery capacity. At least one of the charging voltage or charging current is used, and the initial estimated remaining charging time can be further calculated by combining the battery's charging voltage or charging current with the battery's remaining state of charge (SOC). Although this application provides an exemplary description of the temperature-to-remaining battery capacity relationship table, those skilled in the art will understand that the relationship between battery temperature, remaining battery capacity, and the initial estimated remaining charging time can also be obtained through other parameters of the battery charging process, and this application does not impose any limitations on this.

[0047] Step S200:

[0048] In an exemplary embodiment of this application, after obtaining initial data, multiple charging test intervals can be divided based on the initial estimated remaining charging time. For example, based on the initial estimated remaining charging time y, multiple charging test intervals x are divided, where each charging test interval includes multiple charging test moments. For instance, the initial estimated remaining charging time y can be obtained based on the battery temperature and the battery's state of charge (SOC) using a temperature-battery remaining capacity relationship table, and then the initial estimated remaining charging time y is divided into multiple charging test intervals x, where each charging test interval x includes n charging test moments.

[0049] In an exemplary embodiment of this application, Figure 3 This is a flowchart illustrating the division of charging test intervals and charging test times according to an exemplary embodiment of this application. Figure 3 As shown, dividing the charging test interval and charging test time may include the following steps:

[0050] Step S210: Set a first threshold interval corresponding to the charging test interval based on the estimated remaining charging time, and set a second threshold interval corresponding to the charging test time based on the charging test interval.

[0051] Step S220: Determine the size of the charging test interval within the first threshold interval and the number of charging test moments within the second threshold interval.

[0052] In the exemplary embodiments of this application, the size of the charging test intervals can be the same or different. For example, if the estimated remaining charging time is 70 minutes, a first threshold interval can be set to 5-15, meaning the charging test interval can be divided into 5-15 intervals. Taking 7 charging test intervals of equal size as an example, each charging test interval would be 10 minutes. Then, a second threshold interval can be set to 5-20, meaning each charging test interval contains 5-20 charging test moments. For example, if each charging test interval contains 10 charging test moments, the battery charging process parameters are tested every 1 minute. The limitations of the first and second threshold intervals in this application are illustrative and can be adjusted by those skilled in the art based on actual circumstances.

[0053] According to the exemplary implementation of this application, by setting the threshold range of the divided charging test intervals and the charging test time included in each charging test interval, the rationality of the divided charging test intervals and the charging test time can be guaranteed. To a certain extent, the accuracy of the error compensation value for determining the remaining charging time can be improved, and data redundancy can also be avoided.

[0054] Step S300

[0055] In an exemplary embodiment of this application, after dividing the charging test intervals, the charging test slope corresponding to each charging test interval can be calculated based on the initial data. Figure 4 This is a flowchart illustrating the calculation of the charging test slope according to an exemplary embodiment of this application. Figure 4 As shown, calculating the charging test slope may include the following steps:

[0056] Step S310: Within the same charging test interval, obtain the test dataset, wherein the test dataset includes the charging test time, the initial estimated remaining charging time corresponding to the charging test time, and the standard charging time corresponding to the charging test time.

[0057] Step S320: Obtain the test dataset corresponding to each charging test interval;

[0058] Step S330: Process the test dataset corresponding to each charging test interval based on the preset algorithm to obtain the charging test slope corresponding to each charging test interval.

[0059] For example, during the charging process, taking one charging test interval as an example, each charging test interval can contain n charging test moments, and the charging test moment dataset is {x1, x2…} n At each charging moment, battery parameters are tested and recorded, such as battery temperature, remaining battery capacity, and actual charging time. Then, by looking up a table showing the relationship between temperature and remaining battery capacity, the initial estimated remaining charging time dataset {y1, y2…} is obtained for each charging test moment. n Furthermore, the standard charging time corresponding to the charging test moment is obtained based on the actual charging time. The actual charging time is the time the battery actually spends during the charging process. The standard charging time is linearly related to the actual charging time, with a slope of -1. That is, for every 1 minute increase in the actual charging time, the standard charging time decreases by 1 minute.

[0060] In an exemplary embodiment of this application, the test dataset corresponding to each charging test interval is processed based on a preset algorithm to obtain the charging test slope corresponding to each charging test interval. The charging test slope 'a' can be calculated by processing the test dataset using the least squares method, as detailed below:

[0061] Step S331: Within the same charging test interval, obtain the charging test time x. i The corresponding estimated remaining charging time y i and standard charging time

[0062] Step S332: Establish charging test time xi With the estimated remaining charging time y i Linear relationship between them: Where a is the charging test slope and b is the initial estimated remaining charging time at the start of charging;

[0063] Step S333: Calculate the charging test slope a, such that... Minimum.

[0064] Specifically, setting functions make When function When there is a minimum value, the function The partial derivatives with respect to a and b are 0.

[0065] Partial derivative with respect to a

[0066] Partial derivative with respect to b

[0067] Based on formulas (1) and (2), the following system of two equations can be obtained:

[0068]

[0069] Based on the above system of two equations, we can further obtain:

[0070]

[0071] For example, let's continue with the example of a charging test interval of 10 minutes and a charging test time of 1 minute. Figure 5 This is a schematic diagram illustrating the standard remaining charging time and the estimation of remaining charging time by the battery management system (BMS) according to an exemplary embodiment of this application. Figure 5 As shown, the horizontal axis represents the actual charging time, and the vertical axis represents the estimated remaining charging time. A linear regression is performed between the estimated remaining charging time for each minute over the past 10 minutes and the actual elapsed time (1 minute, 2 minutes…10 minutes) to obtain the charging test slope 'a' for the past 10 minutes. The charging test slope 'a' can be different for each charging test interval.

[0072] Steps S400 and S500 :

[0073] In an exemplary embodiment of this application, after obtaining the charging test slope 'a', an error compensation value corresponding to each charging test interval can be determined based on the charging test slope. The error compensation value can be determined based on the charging test slope, the standard charging slope, and the charging test interval. For example, the error compensation value for the remaining charging time is the product of the difference between the charging test slope and the standard charging slope and the charging test interval. Specifically, the error compensation value for the remaining charging time = [a - (-1)] * x, where a is the charging test slope, -1 is the standard charging slope, and x is the charging test interval, for example, x can be 10 minutes. As can be seen from the calculation method of the error compensation value for the remaining charging time, when the charging test slope is -1, the error compensation value for the remaining charging time is 0.

[0074] In an exemplary embodiment of this application, to further reduce the impact of the error value of a single charging test interval on the overall error compensation value, an autoregressive processing can be performed on the error compensation value. This autoregressive processing can include: determining the first error compensation value and its corresponding first weight for the k-th charging test interval, and the second error compensation value and its corresponding second weight for the (k+1)-th charging test interval; and performing a weighted sum of the first and second error compensation values ​​to obtain the target error compensation value for the (k+1)-th charging test interval. For example, taking s1 as the first weight and s2 as the second weight, where the sum of the first and second weights is 1, the target error compensation value x for the (k+1)-th charging test interval is... [k+1] =s 1* x [k] +s2*p, where x [k] Let p be the error compensation value for the k-th charging test interval, i.e., the first error compensation value, and let p be the error compensation value for the (k+1)-th charging test interval, i.e., the second error compensation value. After obtaining the target error compensation value for the (k+1)-th charging test interval, the target error compensation value can be used as the final error compensation value for the (k+1)-th charging test interval.

[0075] In an exemplary embodiment of this application, the initial estimated remaining charging time can be adjusted based on an error compensation value to obtain a target remaining charging time. The target remaining charging time can be equal to the sum of the initial estimated remaining charging time and the error compensation value. The initial estimated remaining charging time can be obtained by consulting a table showing the relationship between temperature and remaining battery capacity (as shown in Table 1). After charging is complete, the table showing the relationship between temperature and remaining battery capacity can be updated based on the target remaining charging time to allow for adjustments to the charging time during subsequent charging processes.

[0076] According to an exemplary embodiment of this application, a corresponding error compensation value is obtained within each charging test interval, and then a target remaining charging time is obtained based on the initial estimated remaining charging time and the corresponding error compensation value. The target remaining charging time can be adjusted during the charging process to make it more accurate. Furthermore, optimizing the target remaining charging time within each charging test interval does not require the battery to be fully charged, which can reduce the storage consumption caused by recording the entire charging process and then determining the error compensation value.

[0077] This application also provides a device 2000 for estimating remaining charging time. Figure 6 This is a schematic diagram of a remaining charging time estimation device 2000 according to an embodiment of this application. Figure 6 As shown, the remaining charging time estimation device 2000 may include a data acquisition module 2100, a charging test interval division module 2200, a slope acquisition module 2300, a compensation value acquisition module 2400, and a target remaining charging time determination module 2500.

[0078] In an exemplary embodiment of this application, the data acquisition module 2100 is used to acquire initial data, including an initial estimated remaining charging time. The initial data can be a temperature-battery remaining capacity relationship table (as shown in Table 1), which includes temperature T, battery remaining capacity SOC, and the initial estimated remaining charging time y. The battery remaining capacity is generally reflected by the battery's state of charge (SOC), which is numerically defined as the ratio of the remaining battery capacity to the battery's total capacity. When SOC = 0%, it indicates that the battery is fully discharged; when SOC = 100%, it indicates that the battery is fully charged. Exemplarily, the temperature-battery remaining capacity relationship table can be obtained through experiments or simulations. In Table 1, SOC1, SOC2…SOC… m The remaining battery capacity is represented by T1, T2...T n Let be the battery temperature, where m and n are positive integers and can be set based on the needs of actual experiments or simulations. For example, the remaining battery capacity can be set to 0%, 5%, 10%...95%, 100%, and the battery temperature can be set to -10℃, -8℃...0℃, 2℃...40℃. By referring to Table 1, the initial estimated remaining charging time y under different temperatures T and different battery remaining capacities (SOC) can be obtained. For example, if the battery temperature before charging is T1℃ and the remaining battery capacity is SOC2, by referring to Table 1, the initial estimated remaining charging time is y. 12 .

[0079] In the exemplary embodiments of this application, multiple temperature-to-remaining battery capacity relationship tables can be generated based on the battery's charging capability or charging method. For example, the battery charging method can include various methods, such as slow charging, fast charging, and super-fast charging, and different charging methods can correspond to different temperature-to-remaining battery capacity relationship tables. Furthermore, the temperature-to-remaining battery capacity relationship table can also be obtained from multiple sub-relationship tables, for example, the sub-relationship table can also include temperature and remaining battery capacity. At least one of the charging voltage or charging current is used, and the initial estimated remaining charging time can be further calculated by combining the battery's charging voltage or charging current with the battery's remaining state of charge (SOC). Although this application provides an exemplary description of the temperature-to-remaining battery capacity relationship table, those skilled in the art will understand that the relationship between battery temperature, remaining battery capacity, and the initial estimated remaining charging time can also be obtained through other parameters of the battery charging process, and this application does not impose any limitations on this.

[0080] In an exemplary embodiment of this application, the charging test interval division module 2200 is used to divide multiple charging test intervals based on an initial estimated remaining charging time. For example, based on the initial estimated remaining charging time y, multiple charging test intervals x are divided, where each charging test interval includes multiple charging test moments. For instance, the initial estimated remaining charging time y can be obtained based on the battery temperature and the battery's state of charge (SOC) using a temperature-battery remaining capacity relationship table, and then the initial estimated remaining charging time y is divided into multiple charging test intervals x, where each charging test interval x includes n charging test moments.

[0081] In an exemplary embodiment of this application, dividing the charging test interval and the charging test time may include: setting a first threshold interval corresponding to the charging test interval based on the estimated remaining charging time, and setting a second threshold interval corresponding to the charging test time based on the charging test interval; determining the size of the charging test interval within the first threshold interval and determining the number of charging test times within the second threshold interval.

[0082] In the exemplary embodiments of this application, the size of the charging test intervals can be the same or different. For example, if the estimated remaining charging time is 70 minutes, a first threshold interval can be set to 5-15, meaning the charging test interval can be divided into 5-15 intervals. Taking 7 charging test intervals of equal size as an example, each charging test interval would be 10 minutes. Then, a second threshold interval can be set to 5-20, meaning each charging test interval contains 5-20 charging test moments. For example, if each charging test interval contains 10 charging test moments, the battery charging process parameters are tested every 1 minute. The limitations of the first and second threshold intervals in this application are illustrative and can be adjusted by those skilled in the art based on actual circumstances.

[0083] According to the exemplary implementation of this application, by setting the threshold range of the divided charging test intervals and the charging test time included in each charging test interval, the rationality of the divided charging test intervals and the charging test time can be guaranteed. To a certain extent, the accuracy of the error compensation value for determining the remaining charging time can be improved, and data redundancy can also be avoided.

[0084] In an exemplary embodiment of this application, the slope acquisition module 2300 is used to calculate the charging test slope corresponding to each charging test interval based on initial data. Calculating the charging test slope may include: acquiring a test dataset within the same charging test interval, wherein the test dataset includes the charging test time, the initial estimated remaining charging time corresponding to the charging test time, and the standard charging time corresponding to the charging test time; acquiring the test dataset corresponding to each charging test interval; and processing the test dataset corresponding to each charging test interval based on a preset algorithm to obtain the charging test slope corresponding to each charging test interval.

[0085] For example, during the charging process, taking one charging test interval as an example, each charging test interval can contain n charging test moments, and the charging test moment dataset is {x1, x2…} n At each charging moment, battery parameters are tested and recorded, such as battery temperature, remaining battery capacity, and actual charging time. Then, by looking up a table showing the relationship between temperature and remaining battery capacity, the initial estimated remaining charging time dataset {y1, y2…} is obtained for each charging test moment. n Furthermore, the standard charging time corresponding to the charging test moment is obtained based on the actual charging time. The actual charging time is the time the battery actually spends during the charging process. The standard charging time is linearly related to the actual charging time, with a slope of -1. That is, for every 1 minute increase in the actual charging time, the standard charging time decreases by 1 minute.

[0086] In an exemplary embodiment of this application, the test dataset corresponding to each charging test interval is processed based on a preset algorithm to obtain the charging test slope corresponding to each charging test interval. The charging test slope 'a' can be calculated by processing the test dataset using the least squares method. Continuing with the example of a charging test interval of 10 minutes and a charging test time of 1 minute... Figure 5 The horizontal axis represents the actual charging time, and the vertical axis represents the estimated remaining charging time. A linear regression is performed between the estimated remaining charging time for each minute over the past 10 minutes and the actual elapsed time (1 minute, 2 minutes…10 minutes) to obtain the charging test slope 'a' for the past 10 minutes. The corresponding charging test slope 'a' can be different for each charging test interval. This application has already described the process of calculating the charging test slope 'a' in detail, and will not be elaborated upon here.

[0087] In an exemplary embodiment of this application, the compensation value acquisition module 2400 is used to determine the error compensation value corresponding to each charging test interval based on the charging test slope. The error compensation value can be determined based on the charging test slope, the standard charging slope, and the charging test interval. For example, the error compensation value for the remaining charging time is the product of the difference between the charging test slope and the standard charging slope and the charging test interval. Specifically, the error compensation value for the remaining charging time = [a - (-1)] * x, where a is the charging test slope, -1 is the standard charging slope, and x is the charging test interval, for example, x can be 10 minutes. From the calculation method of the error compensation value for the remaining charging time, it can be seen that when the charging test slope is -1, the error compensation value for the remaining charging time is 0.

[0088] In an exemplary embodiment of this application, to further reduce the impact of the error value of a single charging test interval on the overall error compensation value, an autoregressive processing can be performed on the error compensation value. This autoregressive processing can include: determining the first error compensation value and its corresponding first weight for the k-th charging test interval, and the second error compensation value and its corresponding second weight for the (k+1)-th charging test interval; and performing a weighted sum of the first and second error compensation values ​​to obtain the target error compensation value for the (k+1)-th charging test interval. For example, taking s1 as the first weight and s2 as the second weight, where the sum of the first and second weights is 1, the target error compensation value x for the (k+1)-th charging test interval is... [k+1] =s 1* x [k] +s2*p, where x[k] Let p be the error compensation value for the k-th charging test interval, i.e., the first error compensation value, and let p be the error compensation value for the (k+1)-th charging test interval, i.e., the second error compensation value. After obtaining the target error compensation value for the (k+1)-th charging test interval, the target error compensation value can be used as the final error compensation value for the (k+1)-th charging test interval.

[0089] In an exemplary embodiment of this application, the target remaining charging time determination module 2500 is used to adjust the initially estimated remaining charging time based on an error compensation value to obtain the target remaining charging time. The target remaining charging time can be equal to the sum of the initially estimated remaining charging time and the error compensation value. The initial estimated remaining charging time can be obtained by consulting a table showing the relationship between temperature and remaining battery capacity (as shown in Table 1). In an exemplary embodiment of this application, the remaining charging time estimation device 2000 may further include an update module (not shown in the figure), used to update the table showing the relationship between temperature and remaining battery capacity based on the target remaining charging time after charging is completed, so as to adjust the charging time during subsequent charging processes.

[0090] According to an exemplary embodiment of this application, a corresponding error compensation value is obtained within each charging test interval, and then a target remaining charging time is obtained based on the initial estimated remaining charging time and the corresponding error compensation value. The target remaining charging time can be adjusted during the charging process to make it more accurate. Furthermore, optimizing the target remaining charging time within each charging test interval does not require the battery to be fully charged, which can reduce the storage consumption caused by recording the entire charging process and then determining the error compensation value.

[0091] This application also provides an electronic device and a computer-readable storage medium. Figure 7 This is a schematic diagram of an electronic device 700 according to an exemplary embodiment of this application. Reference is made below. Figure 7 The diagram illustrates a structural schematic of an electronic device (e.g., a server or terminal device) 700 suitable for implementing embodiments of the present disclosure. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The terminal device / server shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.

[0092] like Figure 7As shown, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0093] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 An electronic device 700 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 7 Each box shown can represent a device or multiple devices as needed.

[0094] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from storage device 708, or installed from ROM 702. When the computer program is executed by processing device 701, it performs the functions defined above in the methods of embodiments of this disclosure.

[0095] It should be noted that the computer-readable medium described in the embodiments of this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the embodiments of this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the embodiments of this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0096] The aforementioned computer-readable medium may be included in the aforementioned electronic device or may exist independently without being assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: acquire initial data, including an initial estimated remaining charging time; divide the initial estimated remaining charging time into multiple charging test intervals; calculate the charging test slope corresponding to each charging test interval based on the initial data; determine the error compensation value corresponding to each charging test interval based on the charging test slope; and adjust the initial estimated remaining charging time based on the error compensation value to obtain the target remaining charging time.

[0097] Computer program code for performing the operations of embodiments of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0098] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0099] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the invention. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for estimating remaining charging time, characterized in that, The method includes: Obtain initial data, including an initial estimated remaining charging time; Based on the initial estimated remaining charging time, multiple charging test intervals are divided; Based on the initial data, calculate the charging test slope corresponding to each charging test interval; Based on the charging test slope, the error compensation value corresponding to each charging test interval is determined respectively; Based on the error compensation value, the initial estimated remaining charging time is adjusted to obtain the target remaining charging time; The charging test interval includes multiple charging test times. Based on the initial estimated remaining charging time, multiple charging test intervals are divided, including: Based on the estimated remaining charging time, a first threshold interval corresponding to the charging test interval is set, and based on the charging test interval, a second threshold interval corresponding to the charging test time is set. The size of the charging test interval is determined within the first threshold interval, and the number of charging test moments is determined within the second threshold interval; Based on the initial data, calculate the charging test slope corresponding to each charging test interval, including: Within the same charging test interval, a test dataset is obtained, wherein the test dataset includes the charging test time, the initial estimated remaining charging time corresponding to the charging test time, and the standard charging time corresponding to the charging test time; Obtain the test dataset corresponding to each of the charging test intervals; The test dataset corresponding to each charging test interval is processed based on a preset algorithm to obtain the charging test slope corresponding to each charging test interval.

2. The method for estimating remaining charging time according to claim 1, characterized in that, The error compensation value is determined based on the charging test slope, the standard charging slope, and the charging test interval.

3. The method for estimating remaining charging time according to claim 2, characterized in that, Before adjusting the initial estimated remaining charging time based on the error compensation value to obtain the target remaining charging time, the method further includes: The error compensation value is subjected to autoregressive processing, wherein the autoregressive processing includes: Determine the first error compensation value and the corresponding first weight for the k-th charging test interval, and the second error compensation value and the corresponding second weight for the (k+1)-th charging test interval; The first error compensation value and the second error compensation value are weighted and summed to obtain the target error compensation value for the (k+1)th charging test interval.

4. The method for estimating remaining charging time according to any one of claims 1 to 3, characterized in that, The initial data includes a table showing the relationship between temperature and remaining battery power, and the method further includes: After charging is completed, the temperature-battery remaining charge relationship table is updated based on the target remaining charging time.

5. A device for estimating remaining charging time, characterized in that, The apparatus is used to implement the method for estimating remaining charging time as described in any one of claims 1-4, the apparatus comprising: The data acquisition module is used to acquire initial data, including an initial estimated remaining charging time. The charging test interval division module is used to divide the charging test intervals based on the initial estimated remaining charging time. The slope acquisition module is used to calculate the charging test slope corresponding to each charging test interval based on the initial data. The compensation value acquisition module is used to determine the error compensation value corresponding to each of the charging test intervals based on the charging test slope. The target remaining charging time determination module is used to adjust the initial estimated remaining charging time based on the error compensation value to obtain the target remaining charging time.

6. The device for estimating remaining charging time according to claim 5, characterized in that, The error compensation value is determined based on the charging test slope, the standard charging slope, and the charging test interval.

7. An electronic device, characterized in that, include: Memory, which stores instructions that a computer can execute; as well as A processor is configured to execute computer-executable instructions stored in the memory to implement claim 1. The method for estimating the remaining charging time as described in any one of the above 4.

8. A computer storage medium comprising computer-executable instructions, characterized in that, When the computer-executable instructions are executed by the processor, they enable the implementation of claim 1. The method for estimating the remaining charging time as described in any one of the above 4.

Citation Information

Patent Citations

  • Method to estimate the charging time of lithium-ion batteries and charging monitor

    CN105807228A

  • Battery charging control method and device, automobile and computing equipment

    CN108688504A