Charging equalization method and device, electronic equipment and storage medium

By dynamically determining the target equalization current of the battery, the problem of repeated equalization after aging or temperature changes in the prior art is solved, and the charging efficiency and equipment life are improved.

CN119602410APending Publication Date: 2025-03-11GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311172448.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The existing charging equalization scheme can easily lead to repeated back and forth balancing between batteries after the battery ages or changes in temperature, affecting charging efficiency and equipment life.

Method used

By obtaining the current impedance value and voltage dynamics of the battery, dynamically determine the target equalization current to avoid repeated equalization problems caused by fixed equalization current.

Benefits of technology

The adaptability of the charging balance method is improved, the problem of repeated balance between batteries after low temperature and battery aging is avoided, and the charging efficiency and equipment life are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119602410A_ABST
    Figure CN119602410A_ABST
Patent Text Reader

Abstract

The invention discloses a charging equalization method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery under the condition that the first battery and the second battery are charged in an equalizing charge mode; acquiring a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery; and according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and a preset initial equalization voltage difference, a target equalization parameter is determined, and the target equalization parameter comprises a target equalization current. According to the method, the current target equalization current can be dynamically determined according to the current impedance value of the battery and the current battery voltage, the problem that the batteries are repeatedly equalized back and forth after low temperature and battery aging is avoided, and the adaptive capacity of the charging equalization method is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of charging technology, and relate to but are not limited to a charging equalization method and device, an electronic device, and a storage medium. Background Art

[0002] When an electronic device is provided with two batteries, it is necessary to charge the two batteries at the same time. For example, a foldable electronic device may use two batteries of unequal capacity and charge them in series. In order to ensure that the two unequal capacity batteries can be fully charged at the same time, the electronic device will use software solutions or hardware solutions for charging balance. For example, a battery with a small capacity is easy to be fully charged, and a balancing chip can be used to transfer current from a battery with a small capacity to a battery with a large capacity to achieve balanced charging. Among them, the balanced voltage difference refers to starting balanced charging when the balanced voltage difference is met, and the balanced current refers to the current size transferred during a charge balance.

[0003] The existing charging equalization scheme adopts a fixed equalization current. After the battery ages, the fixed equalization current easily causes the problem of repeated equalization between batteries. Summary of the invention

[0004] In view of this, the charging balancing method and device, electronic device, and storage medium provided in the embodiments of the present application can dynamically determine the current target balancing current according to the current impedance value and the current battery voltage of the battery, thereby avoiding the problem of repeated balancing between batteries after low temperature and battery aging, and greatly improving the adaptive ability of the charging balancing method.

[0005] In a first aspect, a charging equalization method provided in an embodiment of the present application is applied to an electronic device, wherein the electronic device includes a first battery and a second battery, and the method includes:

[0006] When the first battery and the second battery are charged in a balanced charging mode, obtaining a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery;

[0007] Acquire a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery;

[0008] A target balancing parameter is determined according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value, and a preset initial balancing voltage difference, where the target balancing parameter includes a target balancing current.

[0009] In a second aspect, a charging equalization device provided in an embodiment of the present application is applied to an electronic device, wherein the electronic device includes a first battery and a second battery, and the device includes:

[0010] an impedance acquisition module, configured to acquire a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery when the first battery and the second battery are charged in a balanced charging mode;

[0011] a voltage acquisition module, used to acquire a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery;

[0012] The parameter acquisition module is used to determine target balancing parameters according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and a preset initial balancing voltage difference, wherein the target balancing parameters include a target balancing current.

[0013] In a third aspect, an electronic device provided in an embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps of the charging equalization method provided in the first aspect of the embodiment of the present application are implemented.

[0014] In a fourth aspect, a computer-readable storage medium provided in an embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, the steps of the charging equalization method provided in the embodiment of the first aspect of the present application are implemented.

[0015] The charging equalization method, device, electronic device, and computer-readable storage medium provided in the embodiments of the present application can dynamically determine the current target equalization current according to the current impedance value and the current battery voltage of the battery, thereby avoiding the problem of repeated equalization between batteries after low temperature and battery aging, greatly improving the adaptive ability of the charging equalization method, and thus solving the technical problems raised in the background technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.

[0017] Figure 1 A schematic diagram of an implementation flow of a charging equalization method provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of the implementation flow of another charging equalization method provided in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of a method for obtaining a battery impedance value provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of a flow chart of another charging equalization method provided in an embodiment of the present application;

[0021] Figure 5 A schematic diagram of a flow chart of another charging equalization method provided in an embodiment of the present application;

[0022] Figure 6 A schematic diagram of a flow chart of another charging equalization method provided in an embodiment of the present application;

[0023] Figure 7 The overall process of a method for generating a corresponding relationship between temperature and impedance provided in an embodiment of the present application;

[0024] Figure 8 The overall process of a charging equalization method provided in an embodiment of the present application;

[0025] Fig. 9 A schematic diagram of the structure of a charging equalization device provided in an embodiment of the present application;

[0026] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0029] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0030] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0031] In the prior art, when an electronic device is provided with two batteries, it is necessary to charge the two batteries at the same time. For example, a foldable electronic device may use two batteries of unequal capacity, and charge them in series. In order to ensure that the two unequal capacity batteries can be fully charged at the same time, the electronic device will use a software solution or a hardware solution for charging balance. For example, a battery with a small capacity is easy to be fully charged, and a balancing chip can be used to transfer current from a battery with a small capacity to a battery with a large capacity to achieve balanced charging. Among them, the balanced voltage difference refers to the balanced charging when the voltage difference between the two batteries reaches the balanced voltage difference, and the balanced current refers to the current size transferred during a charge balance. The existing charging balancing solution uses a fixed balancing current. After the battery temperature changes or ages, the fixed balancing current is likely to cause the problem of repeated balancing between the batteries.

[0032] In view of this, an embodiment of the present application provides a charging equalization method, by obtaining a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery; obtaining a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery; and determining a target equalization current according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value, and a preset initial equalization voltage difference. This method can dynamically determine the current target equalization current according to the current impedance value and the current battery voltage of the battery, avoiding the problem of repeated equalization between batteries after low temperature and battery aging, and greatly improving the adaptive ability of the charging equalization method.

[0033] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0034] Figure 1 The present invention provides a schematic diagram of the implementation process of a charging equalization method. The charging equalization method can be applied to electronic devices, which can be various types of devices with information processing capabilities during implementation. For example, the electronic device can include a personal computer, a laptop, a PDA or a server, etc.; the electronic device can also be a mobile terminal, for example, the mobile terminal can include a mobile phone, a car computer, a tablet computer or a projector, etc. Figure 1 As shown, the method may include the following steps 101 to 103:

[0035] Step 101: When the first battery and the second battery are charged in a balanced charging mode, a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery are obtained.

[0036] Among them, when charging the first battery and the second battery, there are many ways to obtain the first impedance value corresponding to the first battery and the second impedance value corresponding to the second battery, such as by controlling the charging voltage, by controlling the charging current, and by a hybrid charging mode that can automatically adjust the disturbance amplitude, etc. These methods can scan the impedance value within a preset frequency range, or monitor the impedance value at a fixed frequency, which is applicable to various energy products such as lithium batteries, supercapacitors, and fuel cells. The embodiment of the present application does not limit the method for obtaining the first impedance value corresponding to the first battery and the second impedance value corresponding to the second battery.

[0037] In addition, the balanced charging mode is a method for implementing balanced charging, such as balanced charging current. Charging balance can be when the first battery and the second battery are charged at the same time, if it is monitored that the balanced condition is met, the current of the fast-charging battery will be transferred to the slow-charging battery to avoid the situation where one battery is not fully charged while the other battery is fully charged, so that the two batteries are fully charged at the same time.

[0038] Step 102: Obtain a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery.

[0039] There are many ways to obtain the first battery voltage corresponding to the first battery and the second battery voltage corresponding to the second battery, for example, directly measuring the voltages of the two batteries, or reading stored voltage measurement data, where the voltage measurement data may be data stored after a device performs timed measurement, etc. The embodiment of the present application does not limit the way to obtain the first battery voltage corresponding to the first battery and the second battery voltage corresponding to the second battery.

[0040] Step 103: Determine target balancing parameters according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value, and a preset initial balancing voltage difference, wherein the target balancing parameters include a target balancing current.

[0041] Among them, the preset initial equalization voltage difference is used to indicate the minimum voltage difference value that needs to be met to start equalization. After obtaining the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial equalization voltage difference, the target equalization current can be solved. The target equalization current is used to indicate the current size that needs to be carried for a charge equalization. There are many ways to determine the target equalization parameters, which can be calculated by formula, or input into a model calculation, etc. The embodiment of the present application does not limit the method of determining the target equalization parameters based on the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial equalization voltage difference.

[0042] The charging balancing method provided in the embodiment of the present application can dynamically determine the current target balancing current according to the current impedance value and the current battery voltage of the battery, that is, determine the target balancing current that best matches the current battery state, thereby avoiding the problem of repeated balancing between batteries due to low temperature and battery aging, and greatly improving the adaptive ability of the charging balancing method.

[0043] In some embodiments, since the temperature of the battery will continue to rise during the charging process and different temperature ranges will correspond to different battery voltages, charging balancing may be started again when the temperature range of the battery changes.

[0044] Figure 2 A schematic diagram of another implementation flow of a charging equalization method provided in an embodiment of the present application. Figure 2 As shown, in Figure 1 Based on the embodiment shown, before obtaining the first impedance value corresponding to the first battery and the second impedance value corresponding to the second battery in step 101, the method further includes:

[0045] Step 201: Acquire a first battery temperature corresponding to the first battery and a second battery temperature corresponding to the second battery.

[0046] There are many methods for obtaining the first battery temperature corresponding to the first battery and the second battery temperature corresponding to the second battery, which may be direct measurement of the battery temperature or reading of stored battery temperature data, and the battery temperature data may be data stored after a sensor / chip / circuit measures the battery temperature regularly, etc. The embodiment of the present application does not limit the method for obtaining the first battery temperature corresponding to the first battery and the second battery temperature corresponding to the second battery.

[0047] Step 202: determine that the temperature interval corresponding to the first battery temperature is different from the temperature interval corresponding to the battery temperature of the first battery obtained previously, and / or determine that the temperature interval corresponding to the second battery temperature is different from the temperature interval corresponding to the battery temperature of the second battery obtained previously.

[0048] It should be noted that as long as the temperature interval corresponding to the current temperature of any one of the first battery and the second battery changes relative to the temperature interval corresponding to the last measured temperature, charge balancing can be initiated.

[0049] It is understandable that the above method performs charge balancing only when the temperature range corresponding to the temperature of any battery changes, which can avoid frequent charge balancing between the two batteries, improve charging efficiency and reduce device power consumption.

[0050] For example, assuming that 15-20 degrees is a temperature interval and 20-25 degrees is a temperature interval, if the first battery was 18 degrees and the second battery was 19 degrees in the previous measurement, and the first battery was 19 degrees and the second battery was 21 degrees in the current measurement, the temperature interval corresponding to the battery temperature of the second battery changes, and the subsequent steps can be executed, namely, obtaining the first impedance value corresponding to the first battery and the second impedance value corresponding to the second battery.

[0051] In some embodiments, the electronic device may store a correspondence between the battery temperature and the impedance value of the first battery and a correspondence between the battery temperature and the impedance value of the second battery for use in determining the current impedance value.

[0052] Figure 3 The following is a schematic diagram of a method for obtaining a battery impedance value according to an embodiment of the present application. Figure 3 As shown, the step 101 of obtaining the first impedance value corresponding to the first battery and the second impedance value corresponding to the second battery may include:

[0053] Step 1011: determining the first impedance value according to a preset first corresponding relationship and the first battery temperature, where the first corresponding relationship is a corresponding relationship between the battery temperature and the impedance value of the first battery.

[0054] Step 1012: Determine the second impedance value according to a preset second corresponding relationship and the second battery temperature, where the second corresponding relationship is a corresponding relationship between the battery temperature and the impedance value of the second battery.

[0055] It should be noted that the correspondence between the battery temperature and the impedance value of the first battery, and the correspondence between the battery temperature and the impedance value of the second battery can be data obtained through testing before leaving the factory, or can be data obtained when the user charges the electronic device. The embodiment of the present application does not limit the method for obtaining the correspondence between the battery temperature and the impedance value of the first battery, and the correspondence between the battery temperature and the impedance value of the second battery.

[0056] It is understandable that the method of obtaining the current impedance value according to the stored correspondence between the temperature and the impedance value can improve the speed of obtaining the current impedance value, thereby improving the accuracy and efficiency of charging balancing and reducing the power consumption of the device.

[0057] In some embodiments, before charging and balancing the first battery and the second battery, a corresponding relationship between the battery temperature and the impedance value may be generated first.

[0058] Figure 4 The following is a schematic diagram of the implementation flow of another charging equalization method provided in the embodiment of the present application. Figure 4 As shown, in Figure 1 Based on the embodiment shown, before obtaining the first impedance value corresponding to the first battery and the second impedance value corresponding to the second battery in step 101, the method further includes:

[0059] Step 301: Generate the first corresponding relationship according to a plurality of first battery voltages and a plurality of first battery currents corresponding to different temperatures of the first battery during the charging process; and generate the second corresponding relationship according to a plurality of second battery voltages and a plurality of second battery currents corresponding to different temperatures of the second battery during the charging process.

[0060] It should be noted that the method for generating the first correspondence includes obtaining a plurality of first battery voltages and a plurality of first battery currents corresponding to the first battery at different temperatures during the charging process, and generating the first correspondence according to the plurality of first battery voltages and the plurality of first battery currents. The method for generating the second correspondence is the same as the method for generating the first correspondence, and therefore will not be described in detail.

[0061] It is understandable that the above method can be performed when the user charges the electronic device for the first time, that is, it is also the first time to charge the first battery and the second battery, and the electronic device can automatically obtain the first correspondence relationship and the second correspondence relationship. This method is imperceptible to the user, and can obtain the latest first correspondence relationship and second correspondence relationship without affecting the user's use, thereby improving the accuracy of charging balancing.

[0062] Further, generating the first corresponding relationship according to a plurality of first battery voltages and a plurality of first battery currents corresponding to different temperatures during the charging process of the first battery may include: when the acquired plurality of first battery voltages and a plurality of first battery currents meet a preset calculation condition, performing discrete Fourier transform on the plurality of first battery voltages and the plurality of first battery currents to obtain battery impedances corresponding to the first battery at different temperatures, and generating the first corresponding relationship.

[0063] Correspondingly, generating the second corresponding relationship according to a plurality of second battery voltages and a plurality of second battery currents corresponding to different temperatures of the second battery during the charging process may include: when the acquired plurality of second battery voltages and a plurality of second battery currents meet the preset calculation condition, performing discrete Fourier transform on the plurality of second battery voltages and the plurality of second battery currents to obtain battery impedances corresponding to the second battery at different temperatures, and generating the second corresponding relationship.

[0064] It should be noted that before generating the first corresponding relationship, it is necessary to determine whether the multiple first battery voltages and multiple first battery currents obtained meet the preset calculation conditions. When the multiple first battery voltages and multiple first battery currents obtained meet the preset calculation conditions, the multiple first battery voltages and multiple first battery currents are subjected to discrete Fourier transform to obtain the battery impedance corresponding to the first battery at different temperatures, and generate the first corresponding relationship. The method for generating the second corresponding relationship is the same and will not be repeated here. When the collected battery voltage and current meet the preset calculation conditions, Fourier transform is performed again, which can improve the accuracy of the first corresponding relationship and the second corresponding relationship, thereby improving the accuracy of charge equalization.

[0065] Furthermore, before determining whether the obtained multiple first battery voltages and multiple first battery currents meet the preset calculation conditions, noise compensation can be performed on the obtained multiple first battery voltages and first battery currents, that is, the values ​​that are severely offset from the actual values ​​are compensated by an interpolation compensation method. The compensation method here can adopt an existing method, which is not limited in the embodiment of the present application. The same method is used for the obtained multiple second battery voltages and multiple second battery currents, which will not be repeated here. The above method can improve the accuracy of the obtained first corresponding relationship and the second corresponding relationship, thereby improving the accuracy of charging equalization.

[0066] Among them, the method for calculating battery impedance here can adopt the electrochemical impedance spectroscopy EIS method. The calculation process of the EIS method is Z = DFT (battery_voltage) / DFT (battery_current), battery_voltage refers to the battery voltage, battery_current refers to the battery current, Z is the complex impedance at different calculation frequencies, DFT is discrete Fourier transform, the function of DFT is to transform the signal from the time domain to the frequency domain, and the time domain and frequency domain are both discrete, which can be used to find out which sine waves a signal is composed of, and the result is the amplitude and phase of the sine wave. The specific DFT calculation formula is as follows:

[0067] Among them, the sine wave superposition X(k) represents the data of DFT transformation, while x(n) represents the sampled data, and N is the number of sampling points in the calculation cycle. When this algorithm theory is applied to electronic devices, the battery impedance information can be obtained in real time. Therefore, a software solution for battery balancing optimization can be designed based on EIS.

[0068] It is understandable that the EIS method is currently widely used in electrochemical energy systems (fuel cells, supercapacitors and secondary batteries), especially in predicting battery status (SOC, SOH) and determining factors that limit electrode performance (conductivity, charge transfer characteristics, passivation film characteristics, etc.). EIS has outstanding advantages in studying systems with complex interference factors. The technology is widely used in research fields such as corrosion and protection because it does not damage the target system such as the surface of the electrode to be tested.

[0069] In some embodiments, in order to ensure the accuracy of the obtained battery voltage value, charge balancing may be stopped for a period of time before obtaining the battery voltage, and then the battery voltage value may be obtained.

[0070] Before the step 102 of acquiring a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery, the method may further include: stopping charging the first battery and the second battery in the balanced charging mode; and acquiring the first battery voltage corresponding to the first battery and the second battery voltage corresponding to the second battery includes: acquiring the first battery voltage and the second battery voltage when a stop time corresponding to stopping charging the first battery and the second battery in the balanced charging mode reaches a preset time requirement.

[0071] It should be noted that before acquiring the first battery voltage and the second battery voltage, the equalizing charging mode may be stopped for charging the first battery and the second battery, and the first battery voltage and the second battery voltage may be acquired again when the stop time reaches a preset time. Exemplarily, the preset time may be 1s, and the first battery voltage and the second battery voltage may be acquired again after equalizing charging is stopped for 1s.

[0072] It can be understood that the method of collecting the first battery voltage and the second battery voltage after the duration of charging in the balanced charging mode reaches a preset duration can ensure the accuracy of the collected first battery voltage and the second battery voltage, thereby improving the accuracy of the calculated target balanced parameters and improving the charging balanced effect.

[0073] In some embodiments, the target balancing current value cannot be lower than the current balancing minimum value corresponding to the balancing charging mode, wherein the current balancing minimum value corresponding to the balancing charging mode may be the minimum value of the balancing current accuracy that can be provided by the balancing chip of the electronic device.

[0074] Figure 5 A schematic diagram of the implementation flow of another charging equalization method provided in an embodiment of the present application. Figure 5 As shown, in Figure 1Based on the illustrated embodiment, determining the target balancing parameter in step 103 according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial balancing voltage difference may include:

[0075] Step 1031: determining an initial balancing current according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value, and the preset initial balancing voltage difference.

[0076] It should be noted that, according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial balancing voltage difference, the initial balancing current may be determined by calculation according to a preset formula, or by inputting a preset model for calculation, etc. The embodiment of the present application does not limit the method for determining the initial balancing current.

[0077] Further, determining the initial balancing current according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial balancing voltage difference in step 1031 may include: obtaining a first voltage difference value, where the first voltage difference value is a difference between an absolute value of a difference between the first battery voltage and the second battery voltage and a preset initial balancing voltage difference; obtaining a target impedance value, where the target impedance value is a sum of the first impedance value and the second impedance value; and dividing the first voltage difference value by the target impedance value to obtain the initial balancing current.

[0078] Exemplarily, the formula for calculating the initial balancing current can be: i_ref=(batt1_volt-batt2_volt-5mv) / (batt1_r+batt2_r), where i_ref is the initial balancing current, batt1_volt is the first battery voltage, batt2_volt is the second battery voltage, 5mv is the preset initial balancing voltage difference, batt1_ is the first impedance value, and batt2_ is the second impedance value.

[0079] Step 1032: When the initial balancing current is not less than the current balancing minimum value corresponding to the balanced charging mode, determine the initial balancing current as the target balancing current.

[0080] After obtaining the initial balancing current, the relationship between the initial balancing current and the current balancing minimum value corresponding to the balanced charging mode is determined. If the initial balancing current is not less than the current balancing minimum value, the initial balancing current is determined to be the target balancing current, that is, the initial balancing current can be used for charging balancing.

[0081] In some embodiments, if the initial balancing current is less than the current balancing minimum value, it is necessary to redetermine the target balancing voltage difference according to the current balancing minimum value.

[0082] Figure 6 The following is a schematic diagram of the implementation flow of another charging equalization method provided in the embodiment of the present application. Figure 6 As shown, in Figure 5 Based on the embodiment shown, the method further includes:

[0083] Step 1033: when the initial balancing current is less than the current balancing minimum value, determine the target balancing current according to the current balancing minimum value, and the target balancing current is not less than the current balancing minimum value.

[0084] After obtaining the initial balancing current, the relationship between the initial balancing current and the current balancing minimum value corresponding to the balancing charging mode is determined. If the initial balancing current is less than the current balancing minimum value, it means that the balancing chip cannot implement the current balancing, so it is necessary to redetermine the target balancing current and the target balancing voltage difference according to the current balancing minimum value.

[0085] In the embodiment of the present application, the target balancing current is determined according to the current balancing minimum value by determining that the target balancing current is equal to or greater than the current balancing minimum value.

[0086] Step 1034: Determine the target balancing voltage difference according to the target balancing current, the first battery voltage, the second battery voltage, the first impedance value, and the second impedance value.

[0087] Among them, after the target balancing current is determined, the target balancing voltage difference can be determined according to the target balancing current, the first battery voltage, the second battery voltage, the first impedance value and the second impedance value. The determination method can be calculated according to a preset formula or calculated according to a preset model. The embodiment of the present application does not limit the method of determining the target balancing voltage difference according to the target balancing current, the first battery voltage, the second battery voltage, the first impedance value and the second impedance value.

[0088] Further, the step 1033 determines the target balancing voltage difference according to the target balancing current, the first battery voltage, the second battery voltage, the first impedance value and the second impedance value, and may include: obtaining a second voltage difference value, where the second voltage difference value is an absolute value of a difference between the first battery voltage and the second battery voltage; obtaining a third voltage difference value, where the third voltage difference value is obtained by multiplying the sum of the first impedance value and the second impedance value by the target balancing current; and calculating the difference between the second voltage difference value and the third voltage difference value to obtain the target balancing voltage difference.

[0089] Exemplarily, if the target balancing current is equal to the current balancing minimum value, the formula for calculating the target balancing voltage difference can be: abs(batt1_volt–batt2_volt)–i_ref*(batt1_r+batt2_r), wherein i_ref is the initial balancing current, batt1_volt is the first battery voltage, batt2_volt is the second battery voltage, batt1_r is the first impedance value, batt2_r is the second impedance value, and abs is the absolute value.

[0090] In summary, the charging balancing method provided in the embodiment of the present application can adapt to battery balancing in all temperature ranges and after battery aging, avoiding the problem of repeated battery balancing caused by fixing a single battery balancing voltage difference target value and its balancing current initial target value, thereby greatly improving the adaptive ability of the charging balancing method.

[0091] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.

[0092] Figure 7 The overall process of a method for generating a corresponding relationship between temperature and impedance provided in an embodiment of the present application is as follows. Figure 7 As shown, taking a mobile phone as an example, the method includes the following steps 401 to 413:

[0093] Step 401, the mobile phone starts.

[0094] Step 402: Hidl service loading. The EIS impedance spectrum analysis is calculated by creating an EIS thread in the Hidl service. If the battery voltage of the mobile phone is just starting up in the unified extensible firmware interface UEFI stage, when it exceeds the boot voltage, it will switch to loading the Android operating system, and then the Hidl service will be loaded.

[0095] Step 403: Determine whether the conditions for the EIS thread to run are met. Among them, the EIS calculation thread in the Hidl service is conditionally run. The current mechanism is to turn off the screen and fast charge. The battery current is relatively stable when the screen is turned off and charged, and there will be a current step during the fast charging process. Therefore, the EIS thread can only be run when the screen is turned off and fast charging is performed. In other cases, the thread is in a sleep state. After the waiting conditions are met, the thread will be scheduled to run by the CPU.

[0096] Step 404: If the condition is met, the ADC sampling value is updated and the voltage-current pair is filled, and the voltage-current pair is compensated for noise. If the condition is not met, the EIS thread enters the waiting queue to determine whether it needs to be awakened. If so, the condition for the EIS thread to run is set to meet and enter step 403. The EIS thread will collect the battery voltage and current at the current moment, and compensate for the noise of the battery voltage and current pair (interpolation compensation seriously deviates from the actual value).

[0097] Step 405: Determine whether the voltage and current meet the conditions for DFT. In particular, determine whether the conditions for discrete Fourier transform (DFT) are met, i.e., the number of voltage and current samples is sufficient, the first half of the sampling and the second half of the sampling are stable, and the first half of the current sampling is more than 1A higher than the second half. If the DFT transform is not met, the thread is executed in a loop every 1s.

[0098] Step 406: If the DFT is satisfied, perform DFT transformation on the battery voltage volt and the battery current curr respectively.

[0099] Step 407: Then the DFT of volt is divided by the DFT of curr to obtain the battery impedance batt_r at the calculation frequency.

[0100] Step 408: Then obtain the current battery temperature batt_temp.

[0101] Step 409: Then use the API interface for reading partitions to read the storage sector assigned to the charging module and parse it with a specific structure. The structure is in the following format:

[0102] Tag: specific identification

[0103] Data: Actual impedance values ​​at different temperature ranges

[0104] Tag is a special string whose value is normally equal to "EIS_r_table".

[0105] Step 410: Determine whether a special tag field is included. If the tag parsed from the storage area is not equal to EIS_r_table, it means that the mobile phone is a new one and has not run the EIS thread to calculate the battery impedance. At this time, you need to use the initial impedance in the configuration file dtsi to set it (the impedance value of each temperature range measured by the new battery in the laboratory environment), fill it into the data structure, and set the tag to the EIS_r_table field, and assemble the structure:

[0106] Tag:EIS_r_table

[0107] Data:

[0108] Temp_1\init_r1,

[0109] Temp_2\init_r2,

[0110] …

[0111] Temp_n_init_rn

[0112] Step 411: If the read partition tag is equal to EIS_r_table, it indicates that the EIS impedance table of each temperature range already exists in the partition.

[0113] Step 412: According to the current battery temperature, match it to a temperature range, that is, it is in the range of temp_1 to temp_n. For example, if the matched temperature is temp_m, the impedance r corresponding to temp_m, that is, the impedance corresponding to temp_m, is replaced with: Temp_m\batt_r.

[0114] Step 413: Finally, the entire structure after replacing the data is used to fill a specific storage partition so that the kernel can use the value of the partition.

[0115] Figure 8 The overall process of a charging equalization method provided in an embodiment of the present application is as follows. Figure 8 As shown, taking a mobile phone as an example, the method includes the following steps 501 to 514:

[0116] Step 501: The mobile phone starts.

[0117] Step 502: Load the Linux kernel module.

[0118] Step 503: I2C reads two battery fuel gauge chips to obtain the current battery temperature batt_temp.

[0119] Step 504: Determine whether the temperature range has changed or it is the first inquiry. If it is the first time to start up or the temperature ranges of the two batteries have changed, then the target voltage difference value of the battery balancing and the initial value of the balancing current need to be recalculated, otherwise continue to maintain the current value.

[0120] Step 504: The kernel initiates a request to Hidl to obtain the current impedance value.

[0121] Step 505: Hidl reads a specific storage partition and uses a specific structure to parse and send the result to the kernel. The kernel sends an event message to Hidl. After Hidl receives the message, Hidl reads a specific storage partition and uses a specific structure to parse and send the result to the kernel, and then obtains the battery impedance of each temperature range, as follows:

[0122] Temp_1\r1,

[0123] Temp_2\r2,

[0124] ***,

[0125] Temp_n\rn

[0126] Step 507: The two battery cells obtain corresponding battery impedances batt1_r and batt2_r according to the corresponding battery temperatures.

[0127] Step 508: Stop balancing the current balancing chip and wait for 1 second until the battery voltage stabilizes.

[0128] Step 509: I2C reads the voltage batt1_volt of battery 1 and the voltage batt2_volt of battery 2. Assume that the current charging current is i. batt1_volt = batt1_ocv + batt_r1*i, batt2_volt = batt2_ocv + batt_r2*i. Subtracting the two formulas, we get: batt1_ocv - batt2_ocv = batt1_volt - batt2_volt - (batt_r1 - batt_r2)*i.

[0129] Step 510: Determine whether batt1_volt>batt2_volt is greater than the preset balancing voltage difference of 5mv. Determine the relative size of Batt1_volt and batt2_volt, if batt1_volt is greater than batt2_volt, then the initial balancing current i_ref=(batt1_volt-batt2_volt-5mv) / (batt1_r+batt2_r), otherwise the initial balancing current i_ref=(batt2_volt-batt1_volt-5mv) / (batt1_r+batt2_r).

[0130] Step 511: Assume that battery 1 needs to carry current to battery 2 at this time, and the carried current is i_ref. batt1_volt1=batt1_ocv+batt_r1*(i-i_ref), batt2_volt1=batt2_ocv+batt_r2*(i+i_ref). Subtracting the two formulas, we get i_ref=((batt1_volt-batt2_volt)-(batt1_volt1-batt1_volt2)) / (batt1_r+batt2_r). Because we need the current voltage difference to be 5mv, it is assumed that batt1_volt1-batt1_volt2=5mv. In other words, see how much balancing current needs to be carried while maintaining a 5mv voltage difference. If the calculated balancing current i_ref is larger than the minimum value of the unit accuracy of the balancing chip, it proves that it can meet the 5mv requirement. Otherwise, the accuracy of the smaller chip is not enough, that is, it cannot meet 5mv. If it cannot meet the requirement, the 5mv needs to be increased.

[0131] Step 512: Determine whether the calculated balancing current is greater than the minimum precision value of the balancing chip. Determine if i_ref> the minimum precision value of the balancing chip. If the voltage difference of 5mv can be satisfied, the balancing initial value current i_ref is rounded up according to the minimum precision value of the balancing chip, and enter 514.

[0132] Step 513: If the initial balancing current i_ref is not greater than the minimum precision value of the balancing chip, the 5mv voltage difference cannot be satisfied and the high voltage difference value needs to be adjusted. The initial iref = the minimum unit value of the balancing chip precision and the new voltage difference value balance_volt = abs(batt1_volt–batt2_volt)–i_ref*(batt1_r+batt2_r).

[0133] Step 514: Finally, the balancing is restarted according to the new balancing voltage difference value and the balancing initial current.

[0134] The above embodiment provides a battery balancing software optimization design solution based on EIS. This solution calculates the impedance of the two batteries through EIS, and dynamically calculates the target voltage of battery balancing and its initial current for balancing based on the current impedance information, avoiding the problem of repeated balancing back and forth after low temperature and battery aging. This solution can use EIS to accurately calculate the voltage difference and current value, greatly improving the adaptive (adapting to temperature changes + battery impedance changes) ability of the charging balancing method.

[0135] It should be understood that, although the steps in the above-mentioned flowcharts are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0136] Based on the foregoing embodiments, the embodiments of the present application provide a charge equalization device, and each module included in the device and each unit included in each module can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0137] Fig. 9 A schematic diagram of the structure of a charging equalization device provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the device 600 includes an impedance acquisition module 601, a voltage acquisition module 602 and a parameter calculation module 603, wherein:

[0138] An impedance acquisition module 601 is used to acquire a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery when the first battery and the second battery are charged in a balanced charging mode;

[0139] A voltage acquisition module 602, configured to acquire a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery;

[0140] The parameter calculation module 603 is used to determine target balancing parameters according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and a preset initial balancing voltage difference, wherein the target balancing parameters include a target balancing current.

[0141] In some embodiments, the device further includes a temperature determination module, wherein the temperature determination module is configured to obtain a first battery temperature corresponding to the first battery and a second battery temperature corresponding to the second battery; determine that a temperature interval corresponding to the first battery temperature is different from a previously obtained temperature interval corresponding to the battery temperature of the first battery, and / or determine that a temperature interval corresponding to the second battery temperature is different from a previously obtained temperature interval corresponding to the battery temperature of the second battery.

[0142] In some embodiments, the impedance acquisition module 601 includes a first acquisition unit and a second acquisition unit, wherein the first acquisition unit is used to determine the first impedance value according to a preset first correspondence relationship and the first battery temperature, and the first correspondence relationship is the correspondence relationship between the battery temperature and the impedance value of the first battery; the second acquisition unit is used to determine the second impedance value according to a preset second correspondence relationship and the second battery temperature, and the second correspondence relationship is the correspondence relationship between the battery temperature and the impedance value of the second battery.

[0143] In some embodiments, the device further includes a relationship acquisition module, wherein the relationship acquisition module is configured to generate the first corresponding relationship according to a plurality of first battery voltages and a plurality of first battery currents corresponding to different temperatures of the first battery during the charging process; and to generate the second corresponding relationship according to a plurality of second battery voltages and a plurality of second battery currents corresponding to different temperatures of the second battery during the charging process.

[0144] In some embodiments, the relationship acquisition module is specifically used to: when the acquired multiple first battery voltages and multiple first battery currents meet the preset calculation conditions, perform discrete Fourier transform on the multiple first battery voltages and multiple first battery currents to obtain the battery impedance corresponding to the first battery at different temperatures, and generate the first corresponding relationship; and when the acquired multiple second battery voltages and multiple second battery currents meet the preset calculation conditions, perform discrete Fourier transform on the multiple second battery voltages and multiple second battery currents to obtain the battery impedance corresponding to the second battery at different temperatures, and generate the second corresponding relationship.

[0145] In some embodiments, the device further includes a balancing stop module. The balancing stop module is used to stop charging the first battery and the second battery using the balancing charging mode. The voltage acquisition module 602 is specifically used to: when the stop time corresponding to stopping charging the first battery and the second battery using the balancing charging mode reaches a preset time requirement, acquire the first battery voltage and the second battery voltage.

[0146] In some embodiments, the parameter calculation module 603 includes a first calculation unit and a first determination unit, wherein the first determination unit is used to determine the initial balancing current according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial balancing voltage difference; the first determination unit is used to determine that the initial balancing current is the target balancing current when the initial balancing current is not less than the current balancing minimum value corresponding to the balanced charging mode.

[0147] In some embodiments, the parameter calculation module 603 further includes a second determination unit and a second calculation unit, wherein the second determination unit is used to determine the target balancing current according to the current balancing minimum value when the initial balancing current is less than the current balancing minimum value, and the target balancing current is not less than the current balancing minimum value; the second calculation unit is used to determine the target balancing voltage difference according to the target balancing current, the first battery voltage, the second battery voltage, the first impedance value, and the second impedance value.

[0148] In the embodiment of the present application, the current target balancing current can be dynamically determined according to the current impedance value and the current battery voltage of the battery, thereby avoiding the problem of repeated balancing between batteries after low temperature and battery aging, and greatly improving the adaptive ability of the charging balancing method.

[0149] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0150] It should be noted that in the embodiments of this application Fig. 9 The division of modules in the charging equalization device shown is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.

[0151] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0152] Fig.10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device 100 includes a battery pack 130, a memory 120, a processor 110, and a computer program 121 stored in the memory 120 and executable on the processor 110. The battery pack 130 includes a first battery 131 and a second battery 132. The processor 110 is connected to the memory 120, the first battery 131, and the second battery 132, respectively; when the processor 110 executes the computer program, the steps of the charge equalization method provided in the above embodiment are implemented.

[0153] The processor 110 may include one or more processing units. For example, the processor 110 is a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs). Different processing units may be independent devices or integrated into one or more processors.

[0154] The memory 120 can be used to store computer executable program codes, which include instructions. The internal memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data (such as audio data, video data, etc.) created during the use of the true wireless headset 100. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the true wireless headset 100 by running instructions stored in the memory 120 and / or instructions stored in a memory provided in the processor.

[0155] In application, the battery pack 130 may include at least two batteries connected in parallel or in series, specifically a first battery 131 and a second battery 132, wherein the capacities of the first battery 131 and the second battery 132 may be different, for example, the capacity of the first battery 131 is 1500mAh, and the capacity of the second battery 132 is 2000mAh. The embodiment of the present application does not impose any restrictions on the number of batteries and battery capacity included in the battery pack 130.

[0156] It should be noted that the battery pack 130 provided in the embodiment of the present application is a unit in a power module of an electronic device, and the battery pack 130 including a first battery 131 and a second battery 132 is merely exemplary, and the first battery 131 and the second battery 132 can be regarded as the battery with the smallest capacity and the battery with the largest capacity in the battery pack 130.

[0157] In one embodiment, the battery pack 130 further includes a through-shaft. In application, the electronic device 100 may be a folding screen mobile phone, the first battery 131 and the second battery 132 may be installed in the main boards of the two folding screens, respectively, and the first battery 131 and the second battery 132 may be connected by a physical structure. The embodiment of the present application does not impose any restrictions on the specific connection method of the battery pack 130.

[0158] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiment can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the modules in the above-mentioned system can refer to the corresponding process in the above-mentioned charging equalization method embodiment, which will not be repeated here.

[0159] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the charge equalization method provided in the above embodiment are implemented.

[0160] The above-mentioned computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, 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 above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0161] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0162] The program code embodied on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.

[0163] Computer program code for performing the operations of the present specification may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may 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 cases involving a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0164] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the charging equalization method provided in the above method embodiment.

[0165] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center to another website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0166] It should be noted here that the description of the above storage medium, program product and device embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiment of this application for understanding.

[0167] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.

[0168] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.

[0169] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0170] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.

[0171] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0172] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0173] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0174] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0175] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0176] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0177] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0178] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A charging equalization method, characterized in that: Applied to an electronic device, the electronic device includes a first battery and a second battery, and the method includes: When the first battery and the second battery are charged in a balanced charging mode, obtaining a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery; Acquire a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery; A target balancing parameter is determined according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value, and a preset initial balancing voltage difference, where the target balancing parameter includes a target balancing current.

2. The method according to claim 1, characterized in that Before obtaining the first impedance value corresponding to the first battery and the second impedance value corresponding to the second battery, the method further includes: Acquire a first battery temperature corresponding to the first battery and a second battery temperature corresponding to the second battery; Determine that the temperature interval corresponding to the first battery temperature is different from the temperature interval corresponding to the battery temperature of the first battery obtained previously, and / or determine that the temperature interval corresponding to the second battery temperature is different from the temperature interval corresponding to the battery temperature of the second battery obtained previously.

3. The method according to claim 2, characterized in that The obtaining a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery includes: determining the first impedance value according to a preset first corresponding relationship and the first battery temperature, wherein the first corresponding relationship is a corresponding relationship between the battery temperature and the impedance value of the first battery; The second impedance value is determined according to a preset second corresponding relationship and the second battery temperature, where the second corresponding relationship is a corresponding relationship between the battery temperature and the impedance value of the second battery.

4. The method according to claim 3, characterized in that In the case where the first battery and the second battery are charged in the balanced charging mode, before obtaining a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery, the method further includes: generating the first corresponding relationship according to a plurality of first battery voltages and a plurality of first battery currents corresponding to different temperatures of the first battery during the charging process; and The second corresponding relationship is generated according to a plurality of second battery voltages and a plurality of second battery currents corresponding to different temperatures of the second battery during the charging process.

5. The method according to claim 4, characterized in that The generating the first corresponding relationship according to a plurality of first battery voltages and a plurality of first battery currents corresponding to the first battery being at different temperatures during the charging process includes: When the obtained multiple first battery voltages and multiple first battery currents meet a preset calculation condition, performing discrete Fourier transform on the multiple first battery voltages and multiple first battery currents to obtain battery impedances corresponding to the first battery at different temperatures, and generating the first corresponding relationship; Correspondingly, generating the second corresponding relationship according to a plurality of second battery voltages and a plurality of second battery currents corresponding to the second battery being at different temperatures during the charging process includes: When the acquired multiple second battery voltages and multiple second battery currents meet the preset calculation condition, discrete Fourier transform is performed on the multiple second battery voltages and multiple second battery currents to obtain battery impedances corresponding to the second battery at different temperatures, and the second corresponding relationship is generated.

6. The method according to claim 2, characterized in that Before acquiring a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery, the method further includes: Stop charging the first battery and the second battery in the balanced charging mode; The obtaining a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery includes: When the stop time corresponding to stopping charging the first battery and the second battery in the balanced charging mode reaches a preset time requirement, the first battery voltage and the second battery voltage are obtained.

7. The method according to claim 1, characterized in that The determining of the target balancing parameter according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial balancing voltage difference includes: determining an initial balancing current according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value, and the preset initial balancing voltage difference; In a case where the initial balancing current is not less than the current balancing minimum value corresponding to the balanced charging mode, the initial balancing current is determined to be the target balancing current.

8. The method according to claim 7, characterized in that The determining the initial balancing current according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and the preset initial balancing voltage difference includes: Acquire a first voltage difference value, where the first voltage difference value is a difference between an absolute value of a difference between the first battery voltage and the second battery voltage and a preset initial equilibrium voltage difference; Acquire a target impedance value, where the target impedance value is the sum of the first impedance value and the second impedance value; The first voltage difference value is divided by the target impedance value to obtain the initial balancing current.

9. The method according to claim 7, characterized in that: The target equalization parameter also includes a target equalization pressure difference, and the method further includes: In a case where the initial balancing current is less than the current balancing minimum value, determining the target balancing current according to the current balancing minimum value, wherein the target balancing current is not less than the current balancing minimum value; The target balancing voltage difference is determined according to the target balancing current, the first battery voltage, the second battery voltage, the first impedance value, and the second impedance value.

10. The method according to claim 9, characterized in that The determining the target balancing voltage difference according to the target balancing current, the first battery voltage, the second battery voltage, the first impedance value, and the second impedance value includes: Acquire a second voltage difference value, where the second voltage difference value is an absolute value of a difference between the first battery voltage and the second battery voltage; Acquire a third voltage difference value, where the third voltage difference value is obtained by multiplying the sum of the first impedance value and the second impedance value by the target balancing current; The difference between the second pressure difference value and the third pressure difference value is calculated to obtain the target equilibrium pressure difference.

11. A charging equalization device, characterized in that: Applied to an electronic device, the electronic device comprises a first battery and a second battery, and the device comprises: an impedance acquisition module, configured to acquire a first impedance value corresponding to the first battery and a second impedance value corresponding to the second battery when the first battery and the second battery are charged in a balanced charging mode; a voltage acquisition module, used to acquire a first battery voltage corresponding to the first battery and a second battery voltage corresponding to the second battery; The parameter calculation module is used to determine a target balancing parameter according to the first battery voltage, the second battery voltage, the first impedance value, the second impedance value and a preset initial balancing voltage difference, wherein the target balancing parameter includes a target balancing current.

12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps of the charging equalization method according to any one of claims 1 to 10 are implemented.

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

Citation Information

Cited By

  • Intelligent battery data simulation transmission method and device, electronic equipment and storage medium

    CN121585489A