CN117783877A - Method for calculating battery charging time, electronic device and storage medium - Google Patents

Method for calculating battery charging time, electronic device and storage medium Download PDF

Info

Publication number
CN117783877A
CN117783877A CN202311824787.9A CN202311824787A CN117783877A CN 117783877 A CN117783877 A CN 117783877A CN 202311824787 A CN202311824787 A CN 202311824787A CN 117783877 A CN117783877 A CN 117783877A
Authority
CN
China
Prior art keywords
time
battery
charging
determining
compensation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311824787.9A
Other languages
Chinese (zh)
Inventor
刘婷
张庆杰
高鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202311824787.9A priority Critical patent/CN117783877A/en
Publication of CN117783877A publication Critical patent/CN117783877A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The application provides a calculation method of battery charging time, electronic equipment and a storage medium, wherein the method can determine a target battery state of a battery according to battery temperature information and battery health state; and different correction values are determined according to different battery states, so that the accuracy of charging time calculation is improved. Determining a time correction coefficient according to the target battery state and the initial charge amount; determining a first compensation time according to the initial predicted charging time and the time correction coefficient; a second compensation time is determined based on the target battery state and the charging current. The first compensation time and the second compensation time are different types of compensation time, the two types of compensation time are calculated, the final compensation time is determined by the time with better repairing effect in the first compensation time and the second compensation time, and the initial predicted charging time is repaired by the final compensation time with higher precision, so that the accuracy and precision of the calculation result of the final predicted charging time can be improved.

Description

Method for calculating battery charging time, electronic device and storage medium
Technical Field
The present disclosure relates to the field of technologies, and in particular, to a method for calculating battery charging time, an electronic device, and a storage medium.
Background
Calculating the charging time of a power battery involves many parameters, including the characteristic parameters of the battery, the characteristic parameters of the charging pile, the limiting conditions of the accessories of the power system during charging and environmental factors, so that it is difficult to obtain accurate calculation results. But because the vehicle is in use, obtaining accurate charging time can lead consumers to have better riding experience. For this reason, how to calculate the charging time more accurately becomes a problem to be solved.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a method for calculating a charging time of a battery, an electronic device, and a storage medium for improving precision and accuracy of the charging time calculation.
Based on the above object, a first aspect of the present application provides a method for calculating a battery charging time, including:
determining a target battery state of the battery according to the battery temperature information and the battery health state;
determining a time correction coefficient according to the target battery state and the charge starting electric quantity;
determining an initial predicted charging time, and determining a first compensation time according to the initial predicted charging time and the time correction coefficient;
determining a second compensation time according to the target battery state and the charging current;
And determining a final compensation time according to the first compensation time and the second compensation time, and determining the sum of the final compensation time and the initial predicted charging time as a final predicted charging time.
A second aspect of the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method as provided in the first aspect of the present application when executing the program.
A third aspect of the present application provides a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method provided in the first aspect of the present application.
From the above, the method for calculating the battery charging time, the electronic device and the storage medium provided by the present application can determine the target battery state of the battery according to the battery temperature information and the battery health state; and different correction values are determined according to different battery states, so that the accuracy of charging time calculation is improved. Determining a time correction coefficient according to the target battery state and the initial charge amount; determining a first compensation time according to the initial predicted charging time and the time correction coefficient; the first compensation time is a compensation value in a proportional repair mode and is strongly related to the temperature and the state of health of the battery. And determining a second compensation time according to the target battery state and the charging current, wherein the second compensation time is a compensation value in a fixed value repairing mode and is strongly related to the charging current. And determining a final compensation time according to the first compensation time and the second compensation time and determining the sum of the final compensation time and the initial predicted charging time as the final predicted charging time. The first compensation time and the second compensation time are different types of compensation time, the two types of compensation time are calculated, the final compensation time is determined by the time with better repairing effect in the first compensation time and the second compensation time, and the initial predicted charging time is repaired by the final compensation time with higher precision, so that the accuracy and precision of the calculation result of the final predicted charging time can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application or related art, the drawings that are required to be used in the description of the embodiments or related art will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is a flowchart of a method for calculating battery charge time according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of determining a target battery state of a battery according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating determining a time correction factor according to an embodiment of the present application;
FIG. 4 is a flowchart of determining a first compensation time according to an embodiment of the present application;
FIG. 5 is a flowchart of determining a second compensation time according to an embodiment of the present application;
FIG. 6 is a flow chart of determining a final compensation time according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings.
It should be noted that unless otherwise defined, technical or scientific terms used in the embodiments of the present application should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present application belongs. The terms "first," "second," and the like, as used in embodiments of the present application, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
In this document, it should be understood that any number of elements in the drawings is for illustration and not limitation, and that any naming is used only for distinction and not for any limitation.
Based on the above description of the background art, there are also the following cases in the related art:
the charging time is affected by many factors such as the power of the charging pile, the efficiency of the charging pile, the battery temperature, the battery capacity, the remaining battery capacity, the power of the vehicle charger, etc.
For example, the charging pile has a direct current fast charging efficiency of 100% (an efficiency factor of 1), an output power of 60KW, a battery temperature of 24 degrees celsius (a temperature factor of 1), a battery capacity of 100 degrees celsius, a remaining battery capacity of 30 degrees celsius, a charging efficiency of up to 80% (i.e., the fast charging is completed after the fast charging is 80% of the battery capacity), a calculated formula of charging time should be (100-30-20)/(1×60×1), and the calculated charging time is 0.83 hours.
The alternating current slow charging efficiency of the charging pile is 100% (the efficiency factor is 1), the output power is 7KW, the battery temperature is 24 ℃ (the temperature factor is 1), the battery capacity is 100℃, the remaining battery capacity is 40℃, the power of a vehicle charger is 7KW, the charging efficiency of the battery during slow charging is negligible, and the calculation formula is (100-40)/(1×7×1), and the result is equal to 8.57 hours.
In practice, the charging efficiency of the direct current pile is 90% -95%, the temperature factor of the battery is not possibly 1, the charging efficiency is reduced due to too low or too high temperature, and the highest stage of the charging efficiency of the battery is only 20% -80% of the total capacity of the battery, so that 0.83 hour is ideal charging time.
In the related art, when calculating the charging time, the actual charging current of the vehicle at the charging start time is collected, the SOC variation value of the power battery of the vehicle at each time is generated according to the actual charging current, and the current charging time variation curve of the power battery is generated according to the SOC variation value at each time. And determining an SOC value corresponding to the moment to be estimated, and estimating the residual charging time at the moment to be estimated based on the current charging time change curve. When the charging time is estimated, only the influence of the charging current on the charging speed is considered, and the influence of other factors on the charging speed of the battery is not considered, so that the final calculation result has large deviation from the actual result, and the calculation result is likely to be fully charged after 30 minutes, but can be fully charged after 40 minutes. And error expectations are brought to the user, and poor driving experience is brought to the user.
According to the battery charging time calculation method, the electronic equipment and the storage medium, the target battery state of the battery can be determined according to the battery temperature information and the battery health state; and different correction values are determined according to different battery states, so that the accuracy of charging time calculation is improved. Determining a time correction coefficient according to the target battery state and the initial charge amount; determining a first compensation time according to the initial predicted charging time and the time correction coefficient; the first compensation time is a compensation value in a proportional repair mode and is strongly related to the temperature and the state of health of the battery. And determining a second compensation time according to the target battery state and the charging current, wherein the second compensation time is a compensation value in a fixed value repairing mode and is strongly related to the charging current. And determining a final compensation time according to the first compensation time and the second compensation time and determining the sum of the final compensation time and the initial predicted charging time as the final predicted charging time. The first compensation time and the second compensation time are different types of compensation time, the two types of compensation time are calculated, the final compensation time is determined by the time with better repairing effect in the first compensation time and the second compensation time, and the initial predicted charging time is repaired by the final compensation time with higher precision, so that the accuracy and precision of the calculation result of the final predicted charging time can be improved.
A power control method of a fuel cell according to an exemplary embodiment of the present application is described below with reference to the accompanying drawings.
In some embodiments, as shown in fig. 1, the method for calculating the battery charging time includes:
step 101: and determining the target battery state of the battery according to the battery temperature information and the battery health state.
In particular, the state of health (SOH) is a representation of the state of health of a battery, and is a representation of the state of charge, energy, charge and discharge power, etc. of the battery. Specifically, the ratio of the current power that a used battery can provide to the initial power of the battery when not in use, that is, the ratio of the actual capacity to the nominal capacity of the SOH, is calculated as follows:
SOH=Q act /Q nom
wherein Q is act Representative ofActual capacity, Q nom Representing a nominal capacity, which is a rated capacity value determined when the battery leaves the factory.
SOH reacts to the aging or degradation of the battery and gives an alarm when the battery needs to be replaced. Generally, when the actual capacity drops to 80% of the rated capacity, the battery is considered to be unsuitable for vehicle applications and should be replaced.
Therefore, the larger the SOH value is, the healthier the battery is, the smaller the influence on the calculation of the charging time is, and the better the battery state is; on the contrary, the smaller the SOH value, the worse the battery state of health, the greater the influence on the charge time calculation, and the worse the battery state, so the battery state of health is an important parameter affecting the battery state.
The battery temperature information includes the battery temperature of the battery itself and the ambient temperature outside the battery, and the battery is charged and discharged through chemical reaction, so that the efficiency of the chemical reaction of the lithium battery is obviously affected due to the fact that the battery is excessively low in temperature, and the charging efficiency is lowered. High temperatures, while accelerating chemical reactions, can lead to the loss of water and electrolyte from the battery, which can lead to reduced electrolyte capacity and reduced battery charging capability. The temperature information is a parameter strongly related to the charging efficiency, and can be used for measuring the battery state of the battery.
Therefore, according to the difference of the battery temperature, the environment temperature and the battery health state, the battery states can be divided into different battery states, the more the number of the divided battery states is, the higher the accuracy of the calculation result of the charging time is, but the larger the occupation amount of the calculation power resource of the vehicle chip is, so the more suitable number of the battery states can be determined by combining the calculation accuracy and the resource occupation, and the suitable number of the battery states is generally 6-10. For example, it may be divided into 8 battery states, 9 battery states, and 10 battery states.
The target battery state corresponding to the current moment can be synchronously determined in real time in a plurality of battery states according to the battery temperature information and the battery health state in the charging process, and real-time calculation and updating of the charging time of the vehicle battery are carried out according to the target battery state, so that accurate charging time expectation is provided for a user.
Step 102: a time correction coefficient is determined based on the target battery state and the charge start electric quantity.
In particular, in the charging process of the power battery, electric energy is converted into chemical energy to form material accumulation in the positive and negative stages of the battery. Due to the structural characteristics of the battery, in the charging process, along with the continuous increase of the electric quantity of the battery, the voltage at the positive end and the negative end of the battery also rises, and the magnitude of the charging current is determined by the voltage difference between the output voltage of the charging pile and the voltage of the battery, which is called charging voltage difference. Since the overall resistance of the battery pack is relatively small, if the charging voltage is fixed, the battery voltage is low and the charging voltage difference is large at the initial stage of charging the battery, and at this time, the charging current is very large, which may cause overheating of the battery or even damage of the battery.
After the electric quantity of the battery is continuously increased, the voltage of the battery is gradually increased, the charging voltage difference is continuously reduced, the charging current is small, and the charging requirement cannot be met. This requires that the control current be charged at a more constant current when the battery voltage is low. When the battery voltage reaches a certain height and approaches to full charge, the battery voltage is ensured to slowly rise at a certain speed, and the battery can be ensured to be full. Therefore, the charging process can be roughly divided into three phases, namely a constant current phase, a constant voltage phase and a cut-off phase.
Wherein the constant current phase is the early phase of battery charging. This stage takes most of the charging process and typically reaches more than 80% of the overall charging process. In this process, the initial charging voltage is set according to the voltage of the power battery, and then the voltage is continuously adjusted along with the voltage change of the battery, so that the charging voltage difference is basically kept unchanged, and the charging process can be ensured to charge at a relatively constant current, thus being called a constant current stage. The constant current stage has higher charging speed and higher battery electric quantity rising speed, and is the main stage of the charging process.
The constant voltage phase is the mid-phase of battery charging. With the continuous increase of the battery power, the voltage of the battery will also rise. After a certain battery voltage is reached, if a stable charging voltage difference is maintained, the charging voltage is excessive, and the battery is damaged. Therefore, in this stage, by controlling the voltage of the battery, the charging voltage is raised to a full state and kept constant, and the charging current is controlled with a reasonable voltage, thus being called a constant voltage stage.
Optionally, the demarcation between the constant current stage and the constant voltage stage may be performed by setting an electric quantity threshold, taking 90% as an example, a charging mode of constant current charging is adopted before charging to 90%, and a charging mode of constant voltage charging is adopted after charging to 90%. The power threshold may also take a value of 80%,85%, typically in the range 80% -90%.
The constant voltage phase is the later phase of battery charging. The cut-off phase actually belongs to the process of judging whether the battery is full or not in the battery charging process. The battery is charged in the last constant voltage charging phase with a continuously decreasing charging current, which would continue to decrease if not managed. When the current is reduced to a certain stage, the voltage difference is very small, the recharging is continued, the current change and the charging voltage difference change become very slow, if the continuous charging is continued until the current becomes zero, an infinite time is theoretically required, and thus the recharging becomes meaningless. The stage of judging the end of charging is referred to as the off stage. Therefore, in order to ensure the charging efficiency and reduce unnecessary waste, when the charging current of the battery of the electric automobile is reduced to a certain value, the power battery is considered to be nearly full, and the charging can be ended. In this stage, parameter setting is required, and a charging end instruction is issued to the charging pile by setting an appropriate charging current as a charging end flag.
Therefore, after the constant voltage phase is finished, the battery power has been shown to be 100%, and the constant voltage phase and the constant current phase are the main factors affecting the calculation of the charging time. The phase before the battery power is charged to the power threshold can be determined as a constant current phase, and the process from the power threshold to full power is a constant voltage phase. When the electric quantity of the battery is 0-c%, the constant current phase is realized, and when the electric quantity of the battery is c-100%, the constant voltage phase is realized. Because the charging modes of the two stages are different, the charging stage in which the battery is currently positioned can be determined by determining the initial charging electric quantity, then the time correction coefficients in the different stages are determined through the target battery state in the different charging stages, and the charging time compensation is respectively carried out on the different stages, so that the calculation accuracy of the charging time is improved.
Step 103: and determining an initial predicted charging time, and determining a first compensation time according to the initial predicted charging time and the time correction coefficient.
In specific implementation, the charging pile has a direct current fast charging efficiency of 100% (an efficiency factor of 1), an output power of 60KW, a battery temperature of 24 ℃ (a temperature factor of 1), a battery capacity of 100KWh (corresponding to a full charge of 100%), a remaining battery capacity of 30KWh (corresponding to a charge starting charge of 30%), a charging efficiency of up to 80%, and a calculated formula of charging time of (100-30-20)/(1×60×1), wherein the calculated initial predicted charging time is 0.83 hours, namely 50 minutes, the charging time in the constant current stage is 30 minutes, and the charging time in the constant voltage stage is 20 minutes.
And then, repairing the charging time of the constant-current stage according to the coefficient of the constant-current stage in the time correction coefficient, and repairing the charging time of the constant-voltage stage according to the coefficient of the constant-voltage stage in the time correction coefficient. With P n1 Representing the first time correction coefficient, P, for the constant current phase of the time correction coefficients n2 And represents a second time correction coefficient for the constant current phase in the time correction coefficients, wherein n represents an nth target battery state. The correction process is P 1 =30*P n1 +20*P n2 ,P 1 Representing the calculated first compensation time in the nth target battery state.
Step 104: a second compensation time is determined based on the target battery state and the charging current.
In particular, the charging current is in units of C, which represents the capacity of the battery itself in ampere hours/milliampere hours (Ah/mAh). For example: the rated capacity of the rechargeable battery is 1000mAh, that is, it means that the charging is performed at a charging current of 1000mAh (1C), and the theoretical charging time from 0 to full charge takes 1 hour (always charging is performed in a constant current manner), for example, the charging is performed at a charging current of 200mAh (0.2C), and the theoretical charging time from 0 to full charge takes 5 hours.
The magnitude of the charging current is directly related to the charging speed and plays a decisive role, so that when the charging currents are different, the difference of the charging time is large, so that after the target battery state is determined, the relationship between the battery state and the second compensation time is determined according to the charging current, and then the second compensation time P corresponding to the target battery state is directly determined according to the relationship 2
The charging modes can be classified according to the current threshold, and if the charging current is greater than or equal to a preset current threshold, the charging mode is determined to be a fast charging mode; if the charging current is smaller than a preset current threshold value, determining a slow charging mode; wherein the current threshold may be 0.6C,0.65C or 0.7C.
Step 105: and determining final compensation time according to the first compensation time of the second charging stage and the second compensation time of the second charging stage, and determining the sum of the final compensation time of the second charging stage and the initial predicted charging time of the second charging stage as the final predicted charging time.
In specific implementation, the first compensation time is a compensation value in a proportional repair mode, and is strongly related to temperature and battery health. The second compensation time is a compensation value in a fixed value restoration mode and is strongly related to the charging current. The first compensation time and the second compensation time are different types of compensation time, the two types of compensation time are calculated, the final compensation time is determined by the time with better repairing effect in the first compensation time and the second compensation time, and the initial predicted charging time is repaired by the final compensation time with higher precision, so that the accuracy of the calculation result of the final predicted charging time can be improved. The final predicted charge time is denoted by P, which is 0 Representing the initial predicted charge time, the final charge time calculation formula is:
P=P 0 +max(P 1 ,P 2 )。
the calculated charging time in the ideal state can be regarded as the shortest charging time which can be achieved theoretically, so the actual charging time is necessarily longer than the initial charging time, and the final compensation time with larger values in the first compensation time and the second compensation time is selected when compensation is performed. And the larger final predicted charging time is adopted, so that unavoidable errors in the calculation process can be effectively diluted, the gap between the calculated final predicted charging time and the actual use time is reduced, the accuracy and the accuracy of the charging time calculation are improved, and the reliability of the charging time calculation result is improved.
In summary, the method for calculating the battery charging time provided by the embodiment of the present application can determine the target battery state of the battery according to the battery temperature information and the battery health state; and different correction values are determined according to different battery states, so that the accuracy of charging time calculation is improved. Determining a time correction coefficient according to the target battery state and the initial charge amount; determining a first compensation time according to the initial predicted charging time and the time correction coefficient; the first compensation time is a compensation value in a proportional repair mode and is strongly related to the temperature and the state of health of the battery. And determining a second compensation time according to the target battery state and the charging current, wherein the second compensation time is a compensation value in a fixed value repairing mode and is strongly related to the charging current. And determining a final compensation time according to the first compensation time and the second compensation time and determining the sum of the final compensation time and the initial predicted charging time as the final predicted charging time. The first compensation time and the second compensation time are different types of compensation time, the two types of compensation time are calculated, the final compensation time is determined by the time with better repairing effect in the first compensation time and the second compensation time, and the initial predicted charging time is repaired by the final compensation time with higher precision, so that the accuracy and precision of the calculation result of the final predicted charging time can be improved.
In some embodiments, the battery temperature information includes a battery temperature and a battery ambient temperature; as shown in fig. 2, determining a target battery state of the battery from the battery temperature information and the battery state of health includes:
step 201: the search index is constructed according to the battery temperature and the ambient temperature.
In some embodiments, step 201 comprises:
step 2011: and determining a maximum temperature value and a minimum temperature value according to the battery temperature, and calculating a battery temperature difference between the maximum temperature value and the minimum temperature value.
When the method is implemented, a temperature curve of the battery temperature changing along with time is constructed according to the battery temperature, the corresponding temperature value of the highest temperature point on the curve is the maximum temperature value, the corresponding temperature value of the lowest temperature point on the curve is the minimum temperature value, and then the difference value between the highest temperature point and the lowest temperature point on the curve is the battery temperature difference value.
Step 2012: an ambient temperature change value is determined based on the battery ambient temperature.
In practice, since the external environment temperature also changes in real time, it is necessary to determine whether the external environment temperature changes more severely, and thus whether the charging speed of the battery is affected. An environmental temperature curve of the battery environmental temperature changing along with time can be constructed according to the battery environmental temperature, and the difference value between the highest environmental temperature point and the lowest environmental temperature point on the curve is determined as an environmental temperature change value.
Step 2013: determining the temperature difference between the inside and the outside of the battery according to the battery temperature and the ambient temperature; the temperature difference between the inside and the outside of the battery is the temperature difference between the battery and the external environment.
In particular, in real time, the difference value of the temperature values of the environmental temperature curve and the temperature curve at the same time point is determined as the temperature difference between the inside and the outside of the battery.
Step 2014: a data set composed of a battery temperature, a battery temperature difference value, an ambient temperature change value, a battery internal and external temperature difference and a battery health state is determined as a retrieval index.
In specific practice, the battery temperature difference value, the ambient temperature change value, the internal and external temperature difference of the battery and the battery health state are respectively used as index items, the corresponding calculated value is determined as the retrieval value of the retrieval item, a data set is constructed according to the retrieval item and the retrieval value, and the data set is determined as the retrieval index.
Step 202: and carrying out state retrieval in preset battery state distribution data according to the retrieval index to obtain a target battery state.
In practice, the battery state distribution data are shown in table 1, for example:
table 1 battery status distribution data
Wherein, T1 to T8 are sequentially increased, T9 is smaller than T10, T11 is smaller than T12, and a% is larger than b%. For example, if the value of Δt1 is ±5, which means that the temperature change is within 5 ℃, and the value of Δt2 is ±10, which means that the temperature change is within 10 ℃, if the ambient temperature change value is 3 ℃, the search is performed according to the ambient temperature change value of 3 ℃ with the smaller range of the ambient temperature change, and the search range is determined to be the range corresponding to Δt1, that is, battery state 1, battery state 2, battery state 3, and battery state 4 can be searched. I.e. defaults to a small range to improve the calculation accuracy.
The index item in the index corresponds to each row of the title in the battery state distribution data, so that state retrieval is performed in the battery state distribution data according to the retrieval value of the index item and the range corresponding to the title item, and the target battery state is obtained. Illustratively, if the search value (battery temperature value) of the search term "battery temperature" is located between T1 and T2; and the search value of the search term 'environment temperature change value' is positioned in the change range corresponding to delta T1; and the search value of the search term 'battery temperature difference' is less than T11; and the search term "(the search value of the battery state of health" is greater than a), the battery state 1-bit target battery state is determined.
And gradually narrowing the search range of the target battery state through the unused search term, and finally determining the target battery state corresponding to the current battery temperature information and the battery health state. By determining different compensation times for different battery states, the calculation of the charging time becomes more accurate.
In some embodiments, the time correction coefficients include a first time correction coefficient for repairing the constant current charging phase and a second time correction coefficient for repairing the constant voltage charging phase; as shown in fig. 3, determining the time correction coefficient based on the target battery state and the charge start electric quantity includes:
Step 301: and determining a first charging stage taking the initial charge quantity as a lower boundary, a preset charge quantity threshold value as an upper boundary and a second charging stage taking the charge quantity threshold value as a lower boundary and the full charge quantity as an upper boundary.
In specific implementation, a preset electric quantity threshold value is determined according to specific parameters of the battery, and then the whole charging stage is divided into a first charging stage and a second charging stage according to the charging threshold value. Alternatively, the first charging phase is typically a constant current charging phase and the second charging phase is typically a constant voltage charging phase. The charging stage may be divided according to the actual situation, or may be divided into a plurality of stages. C% is used for representing a charging threshold value, s% is used for representing the initial charge quantity, and the first charging stage corresponding to the constant current charging stage is a stage with the battery quantity of s% -c%; the second charging stage corresponding to the constant voltage charging stage is a stage in which the battery power is c% -100%.
Step 302: a first time correction coefficient corresponding to the target battery state is determined in first relationship data corresponding to the first charging phase.
In specific implementation, the first relationship data corresponding to the first charging stage is shown in table 2:
table 2 first relationship data corresponding to the first charging stage
The State of Charge (SOC) of the battery represents the amount of Charge. The first relationship data may also be in other forms than tables, for example, a parent folder that includes 8 child folders; a node comprising 8 child nodes.
After determining the target battery state, if the target battery state is battery state 1, a first time correction coefficient P n1 =d%. The corresponding first time correction coefficient increases once from the battery state 1 to the battery state 8, namely d% < e% < f% < g% < h%.
Step 303: a second time correction coefficient corresponding to the target battery state is determined in second relationship data corresponding to the second charging phase.
In specific implementation, the second relationship data corresponding to the second charging phase is shown in table 3:
TABLE 3 second relationship data corresponding to the second charging stage
After determining the target battery state, if the target battery state is battery state 1, a first time correction coefficient P n1 =e%. The corresponding first time correction coefficient increases once from the battery state 1 to the battery state 8, namely e% < f% < g% < h% < i%.
Combining the first relationship data and the second relationship data to obtain total relationship data, and determining a time correction coefficient according to the target battery state and the initial charge amount, wherein the total relationship data is shown in table 4:
TABLE 4 Total relationship data
If the initial charge amount is greater than c%, it indicates that the first charging stage is not required, and the first predicted time of the first charging stage is not required to be repaired. And directly performing time repair on the second predicted time of the second charging stage. Therefore, if the charge start charge amount is smaller than the charge amount threshold (charging is not generally performed when it is larger than the charge amount threshold), the target battery state is battery state 1, and the time correction coefficient includes d% and e%. And if the charge starting electric quantity is larger than or equal to the electric quantity threshold value, the time-time correction coefficient comprises 0 and e%, and 0 indicates that repair is not needed. Wherein, 0-d% represents that the values of d of batteries of different models of different vehicles are different, but the range of d is larger than 0.
In some embodiments, as shown in fig. 4, determining the first compensation time from the initial predicted charge time and the time correction coefficient includes:
step 401: the initial predicted charging time is divided into a first predicted time and a second predicted time according to the charge level threshold.
In particular embodiments, the initial predicted charge time includes a first predicted time to charge from a charge start charge to a charge threshold and a second predicted time to charge from the charge threshold to full charge. The initial predicted charging time may be divided into a first predicted time and a second predicted time according to the charge level threshold. Taking the charge starting electric quantity as 30% as an example, the first prediction time corresponds to the time corresponding to the constant-current charging stage and is 30 minutes, and the second prediction time corresponds to the charging time corresponding to the constant-voltage charging stage and is 20 minutes.
Step 402: and determining the first correction time according to the first prediction time and the first time correction coefficient.
In a specific implementation, the product of the first prediction time and the first time correction coefficient is determined as a first correction time, and when the target battery state is battery state 1, the first correction time is 30×d%.
Step 403: and determining a second correction time according to the second prediction time and the second time correction coefficient.
In a specific implementation, the product of the second predicted time and the second time correction coefficient is determined as a second correction time, and when the target battery state is battery state 1, the second correction time is 20×e%.
Step 404: and determining the first compensation time by the sum of the first correction time and the second correction time.
In specific implementation, the sum of the first correction time and the second correction time is calculated to obtain a first compensation time, and when the target battery state is battery state 1, the first compensation time is P 1 =30 x d% +20 x e%. The staged compensation is realized, and the calculation accuracy of the compensation process is improved.
In some embodiments, as shown in fig. 5, determining the second compensation time based on the target battery state and the charging current includes:
step 501: and determining a second compensation time corresponding to the target battery state in the preset first time relation data in response to the charging current being greater than or equal to a preset current threshold.
In specific implementation, the current threshold is illustrated as 0.6c, and the total time relationship data including the first time relationship data, the second time relationship data, the third time relationship data and the fourth time relationship data is shown in table 5:
TABLE 5 Total time relationship data
Wherein, 0-t 2 represents that the values of t2 of batteries of different models of different vehicles are different, but the range of the values of t2 is larger than 0. The first time relation data is the data corresponding to the row where the charging current is more than or equal to 0.6c in the table 5. So when the charging current is equal to or greater than the current threshold, if the target battery state is battery state 1, the second compensation time is t3.
Step 502: in response to the charging current being less than a preset current threshold, determining a first phase compensation time corresponding to the target battery state in second time relationship data corresponding to the second charging phase, and determining an actual charging time for charging with a charging current less than the current threshold.
In specific implementation, the second time relation data corresponding to the second charging stage (c-100% stage) is data corresponding to the charging current of not less than 0.6c in table 5 and the SOC of c-100%, namely data corresponding to the row where the SOC is 0-c%; when the charging current is more than or equal to 0.6c and the charging phase is the second phase of c% -100%, if the target battery state is the battery state 1, the first phase compensation time is t3. Then, an actual charging time t0 for charging with a charging current smaller than the current threshold value is determined. Since the parameters of the battery change to some extent as the charging proceeds, the repair time value needs to be updated after the charging is performed for a while.
Step 503: and determining second-stage compensation time corresponding to the first charging stage according to the actual charging time and the target battery state.
In some embodiments, step 503 comprises:
step 5031: and determining second-stage compensation time corresponding to the target battery state in third time relation data corresponding to the first charging stage in response to the actual charging time being less than or equal to a preset time threshold.
In specific implementation, the third time relation data corresponding to the first charging stage is data corresponding to a row where "actual charging time is equal to or less than t1" in table 5. If the actual charging time t0 is less than or equal to the preset time threshold t1 and the target battery state is the battery state 1, determining the second-stage compensation time as t2.
Step 5032: and determining a second-stage compensation time corresponding to the target battery state in fourth time relation data corresponding to the first charging stage in response to the actual charging time being greater than a preset time threshold.
In specific implementation, the fourth time relationship data corresponding to the first charging stage is the data corresponding to the row in which "actual charging time > t1" in table 5 is located. If the actual charging time t0 is greater than the preset time threshold t1 and the target battery state is battery state 1, determining the second-stage compensation time as t3.
Step 504: the sum of the first phase compensation time and the second phase compensation time is determined as the second compensation time.
In practice, the sum of the first-stage compensation time and the second-stage compensation time is calculated, and if the charging current is less than 0.6c and the charging current is in the first charging stage and the actual charging time is greater than t1, the sum of the first-stage compensation time and the second-stage compensation time is t3+t3, and the second compensation time is P 2 =2t3。
In some embodiments, as shown in fig. 6, determining the final compensation time from the first compensation time and the second compensation time includes:
step 601: the first compensation time and the second compensation time are compared.
In embodiment IV, the first compensation time is, illustratively, P 1 =30*d%+20*e%,P 2 =2t3. The repair effect of the two different types of compensation times on the initial predicted charge time is then determined by comparing the sums.
Step 602: and determining the first compensation time as a final compensation time in response to the first compensation time being equal to or greater than the second compensation time.
In particular, if 30 x d% +20 x e%. Gtoreq.2 t3, then P will be 1 The final compensation time is determined.
Step 603: in response to the first compensation time being less than the second compensation time, the second compensation time is determined to be the final compensation time.
In practice, if 30 x d% +20 x e% < 2t3, then P will be 2 The final compensation time is determined. I.e. final compensation time=max (P 1 ,P 2 )。
It should be noted that, the method of the embodiments of the present application may be performed by a single device, for example, a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of embodiments of the present application, and the devices may interact with each other to complete the methods.
It should be noted that some embodiments of the present application are described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Based on the same inventive concept, the application also provides an electronic device corresponding to the method of any embodiment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor implements the method for calculating the battery charging time according to any embodiment when executing the program.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device according to the embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. for executing relevant programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the method for calculating the corresponding battery charging time in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, corresponding to any of the above embodiments, the present application also provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method for calculating a battery charging time according to any of the above embodiments.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The storage medium of the foregoing embodiments stores computer instructions for causing the computer to execute the method for calculating the battery charging time according to any one of the foregoing embodiments, and has the advantages of the corresponding method embodiments, which are not described herein.
It will be appreciated that before using the technical solutions of the various embodiments in the disclosure, the user may be informed of the type of personal information involved, the range of use, the use scenario, etc. in an appropriate manner, and obtain the authorization of the user.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Therefore, the user can select whether to provide personal information to the software or hardware such as the electronic equipment, the application program, the server or the storage medium for executing the operation of the technical scheme according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative, and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the application (including the claims) is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the present application, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the embodiments of the present application. Furthermore, the devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform on which the embodiments of the present application are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Accordingly, any omissions, modifications, equivalents, improvements and/or the like which are within the spirit and principles of the embodiments are intended to be included within the scope of the present application.

Claims (10)

1. A method for calculating a battery charge time, comprising:
determining a target battery state of the battery according to the battery temperature information and the battery health state;
determining a time correction coefficient according to the target battery state and the charge starting electric quantity;
determining an initial predicted charging time, and determining a first compensation time according to the initial predicted charging time and the time correction coefficient;
determining a second compensation time according to the target battery state and the charging current;
And determining a final compensation time according to the first compensation time and the second compensation time, and determining the sum of the final compensation time and the initial predicted charging time as a final predicted charging time.
2. The method of claim 1, wherein the battery temperature information comprises a battery temperature and a battery ambient temperature; the determining the target battery state of the battery according to the battery temperature information and the battery health state comprises the following steps:
constructing a search index according to the battery temperature and the environment temperature;
and carrying out state retrieval in preset battery state distribution data according to the retrieval index to obtain the target battery state.
3. The method of claim 2, wherein constructing a search index from the battery temperature and the ambient temperature comprises:
determining a maximum temperature value and a minimum temperature value according to the battery temperature, and calculating a battery temperature difference between the maximum temperature value and the minimum temperature value;
determining an ambient temperature change value according to the battery ambient temperature;
determining the temperature difference between the inside and the outside of the battery according to the battery temperature and the ambient temperature; wherein, the temperature difference between the inside and the outside of the battery is the temperature difference between the battery and the external environment;
And determining a data set consisting of the battery temperature, the battery temperature difference value, the environment temperature change value, the temperature difference between the inside and the outside of the battery and the battery health state as the retrieval index.
4. The method of claim 1, wherein the time correction coefficients comprise a first time correction coefficient and the second time correction coefficient; the determining a time correction coefficient according to the target battery state and the charge start electric quantity includes:
determining a first charging stage taking the initial charge electric quantity as a lower boundary, a preset electric quantity threshold value as an upper boundary and a second charging stage taking the electric quantity threshold value as a lower boundary and full electric quantity as an upper boundary;
determining a first time correction coefficient corresponding to the target battery state in first relationship data corresponding to the first charging phase;
a second time correction coefficient corresponding to the target battery state is determined in second relationship data corresponding to the second charging phase.
5. The method of claim 4, wherein said determining a first compensation time based on said initial predicted charge time and said time correction factor comprises:
Dividing the initial predicted charging time into a first predicted time and a second predicted time according to the electric quantity threshold;
determining a first correction time according to the first prediction time and the first time correction coefficient;
determining a second correction time according to the second predicted time and the second time correction coefficient;
and determining the first compensation time by the sum of the first correction time and the second correction time.
6. The method of claim 4, wherein said determining a second compensation time based on said target battery state and charge current comprises:
determining the second compensation time corresponding to the target battery state in preset first time relation data in response to the charging current being greater than or equal to a preset current threshold;
determining a first phase compensation time corresponding to the target battery state in second time relation data corresponding to the second charging phase in response to the charging current being less than a preset current threshold, and determining an actual charging time for charging with a charging current less than the current threshold;
determining a second-stage compensation time corresponding to the first charging stage according to the actual charging time and the target battery state;
And determining the sum of the first-stage compensation time and the second-stage compensation time as the second compensation time.
7. The method of claim 6, wherein the determining a second phase compensation time corresponding to the first charging phase based on the actual charging time and the target battery state comprises:
determining a second-stage compensation time corresponding to the target battery state in third time relation data corresponding to the first charging stage in response to the actual charging time being less than or equal to a preset time threshold;
and determining second-stage compensation time corresponding to the target battery state in fourth time relation data corresponding to the first charging stage in response to the actual charging time being greater than a preset time threshold.
8. The method of claim 1, wherein said determining a final compensation time from said first compensation time and said second compensation time comprises:
comparing the first compensation time with the second compensation time;
determining the first compensation time as the final compensation time in response to the first compensation time being greater than or equal to the second compensation time;
In response to the first compensation time being less than the second compensation time, the second compensation time is determined to be the final compensation time.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 8 when the program is executed by the processor.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 8.
CN202311824787.9A 2023-12-27 2023-12-27 Method for calculating battery charging time, electronic device and storage medium Pending CN117783877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311824787.9A CN117783877A (en) 2023-12-27 2023-12-27 Method for calculating battery charging time, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311824787.9A CN117783877A (en) 2023-12-27 2023-12-27 Method for calculating battery charging time, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117783877A true CN117783877A (en) 2024-03-29

Family

ID=90388893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311824787.9A Pending CN117783877A (en) 2023-12-27 2023-12-27 Method for calculating battery charging time, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117783877A (en)

Similar Documents

Publication Publication Date Title
CN111999660B (en) Charging remaining time determination method, device, storage medium and device
CN108646190B (en) Method, device and equipment for estimating residual charging time of battery
CN102209905B (en) Apparatus and method for synchronizing and measuring current and voltage of secondary battery pack
CN107196371B (en) Battery charging method, device, equipment and storage medium
KR101402802B1 (en) Apparatus and Method for cell balancing based on battery&#39;s voltage variation pattern
CN109941111A (en) The predictor method and electric car of remaining continual mileage
CN107342608B (en) Battery charging method, device, equipment and storage medium
JP7181995B2 (en) Charging method, electronic device and storage medium
CN109713762B (en) Charging control method and device and terminal equipment
CN112909354B (en) Battery module balancing method in battery circulation, electronic device and storage medium
CN115932605A (en) Method and device for correcting residual electric quantity of energy storage battery and battery management system
CN108110336B (en) Battery pack balance control method, device and equipment
CN110518666B (en) Battery charging parameter generation method, battery charging method, storage medium and electronic device
WO2021077271A1 (en) Charging method, electronic device, and storage medium
CN113424391A (en) Charging method, electronic device, and storage medium
WO2022134005A1 (en) Charging method, electronic device, and storage medium
US20230231405A1 (en) Charging method, electronic apparatus, and storage medium
CN115792665A (en) Method and device for determining residual capacity of battery, electronic equipment and storage medium
CN117783877A (en) Method for calculating battery charging time, electronic device and storage medium
CN113767539B (en) Charging method, electronic device, and storage medium
JP7250914B2 (en) Charging method, electronic device and storage medium
CN113246783B (en) Charging control method and device, electronic equipment and vehicle
JPWO2020250342A1 (en) Charge / discharge control device and charge / discharge control method
JP5498311B2 (en) Secondary battery device and data creation method used for capacity estimation
CN118024959A (en) Method for calculating endurance mileage, electronic equipment and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination