Battery equalization method and device, electronic equipment and computer readable storage medium

By connecting multiple batteries in parallel in electronic devices and adjusting their discharge speeds using the current limiting module, the problem of battery discharge mismatch in the prior art is solved, and the full utilization of power and the improvement of battery life are achieved.

CN119134554APending Publication Date: 2024-12-13GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310702806.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing electronic devices cannot fully utilize the power of multiple batteries, resulting in limited battery life and the inability to discharge the battery simultaneously, wasting part of the power.

Method used

By setting the first battery and the second battery in the electronic device in parallel, the current limiting module is connected in series with the first battery, obtaining the electrical parameters of the two batteries, adjusting the current limiting parameters to match their discharge speed, so that they basically complete the discharge at the same time.

Benefits of technology

The full utilization of the power of the first battery and the second battery is achieved, the battery life of the electronic device is extended, and waste and battery life are reduced due to mismatch in battery discharge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119134554A_ABST
    Figure CN119134554A_ABST
Patent Text Reader

Abstract

The invention discloses a battery equalization method, a battery equalization device, electronic equipment and a nonvolatile computer readable storage medium. The method is applied to the electronic equipment, the electronic equipment comprises a first battery, a second battery and a current limiting module, the capacity of the first battery is smaller than that of the second battery, the first battery and the second battery are connected in parallel, the current limiting module and the first battery are connected in series, and the method comprises the steps of obtaining a first electrical parameter of the first battery and a second electrical parameter of the second battery; according to the first electrical parameter and the second electrical parameter, a current limiting parameter of a current limiting module is adjusted, and the current limiting parameter comprises the maximum discharge current; and controlling a current limiting module to perform current limiting on the first battery according to the maximum discharge current, so that the first electric parameter after current limiting is matched with the second electric parameter. The current limiting module is used for dynamically adjusting the first electrical parameter of the first battery, so that the first electrical parameter is matched with the second electrical parameter, the first battery and the second battery can basically complete discharging at the same time, and the advantages of multiple batteries are exerted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery control technology, and more specifically, to a battery balancing method, a battery balancing device, an electronic device, and a non-volatile computer-readable storage medium. Background Art

[0002] As users' demand for electronic devices continues to increase, the power consumption of electronic devices is also increasing. In order to improve the battery life of electronic devices, some electronic devices are now equipped with multiple batteries to improve the battery life. However, current electronic devices cannot fully utilize the power of multiple batteries and it is difficult to give full play to the advantages of multiple batteries. Summary of the invention

[0003] Embodiments of the present application provide a battery balancing method, a battery balancing device, an electronic device, and a non-volatile computer-readable storage medium.

[0004] A battery balancing method according to an embodiment of the present application is applied to an electronic device, the electronic device comprising a first battery, a second battery and a current limiting module, the capacity of the first battery being smaller than the capacity of the second battery, the first battery and the second battery being connected in parallel, the current limiting module being connected in series with the first battery, the method comprising acquiring a first electrical parameter of the first battery and a second electrical parameter of the second battery; adjusting a current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter, the current limiting parameter comprising a maximum discharge current; and controlling the current limiting module to limit the current of the first battery according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

[0005] The battery equalization device of the present application is applied to an electronic device, the electronic device includes a first battery, a second battery and a current limiting module, the capacity of the first battery is smaller than the capacity of the second battery, the first battery and the second battery are connected in parallel, the current limiting module is connected in series with the first battery, and the device includes an acquisition module, an adjustment module and a matching module. The acquisition module is used to acquire a first electrical parameter of the first battery and a second electrical parameter of the second battery; the adjustment module is used to adjust the current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter, and the current limiting parameter includes a maximum discharge current. The matching module is used to control the current limiting module to limit the current of the first battery according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

[0006] An electronic device in one embodiment of the present application includes multiple batteries, a current limiting module and a processor, wherein the current limiting module is connected to the multiple batteries, the multiple batteries are connected in series, and the processor is used to execute a battery balancing method. The battery balancing method includes obtaining a first electrical parameter of the first battery and a second electrical parameter of the second battery; adjusting a current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter, wherein the current limiting parameter includes a maximum discharge current; and controlling the current limiting module to limit the current of the first battery according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

[0007] The non-volatile computer-readable storage medium of the embodiment of the present application includes a computer program, and when the computer program is executed by a processor, the processor executes a battery balancing method. The battery balancing method is applied to an electronic device, the electronic device includes a first battery, a second battery and a current limiting module, the capacity of the first battery is less than the capacity of the second battery, the first battery and the second battery are connected in parallel, and the current limiting module is connected in series with the first battery, the method includes obtaining a first electrical parameter of the first battery and a second electrical parameter of the second battery; adjusting a current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter, the current limiting parameter including a maximum discharge current; controlling the current limiting module to limit the current of the first battery according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

[0008] In the battery balancing method, battery balancing device, electronic device, and non-volatile computer-readable storage medium of the embodiments of the present application, when the first battery and the second battery are connected in parallel, the first battery and the current limiting module are connected in series, and the processor can adjust the current limiting parameter in a targeted manner according to the first electrical parameter and the second electrical parameter. Then, the processor controls the current limiting module to limit the current of the first battery according to the maximum discharge current, so as to dynamically adjust the first electrical parameter of the first battery by using the current limiting module, so that the first electrical parameter and the second electrical parameter match, ensure that the discharge speeds of the first battery and the second battery are adapted, so that the first battery and the second battery can basically complete the discharge at the same time, so as to make full use of the power of the first battery and the second battery, thereby giving play to the advantages of multiple batteries.

[0009] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0011] Figure 1 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0012] Figure 2 is a schematic plan view of an electronic device according to some embodiments of the present application;

[0013] Figure 3 is a circuit connection diagram of an electronic device according to some embodiments of the present application;

[0014] Figure 4 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0015] Figure 5 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0016] Figure 6 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0017] Figure 7 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0018] Figure 8 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0019] Fig. 9 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0020] Fig.10 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0021] Fig.11 is a flowchart of a battery equalization method in certain embodiments of the present application;

[0022] Fig.12 is a module schematic diagram of a battery equalization device in certain embodiments of the present application;

[0023] Fig.13 It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0024] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0025] See also Figure 1 and Figure 2 The battery balancing method of the embodiment of the present application can be applied to an electronic device 100, the electronic device 100 includes a first battery 20, a second battery 30 and a current limiting module 40, the capacity of the first battery 20 is smaller than the capacity of the second battery 30, the first battery 20 and the second battery 30 are connected in parallel, and the current limiting module 40 is connected in series with the first battery 20, and the battery balancing method includes:

[0026] Step 011: Acquire a first electrical parameter of the first battery 20 and a second electrical parameter of the second battery 30;

[0027] Specifically, in order to improve the battery life of the electronic device 100 and realize fast battery charging, some electronic devices 100 are now equipped with two batteries with different capacities. For example, most foldable models currently have two batteries with different capacities and adopt a parallel charging scheme for large and small batteries. In this case, the circuit connection diagram of the electronic device can be as follows: Figure 3 Generally speaking, the impedance of the circuit where the first battery 20 with a smaller capacity is located is smaller, and the impedance of the circuit where the second battery 30 with a larger capacity is located is larger. The first battery 20 and the second battery 30 are connected in parallel, resulting in the first battery 20 charging faster than the second battery 30, and the first battery 20 discharging faster than the second battery 30. When the electronic device 100 is shut down, the voltage of the first battery 20 and the second battery 30 will gradually decrease to the shutdown voltage. At this time, in order to protect the battery and prevent the battery from over-discharging, as long as one of the two batteries reaches the shutdown voltage, for example, 3.3 volts, the electronic device 100 will shut down. However, since the discharge speed of the first battery 20 is faster than that of the second battery 30, the remaining power of the first battery 20 decreases faster, so that the first battery 20 reaches the shutdown voltage faster than the second battery 30, resulting in the electronic device 100 shutting down before a portion of the power in the second battery 30 is released, thereby wasting this portion of the unreleased voltage. At the same time, if the problem of shutting down before the second battery 30 is completely discharged exists for a long time, it may also affect the battery life of the second battery 30.

[0028] The electrical parameters of the battery, such as the voltage and capacity of the battery, can reflect the remaining power and discharge speed of the battery. The electronic device 100 also includes a processor 50 (such as an application processor (AP)), which obtains the electrical parameters corresponding to the first battery 20 and the second battery 30 when the two batteries are charged or discharged to determine whether the first electrical parameter and the second electrical parameter are balanced, and whether the first battery 20 and the second battery 30 can release the power almost at the same time, so as to facilitate the subsequent targeted adjustment of the first electrical parameter according to the judgment result, so that when the electronic device 100 is turned off, the power in the first battery 20 and the power in the second battery 30 are less or even zero.

[0029] Step 012: adjusting the current limiting parameters of the current limiting module 40 according to the first electrical parameter and the second electrical parameter, where the current limiting parameters include the maximum discharge current;

[0030] Specifically, the current limiting module 40 is connected in series with the first battery 20, and the processor 50 can adjust the first electrical parameter by controlling the current limiting parameter of the current limiting module 40 to adjust the discharge speed of the first battery 20. The current limiting parameter includes the maximum discharge current, and the current limiting module 40 can control the current passing through the first battery 20 by controlling the maximum discharge current of the first battery 20, thereby controlling the discharge speed of the first battery 20 and the remaining power of the first battery 20.

[0031] Therefore, when obtaining the first electrical parameter and the second electrical parameter, the processor 50 can adjust the maximum discharge current in a targeted manner according to the magnitude relationship between the first electrical parameter and the second electrical parameter, so as to adjust the first electrical parameter accordingly through the current limiting module 40, so that the first electrical parameter and the second electrical parameter after current limiting match.

[0032] Step 013: Control the current limiting module 40 to limit the current of the first battery 20 according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

[0033] Specifically, after the processor 50 adjusts the maximum discharge current of the current limiting module 40 according to the first electrical parameter and the second electrical parameter, the processor 50 can control the current limiting module 40 to limit the current of the first battery 20 according to the maximum discharge current, so that the current flowing through the first battery 20 is always maintained within the maximum discharge current, so as to adjust the first electrical parameter of the first battery 20 so that the first electrical parameter and the second electrical parameter after current limiting match, thereby ensuring that the remaining power of the first battery 20 and the remaining power of the second battery 30 can be released basically at the same time.

[0034] In the battery balancing method of the embodiment of the present application, when the first battery 20 and the second battery 30 are connected in parallel, the first battery 20 and the current limiting module 40 are connected in series, and the processor 50 can adjust the current limiting parameter in a targeted manner according to the first electrical parameter and the second electrical parameter, and then the processor 50 controls the current limiting module 40 to limit the current of the first battery 20 according to the maximum discharge current, so as to use the current limiting module 40 to dynamically adjust the first electrical parameter of the first battery 20, so that the first electrical parameter and the second electrical parameter match, ensure that the discharge speed of the first battery 20 and the second battery 30 are adapted, so that the first battery 20 and the second battery 30 can basically complete the discharge at the same time, thereby making full use of the power of the first battery 20 and the second battery 30. In this way, the processor 50 can, on the one hand, give play to the advantages of multiple batteries, and on the other hand, avoid the situation where the first battery 20 or the second battery 30 still has remaining power after the electronic device 100 is shut down, resulting in adverse effects on the battery life of the corresponding battery.

[0035] See also Figure 2 and Figure 4 , the current limiting parameters also include a current limiting mode, step 012: adjusting the current limiting parameters of the current limiting module 40 according to the first electrical parameter and the second electrical parameter, including:

[0036] Step 01201: when the electronic device 100 enters the discharging state from the charging state, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, the current limiting mode of the current limiting module 40 is set to no current limiting;

[0037] Step 01202: When the electronic device 100 enters a discharging state from a charging state, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold, setting the maximum discharge current to the first electrical parameter and the current limiting mode to partial current limiting;

[0038] Step 01203: When the electronic device 100 enters the discharging state from the charging state, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, the maximum discharge current is set to 0 and the current limiting mode is set to full current limiting.

[0039] Specifically, the current limiting mode is used to limit the working state of the current limiting mode 40, such as no current limiting, partial current limiting or complete current limiting. When the electronic device 100 enters the discharge state from the charging state, for example, when the charging cable is unplugged from the electronic device 100, the current limiting mode of the current limiting module 40 may be empty. At this time, the processor 50 needs to determine the magnitude relationship between the remaining power of the first battery 20 and the remaining power of the second battery 30 based on the difference between the first electrical parameter and the second electrical parameter, so as to determine the current limiting mode of the current limiting module 40 in a targeted manner, thereby ensuring that the discharge speeds of the first battery 20 and the second battery 30 are adapted, so that when the electronic device 100 is turned off, the power in the first battery 20 and the power in the second battery 30 are less or even zero.

[0040] The preset difference threshold is the maximum value of the absolute value of the difference between the first electrical parameter and the second electrical parameter when the discharge speed of the first battery 20 and the second battery 30 can be considered to be adapted, that is, when the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, the processor 50 can be considered that the remaining power of the first battery 20 and the remaining power of the second battery 30 are close, and the discharge speed of the first battery 20 and the second battery 30 are adapted; when the absolute value of the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, the processor 50 can be considered that the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30 is large, the difference between the discharge speed of the first battery 20 and the second battery 30 is large, and the discharge speed of the first battery 20 and the second battery 30 is not adapted. For example, the preset difference threshold is 20 millivolts. When the absolute value of the difference between the first electrical parameter and the second electrical parameter is greater than 20 millivolts, it means that the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30 is large, and the processor 50 needs to adjust the discharge speed of the first battery 20. In particular, this article takes the case where the preset difference threshold is a positive value as an example for explanation. If the preset difference threshold is a negative value, the judgment result and the corresponding measures are opposite to the case where the preset difference threshold is a positive value.

[0041] The electronic device 100 may have two current limiting modules 40, namely a first current limiting module 41 and a second current limiting module 42. The first current limiting module 41 is provided on the circuit of the first battery 20, and the second current limiting module 42 is connected in parallel with the first current limiting module 41. The processor 50 may control the current passing through the first battery 20 by controlling the first current limiting module 41 and the second current limiting module 42.

[0042] When the electronic device 100 enters the discharge state from the charging state, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, the processor 50 can confirm that the remaining power of the first battery 20 is close to the remaining power of the second battery 30, and the discharge speeds of the first battery 20 and the second battery 30 are adapted. At this time, there is no need for current limiting, that is, there is no need for the current limiting module 40 to adjust the discharge speed of the first battery 20. Therefore, at this time, the processor 50 sets the current limiting mode of the current limiting module 40 to no current limiting. When the current limiting mode of the current limiting module 40 is set to no current limiting, the second current limiting module 42 can short-circuit the first current limiting module 41, so that the current passing through the first current limiting module 41 is not limited by the first current limiting module 41, thereby achieving the effect of no current limiting. In this way, the processor 50 can maintain the discharge speed of the first battery 20 and the second battery 30 on the one hand, and reduce the energy consumption of the current limiting module 40 on the other hand.

[0043] When the electronic device 100 enters the discharge state from the charging state, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, it means that the remaining power of the first battery 20 is much greater than the remaining power of the second battery 30. At this time, the discharge speed of the first battery 20 needs to be accelerated to reduce the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30. Therefore, the processor 50 can set the maximum discharge current to the first electrical parameter, and set the current limiting mode to partial current limiting. At this time, the processor 50 can disconnect any one of the first current limiting module 41 and the second current limiting module 42, and use the other to limit the current passing through the first battery 20, or directly use the first current limiting module 41 and the second current limiting module 42 to limit the current passing through the first battery 20 at the same time. In this way, the processor 50 can further adjust the maximum discharge current based on the first electrical parameter, and adjust the discharge speed of the first battery 20 by the maximum discharge current, so that the discharge speed of the first battery 20 is appropriate, thereby reducing the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30.

[0044] When the electronic device 100 enters the discharging state from the charging state, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, it can be confirmed that the remaining power of the second battery 30 is much greater than the remaining power of the first battery 20. At this time, the processor 50 sets the maximum discharge current to 0, and the current limiting module 40 is fully current limited. At this time, the first current limiting module 41 and the second current limiting module 42 are completely disconnected, so that the first battery 20 cannot discharge when the discharge speed of the second battery 30 remains unchanged, thereby reducing the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30.

[0045] In this way, when the electronic device 100 just enters the discharging state from the charging state, the processor 50 can determine the maximum discharge current and the current limiting mode in a targeted manner according to the difference between the first electrical parameter and the second electrical parameter, thereby ensuring that the remaining power of the first battery 20 and the second battery 30 are close, so that the first battery 20 and the second battery 30 can discharge the power almost at the same time.

[0046] See also Figure 2 and Figure 5 In some embodiments, step 012: adjusting the current limiting parameter of the current limiting module 40 according to the first electrical parameter and the second electrical parameter, further includes:

[0047] Step 01204: when the electronic device 100 is in a discharging state and the current limiting mode of the current limiting module 40 is non-current limiting, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, the current limiting mode is updated to non-current limiting;

[0048] Step 01205: When the electronic device 100 is in a discharging state and the current limiting mode is non-current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold, the maximum discharge current is updated to the first electrical parameter and the current limiting mode is updated to partial current limiting; and

[0049] Step 01206: When the electronic device 100 is in a discharging state and the current limiting mode is no current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than a preset difference threshold, the maximum discharge current is updated to 0 and the current limiting mode is updated to full current limiting.

[0050] Specifically, when the electronic device 100 is in a discharging state and the current limiting mode is no current limiting, the discharge speed of the first battery 20 may be faster, causing the magnitude relationship between the first electrical parameter and the second electrical parameter to change at any time. Therefore, the processor 50 also needs to update the current limiting mode and the maximum discharge current in real time based on the absolute value of the difference between the first electrical parameter and the second electrical parameter.

[0051] If the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, it means that the remaining power of the first battery 20 and the remaining power of the second battery 30 are close, and the discharge speeds of the first battery 20 and the second battery 30 are adapted. At this time, the processor 50 does not need to adjust the discharge speed of the first battery 20, so the current limiting mode is updated to no current limiting.

[0052] If the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, it means that the remaining power of the first battery 20 is much greater than the remaining power of the second battery 30 at this time, and the discharge speed of the first battery 20 needs to be adjusted. Therefore, the processor 50 updates the maximum discharge current to the first electrical parameter, so that the maximum discharge current of the first battery 20 is the discharge current at this time, and at the same time updates the current limiting mode to partial current limiting, so that the maximum discharge current can be adaptively adjusted according to the first electrical parameter and the second electrical parameter in the future, thereby quickly reducing the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30.

[0053] If the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, it means that the remaining power of the second battery 30 is much greater than the remaining power of the first battery 20. At this time, the processor 50 can update the maximum discharge current to 0 and update the current limiting mode to full current limiting, so that when the second battery 30 continues to discharge, the first battery 20 cannot continue to discharge, so as to quickly reduce the difference between the remaining power of the second battery 30 and the remaining power of the first battery 20, thereby ensuring that the first battery 20 and the second battery 30 can basically complete the discharge at the same time.

[0054] In this way, when the electronic device 100 is in a discharging state and the current limiting mode is unlimited current, the processor 50 can update the maximum discharge current and the current limiting mode in a targeted manner according to the difference between the first electrical parameter and the second electrical parameter, thereby ensuring that the remaining power of the first battery 20 and the second battery 30 are close, so that the power of the first battery 20 and the power of the second battery 30 can be basically used up, thereby giving full play to the advantages of multiple batteries.

[0055] See also Figure 2 and Figure 6 In some embodiments, step 012: adjusting the current limiting parameter of the current limiting module 40 according to the first electrical parameter and the second electrical parameter, further includes:

[0056] Step 01207: when the electronic device 100 is in a discharging state and the current limiting mode of the current limiting module 40 is partial current limiting, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, the maximum discharge current is maintained unchanged;

[0057] Step 01208: when the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold, the maximum discharge current is increased according to a preset step size; and

[0058] Step 01209: When the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than a preset difference threshold, the maximum discharge current is reduced according to a preset step size.

[0059] Specifically, when the electronic device 100 is in a discharging state and the current limiting mode is a partial current limiting mode, it means that the discharge speed of the first battery 20 needs to be adjusted. At this time, the processor 50 can adjust the maximum discharge current according to the absolute value of the difference between the first electrical parameter and the second electrical parameter obtained. In order to ensure the stability of the adjustment of the maximum discharge current and avoid the large difference in the adjustment value corresponding to the multiple adjustments of the maximum discharge current, the processor 50 can adjust the maximum discharge current according to the preset step size, that is, each time the maximum discharge current is increased or decreased, the maximum discharge current is increased and decreased according to the preset step size. For example, if the preset step size is 50 mA, then each time the maximum discharge current is increased, the maximum discharge current increases by 50 mA; each time the maximum discharge current is reduced, the maximum discharge current decreases by 50 mA.

[0060] If the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, it means that the remaining power of the first battery 20 and the remaining power of the second battery 30 are close, the discharge speeds of the first battery 20 and the second battery 30 are adapted, and the maximum discharge current at this time is appropriate and does not need to be adjusted, so the maximum discharge current remains unchanged.

[0061] If the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, it means that the remaining power of the first battery 20 is much greater than the remaining power of the second battery 30. At this time, the processor 50 needs to increase the maximum discharge current according to the preset step size to increase the current passing through the first battery 20 and increase the discharge speed of the first battery 20. When the discharge speed of the second battery 30 remains unchanged, the remaining power of the first battery 20 can be released at a faster rate, thereby quickly reducing the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30.

[0062] If the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, it means that the remaining power of the second battery 30 is much greater than the remaining power of the first battery 20. At this time, the processor 50 needs to reduce the maximum discharge current according to the preset step size to reduce the current passing through the first battery 20 and reduce the discharge speed of the first battery 20. When the discharge speed of the second battery 30 remains unchanged, the remaining power of the first battery 20 can be released at a slower rate, thereby reducing the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30.

[0063] In this way, when the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, the processor 50 can update the maximum discharge current in a targeted manner according to the difference between the first electrical parameter and the second electrical parameter, thereby ensuring that the remaining power of the first battery 20 and the second battery 30 is close, so that the first battery 20 and the second battery 30 can release the power almost at the same time, so that when the electronic device 100 is turned off, the power in the first battery 20 and the power in the second battery 30 are less or even zero.

[0064] See also Figure 2 and Figure 7 In some embodiments, the battery balancing method of the present application further includes:

[0065] Step 014: when the reduced maximum discharge current is less than the first current limiting threshold, the maximum discharge current is updated to the first current limiting threshold.

[0066] Specifically, the current limiting module 40 has a minimum allowable current, i.e., a first current limiting threshold. When the current limiting mode is partial current limiting, the current passing through the current limiting module 40 cannot be less than the first current limiting threshold. When the maximum discharge current is reduced according to a preset step size, the reduced maximum discharge current may be less than the first current limiting threshold. Therefore, when the reduced maximum discharge current is less than the first current limiting threshold, the processor 50 updates the maximum discharge current to the first current limiting threshold to prevent the current passing through the current limiting module 40 from being too small, thereby affecting the normal operation of the current limiting module 40.

[0067] See also Figure 2 and Figure 8 In some embodiments, step 01208: when the electronic device 100 is in a discharging state and the current limiting mode is a partial current limiting mode, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold, the maximum discharge current is increased according to a preset step size, including:

[0068] Step 012081: when the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold, the maximum discharge current is increased by a preset step length at every preset time length;

[0069] Step 01209: When the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than a preset difference threshold, the maximum discharge current is reduced according to a preset step size, including:

[0070] Step 012091: When the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than a preset difference threshold, the maximum discharge current is reduced by a preset step size at preset time intervals.

[0071] Specifically, when the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, the difference between the first electrical parameter and the second electrical parameter will change. In order to dynamically adjust the maximum discharge current according to the real-time size relationship between the first electrical parameter and the second electrical parameter, the processor 50 can obtain the first electrical parameter and the second electrical parameter once every preset time period, for example, 5 seconds, and at the same time determine the size relationship between the first electrical parameter and the second constant parameter.

[0072] If the difference between the first electrical parameter and the second electrical parameter obtained is greater than the preset difference threshold, it means that the remaining current of the first battery 20 is large, and the maximum discharge current at this time cannot quickly reduce the difference between the first electrical parameter and the second electrical parameter, so the processor 50 can increase the maximum discharge current according to the preset step size to increase the discharge efficiency of the first battery 20, thereby reducing the difference between the first electrical parameter and the second electrical parameter. Similarly, if the difference between the second electrical parameter and the first electrical parameter obtained is greater than the preset difference threshold, it means that the remaining power of the second battery 30 is large and the limiting parameter is large. At this time, the processor 50 can reduce the maximum discharge current according to the preset step size, so that the remaining power of the first battery 20 can be released at a slower speed when the discharge speed of the second battery 30 remains unchanged, so that the remaining power of the second battery 30 decreases faster than the remaining power of the first battery 20, thereby reducing the difference between the first electrical parameter and the second electrical parameter. If the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, the maximum discharge current is maintained unchanged.

[0073] In this way, the processor 50 dynamically and specifically adjusts the maximum discharge current by judging the relationship between the first electrical parameter and the second electrical parameter once every preset time period, ensuring that the absolute value of the difference between the first electrical parameter and the second electrical parameter can be reduced as quickly as possible until it is less than the preset difference threshold, thereby ensuring that the power of the first battery 20 and the second battery 30 can be discharged basically at the same time.

[0074] See also Figure 2 and Fig. 9 In some embodiments, the battery balancing method of the present application further includes:

[0075] Step 015: when the maximum discharge current after the increase is greater than the second current limiting threshold, the current limiting statistical value is increased by 1;

[0076] Step 016: When the current limiting statistical value is greater than the preset statistical value, the current limiting mode of the current limiting module 40 is updated to no current limiting;

[0077] Step 017: When the maximum discharge current after the increase is less than the second current limiting threshold, the current limiting statistic value is set to 0.

[0078] Specifically, similar to the first current limiting threshold, the current limiting module 40 has a maximum allowable current, i.e., a second current limiting threshold, for example, the second current limiting threshold is 2 amperes, and when the current limiting mode is partial current limiting, the current passing through the current limiting module 40 cannot be greater than the second current limiting threshold. When the processor 50 increases the maximum discharge current according to a preset step size, the increased maximum discharge current may be greater than the second current limiting threshold.

[0079] Therefore, when the maximum discharge current after increase is greater than the second current limiting threshold, the processor 50 can update the maximum discharge current to the second current limiting threshold to prevent the current passing through the current limiting module 40 from being too large and affecting the normal operation of the current limiting module 40, and at the same time add 1 to the current limiting statistical value of the number of maximum discharge currents after the increase that are greater than the second current limiting threshold.

[0080] When the electronic device 100 is in a discharging state and the current limiting mode is partial current limiting, the processor 50 may obtain the first electrical parameter and the second electrical parameter once every preset time, and adjust the maximum discharge current accordingly, and then count the current limiting statistical value. When the current limiting statistical value is greater than the preset statistical value, for example, the preset statistical value is 12, the maximum discharge current has been greater than the second current limiting threshold for 12 consecutive times, indicating that even for a long time, the maximum discharge current is the maximum allowable current passing through the current limiting module 40. When the current limiting mode is partial current limiting, the current limiting module 40 has increased the discharge speed of the first battery 20 as much as possible, but the difference between the remaining power of the first battery 20 and the second battery 30 is still too much, and the discharge speed of the first battery 20 is still not fast enough. The current limiting capacity in the partial current limiting mode is insufficient to meet the discharge speed required by the first battery 20 at this time, so the processor 50 will update the current limiting mode of the current limiting module 40 to no current limiting, so as to increase the discharge speed of the first battery 20, thereby quickly reducing the difference between the remaining power of the first battery 20 and the second battery 30. Once the maximum discharge current after the increase is less than the second current limiting threshold, it means that when the current limiting mode is partial current limiting, the current limiting of the current limiting module 40 can meet the discharge speed required by the first battery 20 at this time, and the processor 50 can set the current limiting statistical value to 0. It can be understood that only when the maximum discharge current after each increase is greater than the second current limiting threshold within a certain period of time, and the number of times is greater than the preset statistical value, the processor 50 will update the current limiting mode of the current limiting module 40 to no current limiting.

[0081] In this way, the processor 50 can determine whether the current limiting capability of the current limiting module 40 can meet the discharge speed required by the current limiting mode of the first battery 20 when the current limiting mode is partial current limiting by counting the number of times the maximum discharge current after the increase is greater than the second current limiting threshold, so as to select a suitable current limiting mode according to the discharge speed required by the current first battery 20, thereby ensuring that the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30 can be quickly reduced.

[0082] See also Figure 2 and Fig.10 In some embodiments, the battery balancing method of the present application further includes:

[0083] Step 018: Obtain battery health status parameters;

[0084] Step 019: Adjust the preset step size according to the battery health status parameter, where the preset step size is proportional to the battery health status parameter.

[0085] Specifically, after a battery has been used for a long time, it will encounter the problem of battery aging. After the battery ages, the amount of electricity that can be stored in the battery will decrease, so that the same preset step length has different effects on the aged battery and the non-aged battery. When the preset step length is the same, since the amount of electricity that can be stored in the aged battery is lower than that of the non-aged battery, the preset step length has a greater impact on the aged battery than on the non-aged battery, resulting in a greater change in the discharge rate of the aged battery than the non-aged battery. If the preset step length is not adaptively adjusted according to the battery health status parameter, then after the battery ages, the maximum discharge current adjusted according to the preset step length is likely to fail to achieve the preset adjustment effect. For example, the preset step size is 50 mA, and the preset difference threshold is 20 mV. For non-aged batteries, each increase of 50 mA in the maximum discharge current can ensure that the absolute value of the difference between the first electrical parameter and the second electrical parameter is within 20 mV. However, for aged batteries, when the difference between the first electrical parameter and the second electrical parameter is greater than 20 mV, an increase of 50 mA in the maximum discharge current may cause the discharge efficiency of the first battery 20 to increase too fast, causing the first electrical parameter to become too small, so that the difference between the second electrical parameter and the first electrical parameter is greater than 20 mV.

[0086] Therefore, in order to match the battery health state parameter with the preset step length, the processor 50 may obtain the battery health state parameter and adjust the preset step length according to the battery health state parameter, wherein the preset step length is proportional to the battery health state parameter. For example, when the battery health state parameter is 100%, the battery has not started to age, and the preset step length may be set to 50 mA; when the battery health state parameter is 80%, the battery has started to age, and the preset step length may be set to 40 mA. In this way, the processor 50 may adjust the preset step length accordingly through the battery health state parameter, so that the preset step length matches the battery health state parameter, to ensure that after the maximum discharge current is adjusted according to the preset step length, the absolute value of the difference between the first electrical parameter and the second electrical parameter can be reduced below the preset difference threshold.

[0087] See also Figure 2 and Fig.11In some embodiments, step 012: adjusting the current limiting parameter of the current limiting module 40 according to the first electrical parameter and the second electrical parameter, further includes:

[0088] Step 01210: when the electronic device 100 is in a discharging state and the current limiting mode of the current limiting module 40 is complete current limiting, if the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, the maximum discharge current is updated to 0 and the current limiting mode is updated to complete current limiting;

[0089] Step 01211: When the electronic device 100 is in a discharging state and the current limiting mode is full current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold, the maximum discharge current is updated to the first electrical parameter and the current limiting mode is updated to partial current limiting.

[0090] Specifically, when the electronic device 100 is in a discharging state and the current limiting mode is complete current limiting, the first battery 20 cannot discharge, and the second battery 30 continues to discharge. The magnitude relationship between the first electrical parameter and the second electrical parameter may change at any time. Therefore, at this time, it is necessary to adjust the maximum discharge current and the current limiting mode in real time according to the absolute value of the difference between the first electrical parameter and the second electrical parameter.

[0091] If the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, the difference relationship between the first electrical parameter and the second electrical parameter may be that the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, which means that when the current limiting mode is full current limiting, the remaining power of the first battery 20 is close to the remaining power of the second battery 30. At this time, if the current limiting mode is changed, it may cause the difference between the first electrical parameter and the second electrical parameter to be greater than the preset difference threshold. Therefore, the processor 50 updates the maximum discharge current to 0 and updates the current limiting mode to full current limiting. When the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold, the difference relationship between the first electrical parameter and the second electrical parameter may also be that the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, which means that the remaining power of the second battery 30 is still too much, so the processor 50 needs to update the maximum discharge current to 0 and update the current limiting mode to full current limiting, so that the first battery 20 cannot be discharged while the second battery 30 can be discharged normally, thereby reducing the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30.

[0092] If the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, then after a period of complete current limiting, a lot of the remaining power of the second battery 30 has been released, and the remaining power of the first battery 20 is much greater than the remaining power of the second battery 30. The processor 50 needs to control the first battery 20 to start discharging so that the remaining power of the first battery 20 is close to the remaining power of the second battery 30. Therefore, at this time, the processor 50 needs to update the maximum discharge current to the first electrical parameter and update the current limiting mode to partial current limiting to increase the discharge speed of the first battery 20, so that the remaining power of the first battery 20 can be released when the discharge speed of the second battery 30 remains unchanged, thereby reducing the difference between the remaining power of the first battery 20 and the remaining power of the second battery 30.

[0093] In this way, when the electronic device 100 is in a discharging state and the current limiting mode is full current limiting, the processor 50 can also specifically determine the maximum discharge current and the current limiting mode according to the difference between the first electrical parameter and the second electrical parameter, thereby ensuring that the remaining power of the first battery 20 and the second battery 30 is close, so that the first battery 20 and the second battery 30 can discharge the power almost at the same time.

[0094] See also Figure 2 and Fig.12 In order to better implement the battery balancing method applied to the electronic device 100, the embodiment of the present application further provides a battery balancing device 10. The battery balancing device 10 may include an acquisition module 11, an adjustment module 12 and a matching module 13. The acquisition module 11 is used to acquire a first electrical parameter of the first battery 20 and a second electrical parameter of the second battery 30; and the adjustment module 12 is used to adjust the current limiting parameter of the current limiting module 40 according to the first electrical parameter and the second electrical parameter, and the current limiting parameter includes a maximum discharge current; the matching module 13 is used to control the current limiting module 40 to limit the current of the first battery according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

[0095] The adjustment module 12 is specifically used for setting the current limiting mode of the current limiting module 40 to no current limiting when the electronic device 100 enters the discharging state from the charging state, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold; for setting the maximum discharge current to the first electrical parameter and the current limiting mode to partial current limiting when the electronic device 100 enters the discharging state from the charging state, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold; and for setting the maximum discharge current to 0 and the current limiting mode to complete current limiting when the electronic device 100 enters the discharging state from the charging state, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold.

[0096] The adjustment module 12 is specifically used for updating the current limiting mode to unlimited current limiting if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold when the electronic device 100 is in a discharging state and the current limiting mode of the current limiting module 40 is unlimited current limiting; updating the maximum discharge current to the first electrical parameter and the current limiting mode to partial current limiting if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold when the electronic device 100 is in a discharging state and the current limiting mode is unlimited current limiting; and updating the maximum discharge current to 0 and the current limiting mode to complete current limiting if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold when the electronic device 100 is in a discharging state and the current limiting mode is unlimited current limiting.

[0097] The adjustment module 12 is specifically used for maintaining the maximum discharge current unchanged when the electronic device 100 is in a discharge state and the current limiting mode of the current limiting module 40 is partial current limiting, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold; when the electronic device 100 is in a discharge state and the current limiting mode is partial current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, increasing the maximum discharge current according to a preset step size; when the electronic device 100 is in a discharge state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, reducing the maximum discharge current according to a preset step size.

[0098] The battery balancing device 10 further includes a first updating module 14 , which is configured to update the maximum discharge current to the first current limiting threshold when the reduced maximum discharge current is less than the first current limiting threshold.

[0099] The adjustment module 12 is specifically used to increase the maximum discharge current by a preset step size at preset time intervals when the electronic device 100 is in a discharge state and the current limiting mode is partial current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold; and to reduce the maximum discharge current by a preset step size at preset time intervals when the electronic device 100 is in a discharge state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than a preset difference threshold.

[0100] The battery balancing device 10 further includes a statistical module 15, a second updating module 16 and a zeroing module 17. The statistical module 15 is used to increase the current limiting statistical value by 1 when the maximum discharge current after increase is greater than the second current limiting threshold; the second updating module 16 is used to update the current limiting mode of the current limiting module 40 to no current limiting when the current limiting statistical value is greater than the preset statistical value; the zeroing module 17 is used to set the current limiting statistical value to 0 when the maximum discharge current after increase is less than the second current limiting threshold.

[0101] The battery balancing device 10 further includes a parameter module 18 and a step module 19. The parameter module 18 is used to obtain the battery health state parameter; the step module 19 is used to adjust the preset step size according to the battery health state parameter, and the preset step size is proportional to the battery health state parameter.

[0102] The adjustment module 12 is specifically used to update the maximum discharge current to 0 and the current limiting mode to complete current limiting when the electronic device 100 is in a discharging state and the current limiting mode of the current limiting module 40 is complete current limiting, if the difference between the first electrical parameter and the second electrical parameter is less than the preset difference threshold; when the electronic device 100 is in a discharging state and the current limiting mode is complete current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, the maximum discharge current is updated to the first electrical parameter and the current limiting mode is partial current limiting.

[0103] See also Figure 2 The electronic device 100 of the embodiment of the present application includes a first battery 20, a second battery 30, a current limiting module 40 and a processor 50. The capacity of the first battery 20 is less than the capacity of the second battery 30. The first battery 20 and the second battery 30 are connected in parallel, the current limiting module 40 and the first battery 20 are connected in series, and the processor 50 is used for the battery balancing method of any embodiment. For the sake of brevity, it will not be repeated here.

[0104] Optionally, in addition to the first battery 20 and the second battery 30, the electronic device 100 may also be provided with other batteries to further increase the standby time of the electronic device 100, wherein the capacity of the other batteries and the connection relationship with the first battery 20 and the second battery 30 are not limited. For example, a third battery with the same capacity as the first battery 20 and a fourth battery with the same capacity as the second battery 30 may be provided in the electronic device 100, and any two of the first battery 20, the second battery 30, the third battery and the fourth battery are connected in parallel, or the first battery 20 and the third battery are connected in series, the second battery 30 and the fourth battery are connected in series, and then the battery pack consisting of the first battery 20 and the third battery is connected in series with the battery pack consisting of the second battery 30 and the fourth battery. For another example, a fifth battery having a capacity different from that of the first battery 20 and the second battery 30 is provided in the electronic device 100, and any two of the first battery 20, the second battery 30 and the fifth battery are connected in parallel.

[0105] Optionally, the electronic device 100 can be any device with batteries of different capacities and a current limiting module 40, such as a straight-screen mobile phone, a folding screen mobile phone, a tablet computer, a power bank, a watch, etc. This application takes the electronic device 100 as an example of a mobile phone, and it can be understood that the specific form of the electronic device 100 is not limited to a mobile phone.

[0106] See also Fig.13The embodiment of the present application further provides a computer-readable storage medium 300 on which a computer program 310 is stored. When the computer program 310 is executed by a processor 320, the steps of the battery balancing method of any of the above embodiments are implemented. The processor 320 may be the processor 50 of the electronic device 100. For the sake of brevity, it will not be described in detail here.

[0107] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0108] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0109] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A battery balancing method, characterized in that: Applied to an electronic device, the electronic device comprises a first battery, a second battery and a current limiting module, the capacity of the first battery is smaller than the capacity of the second battery, the first battery and the second battery are connected in parallel, the current limiting module is connected in series with the first battery, and the method comprises: Acquiring a first electrical parameter of the first battery and a second electrical parameter of the second battery; According to the first electrical parameter and the second electrical parameter, adjusting the current limiting parameter of the current limiting module, wherein the current limiting parameter includes a maximum discharge current; The current limiting module is controlled to limit the current of the first battery according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

2. The battery equalization method according to claim 1, characterized in that: The current limiting parameter also includes a current limiting mode, and adjusting the current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter includes: When the electronic device enters a discharging state from a charging state, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, setting the current limiting mode of the current limiting module to no current limiting; When the electronic device enters a discharging state from a charging state, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, setting the maximum discharge current to the first electrical parameter and the current limiting mode to partial current limiting; and When the electronic device enters a discharging state from a charging state, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, the maximum discharge current is set to 0 and the current limiting mode is set to full current limiting.

3. The battery equalization method according to claim 1 or 2, characterized in that: The adjusting the current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter includes: When the electronic device is in a discharging state and the current limiting mode of the current limiting module is non-current limiting, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, updating the current limiting mode to non-current limiting; When the electronic device is in a discharging state and the current limiting mode is non-current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, updating the maximum discharge current to the first electrical parameter and the current limiting mode to partial current limiting; and When the electronic device is in a discharging state and the current limiting mode is non-current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, the maximum discharge current is updated to 0 and the current limiting mode is updated to full current limiting.

4. The battery equalization method according to claim 1 or 2, characterized in that: The adjusting the current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter includes: When the electronic device is in a discharging state and the current limiting mode of the current limiting module is partial current limiting, if the absolute value of the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, the maximum discharge current is maintained unchanged; When the electronic device is in a discharging state and the current limiting mode is partial current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, increasing the maximum discharge current according to a preset step size; When the electronic device is in a discharging state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, the maximum discharge current is reduced according to a preset step size.

5. The battery equalization method according to claim 4, characterized in that: Also includes: When the reduced maximum discharge current is less than the first current limiting threshold, the maximum discharge current is updated to the first current limiting threshold.

6. The battery equalization method according to claim 4, characterized in that: When the electronic device is in a discharging state and the current limiting mode is partial current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, increasing the maximum discharge current according to a preset step size, including: When the electronic device is in a discharging state and the current limiting mode is partial current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than the preset difference threshold, the maximum discharge current is increased according to a preset step length at every preset time length; When the electronic device is in a discharging state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, reducing the maximum discharge current according to a preset step size, including: When the electronic device is in a discharging state and the current limiting mode is partial current limiting, if the difference between the second electrical parameter and the first electrical parameter is greater than the preset difference threshold, the maximum discharge current is reduced by a preset step size at every preset time length.

7. The battery equalization method according to claim 6, characterized in that: Also includes: When the maximum discharge current after the increase is greater than the second current limiting threshold, the current limiting statistical value is increased by 1; When the current limiting statistical value is greater than the preset statistical value, updating the current limiting mode of the current limiting module to no current limiting; When the maximum discharge current after the increase is less than the second current limiting threshold, the current limiting statistic is set to 0.

8. The battery equalization method according to claim 4, characterized in that: Also includes: Get battery health status parameters; and The preset step size is adjusted according to the battery health state parameter, and the preset step size is proportional to the battery health state parameter.

9. The battery equalization method according to claim 1 or 2, characterized in that: The adjusting the current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter includes: When the electronic device is in a discharging state and the current limiting mode of the current limiting module is complete current limiting, if the difference between the first electrical parameter and the second electrical parameter is less than a preset difference threshold, the maximum discharge current is updated to 0 and the current limiting mode is updated to complete current limiting; When the electronic device is in a discharging state and the current limiting mode is complete current limiting, if the difference between the first electrical parameter and the second electrical parameter is greater than a preset difference threshold, the maximum discharge current is updated to the first electrical parameter and the current limiting mode is partial current limiting.

10. A battery balancing device, characterized in that: Applied to electronic equipment, the electronic equipment includes a first battery, a second battery and a current limiting module, the capacity of the first battery is smaller than the capacity of the second battery, the first battery and the second battery are connected in parallel, the current limiting module is connected in series with the first battery, and the device includes: an acquisition module, configured to acquire a first electrical parameter of the first battery and a second electrical parameter of the second battery; an adjusting module, configured to adjust a current limiting parameter of the current limiting module according to the first electrical parameter and the second electrical parameter, wherein the current limiting parameter includes a maximum discharge current; and A matching module is used to control the current limiting module to limit the current of the first battery according to the maximum discharge current, so that the first electrical parameter and the second electrical parameter after current limiting match.

11. An electronic device, characterized in that: The device comprises a first battery, a second battery, a current limiting module and a processor, wherein the capacity of the first battery is smaller than the capacity of the second battery, the first battery and the second battery are connected in parallel, the current limiting module is connected in series with the first battery, and the processor is used to execute the battery balancing method according to any one of claims 1 to 9.

12. A non-volatile computer-readable storage medium comprising a computer program, wherein when the computer program is executed by a processor, the processor executes the battery balancing method according to any one of claims 1 to 9.