Battery remaining charging time calculation method and device
By calculating the rate of change and the rate of decrease of battery charging time, optimization coefficients are determined, which solves the problem of inaccurate charging time estimation in the prior art and improves the accuracy of electric vehicle charging time prediction and user experience.
Patent Information
- Application Number
- CN202310189873.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2043-02-21
AI Technical Summary
Existing charging time estimation schemes for pure electric and hybrid vehicles are based on current state parameters such as SOC and charging current, resulting in low estimation accuracy. Furthermore, changes in battery temperature and charge level affect the remaining charging time, leading to inaccurate estimations and a poor user experience.
By obtaining the remaining charging time values at the current and previous output moments, the change rate and descent rate coefficient are determined, and the remaining charging time optimization coefficient is calculated. Based on this optimization coefficient, the charging time at the current output moment is estimated, avoiding data jumps and improving estimation accuracy.
It achieves higher accuracy in charging time estimation, avoids data jumps, improves user experience, and has a simple calculation method that does not require a complex filtering process.
Smart Images

Figure CN118534323B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of battery remaining charging time calculation, in particular to a battery remaining charging time calculation method, a battery remaining charging time calculation device, an electronic device and a readable storage medium. BACKGROUND
[0002] With the development of pure electric and hybrid electric vehicle technology, the proportion of pure electric and hybrid electric vehicles is gradually increasing. In the use of pure electric and hybrid electric vehicles, the charging time of the battery is a common concern. Accurate charging time helps users to arrange their time reasonably and improves user experience.
[0003] However, the existing charging time estimation scheme of pure electric and hybrid electric vehicles is generally based on SOC, charging current and other current state parameters to estimate the remaining charging time. However, the battery temperature and the change of the current power will affect the remaining charging time, and the charging current will change with the change of the battery voltage. If the battery current is used to estimate the remaining charging time of the electric vehicle, the estimation accuracy is low, the estimation is not accurate, the SOC may jump, and poor user experience is easily caused. SUMMARY
[0004] The purpose of the embodiments of the present application is to provide a battery remaining charging time calculation method and device to at least solve the problem that the existing charging time estimation scheme of pure electric and hybrid electric vehicles is generally based on SOC, charging current and other current state parameters to estimate the remaining charging time. However, with the change of the battery temperature and the current power, the remaining charging time is affected, and the charging current changes with the change of the battery voltage. If the battery current is used to estimate the remaining charging time of the electric vehicle, the estimation accuracy is low, the estimation is not accurate, the SOC may jump, and poor user experience is easily caused.
[0005] To achieve the above purpose, the first aspect of the present application provides a battery remaining charging time calculation method, which comprises:
[0006] obtaining a remaining charging time calculation value at a current calculation time in a battery charging process, and obtaining a remaining charging time output value at a previous output time;
[0007] determining a remaining charging time optimization coefficient based on the remaining charging time calculation value at the current calculation time and the remaining charging time output value at the previous output time;
[0008] determining the remaining charging time output value at the current output time based on the remaining charging time output value at the previous output time, the remaining charging time optimization coefficient and the time interval between the current calculation time and the previous output time.
[0009] Optionally, the remaining charging time optimization coefficient is determined based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, and the determining includes:
[0010] The change ratio coefficient and the falling rate coefficient are determined based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, wherein the change ratio coefficient is used to represent a change ratio of the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, and the falling rate coefficient is used to represent a falling rate required when the time length of the remaining charging time calculated at the current calculation moment reaches the charging end point from the remaining charging time output value at the last output moment as a starting point.
[0011] The remaining charging time optimization coefficient is determined based on the change ratio coefficient and the falling rate coefficient.
[0012] Optionally, the change ratio coefficient and the falling rate coefficient are determined based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, and the determining includes:
[0013] The change ratio coefficient is calculated by using the following calculation formula:
[0014]
[0015] Wherein, K1 is the change ratio coefficient; T 输出n-1 is the remaining charging time output value at the last output moment; T 计算n is the remaining charging time calculation value at the current calculation moment; t n is the current calculation moment; t m is the last calculation moment; and A0 is a preset reference value.
[0016] Optionally, the change ratio coefficient and the falling rate coefficient are determined based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, and the determining further includes:
[0017] The falling rate coefficient is calculated by using the following calculation formula:
[0018]
[0019] Wherein, K2 is the falling rate coefficient; T 输出n-1 is the remaining charging time output value at the last output moment; T 计算n is the remaining charging time calculation value at the current calculation moment; t n is the current calculation moment; t n-1 is the last output moment.
[0020] Optionally, the remaining charging time optimization coefficient is determined based on the change rate coefficient and the falling rate coefficient, and the determining comprises:
[0021] P=A1·K1+A2·K2+A3
[0022] wherein P is the remaining charging time optimization coefficient; K1 is the change rate coefficient; K2 is the falling rate coefficient; and A1, A2 and A3 are constants.
[0023] Optionally, the remaining charging time output value at the current output time is determined based on the remaining charging time output value at the last output time, the remaining charging time optimization coefficient and the time interval between the current calculation time and the last output time, and the determining comprises:
[0024] T 输出n =T 输出n-1 -P·(t n -t n-1 )
[0025] wherein T 输出n is the remaining charging time output value at the current output time; T 输出n-1 is the remaining charging time output value at the last output time; P is the remaining charging time optimization coefficient; t n is the current calculation time; and t n-1 is the last output time.
[0026] The second aspect of the present application provides a battery remaining charging time calculation device, and the device comprises:
[0027] a data acquisition module, configured to acquire a remaining charging time calculation value at a current calculation time in a battery charging process and acquire a remaining charging time output value at a last output time;
[0028] an optimization coefficient determination module, configured to determine a remaining charging time optimization coefficient based on the remaining charging time calculation value at the current calculation time and the remaining charging time output value at the last output time;
[0029] a remaining charging time determination module, configured to determine a remaining charging time output value at a current output time based on the remaining charging time output value at the last output time, the remaining charging time optimization coefficient and a time interval between the current calculation time and the last output time.
[0030] Optionally, the optimization coefficient determination module comprises:
[0031] The intermediate coefficient determination unit is configured to determine a change rate coefficient and a falling rate coefficient based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, wherein the change rate coefficient is used to represent a change rate of the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, and the falling rate coefficient is used to represent a falling rate required when the time length of the remaining charging time calculated at the current calculation moment reaches the charging end point from the remaining charging time output value at the last output moment as a starting point.
[0032] The optimization coefficient output unit is configured to determine the remaining charging time optimization coefficient based on the change rate coefficient and the falling rate coefficient.
[0033] The third aspect of the present application provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the battery remaining charging time calculation method when executing the computer program.
[0034] In another aspect, the present application provides a readable storage medium, which stores instructions for causing a machine to execute the battery remaining charging time calculation method.
[0035] The present technical solution determines the remaining charging time optimization coefficient based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, optimizes the remaining charging time output value at the current output moment by using the remaining charging time optimization coefficient, has high estimation accuracy, smoothes the calculated remaining charging time, can avoid data jump of output data, and improves user experience; and compared with the smoothing method of the prior art, the present technical solution is more suitable for real-time flow data, does not need filtering and other methods, and does not need a complex calculation process, so the calculation method is simple.
[0036] Other features and advantages of the embodiments of the present application will be described in detail in the following detailed description. BRIEF DESCRIPTION OF DRAWINGS
[0037] The accompanying drawings are included to provide a further understanding of the embodiments of the present application, and constitute a part of the specification, and are used together with the following detailed description to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the drawings:
[0038] Figure 1 is a flowchart of the battery remaining charging time calculation method provided by the present application;
[0039] Figure 2 is a flowchart of determining the remaining charging time optimization coefficient provided by the present application;
[0040] Figure 3 is the overall flow block diagram of the battery remaining charging time calculation method provided by the present application;
[0041] Figure 4 is the structural schematic diagram of the battery remaining charging time calculation device provided by the present application;
[0042] Figure 5 is the comparison schematic diagram before and after the remaining charging time optimization provided by the present application.
[0043] Legend of reference signs
[0044] 10-data acquisition module; 20-optimization coefficient determination module;
[0045] 30-remaining charging time determination module. DETAILED DESCRIPTION
[0046] The specific embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application.
[0047] Figure 1 is the flowchart of the battery remaining charging time calculation method provided by the present application; Figure 2 is the flowchart of the remaining charging time optimization coefficient provided by the present application; Figure 3 is the overall flow block diagram of the battery remaining charging time calculation method provided by the present application; Figure 4 is the structural schematic diagram of the battery remaining charging time calculation device provided by the present application; Figure 5 is the comparison schematic diagram before and after the remaining charging time optimization provided by the present application.
[0048] Embodiment 1
[0049] As shown in Figures 1-3 , the present application embodiment provides a battery remaining charging time calculation method, which comprises:
[0050] Step one, obtaining the remaining charging time calculation value of the current calculation time in the battery charging process, and obtaining the remaining charging time output value of the last output time;
[0051] Specifically, in the present embodiment, the existing method of estimating the remaining charging time of the battery based on the current state parameters such as SOC and charging current can be used to calculate the remaining charging time of the current calculation time. These methods are known to those skilled in the art as prior art in the field of pure electric and hybrid electric vehicles, and will not be described here.
[0052] Step two, determining the remaining charging time optimization coefficient based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment;
[0053] Specifically, in the embodiment, the determination of the remaining charging time optimization coefficient specifically adopts the following steps:
[0054] Step 201, determining a change ratio coefficient and a falling rate coefficient based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment; wherein the change ratio coefficient is used to represent the change ratio of the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment; and the falling rate coefficient is used to represent the falling rate required when the time length of the remaining charging time calculated at the current calculation moment reaches the charging end point from the remaining charging time output value at the last output moment as the starting point;
[0055] Specifically, the change ratio coefficient is calculated by the following calculation formula:
[0056]
[0057] Wherein, K1 is the change ratio coefficient, and is always a value greater than 0; T 输出n-1 is the remaining charging time output value at the last output moment; T 计算n is the remaining charging time calculation value at the current calculation moment; t n is the current calculation moment; t m is the last calculation moment; t n -t m , t m -t n are the time intervals between the current calculation moment and the last calculation moment of the remaining charging time, and the time interval between adjacent calculation moments is a set value. Therefore, the current calculation moment and the last calculation moment can be considered as known values. When the change ratio coefficient is calculated by using the above formula, t n -t m and t m -t n are known constants; and A0 is a preset reference value, which can be adjusted according to actual conditions.
[0058] More specifically, in the embodiment, according to the size of the remaining charging time output value at the last output moment and the remaining charging time calculation value at the current calculation moment, the above different formulas are used for calculation, which can adopt different change ratio coefficients for different situations to improve the subsequent smoothing effect; t n -t m , t m -t nThe time interval between the current calculation time and the time of the last calculated remaining charging time, which can be understood as a time interval between the time of calculating the remaining charging time and the time of outputting the remaining charging time. At this time, the time of calculating the remaining charging time and the time of outputting the remaining charging time do not overlap.
[0059] Specifically, the descending rate coefficient is calculated by the following calculation formula:
[0060]
[0061] wherein K2 is the descending rate coefficient; T 输出n-1 is the remaining charging time output value at the last output time; T 计算n is the remaining charging time calculation value at the current calculation time; t n is the current calculation time; t n-1 is the last output time; t n -t n-1 is the time interval between the current calculation time and the last output time.
[0062] More specifically, the meaning of the descending rate coefficient K2 is that the descending rate required to reach the charging end point from the remaining charging time output value at the last output time as the starting point through the current estimated time length.
[0063] Step 202, determining the remaining charging time optimization coefficient based on the change rate coefficient and the descending rate coefficient.
[0064] Specifically, the charging time optimization coefficient is calculated by the following calculation formula:
[0065] P=A1·K1+A2·K2+A3
[0066] wherein P is the remaining charging time optimization coefficient; K1 is the change rate coefficient; K2 is the descending rate coefficient; A1, A2, and A3 are constants.
[0067] More specifically, in the present embodiment, A1, A2, and A3 are constants, which are determined by historical data or actual situations. By adjusting the specific values of A1, A2, and A3 in different situations, the specific value of the remaining charging time optimization coefficient can be changed, and the final smoothing effect of the remaining charging time output value at the current output time can be optimized.
[0068] Step three, determining the remaining charging time output value at the current output time based on the remaining charging time output value at the last output time, the remaining charging time optimization coefficient, and the time interval between the current calculation time and the last output time.
[0069] Specifically, the remaining charging time output value at the current output time is calculated by the following calculation formula:
[0070] T 输出n =T 输出n-1 -P·(t n -t n-1 )
[0071] Among them, T 输出n The remaining charging time output value at the current output moment; T 输出n-1 is the remaining charging time output value at the previous output moment; P is the remaining charging time optimization coefficient; t n is the current calculation time; t n-1 The last output time.
[0072] More specifically, in this embodiment, the remaining charging time output value at the current output moment is the remaining charging time output value at the previous output moment minus the product of the remaining charging time optimization coefficient P and the time interval; n is the current calculation time, t n-1 is the last output moment, t n -t n-1 The time interval between the current calculation moment and the previous output moment can be 1s, 5s, etc., and can be set according to the time interval of data sampling in actual conditions.
[0073] Example 2
[0074] like Figure 4 As shown, an embodiment of the present invention provides a device for calculating the remaining charging time of a battery, the device comprising:
[0075] The data acquisition module 10 is used to obtain the calculated value of the remaining charging time at the current calculation moment during the battery charging process, and to obtain the output value of the remaining charging time at the previous output moment;
[0076] An optimization coefficient determination module 20 is configured to determine a remaining charging time optimization coefficient based on a remaining charging time calculation value at a current calculation moment and a remaining charging time output value at a previous output moment;
[0077] The remaining charging time determination module 30 is used to determine the remaining charging time output value at the current output moment based on the remaining charging time output value at the previous output moment, the remaining charging time optimization coefficient, and the time interval between the current calculation moment and the previous output moment.
[0078] Specifically, the optimization coefficient determination module 20 includes:
[0079] The intermediate coefficient determination unit is configured to determine a change rate coefficient and a falling rate coefficient based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, wherein the change rate coefficient is used to represent a change rate of the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the last output moment, and the falling rate coefficient is used to represent a falling rate required when the time length of the remaining charging time calculated at the current calculation moment reaches the charging end point from the remaining charging time output value at the last output moment as a starting point.
[0080] The optimization coefficient output unit is configured to determine the remaining charging time optimization coefficient based on the change rate coefficient and the falling rate coefficient.
[0081] Embodiment 3
[0082] The electronic device provided by the embodiment of the application comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the battery remaining charging time calculation method when executing the computer program.
[0083] Embodiment 4
[0084] The embodiment of the application provides a readable storage medium, and instructions are stored on the readable storage medium, and the instructions are used to make a machine execute the battery remaining charging time calculation method.
[0085] Embodiment 5
[0086] In the embodiment, for the charging process of a certain automobile battery, first, the remaining charging time of the battery is estimated based on the current state parameters such as SOC and charging current, the remaining charging time calculation value at the current calculation moment is obtained, and the battery remaining charging time calculation method is used for smoothing, wherein in the process of calculating the charging time optimization coefficient, two sets of different A1, A2 and A3 values are set, wherein the first set adopts A1=0.8, A2=0.2 and A3=0, and the second set adopts A1=0.2, A2=0.8 and A3=0. The sampling moment is taken as the abscissa, and the remaining charging time is taken as the ordinate, three remaining charging time curves are drawn, and a comparison diagram of the remaining charging time before and after optimization is obtained as shown in FIG. 2. Figure 5 As can be seen from the comparison, after the battery remaining charging time calculation method is used for smoothing, the curve is smoother, the curve formed by the remaining charging time output value at the current output moment is smoother compared with the result without optimization, and the data jump of the output remaining charging time can be avoided, thereby improving the user experience.
[0087] Those skilled in the art can understand that all or part of the steps of the method for implementing the above-mentioned embodiments can be completed by programs instructing relevant hardware, the programs are stored in a storage medium, and the programs include a plurality of instructions for enabling a single-chip microcomputer, a chip or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
[0088] The optional embodiments of the present application are described in detail above in combination with the drawings, but the embodiments of the present application are not limited to the specific details in the above-described embodiments. Within the technical concept scope of the embodiments of the present application, various simple modifications can be made to the technical solutions of the embodiments of the present application, and these simple modifications all belong to the protection scope of the embodiments of the present application. In addition, it should be noted that each specific technical feature described in the above-described specific embodiments can be combined in any appropriate manner without contradiction. In order to avoid unnecessary repetition, the embodiments of the present application will not be described again for various possible combinations.
[0089] In addition, various different embodiments of the present application can also be combined in any manner, as long as it does not deviate from the idea of the embodiments of the present application, and it should also be considered as disclosed by the embodiments of the present application.
Claims
1. A method for calculating the remaining charging time of a battery, characterized in that: The method comprises: Obtain the calculated value of the remaining charging time at the current calculation moment during the battery charging process, and obtain the output value of the remaining charging time at the previous output moment; Based on the calculated value of the remaining charging time at the current calculation moment and the output value of the remaining charging time at the previous output moment, the remaining charging time optimization coefficient is determined, including: Determine a change ratio coefficient and a decrease rate coefficient based on the calculated value of the remaining charging time at the current calculation moment and the output value of the remaining charging time at the previous output moment; wherein the change ratio coefficient is used to represent the change ratio between the calculated value of the remaining charging time at the current calculation moment and the output value of the remaining charging time at the previous output moment; and the decrease rate coefficient is used to represent the decrease rate required to reach the charging end point after the remaining charging time output value at the previous output moment is used as the starting point. Determining the remaining charging time optimization coefficient based on the change ratio coefficient and the decrease rate coefficient; The remaining charging time output value at the current output moment is determined based on the remaining charging time output value at the previous output moment, the remaining charging time optimization coefficient, and the time interval between the current calculation moment and the previous output moment.
2. The method for calculating the remaining battery charging time according to claim 1, wherein: Based on the calculated value of the remaining charging time at the current calculation moment and the output value of the remaining charging time at the previous output moment, a change ratio coefficient and a decrease rate coefficient are determined, including: The change ratio coefficient is calculated using the following formula: in, is the coefficient of change ratio; The remaining charging time output value at the last output moment; The remaining charging time calculated at the current calculation moment; is the current calculation moment; is the last calculation moment; is the preset reference value.
3. The method for calculating the remaining battery charging time according to claim 1, wherein: Based on the calculated value of the remaining charging time at the current calculation moment and the output value of the remaining charging time at the previous output moment, a change ratio coefficient and a decrease rate coefficient are determined, including: The descent rate coefficient is calculated using the following formula: in, is the descent rate coefficient; The remaining charging time output value at the last output moment; The remaining charging time calculated at the current calculation moment; is the current calculation moment; The last output time.
4. The method for calculating the remaining battery charging time according to claim 1, wherein: Determining the remaining charging time optimization coefficient based on the change ratio coefficient and the decrease rate coefficient includes: in, Optimize the coefficient for the remaining charging time; is the coefficient of change ratio; is the descent rate coefficient; 、 、 is a constant.
5. The method for calculating the remaining battery charging time according to claim 1, wherein: Determining the remaining charging time output value at the current output moment based on the remaining charging time output value at the previous output moment, the remaining charging time optimization coefficient, and the time interval between the current calculation moment and the previous output moment includes: in, Output value of the remaining charging time at the current output moment; The remaining charging time output value at the last output moment; Optimize the coefficient for the remaining charging time; is the current calculation moment; The last output time.
6. A device for calculating the remaining charging time of a battery, characterized in that: The device comprises: A data acquisition module is used to obtain the calculated value of the remaining charging time at the current calculation moment during the battery charging process, and to obtain the output value of the remaining charging time at the previous output moment; An optimization coefficient determination module is used to determine the remaining charging time optimization coefficient based on the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the previous output moment; the optimization coefficient determination module includes: an intermediate coefficient determination unit, configured to determine a change ratio coefficient and a decrease rate coefficient based on the calculated value of the remaining charging time at the current calculation moment and the output value of the remaining charging time at the previous output moment; wherein the change ratio coefficient is used to represent the change ratio between the calculated value of the remaining charging time at the current calculation moment and the output value of the remaining charging time at the previous output moment; and the decrease rate coefficient is used to represent the decrease rate required to reach the charging end point after the remaining charging time output value at the previous output moment is used as the starting point; an optimization coefficient output unit, configured to determine the remaining charging time optimization coefficient based on the change ratio coefficient and the decrease rate coefficient; The remaining charging time determination module is used to determine the remaining charging time output value at the current output moment based on the remaining charging time output value at the previous output moment, the remaining charging time optimization coefficient, and the time interval between the current calculation moment and the previous output moment.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for calculating the remaining battery charging time according to any one of claims 1 to 5 is implemented.
8. A readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the method for calculating the remaining battery charging time according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for estimating residual charging time of battery
CN113484779A