Method and apparatus for calculating remaining charging time of battery
By calculating the charging time optimization coefficient and smoothing the charging time output, the problem of low charging time estimation accuracy in the existing technology is solved and the user experience is improved.
Patent Information
- Application Number
- PCT/CN2023/127741
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-21
- Filing Date
- 2023-10-30
- Publication Date
- 2024-08-29
AI Technical Summary
Existing charging time estimation solutions for pure electric and hybrid vehicles are based on SOC and charging current, and cannot accurately consider battery temperature and power changes, resulting in low accuracy in estimating the remaining charging time and easily leading to poor user experience.
By obtaining the charging time values of the current and previous moments, calculating the change ratio and decline rate coefficient, the charging time optimization coefficient is determined, which is used to smooth the output charging time and avoid data jumps.
It improves the accuracy of charging time estimation, avoids jumps in time data, improves user experience, and is suitable for real-time streaming data without complex filtering.
Smart Images

Figure CN2023127741_29082024_PF_FP_ABST
Abstract
Description
Method and device for calculating remaining battery charging time Technical Field
[0001] The present invention relates to the technical field of battery remaining charging time calculation, and in particular to a battery remaining charging time calculation method and a battery remaining charging time calculation device. Background Art
[0002] With the development of pure electric and hybrid vehicle technology, the proportion of pure electric and hybrid vehicles is gradually increasing. During the use of pure electric and hybrid vehicles, battery charging time is a problem that people generally care about. Accurate charging time helps users arrange their time reasonably and improves user experience.
[0003] However, existing charging time estimation schemes for pure electric and hybrid vehicles generally estimate the remaining charging time based on current state parameters such as SOC (state of charge) and charging current. However, changes in battery temperature and current power will affect the remaining charging time, and the charging current will vary with changes in battery voltage. If the charging current is used to estimate the remaining charging time of an electric vehicle, the estimation accuracy is low and the estimation is inaccurate. The remaining charging time of the electric vehicle may jump, which may easily lead to a poor user experience.
[0004] Summary of the Invention
[0005] The purpose of the embodiments of the present invention is to provide a method and device for calculating the remaining charging time of a battery, so as to at least solve the above-mentioned problem that the existing charging time estimation schemes for pure electric and hybrid vehicles generally estimate the remaining charging time based on current state parameters such as SOC and charging current. However, changes in the battery temperature and the current power will affect the remaining charging time, and the charging current will change with changes in the battery voltage. If the charging current is used to estimate the remaining charging time of the electric vehicle, the estimation accuracy is low and the estimation is inaccurate. The remaining charging time of the electric vehicle may jump, which may easily cause a poor user experience.
[0006] In order to achieve the above object, the present invention provides a method for calculating the remaining charging time of a battery in a first aspect, the method comprising:
[0007] 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;
[0008] Determine a 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;
[0009] 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.
[0010] A second aspect of the present invention provides a device for calculating the remaining charging time of a battery, the device comprising:
[0011] 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;
[0012] An optimization coefficient determination module, 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;
[0013] 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.
[0014] A third aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for calculating the remaining battery charging time when executing the computer program.
[0015] On the other hand, the present invention provides a readable storage medium having stored thereon instructions for causing a machine to execute the above-mentioned method for calculating the remaining battery charging time.
[0016] This technical solution determines the remaining charging time optimization coefficient through the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the previous output moment, and uses the remaining charging time optimization coefficient to optimize the remaining charging time output value at the current output moment. The estimation accuracy is high, and the calculated remaining charging time is smoothed, which can avoid data jumps in the output remaining charging time and improve user experience. Moreover, compared with the smoothing method of the existing technology, it is more suitable for real-time streaming data, does not require filtering methods, does not require complex calculation processes, and has a simple calculation method.
[0017] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following detailed description, they are used to explain the embodiments of the present invention, but do not constitute a limitation of the embodiments of the present invention. In the accompanying drawings:
[0019] 1 is a flow chart of a method for calculating the remaining charging time of a battery provided by an embodiment of the present invention;
[0020] FIG2 is a flow chart of determining an optimization coefficient for remaining charging time according to an embodiment of the present invention;
[0021] 3 is a flow chart of another method for calculating the remaining battery charging time provided by an embodiment of the present invention;
[0022] 4 is a schematic structural diagram of a device for calculating the remaining charging time of a battery provided by an embodiment of the present invention;
[0023] FIG5 is a schematic diagram showing a comparison of remaining charging time before and after optimization according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following describes the specific embodiments of the present invention in detail 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 invention and are not intended to limit the present invention.
[0025] Example 1
[0026] As shown in Figures 1-3, an embodiment of the present invention provides a method for calculating the remaining charging time of a battery, the method comprising:
[0027] Step 1: 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;
[0028] In this embodiment, the existing method of estimating the remaining charging time of the battery based on current state parameters such as SOC and charging current can be used to calculate the remaining charging time calculated value at the current calculation moment. These methods are existing technologies known to technicians in the field of pure electric and hybrid vehicles and will not be repeated here.
[0029] Step 2: 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;
[0030] In this embodiment, the remaining charging time optimization coefficient may be determined by following steps 201 and 202:
[0031] Step 201: Determine a change ratio coefficient and a decrease rate coefficient based on the remaining charging time calculated value at the current calculation moment and the remaining charging time output value at the previous output moment; wherein the change ratio coefficient is used to represent the change ratio between the remaining charging time calculated value at the current calculation moment and the remaining charging time output value 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.
[0032] Specifically, the change ratio coefficient is calculated using the following calculation formula:
[0033] Among them, K1 is the change ratio coefficient, and it is always greater than 0; T 输出n-1 The remaining charging time output value at the last output moment; T 计算n The remaining charging time at the current calculation moment; t n is the current calculation time; t m is the last calculation time; t n -t m , t m -t n The time interval between the current calculation moment and the last calculation moment of the remaining charging time is the last calculation moment. The time interval between adjacent calculation moments is the set value. Therefore, the current calculation moment and the last calculation moment can be considered as known values. When using the above formula to calculate the change ratio coefficient, t n -t m and t m -t n All are known constants; A0 is a preset reference value and can be adjusted according to actual conditions.
[0034] In this embodiment, the change ratio coefficient is calculated using the above different formulas according to the magnitude of the remaining charging time output value at the previous output moment and the remaining charging time calculated value at the current calculation moment. This allows different change ratio coefficients to be used in different situations to improve the subsequent smoothing effect. n -t m , t m -t n The time interval between the current calculation moment and the last calculation moment of the remaining charging time can be understood as there is a time interval between the calculation moment of the remaining charging time and the output moment of the remaining charging time. At this time, the calculation moment of the remaining charging time and the output moment of the remaining charging time do not overlap.
[0035] The descent rate coefficient is calculated using the following formula:
[0036] Among them, K2 is the decline rate coefficient; T 输出n-1 The remaining charging time output value at the last output moment; T 计算n The remaining charging time at the current calculation moment; t n is the current calculation time; t n-1 is the last output time; t n -t n-1 The time interval between the current calculation time and the previous output time.
[0037] More specifically, the descent rate coefficient K2 means the descent rate required to reach the charging end point after the current estimated time length, starting from the remaining charging time output value at the previous output moment.
[0038] Step 202: Determine the remaining charging time optimization coefficient based on the change ratio coefficient and the decrease rate coefficient.
[0039] Specifically, the charging time optimization coefficient is calculated using the following formula: P = A1·K1 + A2·K2 + A3
[0040] Among them, P is the remaining charging time optimization coefficient; K1 is the change ratio coefficient; K2 is the decrease rate coefficient; A1, A2, and A3 are constants.
[0041] In this embodiment, A1, A2, and A3 are all constants, which are determined by historical data or actual conditions. 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 moment can be optimized.
[0042] Step 3: 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.
[0043] The remaining charging time output value at the current output moment can be calculated using the following calculation formula: 输出n =T 输出n-1 -P·(t n -t n-1 )
[0044] 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 last output moment; P is the remaining charging time optimization coefficient; t n is the current calculation time; t n-1The last output time.
[0045] 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, which is the product of the remaining charging time optimization coefficient P and the time interval; t 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.
[0046] Example 2
[0047] As shown in FIG4 , an embodiment of the present invention provides a device for calculating the remaining charging time of a battery, the device comprising:
[0048] 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;
[0049] 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;
[0050] 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.
[0051] Specifically, the optimization coefficient determination module 20 includes:
[0052] 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 from the output value of the remaining charging time at the previous output moment as the starting point, through the time length of the calculated value of the remaining charging time at the current calculation moment;
[0053] The optimization coefficient output unit is used to determine the remaining charging time optimization coefficient based on the change ratio coefficient and the decrease rate coefficient.
[0054] Example 3
[0055] An embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned method for calculating the remaining battery charging time is implemented.
[0056] Example 4
[0057] An embodiment of the present invention provides a readable storage medium having stored thereon instructions for causing a machine to execute the above-mentioned method for calculating the remaining battery charging time.
[0058] Example 5
[0059] In this embodiment, during the charging process of a specific vehicle battery, the remaining charging time of the battery is first estimated based on current state parameters such as the SOC and charging current to obtain a calculated value of the remaining charging time at the current calculation moment. This value is then smoothed using the battery remaining charging time calculation method described above. In calculating the charging time optimization coefficient, two different sets of values for A1, A2, and A3 are set: the first set uses A1 = 0.8, A2 = 0.2, and A3 = 0; the second set uses A1 = 0.2, A2 = 0.8, and A3 = 0. Three remaining charging time curves are plotted, with the sampling time as the horizontal axis and the remaining charging time as the vertical axis. Figure 5 shows a comparison of the remaining charging time before and after optimization. The comparison shows that the curves smoothed using the battery remaining charging time calculation method described above are smoother. Compared to the result without optimization, the curve formed by the remaining charging time output value at the current output moment is smoother, which can avoid data jumps in the output remaining charging time and improve the user experience.
[0060] Those skilled in the art will appreciate that all or part of the steps in the methods of the aforementioned embodiments can be accomplished by instructing the relevant hardware through a program, which is stored in a storage medium and includes a number of instructions for causing a single-chip microcomputer, chip, or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0061] The above describes in detail the optional embodiments of the present invention in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above embodiments. Within the technical concept of the embodiments of the present invention, a variety of simple modifications can be made to the technical solutions of the embodiments of the present invention, and these simple modifications all fall within the scope of protection of the embodiments of the present invention. It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner unless there is any contradiction. In order to avoid unnecessary repetition, the embodiments of the present invention will no longer describe the various possible combinations separately.
[0062] In addition, the various embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed in the embodiments of the present invention.
Claims
1. A method for calculating the remaining charging time of a battery, the method include: Obtain the remaining charging time calculation value at the current calculation moment during the battery charging process, and obtain the remaining charging time output value at the previous output moment; Determining a 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; 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, the remaining charging time output value at the current output time is determined.
2. The method for calculating the remaining charging time of a battery according to claim 1, 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 previous output moment, include: 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, determine the change ratio coefficient and the decrease rate coefficient; wherein the change ratio coefficient is used to characterize the change ratio of the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the previous output moment; the decrease rate coefficient is used to characterize the decrease rate required to reach the charging end point after the remaining charging time output value at the previous output moment is taken as the starting point and the time length of the remaining charging time calculation value at the current calculation moment is passed; The remaining charging time optimization coefficient is determined based on the change ratio coefficient and the decrease rate coefficient.
3. The method for calculating the remaining charging time of a battery according to claim 2, wherein the change ratio 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 previous output moment, include: The change ratio coefficient is calculated using the following calculation formula: Among them, K 1 is the change ratio coefficient; T 输出n-1 is the remaining charging time output value at the previous output moment; T 计算n is the calculated value of the remaining charging time at the current calculation moment; t n is the current calculation time; t m A is the last calculation time; 0 is the preset reference value.
4. The method for calculating the remaining charging time of a battery according to claim 2 or 3, wherein the decrease rate 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 previous output moment, include: The drop rate coefficient is calculated using the following formula: Among them, K 2 is the decline rate coefficient; T 输出n-1 is the remaining charging time output value at the previous output moment; T 计算n is the calculated value of the remaining charging time at the current calculation moment; t n is the current calculation time; t n-1 is the last output time.
5. The method for calculating the remaining charging time of a battery according to any one of claims 2 to 4, wherein the remaining charging time optimization coefficient is determined based on the change ratio coefficient and the decrease rate coefficient. include: P=A 1 ·K 1 +A 2 ·K 2 +A 3 Wherein, P is the remaining charging time optimization coefficient; K 1 is the change ratio coefficient; K 2 A is the drop rate coefficient; 1 , A 2 , A 3 is a constant.
6. The method for calculating the remaining charging time of a battery according to any one of claims 1 to 5, wherein 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, include: T 输出n =T 输出n-1 -P·(t n -t n-1 ) Among them, T 输出n is 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 is the last output time.
7. A device for calculating the remaining charging time of a battery, the device include: A data acquisition module is used to obtain the remaining charging time calculation value at the current calculation moment during the battery charging process, and to obtain the remaining charging time output value at the previous output moment; An optimization coefficient determination module, used to determine a 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 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.
8. The device for calculating the remaining battery charging time according to claim 7, wherein the optimization coefficient determination module include: an intermediate coefficient determination unit, for determining a change ratio coefficient and a decrease rate 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; wherein the change ratio coefficient is used to characterize the change ratio between the remaining charging time calculation value at the current calculation moment and the remaining charging time output value at the previous output moment; and the decrease rate coefficient is used to characterize the decrease rate required to reach the charging end point from the remaining charging time output value at the previous output moment as the starting point and through the remaining charging time calculation value at the current calculation moment; An optimization coefficient output unit is used to optimize the coefficient based on the change ratio coefficient and the decrease rate coefficient. The remaining charging time optimization coefficient is determined.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for calculating the remaining battery charging time according to any one of claims 1 to 8 when executing the computer program.
10. A readable storage medium having instructions stored thereon, wherein the instructions are used to enable a machine to execute the method for calculating the remaining battery charging time according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and apparatus for correcting estimated value of remaining capacity of battery
CN106597307A
Electric vehicle charging remaining time estimation method
CN111806296A
Battery charging remaining time calculation method and device and vehicle
CN112035777A
Charging time determination method, equipment, storage medium, and device
CN112172592A
Battery charging remaining time estimation method and device and battery management system
CN113238153A
Cited By
Model training method, and battery residual charging time prediction method and device
CN122332831A
Method for determining remaining charging time, device, medium, and product
WO2026208675A1
