Battery charging method and device, electronic equipment and storage medium

By dynamically adjusting the charging current during the battery charging process, calculating the compensation current value to compensate and charge the aged battery, the problem of the aged battery being unable to be fully charged is solved, and effective protection of the battery capacity and extension of the battery life is achieved.

CN119496225APending Publication Date: 2025-02-21BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311022445.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The aging of the battery leads to an increase in the charging internal resistance and cannot be fully charged. In the prior art, the charging current is fixed and cannot effectively compensate for the capacity loss of the aged battery.

Method used

By determining the charging current value of the current battery and after the charging current value drops to the predefined full charge current value, the compensation current value is less than the full charge current value, the battery is compensated and charged until the target supplement capacity is reached.

Benefits of technology

Compensated charging of aging batteries is achieved, capacity loss caused by charging internal resistance is reduced, and battery can be close to full charge and extend battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496225A_ABST
    Figure CN119496225A_ABST
Patent Text Reader

Abstract

The invention provides a battery charging method and device, electronic equipment and a storage medium, and the method is characterized in that the method comprises the steps: determining a charging current value of a battery; after the charging current value is reduced to a full charging current value, a compensation current value of the battery is determined, and the compensation current value is smaller than the full charging current value; and performing compensation charging on the battery according to the determined compensation current value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of battery technology, and in particular to a battery charging method, device, electronic device and storage medium. Background Art

[0002] When the battery is charging, it will have internal resistance, which is called charging internal resistance. Battery aging is usually accompanied by a gradual increase in charging internal resistance.

[0003] In the related art, when the battery is fully charged, under the condition that the predefined full charge voltage and full charge current remain unchanged, its charging internal resistance is inversely proportional to the open circuit voltage. At the same time, since the open circuit voltage and the discharge depth of the battery are in a one-to-one correspondence, when the open circuit voltage decreases, the discharge depth will also change accordingly, which is equivalent to the discharge depth of the battery when it is fully charged is no longer 0%, but there is a certain loss, that is, the aging battery cannot be fully charged due to the increase in its charging internal resistance. Summary of the invention

[0004] In view of this, the present disclosure provides a battery charging method, device, electronic device and storage medium to solve the deficiencies in the related art.

[0005] According to an embodiment of the first aspect of the present disclosure, there is provided a battery charging method, comprising:

[0006] Determine the current charging current value of the battery;

[0007] After the charging current value drops to a predefined full-charge current value, determining a compensation current value of the battery, the compensation current value being less than the full-charge current value;

[0008] The battery is compensated and charged according to the determined compensation current value.

[0009] Optionally, performing compensation charging on the battery according to the determined compensation current value includes:

[0010] Determining a target replenishment capacity of the battery based on the compensation current value and the aging degree of the battery;

[0011] When the supplementary capacity of the compensatory charging reaches the target supplementary capacity, the compensatory charging is stopped.

[0012] Optionally, determining a target replenishment capacity of the battery based on the compensation current value and the aging degree of the battery includes:

[0013] Determining a first open circuit voltage of the battery when stopping compensation charging according to the compensation current value, the current charging internal resistance of the battery and a predefined full charge voltage value;

[0014] Determine a first discharge depth of the battery when stopping compensatory charging according to a first open circuit voltage of the battery when stopping compensatory charging and a pre-determined standard correspondence between the open circuit voltage and the discharge depth; and determine a second discharge depth of the battery when the charging current value drops to the full charging current value according to a second open circuit voltage of the battery when the charging current value drops to the full charging current value and the standard correspondence;

[0015] A target supplement capacity of the battery is determined according to the first discharge depth, the second discharge depth, and a current full charge capacity of the battery.

[0016] Optionally, the full charge capacity of the battery is determined by: when the battery enters a static state, the charge and discharge capacity of the battery is calculated according to the collected discharge depths of the battery at two different time points; wherein the static state is used to characterize that the charge and discharge current value of the battery is within a preset interval, and the voltage change value of the battery is less than a preset change value;

[0017] The full charge capacity of the battery is obtained through the ratio of the charge and discharge capacity to the difference between the discharge depths of the at least two points.

[0018] Optionally, the two different time points for collecting the discharge depth are located in a non-platform voltage region of the battery during a charging process.

[0019] Optionally, the charging internal resistance of the battery is determined by:

[0020] Determining a charging internal resistance of the battery based on the second open circuit voltage, a full charge voltage value, and a full charge current value of the battery;

[0021] The full charge voltage value is the sum of the product of the full charge current value and the charging internal resistance and the second open circuit voltage.

[0022] Optionally, performing compensation charging on the battery according to the determined compensation current value includes:

[0023] Calculating the loss capacity of the battery according to the second depth of discharge and the full charge capacity of the battery;

[0024] Performing compensatory charging when the loss capacity is greater than a preset loss capacity;

[0025] The preset loss capacity is a preset lower limit of endurance time multiplied by an average discharge current of the battery.

[0026] Optionally, the method further includes: determining whether the battery is aged;

[0027] The determining of the current charging current value of the battery includes: determining the current charging current value of the battery when the battery is aged.

[0028] Optionally, also include:

[0029] After the charging current value drops to the full-charge current value, passive discharge is performed with a current less than a preset current value.

[0030] Optionally, also include:

[0031] adjusting the compensation current value based on the number of battery cycles of the battery, wherein the compensation current value is negatively correlated with the number of battery cycles;

[0032] And / or, based on the battery health of the battery, adjusting the compensation current value, the compensation current value is positively correlated with the number of battery cycles.

[0033] According to an embodiment of the second aspect of the present disclosure, there is provided a battery charging device, comprising:

[0034] A first determining unit, used to determine a current charging current value of the battery;

[0035] a second determining unit, configured to determine a compensation current value of the battery after the charging current value drops to a predefined full-charge current value, wherein the compensation current value is less than the full-charge current value;

[0036] The compensation charging unit is used to perform compensation charging on the battery according to the determined compensation current value.

[0037] According to an embodiment of the third aspect of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the battery charging method as described in the first aspect when executing the computer program.

[0038] According to an embodiment of the fourth aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the battery charging method as described in the first aspect are implemented.

[0039] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0040] As can be seen from the above embodiments, the present disclosure can determine the current value of the current battery during the charging process, and then after the charging current value drops to a predefined full-charge current value, the battery can be compensated for charging by using a compensation current value that is smaller than the full-charge current value, rather than stopping charging immediately. The technical solution of the present disclosure can be used to compensate for the aging battery, compensating for the capacity loss caused by the fact that the full-charge current value remains unchanged while the charging internal resistance of the aging battery gradually increases, so that batteries of any aging degree can reach a state close to being fully charged, thereby ensuring the battery capacity and increasing the battery life.

[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present disclosure. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0043] Figure 1 is a schematic diagram showing a constant current and constant voltage charging method according to an exemplary embodiment of the present disclosure;

[0044] Figure 2 is a diagram showing a relationship between a battery discharge depth and a chargeable capacity according to an exemplary embodiment of the present disclosure;

[0045] Figure 3 is a flow chart of a battery charging method according to an exemplary embodiment of the present disclosure;

[0046] Figure 4 is a voltage and current schematic diagram of a battery in charging, discharging and static states according to an exemplary embodiment of the present disclosure;

[0047] Figure 5 is a schematic diagram showing a method of calculating a target battery replenishment capacity according to an exemplary embodiment of the present disclosure;

[0048] Figure 6 is a schematic diagram of a passive discharge according to an exemplary embodiment of the present disclosure;

[0049] Figure 7 is a schematic diagram of a battery charging device according to an exemplary embodiment of the present disclosure;

[0050] Figure 8 It is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0052] The terms used in the disclosed embodiments are only for the purpose of describing specific embodiments and are not intended to limit the disclosed embodiments. The singular forms of "a", "an" and "the" used in the disclosed embodiments and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0053] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the disclosed embodiments, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the disclosed embodiments, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0054] For the purpose of brevity and ease of understanding, the terms used herein to characterize size relationships are "greater than" or "less than", "higher than" or "lower than". However, those skilled in the art can understand that the term "greater than" also covers the meaning of "greater than or equal to", and "less than" also covers the meaning of "less than or equal to"; the term "higher than" covers the meaning of "higher than or equal to", and "lower than" also covers the meaning of "lower than or equal to".

[0055] At present, batteries are usually charged using a multi-stage constant current and constant voltage charging method, such as Figure 1 As shown. Among them, the constant current and constant voltage charging method can be divided into two charging stages: the first stage is the constant current charging stage, that is, charging the battery to a set voltage with a constant current; the second stage is the constant voltage charging stage, that is, maintaining a constant voltage and gradually reducing the current to a set current. In this charging method, the battery will first be charged to the full charging voltage with a constant current, and then charged to the full charging current with a full charging voltage and constant voltage. If the charging current value drops to the full charging current value, the charging is considered complete, that is, charging is stopped. Among them, the full charging voltage and full charging current are usually determined by the battery manufacturer when designing the battery based on factors such as battery chemical characteristics, battery type, specification requirements, and safety considerations.

[0056] At the same time, there is a linear relationship between the capacity of the battery and the open circuit voltage (OCV) of the battery. The open circuit voltage of the battery is also called the no-load voltage or the static voltage of the battery, which refers to the voltage measurement value when the battery or other power source is not loaded. By measuring the open circuit voltage of the battery, the remaining capacity of the battery during the discharge process can be determined. It should be noted that the open circuit voltage is an inherent characteristic of the battery and will not change with the aging of the battery. In addition, when the battery is discharged to the same extent, the open circuit voltage of the battery is also fixed. Here, the depth of discharge (DOD) can be used to indicate the degree to which the battery has been discharged, usually expressed as a percentage of the proportion of the battery capacity that has been used or extracted to the total capacity. For example, if a battery has a rated capacity of 1000Ah, the depth of discharge when fully charged is 0%, and if it is discharged 500Ah later, then the depth of discharge of the battery at this time is 50%.

[0057] Therefore, the characteristics of the battery open circuit voltage can be understood as follows: the battery open circuit voltage does not change as the battery ages, and at the same discharge depth, the battery open circuit voltage is also the same, that is, the open circuit voltage curve and the battery discharge depth are in a one-to-one correspondence.

[0058] At present, when charging, the battery itself has internal resistance, which is called charging internal resistance, and battery aging is usually accompanied by a gradual increase in charging internal resistance. For example, over time, the electrolyte in the battery may become impure due to chemical reactions, evaporation of electrolyte solutions, or accumulation of reaction products, resulting in obstruction of ion transmission and increased resistance; or the battery's electrode materials may also undergo structural changes over time, forming a solid electrolyte interface layer, etc.

[0059] In the related art, the parameters in the battery charging process satisfy the following formula: Vfull = OCV + Ifull × Rc. Among them, the full charge voltage Vfull and the full charge current Ifull are predefined values ​​and are fixed. Then, when the battery completes normal charging, its charging internal resistance is inversely proportional to the open circuit voltage, that is, as the charging internal resistance increases, the corresponding open circuit voltage will decrease accordingly. Since the open circuit voltage of the battery has a one-to-one correspondence with the depth of discharge, when the open circuit voltage decreases, the depth of discharge will also change accordingly, which is equivalent to the discharge depth of the battery when it is completed. It is no longer 0%, but there is a certain loss.

[0060] However, batteries will inevitably age during use, and the charging internal resistance of aged batteries will increase, which will cause the batteries to be unable to be fully charged. Figure 2A graph showing the relationship between the discharge depth and the rechargeable capacity of a battery is shown. Since the open circuit voltage of the battery has a one-to-one correspondence with the discharge depth, the curve in the graph can also be regarded as an open circuit voltage curve. Figure 2 As a graph of the relationship between open circuit voltage and chargeable capacity. Figure 2 As shown, the larger the charging internal resistance Rc, the greater the capacity Qloss lost when the battery is fully charged, which in turn leads to a reduction in the available capacity of the battery and a worse battery life.

[0061] In order to solve the above problems, the present disclosure proposes a battery charging method, device, electronic device and storage medium, which can determine the current value of the current battery during the charging process, and then after the charging current value drops to a predefined full-charge current value, the battery can be compensated for charging with a compensation current value that is smaller than the full-charge current value, rather than stopping charging immediately. Applying the technical solution of the present disclosure, it is possible to perform compensatory charging on an aged battery, compensating for the capacity loss caused by the fact that the full-charge current value remains unchanged while the charging internal resistance of the aged battery gradually increases, so that batteries of any degree of aging can reach a state close to being fully charged, thereby ensuring the battery capacity and increasing the battery life.

[0062] Figure 3 is a flow chart of a battery charging method shown in an exemplary embodiment of the present disclosure, comprising:

[0063] S301, determining the current charging current value of the battery.

[0064] In an exemplary embodiment, the current battery may be an aging battery, which has an increased charging internal resistance due to chemical reactions of the electrolyte in the battery or structural changes in the electrode material. The charging current value of the current battery during the charging process can be determined in a variety of ways. For example, in some advanced battery management systems or some special types of batteries, a current sensor or current monitoring circuit may be integrated to monitor the charging and discharging currents in real time; or some battery charging management devices (such as adapters, charging piles, etc.) are integrated with a current monitoring function to monitor the size of the charging current; or the charging current value of the battery can be determined by connecting an ammeter or other methods. The technician can choose an appropriate method to determine the charging current value of the current battery according to actual needs, and the present disclosure does not limit this.

[0065] S302: after the charging current value drops to a predefined full-charge current value, determine a compensation current value of the battery, wherein the compensation current value is less than the full-charge current value.

[0066] S303, performing compensation charging on the battery according to the determined compensation current value.

[0067] It should be noted that, since the battery in the related art is usually charged by a multi-stage constant current and constant voltage charging method, as mentioned above, in this charging method, the battery will first be charged to the full charging voltage with a constant current, and the battery voltage will gradually increase during the process, and then it will be charged to the full charging current with a full charging voltage and constant voltage, and the charging current will gradually decrease during the process. If the charging current value drops to the full charging current value, it is considered that the charging is completed, that is, the charging is stopped. Figure 1 Among them, the full charge voltage and full charge current are usually determined by the battery manufacturer when designing the battery based on factors such as battery chemical characteristics, battery type, specification requirements, and safety considerations, and will not change with changes in battery conditions.

[0068] In an exemplary embodiment, different from the charging method in the above-mentioned related art, the present disclosure does not stop charging after the charging current value drops to the full charge current value, but performs compensation charging on the current battery through a compensation current value less than the full charge current value. The compensation current value can be determined in a variety of ways, such as directly using a preset value, or calculating an adapted compensation current value based on factors such as the aging degree and usage of the battery, and the present disclosure does not limit this.

[0069] By applying the technical solution of the embodiments of the present disclosure, it is possible to perform compensatory charging on aged batteries, compensating for the capacity loss caused by the fact that the full-charge current value remains unchanged while the charging internal resistance of the aged battery gradually increases, so that batteries of any degree of aging can be nearly fully charged, thereby ensuring the battery capacity and increasing the battery life.

[0070] In an exemplary embodiment, the target supplementary capacity of the current battery can be determined based on the compensation current value and the current battery aging degree; when the supplementary capacity of the compensatory charging reaches the target supplementary capacity, the compensatory charging is stopped. The current battery aging degree is used to characterize the parameter changes that occur in the battery due to use, such as an increase in charging internal resistance, a decrease in full-charge capacity, and the like. Based on the compensation current value and the battery aging, a supplementary capacity that does not exceed the loss capacity of the battery can be determined as the target supplementary capacity. Therefore, when the supplementary capacity of the compensatory charging reaches the target supplementary capacity, the compensatory charging is stopped to avoid overcharging of the battery and battery damage.

[0071] The following is a detailed introduction to the parameters involved in calculating the target replenishment capacity and the specific calculation method:

[0072] In an exemplary embodiment, the standard correspondence between the open circuit voltage of the battery and the depth of discharge can be determined in advance, wherein the battery used to determine the standard correspondence should be an unaged battery. Specifically, the fully charged battery can be discharged at a small current Ir to the full discharge voltage, and the real-time voltage at both ends of the battery during the discharge process is recorded, and this voltage curve is recorded as the open circuit voltage curve of the battery. Since the open circuit voltage of the battery is an inherent characteristic of the battery, and the open circuit voltage curve and the battery discharge depth are in a one-to-one correspondence, the correspondence between the measured open circuit voltage curve and the discharge depth can be stored, so that the corresponding discharge depth can be obtained through the known open circuit voltage in the subsequent steps, or the corresponding open circuit voltage can be obtained through the known discharge depth.

[0073] In an exemplary embodiment, when measuring the open circuit voltage of a battery, a very small current can be used for discharge at different temperatures, and each discharge is left for a period of time before measurement. For example, a current of 0.04C is used for discharge for 30 minutes, and then left for 1 hour, and then the open circuit voltage of the battery in this case is collected, and finally the collected points are fitted into an open circuit voltage curve. By applying the technical solution of the embodiment of the present disclosure, the influence caused by the change of internal resistance during battery discharge can be avoided, and the open circuit voltage of the battery can be obtained more accurately.

[0074] In an exemplary embodiment, the open circuit voltage of the battery when the compensating charging is stopped is taken as the first open circuit voltage, and the discharge depth of the battery when the compensating charging is stopped, that is, the discharge depth corresponding to the first open circuit voltage, is taken as the first discharge depth; the open circuit voltage of the battery when the charging current value drops to the full charge current value is taken as the second open circuit voltage, and the discharge depth of the battery when the charging current value drops to the full charge current value, that is, the discharge depth corresponding to the second open circuit voltage, is taken as the second discharge depth.

[0075] In an exemplary embodiment, the second open circuit voltage of the battery when the charging current value drops to the full charge current value can be determined based on the second discharge depth and the standard corresponding relationship; and the charging internal resistance of the battery can be determined based on the second open circuit voltage, the full charge voltage value and the full charge current value of the battery; wherein the full charge voltage value is the sum of the product of the full charge current value and the charging internal resistance and the second open circuit voltage. Specifically, the discharge depth at a certain time point can be collected during the charging process, and the real-time discharge depth of the battery during the charging process can be calculated by Coulomb integration and the discharge depth at this time point. Then, when the charging current value drops to the full charge current value, the discharge depth DOD_EOC at this moment can be obtained as the second discharge depth. Since the open circuit voltage curve and the battery discharge depth are in a one-to-one correspondence, the open circuit voltage OCV_EOC corresponding to the second discharge depth can be obtained as the second open circuit voltage. Because the parameters in the charging process satisfy the following formula: Vfull = OCV + Ifull × Rc, where the full charge voltage Vfull and the full charge current Ifull are predefined values ​​and remain unchanged, then by substituting the second open circuit voltage OCV_EOC into the OCV in the formula, the charging internal resistance Rc after the conventional charging is terminated at this time can be calculated, which is the current charging internal resistance of the battery.

[0076] In an exemplary embodiment, when the battery enters a static state, the charge and discharge capacity of the battery can be calculated based on the collected discharge depths of the battery at two different time points; the full charge capacity of the battery can be obtained by the ratio of the charge and discharge capacity to the difference between the discharge depths of the at least two points. Figure 4 A voltage and current schematic diagram of a battery in charging, discharging and static state is shown, wherein the state in which the battery's charge and discharge current is in the interval (-Ir, Ir) and the battery's voltage change value ΔV is less than a preset change value is taken as the battery static state. In the static state, the battery is equivalent to not performing a charge and discharge operation, and the voltage detected at this time is considered to be the open circuit voltage of the battery. After the battery enters the static state, the discharge depth corresponding to two different time points can be collected, recorded as DODa and DODb, and then the charge and discharge capacity Qpass between DODa and DODb can be calculated by Coulomb integration. At this time, the current full capacity Qfull of the battery can be calculated by the ratio of the charge and discharge capacity Qpass to the difference in the discharge depth of the at least two points, that is, Qfull = |Qpass / (DODa-DODb)|.

[0077] It should be noted that the two different time points for collecting the discharge depth are located in the non-platform voltage zone of the battery during the charging process. The platform voltage zone refers to the area where the battery voltage changes relatively slowly within a specific voltage range during the charging and discharging process of the battery. In this area, the battery voltage remains basically stable, with only small voltage changes. If the time point for collecting the discharge depth is in the platform voltage zone, the voltage change at the two time points is not large, and the difference in the discharge depth is not large, resulting in the inability to accurately calculate the full capacity Qfull of the battery; if the time point for collecting the discharge depth is in the non-platform voltage zone, the collected discharge depth can more accurately reflect the battery's power at different time points, thereby making the calculation result of the battery's full capacity Qfull more accurate.

[0078] In an exemplary embodiment, the first open circuit voltage of the battery when compensating charging is stopped can be determined based on the compensation current value, the current charging internal resistance of the battery and a predefined full charge voltage value; and the first discharge depth of the battery when compensating charging is stopped can be determined based on the first open circuit voltage of the battery when compensating charging is stopped and a standard correspondence between the open circuit voltage and the discharge depth determined in advance; and the second discharge depth of the battery when the charging current value drops to the full charge current value can be determined; and the target replenishment capacity of the battery can be determined based on the first discharge depth, the second discharge depth and the current full charge capacity of the battery.

[0079] Specifically, the first open circuit voltage can be recorded as OCV_LOSS, and the compensation current value of the compensation charge can be recorded as Im. Then the parameters in the compensation charge process satisfy the following formula: OCV_LOSS = Vfull-Im×Rc. The full charge voltage Vfull is a predefined value and is fixed. The battery internal resistance Rc can also be calculated based on the second open circuit voltage, the full charge voltage value and the full charge current value of the battery. Therefore, the first open circuit voltage of the battery when the compensation charge is stopped can be calculated by this formula, and then the first discharge depth of the battery when the compensation charge is stopped can be obtained according to the standard corresponding relationship. At the same time, the second discharge depth can be obtained in the process of calculating the charging internal resistance, and the full charge capacity of the battery can also be calculated.

[0080] It is understandable that when the charging current value of the battery drops to the full charging current value, the normal charging of the battery stops. At this time, due to battery aging, the discharge depth of the battery is not 0%; after the battery is compensated for charging, the battery power is replenished, and the discharge depth is reduced accordingly, closer to the full charge state with a discharge depth of 0%. Figure 5, where the second discharge depth DOD_EOC of the battery when the charging current value drops to the full charge current value is 2%, which can be understood as the current battery is only charged 98% when the conventional charging stops; and the first discharge depth DOD_LOSS of the battery when the compensation charging stops is 0.7%, which can be understood as the current battery is already charged 99.3% when the compensation charging stops. Therefore, the difference between the second discharge depth and the first discharge depth can be understood as the proportion of the supplemented capacity in the full charge capacity of the battery. Then, when the first discharge depth, the second discharge depth and the current full charge capacity of the battery are obtained, the target supplement capacity Qcom can be calculated, that is, Qcom = Qfull × (DOD_EOC-DOD_LOSS).

[0081] By applying the technical solution of the embodiment of the present disclosure, the charging internal resistance and full-charge capacity of the battery can be accurately calculated, and based on the accurately acquired first discharge depth, second discharge depth and full-charge capacity of the battery, the target supplementary capacity of the battery for compensatory charging can be accurately calculated to avoid the situation where the supplementary capacity when compensatory charging is stopped exceeds the battery loss capacity when charging is performed with the target supplementary capacity as the target, thereby causing damage to the battery.

[0082] In an exemplary embodiment, the loss capacity of the battery can be calculated according to the second discharge depth and the full charge capacity of the battery; when the loss capacity is greater than the preset loss capacity, compensatory charging is performed; wherein the preset loss capacity is the preset lower limit of the battery life multiplied by the average discharge current of the battery discharge. Specifically, since the second discharge depth is the discharge depth when the charging current value of the battery drops to the full charge current value, it can be understood as the discharge depth when the battery stops normal charging, then the loss capacity of the battery can be obtained by multiplying the full charge capacity of the battery by the discharge depth. A preset loss capacity can be set here as a condition for starting compensatory charging, that is, compensatory charging is performed when the loss capacity of the battery is greater than the preset loss capacity. The preset loss capacity can be set to a capacity value that makes the current battery life significantly reduced compared to the original battery life. For example, the capacity of a non-aged battery can maintain a battery life of 6 hours. After losing a certain capacity, the battery life of the battery is reduced to 5 hours, so that the battery life is significantly reduced. The above loss capacity can be used as the preset loss capacity. The preset loss capacity Qstart can be calculated using the preset lower limit battery life Tuse and the average discharge current Idis of the battery. The preset lower limit battery life can be the difference between the original battery life and the current battery life, for example, the difference between 6 hours and 5 hours is 1 hour. The difference is multiplied by the average discharge current of the battery to obtain the capacity value of the battery that is significantly reduced compared to the original battery life, that is, Qstart = Tuse × Idis.

[0083] At the same time, it can be understood that since the compensation current value during compensation charging can directly adopt a preset value or be determined according to the degree of battery aging, it can be understood that the compensation current value adopted is adapted to the charging internal resistance and loss capacity of the battery, that is, when the compensation charging is performed with the current value and the supplementary capacity reaches the target supplementary capacity, the supplementary capacity of the compensation charging will not exceed the loss capacity of the battery. In conjunction with the start-up conditions of the compensation charging, it can be considered that when the battery loss capacity reaches the preset loss capacity, the compensation charging is performed, and its charging internal resistance matches the compensation current value, which can ensure that the supplementary capacity does not exceed the loss capacity of the battery; and if the compensation charging is turned on when the battery capacity does not reach the preset loss capacity, it is possible that the compensation current value is not suitable for the current charging internal resistance and loss capacity of the battery, resulting in the supplementary capacity exceeding the loss capacity of the battery, causing the battery to be overcharged. By applying the technical solution of the embodiment of the present disclosure, the problem of battery overcharging caused by the calculation error of the battery loss capacity can be avoided, and it is ensured that the supplementary capacity of the battery for compensation charging does not exceed the loss capacity.

[0084] In an exemplary embodiment, the compensatory charging method may be implemented when it is determined that the battery has aged. Specifically, it may be determined in a variety of ways whether the battery has aged. For example, it may be determined whether the battery has aged by comparing whether the full-charge capacity of the battery is less than the design capacity of the battery. The design capacity of the battery here is used to characterize the capacity of the battery when it has not aged, that is, the capacity of a fresh battery, which is related to the design specifications and production specifications of the battery manufacturer and is a known parameter. Since the full-charge capacity of a battery that has not aged should be the same as the design capacity of the battery, if the full-charge capacity of the current battery is already less than the design capacity of the battery, it may be determined that the current battery has aged. For another example, it may also be possible to compare whether the current charging internal resistance is greater than the charging internal resistance of the non-aged battery when the charging internal resistance of the non-aged battery is known. If the current charging internal resistance is already greater than the charging internal resistance of the non-aged battery, it may be determined that the battery has aged. In addition, the battery health of the current battery can be obtained through the equipped battery management system. If the battery health decreases, or drops to a preset standard (such as from 100% to 95%), it can be determined that the battery is aging; or the battery life can be monitored. If the battery life is less than the preset time value, it is determined that the battery is aging. By applying the technical solution of the embodiment of the present disclosure, it can be ensured that the compensatory charging method is only implemented when the battery is aged, avoiding additional charging of non-aged batteries and avoiding damage to the battery due to overcharging.

[0085] In an exemplary embodiment, after the charging current value drops to the full-charge current value, a passive discharge can be performed with a current less than a preset current value, and a compensation charge can be performed after the discharge, such as Figure 6As shown. Since the battery will polarize during the charging process, that is, the potential difference between the positive and negative electrodes of the battery increases, the charge begins to flow from the power supply to the battery. The battery voltage rises rapidly at this stage, and the current also increases accordingly. If the voltage of the battery is close to or equal to the full charge voltage after the charging current value drops to the full charge current value, if compensation charging is performed immediately at this time, it is possible that only a very small capacity can be supplemented or the capacity cannot be supplemented. At this time, the battery can be discharged by a current with a smaller current value than the preset current value, or a current smaller than the preset current value, to reduce the potential difference between the positive and negative electrodes of the battery, so as to quickly eliminate the polarization of the battery and reduce the battery voltage. It should be noted that the discharge capacity required for passivation here is very small, and this part of the capacity can be ignored. By applying the technical solution of the embodiment of the present disclosure, after the charging current value of the battery drops to the predefined full charge current value, it can be quickly passivated to reduce the voltage of the battery, thereby ensuring the effective implementation of subsequent compensation charging.

[0086] In an exemplary embodiment, the compensation current value can be adjusted based on the number of battery cycles of the battery, and the compensation current value is negatively correlated with the number of battery cycles; or the compensation current value can be adjusted based on the battery health of the battery, and the compensation current value is positively correlated with the number of battery cycles; or the compensation current value can be adjusted by considering both the number of battery cycles and the battery health of the battery. Here, positive correlation and negative correlation are used to represent the overall correlation trend, and do not specifically refer to a one-to-one linear correlation relationship, for example, it can be a step-like increase or decrease, etc.

[0087] Specifically, the number of battery cycles refers to the number of complete cycles completed by the battery during the charge and discharge process, where each complete cycle includes one charge and one discharge of the battery. As the number of battery cycles increases, the charging internal resistance usually increases as well, so the compensation current value should decrease with the increase in the number of battery cycles, showing a negative correlation trend. For example, the compensation current value can be adjusted to decrease by 10% after every 100 cycles of the battery.

[0088] Specifically, the battery health is used to characterize the current state of the battery, reflecting the remaining capacity of the battery relative to its initial performance, and is usually expressed as a percentage, where the closer the percentage value is to 100%, the better the health of the battery. As the battery health decreases, the charging internal resistance usually increases as well, so the compensation current value should decrease as the battery health decreases, showing a positive correlation trend. For example, the compensation current value can be adjusted to decrease by 10% every time the battery health decreases by 5%.

[0089] By applying the technical solution of the embodiment of the present disclosure, the compensation current value during battery compensation charging can be dynamically adjusted to adapt to the current aging of the battery, thereby avoiding both long charging time caused by too small compensation current and damage to the battery due to excessive compensation current.

[0090] Based on the above-mentioned battery charging method, the present disclosure also provides a battery charging device, see Figure 7 ,include:

[0091] A first determining unit 71, used to determine a current charging current value of the battery;

[0092] A second determining unit 72, configured to determine a compensation current value of the battery after the charging current value drops to a predefined full-charge current value, wherein the compensation current value is less than the full-charge current value;

[0093] The compensation charging unit 73 is used to perform compensation charging on the battery according to the determined compensation current value.

[0094] Optionally, the compensation charging unit 73 is specifically used for:

[0095] Determining a target replenishment capacity of the battery based on the compensation current value and the aging degree of the battery;

[0096] When the supplementary capacity of the compensatory charging reaches the target supplementary capacity, the compensatory charging is stopped.

[0097] Optionally, determining a target replenishment capacity of the battery based on the compensation current value and the aging degree of the battery includes:

[0098] Determining a first open circuit voltage of the battery when stopping compensation charging according to the compensation current value, the current charging internal resistance of the battery and a predefined full charge voltage value;

[0099] Determine a first discharge depth of the battery when stopping compensatory charging according to a first open circuit voltage of the battery when stopping compensatory charging and a pre-determined standard correspondence between the open circuit voltage and the discharge depth; and determine a second discharge depth of the battery when the charging current value drops to the full charging current value according to a second open circuit voltage of the battery when the charging current value drops to the full charging current value and the standard correspondence;

[0100] A target supplement capacity of the battery is determined according to the first discharge depth, the second discharge depth, and a current full charge capacity of the battery.

[0101] Optionally, the full charge capacity of the battery is determined by: when the battery enters a static state, the charge and discharge capacity of the battery is calculated according to the collected discharge depths of the battery at two different time points; wherein the static state is used to characterize that the charge and discharge current value of the battery is within a preset interval, and the voltage change value of the battery is less than a preset change value;

[0102] The full charge capacity of the battery is obtained through the ratio of the charge and discharge capacity to the difference between the discharge depths of the at least two points.

[0103] Optionally, the two different time points for collecting the discharge depth are located in a non-platform voltage region of the battery during a charging process.

[0104] Optionally, the charging internal resistance of the battery is determined by:

[0105] Determining a charging internal resistance of the battery based on the second open circuit voltage, a full charge voltage value, and a full charge current value of the battery;

[0106] The full charge voltage value is the sum of the product of the full charge current value and the charging internal resistance and the second open circuit voltage.

[0107] Optionally, the compensation charging unit 73 is specifically used for:

[0108] Calculating the loss capacity of the battery according to the second depth of discharge and the full charge capacity of the battery;

[0109] Performing compensatory charging when the loss capacity is greater than a preset loss capacity;

[0110] The preset loss capacity is a preset lower limit of endurance time multiplied by an average discharge current of the battery.

[0111] Optionally, the device further comprises:

[0112] A third determining unit 76, configured to determine whether the battery is aged;

[0113] The first determining unit 71 is specifically configured to determine a current charging current value of the battery when the battery is aged.

[0114] Optionally, the device further comprises:

[0115] The passivation unit 74 is used to perform passivation discharge with a current less than a preset current value after the charging current value drops to the full-charge current value.

[0116] Optionally, the device further comprises:

[0117] An adjusting unit 75, configured to adjust the compensation current value based on the number of battery cycles of the battery, wherein the compensation current value is negatively correlated with the number of battery cycles;

[0118] And / or, based on the battery health of the battery, adjusting the compensation current value, the compensation current value is positively correlated with the number of battery cycles.

[0119] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

[0120] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0121] An embodiment of the present disclosure further proposes an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the method described in any of the above embodiments.

[0122] Figure 8 8 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0123] Reference Figure 8 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0124] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0125] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0126] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0127] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0128] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0129] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0130] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0131] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0132] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the method described in any of the above embodiments.

[0133] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0134] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0135] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A battery charging method, characterized in that: include: Determine the current charging current value of the battery; After the charging current value drops to a predefined full-charge current value, determining a compensation current value of the battery, the compensation current value being less than the full-charge current value; The battery is compensated and charged according to the determined compensation current value.

2. The method according to claim 1, characterized in that: The compensating charging of the battery according to the determined compensation current value comprises: Determining a target replenishment capacity of the battery based on the compensation current value and the aging degree of the battery; When the supplementary capacity of the compensatory charging reaches the target supplementary capacity, the compensatory charging is stopped.

3. The method according to claim 2, characterized in that The step of determining a target supplement capacity of the battery based on the compensation current value and the aging degree of the battery includes: Determining a first open circuit voltage of the battery when stopping compensation charging according to the compensation current value, the current charging internal resistance of the battery and a predefined full charge voltage value; Determine a first discharge depth of the battery when stopping compensatory charging according to a first open circuit voltage of the battery when stopping compensatory charging and a pre-determined standard correspondence between the open circuit voltage and the discharge depth; and determine a second discharge depth of the battery when the charging current value drops to a full charge current value; A target supplement capacity of the battery is determined according to the first discharge depth, the second discharge depth, and a current full charge capacity of the battery.

4. The method according to claim 3, characterized in that The full charge capacity of the battery is determined as follows: When the battery enters a static state, the charge and discharge capacity of the battery is calculated according to the collected discharge depths of the battery at two different time points; wherein the static state is used to indicate that the charge and discharge current value of the battery is within a preset range, and the voltage change value of the battery is less than a preset change value; The full charge capacity of the battery is obtained through the ratio of the charge and discharge capacity to the difference between the discharge depths corresponding to the two different time points.

5. The method according to claim 4, characterized in that The two different time points for collecting the discharge depth are located in a non-platform voltage region of the battery during the charging process.

6. The method according to claim 3, characterized in that The charging internal resistance of the battery is determined by: determining, according to the second discharge depth and the standard corresponding relationship, a second open circuit voltage of the battery when the charging current value decreases to a full charging current value; Determining a charging internal resistance of the battery based on the second open circuit voltage, a full charge voltage value, and a full charge current value of the battery; The full charge voltage value is the sum of the product of the full charge current value and the charging internal resistance and the second open circuit voltage.

7. The method according to claim 1, characterized in that The compensating charging of the battery according to the determined compensation current value comprises: Calculating the loss capacity of the battery according to the second depth of discharge and the full charge capacity of the battery; Performing compensatory charging when the loss capacity is greater than a preset loss capacity; The preset loss capacity is a preset lower limit of endurance time multiplied by an average discharge current of the battery.

8. The method according to claim 1, characterized in that Also includes: Determining whether the battery has aged; The determining of the current charging current value of the battery includes: determining the current charging current value of the battery when the battery is aged.

9. The method according to claim 1, characterized in that: Also includes: After the charging current value drops to the full-charge current value, passive discharge is performed with a current less than a preset current value.

10. The method according to claim 1, characterized in that Also includes: adjusting the compensation current value based on the number of battery cycles of the battery, wherein the compensation current value is negatively correlated with the number of battery cycles; And / or, based on the battery health of the battery, adjusting the compensation current value, the compensation current value is positively correlated with the number of battery cycles.

11. A battery charging device, characterized in that: include: A first determining unit, used to determine a current charging current value of the battery; a second determining unit, configured to determine a compensation current value of the battery after the charging current value drops to a predefined full-charge current value, wherein the compensation current value is less than the full-charge current value; The compensation charging unit is used to perform compensation charging on the battery according to the determined compensation current value.

12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.