Battery charging control method and device and storage medium
By dividing the charging interval and optimizing the charging current, the problems of long battery charging time and temperature rise are solved, and the effects of fast charging and safe charging are achieved.
Patent Information
- Application Number
- CN202410609300.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-16
AI Technical Summary
Existing battery charging methods take too long to charge and fast charging will cause the battery temperature to rise, which may cause irreversible damage or even spontaneous combustion, and cannot meet users' fast charging needs.
By dividing the charging interval into multiple charging sub-intervals, the relationship function between charging current and temperature and the relationship function between charging time and temperature of the charging sub-interval are constructed. The charging current is optimized with the shortest total charging time as the goal, combined with the maximum allowable charging of the battery. The rate or temperature is used as a constraint, and the charging current in each charging sub-interval is calculated and applied to reduce temperature rise and improve charging safety.
It achieves shortening of charging time, reduces battery temperature rise, improves charging safety, avoids lithium deposition during battery charging, and meets users' fast charging needs.
Smart Images

Figure CN118610619A
Abstract
Description
Technical Field
[0001] The present invention relates to battery charging technology, and in particular to a battery charging control method, device and storage medium. Background Art
[0002] At present, most rechargeable batteries are charged using constant current and constant voltage charging, that is, the charging process is roughly divided into two stages. In the first stage, the charging is carried out with a constant large current, and the charging voltage gradually increases. When the charging voltage reaches a predetermined value, it enters the second stage for constant voltage charging, and the charging current gradually decreases until the charging current is less than the preset value, and charging is completed.
[0003] The existing charging method takes too long to charge, and cannot meet the user's demand for fast charging. If high-current fast charging is used throughout the process, although the charging time can be shortened, fast charging will cause the battery temperature to rise rapidly, causing irreversible damage to the battery, and even causing the battery to spontaneously combust. Summary of the invention
[0004] The present invention provides a battery charging control method, device and storage medium to shorten the charging time, reduce the temperature rise of the battery and improve the charging safety.
[0005] In a first aspect, the present invention provides a battery charging control method, comprising:
[0006] Acquire the current initial state of charge of the battery and the target state of charge set by the user, and determine a charging interval formed by the initial state of charge and the target state of charge;
[0007] Dividing the charging interval into a plurality of charging sub-intervals;
[0008] For each of the charging sub-intervals, construct a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, and a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determine a target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals;
[0009] For the objective function, taking the shortest total charging time as the goal and taking the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery as the constraint condition, calculating the charging current of each of the charging sub-intervals;
[0010] The battery is charged according to the charging current of each charging sub-interval.
[0011] Optionally, for each of the charging sub-intervals, constructing a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, and a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determining a target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals, including:
[0012] Setting the charging current of each of the charging sub-intervals to a constant value, and constructing a first expression reflecting the relationship between the charging time of the charging sub-interval and the charging current of the charging sub-interval;
[0013] constructing a second expression reflecting the relationship between the amount of heat absorbed by the battery and the charging current of the charging subinterval, the charging time of the charging subinterval, and the temperature of the charging subinterval based on the heat balance relationship when the battery generates heat;
[0014] constructing a third expression reflecting the relationship between the amount of heat absorbed by the battery and the temperature of the charging sub-interval based on a specific heat formula;
[0015] Combining the first expression, the second expression and the third expression, a fourth expression reflecting the relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval is obtained;
[0016] Combining the fourth expression with the first expression, a relationship function of the charging time of the charging sub-interval with respect to the temperature of the charging sub-interval is obtained;
[0017] The relationship functions of the charging time of all the charging sub-intervals with respect to the temperature of the charging sub-intervals are accumulated to obtain the target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals.
[0018] Optionally, the first expression is:
[0019]
[0020] The second expression is:
[0021]
[0022] The third expression is:
[0023] Q(i)=(T(i)-T(i-1))C p m
[0024] Wherein, t(i) is the charging time of the i-th charging subinterval, ΔSOC(i) is the charge state change of the i-th charging subinterval, Cap is the total capacity of the battery, I(i) is the charging current of the i-th charging subinterval, Q(i) is the heat absorption of the battery in the i-th charging subinterval, R is the internal resistance of the battery, T(i) is the end temperature of the end position of the i-th charging subinterval, T(i-1) is the starting temperature of the starting position of the i-th charging subinterval, and is also the end temperature of the end position of the i-1-th charging subinterval, is the derivative of the charging voltage with respect to temperature in the i-th charging subinterval, P(i) is the heat dissipation power of the battery, C p is the specific heat capacity of the battery, and m is the mass of the battery.
[0025] Optionally, the battery is cooled by liquid cooling, and the heat dissipation power of the battery is:
[0026] P(i)=R T (T(i)-Tc)
[0027] Among them, R T is the overall heat exchange resistance between the battery and the coolant, and Tc is the temperature of the coolant.
[0028] Optionally, the fourth expression is:
[0029]
[0030] Optionally, the relationship function of the charging time of the charging sub-interval with respect to the temperature of the charging sub-interval is:
[0031]
[0032] The objective function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval is:
[0033]
[0034] t(tot) is the total charging time of the battery from the initial state of charge to the target state of charge, and n is the total number of the charging sub-intervals.
[0035] Optionally, for the objective function, taking the shortest total charging time as the goal and taking the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery as the constraint condition, calculating the charging current of each charging subinterval includes:
[0036] The maximum allowable charging rate is obtained by charging the battery in different states of charge at different temperatures in advance;
[0037] Determine the feasible region of the objective function with the maximum allowable charging rate as a boundary;
[0038] Selecting a feasible solution within the feasible region and assigning an initial value to the temperature of each charging sub-interval;
[0039] Determining whether the feasible solution is an optimal solution;
[0040] If yes, then taking the initial value of the temperature of each charging sub-interval in the feasible solution as the temperature of each charging sub-interval;
[0041] If not, then update the feasible solution in the direction of maximum gradient descent, and return to the step of determining whether the feasible solution is the optimal solution, until the optimal solution is obtained;
[0042] Calculating the charging current of the charging subinterval based on the optimal solution of the temperature of the charging subinterval and the relationship function between the charging current of the charging subinterval and the temperature of the charging subinterval;
[0043] or,
[0044] The maximum allowable temperature is obtained by charging the battery in different states of charge at different charging rates in advance;
[0045] Determine the feasible region of the objective function with the maximum allowable temperature as a boundary;
[0046] Selecting a feasible solution within the feasible region and assigning an initial value to the charging current of each charging sub-interval;
[0047] Determining whether the feasible solution is an optimal solution;
[0048] If yes, then the initial value of the charging current of each charging sub-interval in the feasible solution is used as the charging current of each charging sub-interval;
[0049] If not, the feasible solution is updated in the direction of the maximum gradient descent, and the process returns to the step of determining whether the feasible solution is the optimal solution until the optimal solution is obtained.
[0050] Optionally, after calculating the charging current of the charging sub-interval based on the temperature of the charging sub-interval, the method further includes:
[0051] Fitting the charging current and the state of charge of each of the charging sub-intervals to obtain a relationship curve between the charging current and the state of charge under the conditions of the initial state of charge, the target state of charge and the initial temperature;
[0052] At the beginning of charging, obtaining the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery;
[0053] Determining a target relationship curve based on the current initial state of charge of the battery, a target state of charge set by a user, and an initial temperature of the battery;
[0054] During the charging process, real-time monitoring of the real-time charge state of the battery;
[0055] calculating a target charging current from the target relationship curve based on the real-time state of charge;
[0056] Charging the battery using the target charging current;
[0057] or,
[0058] Fitting the charging current and the state of charge of each of the charging sub-intervals to obtain a straight line of relationship between the charging current and the state of charge under the conditions of the initial state of charge, the target state of charge and the initial temperature;
[0059] Calculating the slope of the relationship straight line as the charging rate slope;
[0060] Calculating an average charging rate based on the charging current corresponding to the initial state of charge and the charging current corresponding to the target state of charge on the relationship straight line;
[0061] Writing the charge rate slope and the average charge rate into a battery management system of the battery;
[0062] At the beginning of charging, obtaining the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery;
[0063] Determining a target charging rate slope and a target average charging rate based on the current initial state of charge of the battery, a target state of charge set by a user, and an initial temperature of the battery;
[0064] During the charging process, real-time monitoring of the real-time charge state of the battery;
[0065] Calculate a target charging current based on the real-time state of charge, the target charging rate slope, and the target average charging rate;
[0066] The battery is charged using the target charging current.
[0067] Optionally, the target charging current is calculated based on the real-time state of charge, the target charging rate slope and the target average charging rate, and the calculation formula is as follows:
[0068]
[0069] Where I(t) is the target charging current, k is the target charging rate slope, SOC is the real-time state of charge, SOC(0) is the initial state of charge, SOC(1) is the target state of charge, midSOC is the median between the initial state of charge and the target state of charge, and C(avg) is the target average charging rate.
[0070] Optionally, charging the battery according to the charging current of each charging sub-interval includes:
[0071] Detecting the current internal resistance value of the battery;
[0072] Determining whether the current internal resistance of the battery is greater than a preset internal resistance;
[0073] When the current internal resistance of the battery is greater than the preset internal resistance, the charging current of the charging subinterval is multiplied by a correction coefficient а to obtain a correction current, wherein 0<а<1;
[0074] The battery is charged according to the corrected current in each of the charging sub-intervals.
[0075] In a second aspect, the present invention further provides a battery charging control device, comprising:
[0076] A charging interval determination module, used to obtain the current initial state of charge of the battery and the target state of charge set by the user, and determine a charging interval consisting of the initial state of charge and the target state of charge;
[0077] An interval division module, used for dividing the charging interval into a plurality of charging sub-intervals;
[0078] a function construction module, configured to construct, for each of the charging sub-intervals, a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, and a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determine a target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals;
[0079] an optimization calculation module, configured to calculate the charging current of each of the charging subintervals with respect to the objective function, taking the shortest total charging time as the goal and taking the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery as the constraint condition;
[0080] A charging control module is used to charge the battery according to the charging current of each charging sub-interval.
[0081] In a third aspect, the present invention further provides an electronic device, comprising:
[0082] one or more processors;
[0083] A storage device for storing one or more programs;
[0084] When the one or more programs are executed by the one or more processors, the one or more processors implement the battery charging control method provided in the first aspect of the present invention.
[0085] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the battery charging control method provided in the first aspect of the present invention.
[0086] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the battery charging control method provided in the first aspect of the present invention is implemented.
[0087] The battery charging control method provided by the present invention obtains the current initial state of charge of the battery and the target state of charge set by the user, determines a charging interval consisting of the initial state of charge and the target state of charge, divides the charging interval into a plurality of charging sub-intervals, and for each charging sub-interval, constructs a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, as well as a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determines an objective function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval. For the objective function, the shortest total charging time is taken as the goal, and the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery is taken as a constraint condition, the charging current of each charging sub-interval is calculated, and the battery is charged according to the charging current of each charging sub-interval. The present invention divides the charging interval into a plurality of charging sub-intervals, takes the total charging time of the battery from the initial state of charge to the target state of charge as an objective function of the temperature of each charging sub-interval, takes the shortest total charging time as a goal, and takes the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery under different states of charge and temperature conditions as constraints to optimize the solution of the objective function. On the basis of minimizing the charging time, the temperature rise of the battery is reduced, lithium deposition of the battery during charging is avoided, and the charging safety is improved.
[0088] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0090] Figure 1 A flowchart of a battery charging control method provided by an embodiment of the present invention;
[0091] Figure 2 A schematic diagram of dividing a charging interval provided in an embodiment of the present invention;
[0092] Figure 3 A table of maximum allowable charging rates measured at different temperatures and charge states provided by an embodiment of the present invention;
[0093] Figure 4 A flowchart of another battery charging control method provided by an embodiment of the present invention;
[0094] Figure 5 A curve diagram showing the relationship between charging current and state of charge provided by an embodiment of the present invention;
[0095] Figure 6 A comparison diagram of a charging current and charging time relationship curve provided by an embodiment of the present invention and a charging current and charging time relationship curve of the prior art;
[0096] Figure 7 A comparison diagram of a curve of the relationship between the state of charge and the charging time provided in an embodiment of the present invention and a curve of the relationship between the state of charge and the charging time in the prior art;
[0097] Figure 8 A comparison diagram of a relationship curve between temperature and charging time provided by an embodiment of the present invention and a relationship curve between temperature and charging time in the prior art;
[0098] Fig. 9 A schematic diagram of the structure of a battery charging control device provided by an embodiment of the present invention;
[0099] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0100] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0101] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0102] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0103] Figure 1 This is a flow chart of a battery charging control method provided by an embodiment of the present invention. This embodiment optimizes the charging current to achieve the purpose of shortening the charging time. The method can be executed by a battery charging control device provided by an embodiment of the present invention. The device can be implemented by software and / or hardware and is usually configured in an electronic device, such as Figure 1 As shown, the battery charging control method includes the following steps:
[0104] S101 : Acquire the current initial state of charge of the battery and the target state of charge set by the user, and determine a charging interval consisting of the initial state of charge and the target state of charge.
[0105] In an embodiment of the present invention, the battery may be a power battery that provides power for the vehicle, or may be other rechargeable batteries, which is not limited in the embodiment of the present invention. In an embodiment of the present invention, the battery management system of the battery may detect whether the battery is connected to the charging interface, and when it is detected that the battery is connected to the charging interface, obtain the current initial state of charge SOC(0) of the battery and the target state of charge SOC(1) set by the user, and determine the charging interval formed by the initial state of charge SOC(0) and the target state of charge SOC(1) (i.e., the charging interval between the initial state of charge SOC(0) and the target state of charge SOC(1)). Exemplarily, the target state of charge SOC(1) may be the state of charge set by the user each time charging is performed, or may be the state of charge preset when the battery leaves the factory, which is not limited in the embodiment of the present invention.
[0106] S102: Divide the charging interval into a plurality of charging sub-intervals.
[0107] Figure 2 A schematic diagram of dividing a charging interval provided by an embodiment of the present invention, such as Figure 2 As shown in the figure, the curve represents the change curve of the charging current as the battery state of charge changes during the process of charging the battery from the initial state of charge SOC(0) to the target state of charge SOC(1) in the prior art. In an embodiment of the present invention, the charging interval composed of the initial state of charge SOC(0) and the target state of charge SOC(1) is divided into a plurality of charging sub-intervals. In an embodiment of the present invention, the increase in the state of charge ΔSOC(i) of each charging sub-interval may be the same, that is, the charging interval is divided into a plurality of charging sub-intervals at equal intervals, and the increase in the state of charge of each charging sub-interval is ΔSOC. It should be noted that in some other embodiments of the present invention, the increase in the state of charge of each charging sub-interval ΔSOC(i) may also be different, and the embodiment of the present invention is not limited here.
[0108] S103. For each charging sub-interval, construct a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, as well as a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determine a target function of the total charging time of the battery from an initial state of charge to a target state of charge with respect to the temperature of each charging sub-interval.
[0109] In an embodiment of the present invention, for each charging sub-interval, a relationship function between the charging current I(i) of the charging sub-interval and the temperature of the charging sub-interval, as well as a relationship function between the charging time t(i) of the charging sub-interval and the temperature of the charging sub-interval are constructed, and then the relationship functions of the charging time t(i) of each charging sub-interval and the temperature of the charging sub-interval are accumulated to determine the target function of the total charging time of the battery from the initial state of charge SOC(0) to the target state of charge SOC(1) with respect to the temperature of each charging sub-interval.
[0110] In some embodiments of the present invention, the increase ΔSOC(i) of the state of charge in the charging sub-interval is very small, that is, the entire charging interval is divided into a large number of charging sub-intervals. Therefore, it can be considered that the charging current I(i) in each charging sub-interval is unchanged and is a constant value.
[0111] The above step S103 includes the following sub-steps:
[0112] S1031. Construct a first expression reflecting the relationship between the charging time of the charging sub-interval and the charging current of the charging sub-interval.
[0113] As described above, the charging current I(i) of each charging sub-interval is a constant value, so the charging current I(i) can be used as a variable, the total capacity of the battery and the increase in the state of charge ΔSOC(i) of the charging sub-interval are known parameters, and a first expression reflecting the relationship between the charging time t(i) of the charging sub-interval and the charging current I(i) of the charging sub-interval is constructed. Exemplarily, the first expression is as follows:
[0114]
[0115] Where Cap is the total capacity of the battery.
[0116] S1032: construct a second expression reflecting the relationship between the amount of heat absorbed by the battery and the charging current of the charging sub-interval, the charging time of the charging sub-interval, and the temperature of the charging sub-interval based on the heat balance relationship when the battery generates heat.
[0117] The battery generates heat during the charging process, part of which is absorbed by the battery itself, causing the battery temperature to rise, and the other part is dissipated to form a heat balance. Therefore, based on the heat balance relationship when the battery is heated, a second expression can be constructed to reflect the relationship between the amount of heat absorbed by the battery and the charging current of the charging sub-interval, the charging time of the charging sub-interval, and the temperature of the charging sub-interval.
[0118] Among them, the heat generated by the battery is mainly the work done by the battery current on the battery internal resistance. Therefore, the heat power of the battery is calculated according to the Bernardi formula. Therefore, the heat generated by the battery in the i-th charging sub-interval is:
[0119]
[0120] Among them, Q g(i) is the heat generated by the battery in the i-th charging sub-interval, T(i) is the end temperature at the end position of the i-th charging sub-interval, is the derivative of the charging voltage with respect to temperature in the i-th charging subinterval.
[0121] The calculation formula for the heat dissipation of the battery in the i-th charging sub-interval is as follows:
[0122] Q o(i) =P(i)·t(i)
[0123] Among them, Q o(i)is the heat dissipation of the battery in the i-th charging sub-interval, and P(i) is the heat dissipation power of the battery. The heat dissipation power of the battery depends on the heat dissipation cooling method of the battery. In the embodiment of the present invention, the heat dissipation cooling method of the battery includes but is not limited to water cooling, air cooling, semiconductor refrigeration cooling, etc., which is not limited in the embodiment of the present invention. Exemplarily, the heat dissipation power P(i) corresponding to each charging sub-interval can be predetermined based on the heat dissipation cooling method of the battery.
[0124] For example, in a specific embodiment of the present invention, taking the case where the battery adopts liquid cooling as an example, the heat dissipation power of the battery in the i-th charging sub-interval is:
[0125] P(i)=R T (T(i)-Tc)
[0126] Among them, R T is the overall heat exchange resistance between the battery and the coolant, Tc is the temperature of the coolant, and illustratively, it can be the inlet temperature of the coolant, or it can be the average temperature of the inlet and outlet of the coolant, which is not limited in the embodiment of the present invention.
[0127] Therefore, based on the heat balance relationship when the battery is heated (i.e., the heat absorbed by the battery is equal to the heat generated by the battery minus the heat dissipated by the battery), a second expression reflecting the relationship between the heat absorbed by the battery and the charging current of the charging sub-interval, the charging time of the charging sub-interval, and the temperature of the charging sub-interval can be obtained as follows:
[0128]
[0129] Q(i) is the amount of heat absorbed by the battery in the i-th charging sub-interval.
[0130] In a specific embodiment of the present invention, taking the liquid cooling method of the battery as an example, the expression of the heat dissipation power P(i) is substituted into the above second expression to obtain the second expression:
[0131]
[0132] S1033. Construct a third expression reflecting the relationship between the amount of heat absorbed by the battery and the temperature of the charging sub-interval based on the specific heat formula.
[0133] In addition to being calculated based on the heat balance relationship when the battery is heated, the heat absorption of the battery can also be calculated based on the temperature rise of the battery using the specific heat formula. Therefore, in the embodiment of the present invention, a third expression reflecting the relationship between the heat absorption of the battery and the temperature of the charging sub-interval is constructed based on the specific heat formula. The third expression is as follows:
[0134] Q(i)=(T(i)-T(i-1))C p m
[0135] Where, T(i-1) is the starting temperature of the i-th charging sub-interval and the ending temperature of the i-1-th charging sub-interval. p is the specific heat capacity of the battery, and m is the mass of the battery.
[0136] S1034: Combine the first expression, the second expression, and the third expression to obtain a fourth expression that reflects the relationship function between the charging current in the charging sub-interval and the temperature in the charging sub-interval.
[0137] In the embodiment of the present invention, the first expression, the second expression and the third expression are combined to obtain a fourth expression reflecting the relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval. Specifically, the second expression and the third expression are combined to obtain the relationship between the charging time of the i-th charging sub-interval and the temperature of the i-th charging sub-interval. Substituting the relationship into the first expression, the fourth expression reflecting the relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval can be obtained. The fourth expression is as follows:
[0138]
[0139] In a specific embodiment of the present invention, taking the battery using liquid cooling as an example, the fourth expression is as follows:
[0140]
[0141] S1035 . Combine the fourth expression and the first expression to obtain a function of the relationship between the charging time of the charging sub-interval and the temperature of the charging sub-interval.
[0142] Exemplarily, by substituting the fourth expression into the first expression, the relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval can be obtained as follows:
[0143]
[0144] In a specific embodiment of the present invention, taking the liquid cooling method of the battery as an example, the relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval is as follows:
[0145]
[0146] S1036: Accumulate the relationship functions of the charging time of all charging sub-intervals with respect to the temperature of the charging sub-intervals to obtain a target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval.
[0147] In the embodiment of the present invention, the relationship function of the charging time of all charging sub-intervals with respect to the temperature of the charging sub-intervals is accumulated to obtain the objective function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval. Specifically, the objective function is as follows:
[0148]
[0149] Wherein, t(tot) is the total charging time of the battery from the initial state of charge to the target state of charge, and n is the total number of charging subintervals.
[0150] In a specific embodiment of the present invention, taking the heat dissipation cooling method of the battery using liquid cooling as an example, the objective function is as follows:
[0151]
[0152] S104 . For the objective function, the shortest total charging time is taken as the goal, the maximum allowable charging rate of the battery is taken as the constraint condition, and the charging current of each charging sub-interval is calculated.
[0153] In the embodiment of the present invention, the above objective function is optimized by using an optimization algorithm, with the shortest total charging time as the goal and the maximum allowable charging rate of the battery as the constraint condition, to calculate the charging current of each charging sub-interval. Exemplarily, in the embodiment of the present invention, the optimization algorithm can be a nonlinear optimization algorithm, a genetic algorithm optimization algorithm, etc., which is not limited in the embodiment of the present invention.
[0154] In some embodiments of the present invention, the interior point method in the nonlinear optimization algorithm is used as an example for explanation, and the above step S104 includes the following sub-steps:
[0155] S1041. Charge batteries in different states of charge at different temperatures in advance to obtain a maximum allowable charging rate.
[0156] The charge rate is a measure of how fast a battery charges. It refers to the current required to charge a battery to its rated capacity within a specified time. It is numerically equal to a multiple of the battery's rated capacity, that is, charging current / battery rated capacity = charge rate.
[0157] Exemplarily, in an embodiment of the present invention, an electrochemical model of the battery can be established in advance, and the maximum allowable charging rate at different temperatures and states of charge, that is, the safety boundary of battery lithium deposition, can be determined based on the electrochemical model to form a state of charge-temperature-maximum allowable charging rate table. When the charging rate under a certain state of charge and temperature condition is greater than the maximum allowable charging rate under the condition, lithium deposition will occur in the battery. The lithium deposition phenomenon refers to the abnormal phenomenon that during the charging process of an ion battery, lithium ions are not embedded in the negative electrode material on the negative electrode side, but are deposited on the negative electrode surface in the form of metallic lithium. The metallic lithium is usually deposited in the form of lithium dendrites. Excessively grown lithium dendrites may pierce the diaphragm, causing a short circuit between the positive and negative electrodes, and even cause the lithium-ion battery to catch fire and explode. Figure 3 The maximum allowable charging rate table measured at different temperatures and charge states provided in the embodiment of the present invention is exemplary, such as Figure 3 As shown, the maximum allowable charging rate of the battery is 2.5C at a state of charge of 50% and 20°C.
[0158] S1042. Determine the feasible region of the objective function with the maximum allowable charging rate as the boundary.
[0159] The maximum allowable charging rate measured at the above different temperatures and charge states is used as a boundary condition to construct the feasible domain of the solution of the objective function, that is, the solution of the objective function can only be taken within the feasible domain.
[0160] S1043. Select a feasible solution within the feasible domain and assign an initial value to the temperature of each charging sub-interval.
[0161] In the embodiment of the present invention, a solution is randomly selected within the feasible domain as a feasible solution, and the feasible solution is an array consisting of the temperatures of each charging sub-interval, so that an initial value is assigned to the temperature of each charging sub-interval.
[0162] S1044. Determine whether the feasible solution is the optimal solution.
[0163] In the embodiment of the present invention, an iterative search method of gradient descent is used to search from the initial feasible solution along the search direction in multiple search directions within the feasible domain. When the search direction coincides with the direction with the maximum gradient descent, the feasible solution is iteratively updated in the direction with the maximum gradient descent until there is no maximum gradient direction. Then, the current feasible solution can be determined to be the optimal solution. At this time, t(tot) T <t(tot) T+1 , t(tot) T+1 Represents the objective function value in the search direction, t(tot) T Represents the objective function value of the current feasible solution. The direction with the largest gradient descent is the direction in which the objective function descents fastest, and the search direction is the moving direction from the current feasible solution to the feasible domain.
[0164] Of course, the iteration can also be terminated when the difference between the objective function value of the current feasible solution and the updated objective function in the search direction is less than or equal to a preset value ε. At this time, the current feasible solution is the optimal solution, that is, t(tot) T -t(tot) T+1 ≤ε. For example, -0.00001≤ε≤0.
[0165] S1045: If yes, then use the initial value of the temperature of each charging sub-interval in the feasible solution as the temperature of each charging sub-interval.
[0166] If the current feasible solution is the optimal solution, the initial value of the temperature of each charging sub-interval in the feasible solution is used as the temperature of each charging sub-interval.
[0167] S1046. If not, update the feasible solution in the direction of maximum gradient descent, and return to the step of determining whether the feasible solution is the optimal solution until the optimal solution is obtained.
[0168] If the current feasible solution is not the optimal solution, the feasible solution is updated in the direction of the maximum gradient descent, and the step of determining whether the feasible solution (the updated feasible solution) is the optimal solution is returned until the optimal solution is obtained.
[0169] S1047: Calculate the charging current of the charging sub-interval based on the optimal solution of the temperature of the charging sub-interval and the relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval.
[0170] After obtaining the optimal solution for the temperature of each charging sub-interval, the temperature of each charging sub-interval is substituted into the fourth expression reflecting the relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval to obtain the charging current of each charging sub-interval.
[0171] S105 : charging the battery according to the charging current of each charging sub-interval.
[0172] After the charging current of each charging sub-interval is calculated, the battery is charged according to the charging current of each charging sub-interval.
[0173] The battery charging control method provided by the embodiment of the present invention obtains the current initial state of charge of the battery and the target state of charge set by the user, determines a charging interval consisting of the initial state of charge and the target state of charge, divides the charging interval into multiple charging sub-intervals, and for each charging sub-interval, constructs a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, as well as a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determines an objective function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval. For the objective function, the shortest total charging time is taken as the goal, and the maximum allowable charging rate of the battery is taken as the constraint condition, the charging current of each charging sub-interval is calculated, and the battery is charged according to the charging current of each charging sub-interval. The present invention divides the charging interval into a plurality of charging sub-intervals, takes the total charging time of the battery from an initial state of charge to a target state of charge with respect to the temperature of each charging sub-interval as an objective function, takes the shortest total charging time as a goal, and takes the maximum allowable charging rate of the battery representing the lithium plating safety boundary of the battery under different states of charge and temperature conditions as a constraint condition to optimize the solution of the objective function. On the basis of minimizing the charging time, the temperature rise of the battery is reduced, lithium plating of the battery during charging is avoided, and the charging safety is improved.
[0174] The above embodiment takes the maximum allowable charging rate of the battery as a constraint condition of the objective function and optimizes the objective function as an example. Figure 4 A flowchart of another battery charging control method provided by an embodiment of the present invention. In this embodiment, the maximum allowable temperature of the battery can also be used as a constraint condition to optimize the objective function, such as Figure 4 As shown, this embodiment includes the following steps:
[0175] S201 : Acquire the current initial state of charge of the battery and the target state of charge set by the user, and determine a charging interval consisting of the initial state of charge and the target state of charge.
[0176] In an embodiment of the present invention, the battery may be a power battery that provides power for the vehicle, or may be other rechargeable batteries, which is not limited in the embodiment of the present invention. In an embodiment of the present invention, the battery management system of the battery may detect whether the battery is connected to the charging interface, and when it is detected that the battery is connected to the charging interface, obtain the current initial state of charge SOC(0) of the battery and the target state of charge SOC(1) set by the user, and determine the charging interval formed by the initial state of charge SOC(0) and the target state of charge SOC(1) (i.e., the charging interval between the initial state of charge SOC(0) and the target state of charge SOC(1)). Exemplarily, the target state of charge SOC(1) may be the state of charge set by the user each time charging is performed, or may be the state of charge preset when the battery leaves the factory, which is not limited in the embodiment of the present invention.
[0177] S202: Divide the charging interval into a plurality of charging sub-intervals.
[0178] For example, Figure 2 As shown, the curve in the figure represents the change curve of the charging current as the battery state of charge changes during the process of charging the battery from the initial state of charge SOC(0) to the target state of charge SOC(1) in the prior art. In an embodiment of the present invention, the charging interval composed of the initial state of charge SOC(0) and the target state of charge SOC(1) is divided into a plurality of charging sub-intervals. In an embodiment of the present invention, the increase in the state of charge ΔSOC(i) of each charging sub-interval may be the same, that is, the charging interval is divided into a plurality of charging sub-intervals at equal intervals. It should be noted that in some other embodiments of the present invention, the increase in the state of charge ΔSOC(i) of each charging sub-interval may also be different, and the embodiment of the present invention is not limited here.
[0179] S203. For each charging sub-interval, construct a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, as well as a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determine a target function of the total charging time of the battery from an initial state of charge to a target state of charge with respect to the temperature of each charging sub-interval.
[0180] In the embodiment of the present invention, for each charging sub-interval, a relationship function between the charging current I(i) of the charging sub-interval and the temperature of the charging sub-interval, and a relationship function between the charging time t(i) of the charging sub-interval and the temperature of the charging sub-interval are constructed, and then the relationship functions between the charging time t(i) of each charging sub-interval and the temperature of the charging sub-interval are accumulated to determine the target function of the total charging time of the battery from the initial state of charge SOC(0) to the target state of charge SOC(1) with respect to the temperature of each charging sub-interval. Specifically, the process of constructing the target function has been described in detail in the aforementioned embodiment, and the embodiment of the present invention will not be repeated here.
[0181] In some embodiments of the present invention, the increase ΔSOC(i) of the state of charge in the charging sub-interval is very small, that is, the entire charging interval is divided into a large number of charging sub-intervals. Therefore, it can be considered that the charging current I(i) in each charging sub-interval is unchanged and is a constant value.
[0182] S204 . For the objective function, the charging current of each charging sub-interval is calculated with the shortest total charging time as the goal and the maximum allowable temperature of the battery as the constraint condition.
[0183] In the embodiment of the present invention, the above objective function is optimized by using an optimization algorithm, with the shortest total charging time as the goal and the maximum allowable temperature of the battery as the constraint condition, to calculate the charging current of each charging sub-interval. Exemplarily, in the embodiment of the present invention, the optimization algorithm may be a nonlinear optimization algorithm, a genetic algorithm optimization algorithm, etc., which is not limited in the embodiment of the present invention.
[0184] In some embodiments of the present invention, the interior point method in the nonlinear optimization algorithm is used as an example for description, and the above step S204 includes the following sub-steps:
[0185] S2041. Charge batteries in different states of charge at different charging rates in advance to obtain the maximum allowable temperature.
[0186] Illustratively, in an embodiment of the present invention, an electrochemical model of the battery can be established in advance, and the maximum allowable temperature at different charging rates and states of charge, that is, the battery lithium plating safety boundary, can be determined based on the electrochemical model to form a state of charge-temperature-maximum allowable charging rate table.
[0187] S2042. Determine the feasible domain of the objective function with the maximum allowable temperature as the boundary.
[0188] The maximum allowable temperature measured at the above different temperatures and charge states is used as the boundary condition to construct the feasible domain of the solution of the objective function, that is, the solution of the objective function can only be taken within the feasible domain.
[0189] S2043. Select a feasible solution within the feasible region and assign an initial value to the charging current of each charging sub-interval.
[0190] In the embodiment of the present invention, a solution is randomly selected within the feasible domain as a feasible solution, and the feasible solution is an array composed of the charging currents of each charging sub-interval, so that an initial value is assigned to the charging current of each charging sub-interval.
[0191] S2044. Determine whether the feasible solution is the optimal solution.
[0192] In the embodiment of the present invention, an iterative search method of gradient descent is used to search from the initial feasible solution along the search direction in multiple search directions within the feasible domain. When the search direction coincides with the direction with the maximum gradient descent, the feasible solution is iteratively updated in the direction with the maximum gradient descent until there is no maximum gradient direction. Then, the current feasible solution can be determined to be the optimal solution. At this time, t(tot) I <t(tot) I+1 , t(tot) I+1 Represents the objective function value in the search direction, t(tot) IRepresents the objective function value of the current feasible solution. The direction with the largest gradient descent is the direction in which the objective function decreases fastest, and the search direction is the moving direction from the current feasible solution to the feasible domain.
[0193] Of course, the iteration can also be terminated when the difference between the objective function value of the current feasible solution and the updated objective function in the search direction is less than or equal to a preset value ε. At this time, the current feasible solution is the optimal solution, that is, t(tot) I -t(tot) I+1 ≤ε. For example, -0.00001≤ε≤0.
[0194] S2045: If yes, the initial value of the charging current of each charging sub-interval in the feasible solution is used as the charging current of each charging sub-interval.
[0195] If the current feasible solution is the optimal solution, the initial value of the charging current of each charging sub-interval in the feasible solution is used as the charging current of each charging sub-interval.
[0196] S2046. If not, update the feasible solution in the direction of maximum gradient descent, and return to the step of determining whether the feasible solution is the optimal solution until the optimal solution is obtained.
[0197] If the current feasible solution is not the optimal solution, the feasible solution is updated in the direction of the maximum gradient descent, and the step of determining whether the feasible solution (the updated feasible solution) is the optimal solution is returned until the optimal solution is obtained.
[0198] After obtaining the charging current of each charging sub-interval, starting from the first charging sub-interval, the charging current of the first charging sub-interval can be substituted into the fourth expression in the above embodiment to obtain the end temperature T(1) of the end position of the first charging sub-interval (the starting temperature T(0) of the starting position of the first charging sub-interval is known), and then T(1) is used as the starting temperature of the starting position of the second charging sub-interval, and the charging current of the second charging sub-interval is substituted into the fourth expression in the above embodiment to obtain the end temperature T(2) of the end position of the second charging sub-interval. The above process is repeated to obtain the end temperature of the end position of each charging sub-interval.
[0199] In the above embodiment, the function construction and optimization processes are all executed online, but the computing resources of the vehicle's on-board system are limited. Delays may occur during the online execution due to insufficient computing power, affecting the precise control of current during charging. Therefore, the above online execution process is difficult to apply in on-board systems with lower computing power.
[0200] In response to the above problems, an embodiment of the present invention provides a simplified method to reduce the requirements on the computing power of the vehicle computer.
[0201] Exemplarily, one simplified method is as follows:
[0202] 1. After calculating the charging current of the charging sub-interval based on the temperature of the charging sub-interval, the charging current and the state of charge of each charging sub-interval are fitted to obtain a relationship curve between the charging current and the state of charge under the initial state of charge, the target state of charge and the initial temperature conditions.
[0203] Exemplarily, the charging current of each charging sub-interval under the initial state of charge, target state of charge and initial temperature conditions is obtained through the above-mentioned embodiment, and then the charging current and state of charge of each charging sub-interval are fitted to obtain the relationship curve of the charging current with respect to the state of charge under the initial state of charge, target state of charge and initial temperature conditions. Exemplarily, the fitting method can adopt cubic spline interpolation fitting. For the same battery, the relationship curve of the charging current with respect to the state of charge under different initial states of charge, different target states of charge and different initial temperatures is obtained, so as to obtain multiple relationship curves. In an embodiment of the present invention, the relationship curve of the charging current with respect to the state of charge under the initial state of charge, target state of charge and initial temperature conditions can be written into the memory of the battery management system.
[0204] 2. At the beginning of charging, obtain the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery.
[0205] At the beginning of charging, the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery are obtained.
[0206] 3. Determine the target relationship curve based on the current initial state of charge of the battery, the target state of charge set by the user and the initial temperature of the battery.
[0207] Based on the current initial state of charge of the battery, the target state of charge set by the user and the initial temperature of the battery, a target relationship curve corresponding to the current initial state of charge of the battery, the target state of charge set by the user and the initial temperature of the battery is retrieved from the memory of the battery management system.
[0208] 4. During the charging process, monitor the battery's real-time charge status.
[0209] During the charging process, the battery's real-time state of charge is monitored in real time.
[0210] 5. Calculate the target charging current from the target relationship curve based on the real-time state of charge.
[0211] Exemplarily, the real-time state of charge is substituted into the target relationship curve equation for calculation to obtain the target charging current corresponding to the real-time state of charge.
[0212] 6. Charge the battery with the target charging current.
[0213] The battery is charged with a target charging current.
[0214] The embodiment of the present invention pre-constructs the objective function and performs optimization to obtain the charging current of each charging sub-interval, and then fits the charging current and the state of charge of each charging sub-interval to obtain the relationship curve of the charging current with respect to the state of charge under the initial state of charge, the target state of charge and the initial temperature conditions, and writes the relationship curve into the memory of the battery management system. In actual application, it is only necessary to retrieve the corresponding target relationship curve from the memory of the battery management system based on the current initial state of charge of the battery, the target state of charge set by the user and the initial temperature of the battery, and then search the target charging current corresponding to the real-time state of charge from the target relationship curve according to the real-time state of charge of the battery. The objective function and the optimization process can be completed offline in advance, thus reducing the computing power requirements of the vehicle computer.
[0215] Exemplarily, another simplified method is as follows:
[0216] 1. After calculating the charging current of the charging sub-interval based on the temperature of the charging sub-interval, the charging current and the state of charge of each charging sub-interval are fitted to obtain a straight line of the relationship between the charging current and the state of charge under the initial state of charge, the target state of charge and the initial temperature.
[0217] Exemplarily, the charging current of each charging sub-interval under the initial state of charge, target state of charge and initial temperature conditions is obtained through the above-mentioned embodiment, and then the charging current and state of charge of each charging sub-interval are linearly fitted to obtain a straight line of the relationship between the charging current and the state of charge under the initial state of charge, target state of charge and initial temperature conditions. For the same battery, a straight line of the relationship between the charging current and the state of charge under different initial states of charge, different target states of charge and different initial temperatures is obtained, so as to obtain multiple straight lines of relationship.
[0218] 2. Calculate the slope of the relationship line as the charging rate slope.
[0219] In the embodiment of the present invention, the slope of the relationship straight line is calculated as the charging rate slope, and the method for calculating the slope of the straight line is not described in detail here.
[0220] 3. Calculate the average charging rate based on the charging current corresponding to the initial state of charge and the charging current corresponding to the target state of charge on the relationship line.
[0221] In an embodiment of the present invention, the average charging rate is calculated based on the charging current corresponding to the initial state of charge and the charging current corresponding to the target state of charge on the relationship line. Exemplarily, the average of the charging current corresponding to the initial state of charge and the charging current corresponding to the target state of charge is calculated as the average charging current, and then the average charging current is divided by the rated capacity of the battery to obtain the average charging rate.
[0222] 4. Write the charge rate slope and average charge rate into the battery management system of the battery.
[0223] In the embodiment of the present invention, the charging rate slopes and the average charging rates corresponding to different initial states of charge, different target states of charge and different initial temperature conditions are written into the memory of the battery management system of the battery.
[0224] 5. At the beginning of charging, obtain the battery's current initial state of charge, the target state of charge set by the user, and the battery's initial temperature.
[0225] At the beginning of charging, the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery are obtained.
[0226] 6. Determine the target charge rate slope and the target average charge rate based on the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery.
[0227] The corresponding target charging rate slope and target average charging rate are retrieved from the memory of the battery management system based on the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery.
[0228] For example, a lookup table can be established based on the corresponding charging rate slopes and average charging rates under different initial states of charge, different target states of charge, and different initial temperatures, and the target charging rate slope and target average charging rate can be written in. At the beginning of charging, the corresponding target charging rate slope and target average charging rate can be found from the lookup table based on the current initial state of charge, target state of charge, and initial temperature of the battery.
[0229] 7. During the charging process, monitor the battery's real-time charge status.
[0230] 8. Calculate the target charging current based on the real-time state of charge, the target charging rate slope and the target average charging rate.
[0231] In the embodiment of the present invention, the target charging current is calculated based on the real-time state of charge, the target charging rate slope and the target average charging rate.
[0232] Exemplarily, the target charging current is calculated based on the real-time state of charge, the target charging rate slope and the target average charging rate, and the calculation formula is as follows:
[0233]
[0234] Where I(t) is the target charging current, k is the target charging rate slope, SOC is the real-time state of charge, SOC(0) is the initial state of charge, SOC(1) is the target state of charge, midSOC is the median between the initial state of charge and the target state of charge, and C(avg) is the target average charging rate.
[0235] 9. Charge the battery with the target charging current.
[0236] The battery is charged with a target charging current.
[0237] The embodiment of the present invention pre-constructs the objective function and optimizes it to obtain the charging current of each charging sub-interval, and then fits the charging current and the state of charge of each charging sub-interval to obtain the straight line of the relationship between the charging current and the state of charge under the initial state of charge, the target state of charge and the initial temperature conditions, and determines the charging rate slope and the average charging rate corresponding to the straight line, and then writes the charging rate slope and the average charging rate under the initial state of charge, the target state of charge and the initial temperature conditions into the memory of the battery management system. In actual application, it is only necessary to retrieve the corresponding target charging rate slope and the target average charging rate from the memory of the battery management system based on the current initial state of charge of the battery, the target state of charge set by the user and the initial temperature of the battery, and calculate the target charging current based on the real-time state of charge, the target charging rate slope and the target average charging rate. The objective function and the optimization process can be completed offline in advance, thus reducing the computing power requirements of the vehicle computer. In addition, since the embodiment of the present invention only needs to write the array of the initial state of charge, the target state of charge and the charging rate slope and the average charging rate under the initial temperature conditions into the memory of the battery management system, it is simpler and has smaller storage requirements than the previous simplified method of writing the entire relationship curve into the memory of the battery management system. There is no need to solve the relationship curve subsequently, and the computing power requirement is smaller.
[0238] In some embodiments of the present invention, when charging the battery according to the charging current of each charging sub-interval, the charging current of each charging sub-interval can be corrected to avoid the problem of excessive temperature rise and lithium precipitation caused by excessive current when the battery is charged according to the charging current of each charging sub-interval, thereby improving safety. Exemplarily, when charging the battery according to the charging current of each charging sub-interval, the current internal resistance value of the battery is detected to determine whether the current internal resistance value of the battery is greater than the preset internal resistance value. Exemplarily, the preset internal resistance value can be the factory value of the battery internal resistance or can be set by the user, which is not limited in the embodiments of the present invention. When the current internal resistance value of the battery is greater than the preset internal resistance value, the charging current of the charging sub-interval is multiplied by the correction coefficient а to obtain the corrected current, where 0<а<1, and then the battery is charged according to the corrected current of each charging sub-interval.
[0239] It should be noted that for the same battery, the charging interval can be divided into a variety of different ways according to the number of charging sub-intervals and the increase in the state of charge of the charging sub-intervals, so as to obtain a variety of different charging sub-interval division methods, thereby obtaining a plurality of charging current relationship curves or relationship lines with respect to the state of charge under the initial state of charge, target state of charge and initial temperature conditions. The more charging sub-intervals there are, the smaller the increase in the state of charge, the closer the charging current of the charging sub-interval is to a constant value, the higher the accuracy of the charging control, and correspondingly, the greater the amount of calculation. In an embodiment of the present invention, a trade-off can be made between the charging control accuracy and the amount of calculation, and a suitable relationship curve or relationship line can be selected to perform charging control.
[0240] Figure 5 A curve diagram showing the relationship between charging current and state of charge provided by an embodiment of the present invention, such as Figure 5 As shown, the initial state of charge of the battery is 10%, the target state of charge is 80%, the entire charging interval is divided into 15 charging sub-intervals, the charging current in each charging sub-interval is constant, and as the state of charge increases, the charging current decreases.
[0241] Figure 6 A comparison diagram of the relationship between the charging current and the charging time provided by the embodiment of the present invention and the relationship between the charging current and the charging time provided by the prior art, Figure 7 The relationship curve between the state of charge and the charging time provided by the embodiment of the present invention is compared with the relationship curve between the state of charge and the charging time of the prior art. The prior art adopts step current charging. Before the state of charge reaches 70%, a constant large current is used for charging. After the state of charge reaches 70%, the charging current gradually decreases. Figure 6 , 7As shown, the prior art requires 427 seconds to charge from an initial state of charge of 10% to a target state of charge of 80%, while the charging control method of the embodiment of the present invention only requires 363 seconds, shortening the charging time by 64 seconds.
[0242] Figure 8 A comparison diagram of the relationship between temperature and charging time provided by the embodiment of the present invention and the relationship between temperature and charging time in the prior art, such as Figure 8 As shown, the charging control method provided by the embodiment of the present invention has substantially the same temperature rise performance as the prior art, and in most of the time, the temperature rise is lower than that of the prior art.
[0243] The embodiment of the present invention further provides a battery charging control device, Fig. 9 A schematic diagram of the structure of a battery charging control device provided by an embodiment of the present invention is shown in FIG. Fig. 9 As shown, the battery charging control device includes:
[0244] The charging interval determination module 301 is used to obtain the current initial state of charge of the battery and the target state of charge set by the user, and determine the charging interval formed by the initial state of charge and the target state of charge;
[0245] An interval division module 302, configured to divide the charging interval into a plurality of charging sub-intervals;
[0246] a function construction module 303, configured to construct, for each of the charging sub-intervals, a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, and a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determine a target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals;
[0247] The optimization calculation module 304 is used to calculate the charging current of each charging sub-interval with respect to the objective function, taking the shortest total charging time as the goal and taking the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery as the constraint condition;
[0248] The charging control module 305 is configured to charge the battery according to the charging current of each charging sub-interval.
[0249] In some embodiments of the present invention, the function construction module 303 includes:
[0250] A first expression constructing submodule, configured to set the charging current of each charging subinterval to a constant value, and construct a first expression reflecting the relationship between the charging time of the charging subinterval and the charging current of the charging subinterval;
[0251] A second expression constructing submodule, for constructing a second expression reflecting the relationship between the amount of heat absorbed by the battery and the charging current of the charging subinterval, the charging time of the charging subinterval, and the temperature of the charging subinterval based on the heat balance relationship when the battery generates heat;
[0252] A third expression constructing submodule, configured to construct, based on a specific heat formula, a third expression reflecting the relationship between the amount of heat absorbed by the battery and the temperature of the charging subinterval;
[0253] a fourth expression constructing submodule, used for combining the first expression, the second expression and the third expression to obtain a fourth expression reflecting a relationship function between the charging current of the charging subinterval and the temperature of the charging subinterval;
[0254] a relation function determination submodule, configured to combine the fourth expression with the first expression to obtain a relation function of the charging time of the charging subinterval with respect to the temperature of the charging subinterval;
[0255] The objective function determination submodule is used to accumulate the relationship functions of the charging time of all the charging sub-intervals with respect to the temperature of the charging sub-intervals, and obtain the objective function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval.
[0256] In some embodiments of the present invention, the first expression is:
[0257]
[0258] The second expression is:
[0259]
[0260] The third expression is:
[0261] Q(i)=(T(i)-T(i-1))C p m
[0262] Wherein, t(i) is the charging time of the i-th charging subinterval, ΔSOC(i) is the charge state change of the i-th charging subinterval, Cap is the total capacity of the battery, I(i) is the charging current of the i-th charging subinterval, Q(i) is the heat absorption of the battery in the i-th charging subinterval, R is the internal resistance of the battery, T(i) is the end temperature of the end position of the i-th charging subinterval, T(i-1) is the starting temperature of the starting position of the i-th charging subinterval, and is also the end temperature of the end position of the i-1-th charging subinterval, is the derivative of the charging voltage with respect to temperature in the i-th charging subinterval, P(i) is the heat dissipation power of the battery, Cp is the specific heat capacity of the battery, and m is the mass of the battery.
[0263] In some embodiments of the present invention, the battery is cooled by liquid cooling, and the heat dissipation power of the battery is:
[0264] P(i)=R T (T(i)-Tc)
[0265] Among them, R T is the overall heat exchange resistance between the battery and the coolant, and Tc is the temperature of the coolant.
[0266] In some embodiments of the present invention, the fourth expression is:
[0267]
[0268] In some embodiments of the present invention, the relationship function of the charging time of the charging sub-interval with respect to the temperature of the charging sub-interval is:
[0269]
[0270] The objective function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval is:
[0271]
[0272] t(tot) is the total charging time of the battery from the initial state of charge to the target state of charge, and n is the total number of the charging sub-intervals.
[0273] In some embodiments of the present invention, the optimization calculation module 304 includes:
[0274] A maximum allowable charging rate determination submodule is used to pre-charge the battery at different states of charge at different temperatures to obtain a maximum allowable charging rate;
[0275] A first feasible domain determination submodule is used to determine the feasible domain of the objective function with the maximum allowable charging rate as a boundary;
[0276] A first initial feasible solution determination submodule is used to select a feasible solution within the feasible domain and assign an initial value to the temperature of each charging subinterval;
[0277] A first judgment submodule, used to judge whether the feasible solution is an optimal solution;
[0278] a sub-interval temperature determination submodule, configured to, when a feasible solution is an optimal solution, use an initial value of the temperature of each of the charging sub-intervals in the feasible solution as the temperature of each of the charging sub-intervals;
[0279] A first return execution submodule is used for updating the feasible solution in the direction of maximum gradient descent when the feasible solution is not the optimal solution, and returning to execute the step of determining whether the feasible solution is the optimal solution until the optimal solution is obtained;
[0280] a charging current calculation submodule, configured to calculate the charging current of the charging subinterval based on an optimal solution for the temperature of the charging subinterval and a relationship function between the charging current of the charging subinterval and the temperature of the charging subinterval;
[0281] or,
[0282] A maximum allowable temperature determination submodule is used to charge the battery in different states of charge at different charging rates in advance to obtain the maximum allowable temperature;
[0283] A second feasible domain determination submodule, used to determine the feasible domain of the objective function with the maximum allowable temperature as a boundary;
[0284] A second initial feasible solution determination submodule is used to select a feasible solution within the feasible domain and assign an initial value to the charging current of each charging subinterval;
[0285] A second judgment submodule is used to judge whether the feasible solution is an optimal solution;
[0286] A sub-interval current determination submodule, configured to use the initial value of the charging current of each charging sub-interval in the feasible solution as the charging current of each charging sub-interval when the feasible solution is the optimal solution;
[0287] The first return execution submodule is used to update the feasible solution in the direction of maximum gradient descent when the feasible solution is not the optimal solution, and return to execute the step of determining whether the feasible solution is the optimal solution until the optimal solution is obtained.
[0288] In some embodiments of the present invention, the battery charging control device further includes:
[0289] a relationship curve fitting module, configured to fit the charging current and the state of charge of each charging subinterval after calculating the charging current of the charging subinterval based on the temperature of the charging subinterval, so as to obtain a relationship curve between the charging current and the state of charge under the conditions of an initial state of charge, a target state of charge and an initial temperature;
[0290] A first initial state acquisition module, used to acquire the current initial state of charge of the battery, the target state of charge set by the user and the initial temperature of the battery when charging starts;
[0291] a target curve determination module, configured to determine a target relationship curve based on the current initial state of charge of the battery, a target state of charge set by a user, and an initial temperature of the battery;
[0292] A first state of charge monitoring module, used for monitoring the real-time state of charge of the battery in real time during the charging process;
[0293] a charging current determination module, configured to calculate a target charging current from the target relationship curve based on the real-time state of charge;
[0294] A first charging execution module, configured to charge the battery using the target charging current;
[0295] or,
[0296] A relationship line fitting module, used for fitting the charging current and the state of charge of each charging sub-interval, and obtaining a relationship line between the charging current and the state of charge under the conditions of the initial state of charge, the target state of charge and the initial temperature;
[0297] A slope calculation module, used to calculate the slope of the relationship straight line as a charging rate slope;
[0298] An average rate calculation module, used to calculate an average charge rate based on the charging current corresponding to the initial state of charge and the charging current corresponding to the target state of charge on the relationship straight line;
[0299] A writing module, used for writing the charging rate slope and the average charging rate into a battery management system of the battery;
[0300] A second initial state acquisition module is used to acquire the current initial state of charge of the battery, the target state of charge set by the user and the initial temperature of the battery when charging starts;
[0301] A search module, configured to determine a target charging rate slope and a target average charging rate based on a current initial state of charge of the battery, a target state of charge set by a user, and an initial temperature of the battery;
[0302] A second state of charge monitoring module, used for monitoring the real-time state of charge of the battery in real time during the charging process;
[0303] A current calculation module, configured to calculate a target charging current based on the real-time state of charge, the target charging rate slope and the target average charging rate;
[0304] The second charging execution module is used to charge the battery with the target charging current.
[0305] In some embodiments of the present invention, the target charging current is calculated based on the real-time state of charge, the target charging rate slope and the target average charging rate, and the calculation formula is as follows:
[0306]
[0307] Where I(t) is the target charging current, k is the target charging rate slope, SOC is the real-time state of charge, SOC(0) is the initial state of charge, SOC(1) is the target state of charge, midSOC is the median between the initial state of charge and the target state of charge, and C(avg) is the target average charging rate.
[0308] In some embodiments of the present invention, the charging control module 305 includes:
[0309] An internal resistance detection submodule, used to detect the current internal resistance value of the battery;
[0310] A third judgment submodule is used to judge whether the current internal resistance value of the battery is greater than a preset internal resistance value;
[0311] A circuit correction submodule, used for multiplying the charging current of the charging subinterval by a correction coefficient а to obtain a correction current when the current internal resistance of the battery is greater than a preset internal resistance, wherein 0<а<1;
[0312] The charging control submodule is used to charge the battery according to the corrected current of each charging subinterval.
[0313] The battery charging control device can execute the battery charging control method provided by the aforementioned embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the battery charging control method.
[0314] Fig.10 A schematic diagram of the structure of an electronic device provided for an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0315] like Fig.10As shown, the electronic device includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0316] A number of components in the electronic device are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0317] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a battery charging control method.
[0318] In some embodiments, the battery charging control method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the battery charging control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the battery charging control method in any other appropriate manner (e.g., by means of firmware).
[0319] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0320] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0321] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0322] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0323] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0324] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0325] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the battery charging control method provided in any embodiment of the present application.
[0326] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0327] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0328] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A battery charging control method, It is characterized in that include: Acquire the current initial state of charge of the battery and the target state of charge set by the user, and determine a charging interval formed by the initial state of charge and the target state of charge; Dividing the charging interval into a plurality of charging sub-intervals; For each of the charging sub-intervals, construct a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, and a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determine a target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals; For the objective function, taking the shortest total charging time as the goal and taking the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery as the constraint condition, calculating the charging current of each of the charging sub-intervals; The battery is charged according to the charging current of each charging sub-interval.
2. The battery charging control method according to claim 1, It is characterized in that For each of the charging sub-intervals, constructing a relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval, and a relationship function between the charging time of the charging sub-interval and the temperature of the charging sub-interval, and determining a target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals, including: Setting the charging current of each of the charging sub-intervals to a constant value, and constructing a first expression reflecting the relationship between the charging time of the charging sub-interval and the charging current of the charging sub-interval; constructing a second expression reflecting the relationship between the amount of heat absorbed by the battery and the charging current of the charging subinterval, the charging time of the charging subinterval, and the temperature of the charging subinterval based on the heat balance relationship when the battery generates heat; constructing a third expression reflecting the relationship between the amount of heat absorbed by the battery and the temperature of the charging sub-interval based on a specific heat formula; Combining the first expression, the second expression and the third expression, a fourth expression reflecting the relationship function between the charging current of the charging sub-interval and the temperature of the charging sub-interval is obtained; Combining the fourth expression with the first expression, a relationship function of the charging time of the charging sub-interval with respect to the temperature of the charging sub-interval is obtained; The relationship functions of the charging time of all the charging sub-intervals with respect to the temperature of the charging sub-intervals are accumulated to obtain the target function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each of the charging sub-intervals.
3. The battery charging control method according to claim 2, It is characterized in that The first expression is: The second expression is: The third expression is: Q(i)=(T(i)-T(i-1))C p m Wherein, t(i) is the charging time of the i-th charging subinterval, ΔSOC(i) is the charge state change of the i-th charging subinterval, Cap is the total capacity of the battery, I(i) is the charging current of the i-th charging subinterval, Q(i) is the heat absorption of the battery in the i-th charging subinterval, R is the internal resistance of the battery, T(i) is the end temperature of the end position of the i-th charging subinterval, T(i-1) is the starting temperature of the starting position of the i-th charging subinterval, and is also the end temperature of the end position of the i-1-th charging subinterval, is the derivative of the charging voltage with respect to temperature in the i-th charging subinterval, P(i) is the heat dissipation power of the battery, C p is the specific heat capacity of the battery, and m is the mass of the battery.
4. The battery charging control method according to claim 3, It is characterized in that The battery adopts liquid cooling to dissipate heat, and the heat dissipation power of the battery is: P(i)=R T (T(i)-Tc) Among them, R T is the overall heat exchange resistance between the battery and the coolant, and Tc is the temperature of the coolant.
5. The battery charging control method according to claim 3, It is characterized in that The fourth expression is:
6. The battery charging control method according to claim 3, It is characterized in that The relationship function of the charging time of the charging sub-interval with respect to the temperature of the charging sub-interval is: The objective function of the total charging time of the battery from the initial state of charge to the target state of charge with respect to the temperature of each charging sub-interval is: t(tot) is the total charging time of the battery from the initial state of charge to the target state of charge, and n is the total number of the charging sub-intervals.
7. The battery charging control method according to any one of claims 1 to 6, It is characterized in that For the objective function, taking the shortest total charging time as the goal and taking the maximum allowable charging rate of the battery or the maximum allowable temperature of the battery as the constraint condition, calculating the charging current of each charging sub-interval includes: The maximum allowable charging rate is obtained by charging the battery in different states of charge at different temperatures in advance; Determine the feasible region of the objective function with the maximum allowable charging rate as a boundary; Selecting a feasible solution within the feasible region and assigning an initial value to the temperature of each charging sub-interval; Determining whether the feasible solution is an optimal solution; If yes, then taking the initial value of the temperature of each charging sub-interval in the feasible solution as the temperature of each charging sub-interval; If not, then update the feasible solution in the direction of maximum gradient descent, and return to the step of determining whether the feasible solution is the optimal solution, until the optimal solution is obtained; Calculating the charging current of the charging subinterval based on the optimal solution of the temperature of the charging subinterval and the relationship function between the charging current of the charging subinterval and the temperature of the charging subinterval; or, The maximum allowable temperature is obtained by charging the battery in different states of charge at different charging rates in advance; Determine the feasible region of the objective function with the maximum allowable temperature as a boundary; Selecting a feasible solution within the feasible region and assigning an initial value to the charging current of each charging sub-interval; Determining whether the feasible solution is an optimal solution; If yes, then the initial value of the charging current of each charging sub-interval in the feasible solution is used as the charging current of each charging sub-interval; If not, the feasible solution is updated in the direction of the maximum gradient descent, and the process returns to the step of determining whether the feasible solution is the optimal solution until the optimal solution is obtained.
8. The battery charging control method according to any one of claims 1 to 6, It is characterized in that After calculating the charging current of the charging subinterval based on the temperature of the charging subinterval, the method further includes: Fitting the charging current and the state of charge of each of the charging sub-intervals to obtain a relationship curve between the charging current and the state of charge under the conditions of the initial state of charge, the target state of charge and the initial temperature; At the beginning of charging, obtaining the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery; Determining a target relationship curve based on the current initial state of charge of the battery, a target state of charge set by a user, and an initial temperature of the battery; During the charging process, real-time monitoring of the real-time charge state of the battery; calculating a target charging current from the target relationship curve based on the real-time state of charge; Charging the battery using the target charging current; or, Fitting the charging current and the state of charge of each of the charging sub-intervals to obtain a straight line of relationship between the charging current and the state of charge under the conditions of the initial state of charge, the target state of charge and the initial temperature; Calculating the slope of the relationship straight line as the charging rate slope; Calculating an average charging rate based on the charging current corresponding to the initial state of charge and the charging current corresponding to the target state of charge on the relationship straight line; Writing the charge rate slope and the average charge rate into a battery management system of the battery; At the beginning of charging, obtaining the current initial state of charge of the battery, the target state of charge set by the user, and the initial temperature of the battery; Determining a target charging rate slope and a target average charging rate based on the current initial state of charge of the battery, a target state of charge set by a user, and an initial temperature of the battery; During the charging process, real-time monitoring of the real-time charge state of the battery; Calculate a target charging current based on the real-time state of charge, the target charging rate slope, and the target average charging rate; The battery is charged using the target charging current.
9. The battery charging control method according to claim 8, It is characterized in that The target charging current is calculated based on the real-time state of charge, the target charging rate slope and the target average charging rate, and the calculation formula is as follows: Where I(t) is the target charging current, k is the target charging rate slope, SOC is the real-time state of charge, SOC(0) is the initial state of charge, SOC(1) is the target state of charge, midSOC is the median between the initial state of charge and the target state of charge, and C(avg) is the target average charging rate.
10. The battery charging control method according to any one of claims 1 to 6 and 9, It is characterized in that Charging the battery according to the charging current of each charging sub-interval includes: Detecting the current internal resistance value of the battery; Determining whether the current internal resistance of the battery is greater than a preset internal resistance; When the current internal resistance of the battery is greater than the preset internal resistance, the charging current of the charging subinterval is multiplied by the correction coefficient a to obtain a correction current, where 0 <a<1; The battery is charged according to the corrected current in each of the charging sub-intervals.
11. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the battery charging control method as described in any one of claims 1-10.
12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the battery charging control method as described in any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Lithium ion battery optimized charging method based on time and temperature
CN105552465A
Optimized charging method of vehicle-mounted energy storage lithium ion battery for rail transit
CN107039696A
Multi-objective optimization control lithium battery pack charging method
CN107834620A
Electrochemical device charging method and device, electronic equipment and storage medium
CN114498864A
Method for fast charging and maximum discharging while reducing degradation of electric vehicle battery, and apparatus therefor
WO2018235995A1
Cited By
Charging control method and device of battery, vehicle and medium
CN119928661A
Battery charging control method, device, and storage medium
WO2025236616A1
Charging control method and apparatus, and electronic device, storage medium and program product
WO2026077255A1
