Charging circuit, electronic device control method, charging control device, and storage medium

By introducing switching components and charging control components into the charging circuit, the synchronous and asynchronous charging mode switching of the battery cells can be realized, which solves the problem of poor charging flexibility of multiple battery cells in the battery and improves charging efficiency and safety.

CN113675901BActive Publication Date: 2025-10-10BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010410771.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-15
Publication Date
2025-10-10
Estimated Expiration
2040-05-15

AI Technical Summary

Technical Problem

In the prior art, the charging flexibility of multiple cells in electronic device batteries is poor, which easily leads to excessive heat, poses a safety hazard, and is difficult to meet the needs of different charging scenarios.

Method used

By introducing a first switch component and a charging control component into the charging circuit, synchronous and asynchronous charging mode switching between battery cells is achieved, and different current conversion units are used to flexibly control the battery cells.

Benefits of technology

It improves the flexibility of battery cell charging control, reduces the temperature peak during charging, reduces safety hazards, meets the needs of different charging scenarios, and improves charging efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113675901B_ABST
    Figure CN113675901B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a charging circuit, a control method, a device and a storage medium. The circuit comprises: a first switch component having a first switch state and a second switch state; a charging control component connected with the first switch component, configured to control the first switch component to switch between the first switch state and the second switch state; the charging control component comprises two current conversion units; a first battery cell electrically connected with the charging management component through the first switch component; a second battery cell electrically connected with the charging management component through the first switch component; when the first switch component is in the first switch state, the first battery cell and the second battery cell are synchronously charged through the same current conversion unit; when the first switch component is in the second switch state, the first battery cell and the second battery cell are asynchronously charged through different current conversion units.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development and increasing sophistication of electronic technology, electronic devices such as mobile phones, tablet computers, and laptops have become indispensable tools in people's lives and work. As users use electronic devices more and more frequently, due to the limited storage capacity of the batteries in these electronic devices, they need to be charged frequently to ensure that these electronic devices can function properly.

[0003] To improve the battery life of electronic devices, related technologies often use multiple cells in their batteries. However, charging multiple cells offers limited flexibility and struggles to meet user needs. Furthermore, excessive battery heat can easily lead to safety issues during charging, posing a potential safety hazard. Summary of the Invention

[0004] In view of this, the present disclosure provides a charging circuit, an electronic device control method, a charging control device, and a storage medium.

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

[0006] a first switch assembly having a first switch state and a second switch state;

[0007] a charging control component connected to the first switch component and configured to control the first switch component to switch between the first switch state and the second switch state; the charging control component comprising two current conversion units;

[0008] a first battery cell, electrically connected to the charging management component via the first switch component;

[0009] a second battery cell, electrically connected to the charging management component via the first switch component;

[0010] Wherein, when the first switch component is in the first switch state, the first battery cell and the second battery cell are synchronously charged through the same current conversion unit;

[0011] When the first switch component is in the second switch state, the first battery cell and the second battery cell are asynchronously charged through different current conversion units.

[0012] According to a second aspect of an embodiment of the present disclosure, a method for controlling an electronic device is provided. The electronic device includes the charging circuit according to the first aspect of the embodiment of the present disclosure. The method includes:

[0013] Determine the current charging mode;

[0014] When the current charging mode is the synchronous charging mode, controlling the first switch component in the charging circuit to switch to a first switch state;

[0015] When the current charging mode is the asynchronous charging mode, the first switch component in the charging circuit is controlled to switch to a second switch state.

[0016] According to a third aspect of an embodiment of the present disclosure, there is provided a charging control device, including:

[0017] processor;

[0018] a memory for storing processor-executable instructions;

[0019] The processor is configured to: when executing the executable instructions, implement the steps in the method described in the second aspect of the embodiment of the present disclosure.

[0020] According to the fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, which, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to execute the steps in the method described in the second aspect of an embodiment of the present disclosure.

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

[0022] By controlling the first switch component to switch between the first switch state and the second switch state through the charging control component, the first battery cell and the second battery cell can be synchronously charged through the same current conversion unit, or the first battery cell and the second battery cell can be asynchronously charged through different current conversion units. This is beneficial to improving the flexibility of charging control for the first battery cell and the second battery cell, and meeting different charging needs in different charging scenarios.

[0023] When asynchronously charging the first and second battery cells using different current conversion units, the charging processes of the first and second battery cells can be controlled separately. Furthermore, compared to synchronously charging the first and second battery cells using the same current conversion unit, asynchronously charging the first and second battery cells using different current conversion units can reduce the maximum temperature of the charging circuit during the charging process, thereby reducing safety issues caused by high temperatures generated by the charging circuit during the charging process and ensuring charging safety.

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

[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0026] Figure 1 is a block diagram of a charging circuit according to an exemplary embodiment.

[0027] Figure 2 is a block diagram of another charging circuit according to an exemplary embodiment.

[0028] Figure 3 is a block diagram of yet another charging circuit according to an exemplary embodiment.

[0029] Figure 4a is a schematic diagram showing a charging circuit according to an exemplary embodiment.

[0030] Figure 4b is a schematic diagram of another charging circuit according to an exemplary embodiment.

[0031] Figure 4c is a schematic diagram showing another charging circuit according to an exemplary embodiment.

[0032] Figure 4d is a schematic diagram showing another charging circuit according to an exemplary embodiment.

[0033] Figure 4e is a schematic diagram showing another charging circuit according to an exemplary embodiment.

[0034] Figure 4f is a schematic diagram showing another charging circuit according to an exemplary embodiment.

[0035] Figure 5 is a schematic diagram showing a method for controlling an electronic device according to an exemplary embodiment.

[0036] Figure 6 is a block diagram of a charging control device according to an exemplary embodiment. DETAILED DESCRIPTION

[0037] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0038] In related technologies, multiple battery cells are typically connected in series or in parallel, and the connection relationship between the multiple battery cells cannot be switched. Taking an electronic device with two battery cells as an example, related technologies cannot achieve the switching between synchronous charging mode and asynchronous charging mode for the two battery cells, thus hindering the control flexibility of the two battery cells.

[0039] Figure 1 FIG. 1 is a block diagram of a charging circuit 100 according to an exemplary embodiment. Figure 1 As shown, the charging circuit 100 includes:

[0040] A first switch assembly 110 having a first switch state and a second switch state;

[0041] The charging control component 120 is connected to the first switch component 110 and is used to control the first switch component 110 to switch between a first switch state and a second switch state; the charging control component 120 includes two current conversion units;

[0042] The first battery cell 130 is electrically connected to the charging management component 120 through the first switch component 110;

[0043] The second battery cell 140 is electrically connected to the charging management component 120 through the first switch component 110;

[0044] In which, when the first switch component 110 is in the first switch state, the first battery cell 130 and the second battery cell 140 are synchronously charged through the same current conversion unit; when the first switch component 110 is in the second switch state, the first battery cell 130 and the second battery cell 140 are asynchronously charged through different current conversion units.

[0045] For example, when the first switch component 110 is in the first switch state, the first battery cell 130 and the second battery cell 140 are synchronously charged through the same current conversion unit, that is, the first battery cell 130 and the second battery cell 140 are in a synchronous charging mode. When the first battery cell 130 and the second battery cell 140 are synchronously charged, the first battery cell 130 and the second battery cell 140 start charging at the same time, and the first battery cell 130 and the second battery cell 140 stop charging at the same time.

[0046] When the first battery cell 130 and the second battery cell 140 are charged through the same current conversion unit, the two current conversion units in the charging control component 120 can simultaneously charge the first battery cell 130 and the second battery cell 140. Alternatively, the first battery cell 130 and the second battery cell 140 can be charged simultaneously through the same current conversion unit in the charging control component 120.

[0047] When the first switch assembly 110 is in the second switching state, the first battery cell 130 and the second battery cell 140 are asynchronously charged through different current conversion units. That is, the first battery cell 130 and the second battery cell 140 are in an asynchronous charging mode. When the first battery cell 130 and the second battery cell 140 are asynchronously charged, the first battery cell 130 and the second battery cell 140 start charging at different times and / or stop charging at different times.

[0048] For example, the first switch assembly 110 may include one or more switches, such as electromagnetic switches or mechanical switches.

[0049] Specifically, the first switch assembly 110 may include one single-pole double-throw mechanical switch, or the first switch assembly 110 may include two single-pole single-throw mechanical switches.

[0050] The charging control component 120 can change the switching state of the first switch component 110 by controlling the closing or opening of the switch included in the first switch component 110 .

[0051] Specifically, taking the first switch component 110 including two single-pole single-throw mechanical switches as an example, the control end of the first single-pole single-throw mechanical switch is connected to the charging control component 120, the output end of the first single-pole single-throw mechanical switch is connected to the first battery cell 130, the control end of the second single-pole single-throw mechanical switch is connected to the charging control component 120, and the output end of the second single-pole single-throw mechanical switch is connected to the second battery cell 140.

[0052] The charging control component 120 can control the first single-pole single-throw switch and the second single-pole single-throw switch to be closed at the same time, and control the first single-pole single-throw switch and the second single-pole single-throw switch to be opened at the same time, so that the first battery cell 130 and the second battery cell 140 are in a synchronous charging mode.

[0053] The charging control component 120 can control the closing moment of the first single-pole single-throw switch to be different from the closing moment of the second single-pole single-throw switch, and / or the charging control component 120 can control the opening moment of the first single-pole single-throw switch to be different from the opening moment of the second single-pole single-throw switch, so as to put the first battery cell 130 and the second battery cell 140 into an asynchronous charging mode.

[0054] The first battery cell 130 and the second battery cell 140 may each include a battery cell for storing electrical energy. It should be noted that the first battery cell 130 may include multiple sub-battery cells for storing electrical energy, and the multiple sub-battery cells may be connected in series or in parallel to form the first battery cell 130 .

[0055] Similarly, the second battery cell 140 may also include a plurality of sub-battery cells for storing electrical energy, and the plurality of sub-battery cells may be connected in series or in parallel to form the second battery cell 140 .

[0056] The embodiment of the present disclosure controls the first switch component 110 to switch between the first switch state and the second switch state through the charging control component 120, and can control the first battery cell 130 and the second battery cell 140 to switch between the synchronous charging mode and the asynchronous charging mode, which is beneficial to improving the flexibility of the charging control of the first battery cell 130 and the second battery cell 140 and meeting different charging needs in different charging scenarios.

[0057] In asynchronous charging mode, the charging process of the first battery cell 130 and the second battery cell 140 can be independently controlled. Furthermore, compared to when the first battery cell 130 and the second battery cell 140 are in synchronous charging mode, the first battery cell 130 and the second battery cell 140 in asynchronous charging mode can reduce the maximum temperature of the charging circuit during charging, thereby reducing safety issues caused by high heating of the charging circuit and ensuring charging safety.

[0058] In some embodiments, reference Figure 2 As shown, the charging circuit 100 further includes:

[0059] A second switch assembly 150 is connected to the first switch assembly 110, and the second switch assembly 150 has a third switch state and a fourth switch state;

[0060] The charging control component 120 is connected to the second switch component 150 via the first switch component 110, and the charging control component 120 is used to control the second switch component 150 to switch between the third switch state and the fourth switch state;

[0061] The first battery cell 130 is connected to the first switch component 110 via the second switch component 150;

[0062] The second battery cell 140 is connected to the first switch component 110 via the second switch component 150;

[0063] When the second switch assembly 150 is in the third switch state, the first battery cell 130 and the second battery cell 140 are connected in series;

[0064] When the second switch assembly 150 is in the fourth switch state, the first battery cell 130 and the second battery cell 140 are connected in parallel.

[0065] The second switch assembly 150 can include a plurality of switches. The switches can include electromagnetic switches or mechanical switches, etc.

[0066] Exemplarily, when the first battery cell 130 and the second battery cell 140 are connected in series, the positive electrode of the first battery cell 130 is electrically connected with the negative electrode of the second battery cell 140, or the negative electrode of the first battery cell 130 is electrically connected with the positive electrode of the second battery cell 140.

[0067] When the first battery cell 130 and the second battery cell 140 are connected in parallel, the positive electrode of the first battery cell 130 is electrically connected with the positive electrode of the second battery cell 140, and the negative electrode of the first battery cell 130 is electrically connected with the negative electrode of the second battery cell 140.

[0068] When the external power source charges the first battery cell 130 and the second battery cell 140 in the charging circuit, in the case that the charging power provided by the external power source is the same, compared with the case that the first battery cell 130 and the second battery cell 140 are connected in parallel, when the first battery cell 130 and the second battery cell 140 are connected in series, the current flowing through at least part of the transmission line for transmitting the current in the charging circuit is smaller, the heat loss of at least part of the transmission line can be reduced, not only the conversion rate of the electric energy provided by the external power source to the electric energy stored in the first battery cell 130 and the second battery cell 140 can be improved, but also the heat generated by the transmission line can be reduced, which is conducive to reducing the charging safety accidents caused by the high temperature of the transmission line.

[0069] When the first battery cell 130 and the second battery cell 140 discharge, the whole formed by the first battery cell 130 and the second battery cell 140 can be used as a power supply assembly to supply power to the electronic device. When the first battery cell 130 and the second battery cell 140 are connected in series, the internal resistance of the power supply assembly is the sum of the internal resistance of the first battery cell 130 and the internal resistance of the second battery cell 140. When the first battery cell 130 and the second battery cell 140 are connected in parallel, the internal resistance of the power supply assembly is smaller than the sum of the internal resistance of the first battery cell 130 and the internal resistance of the second battery cell 140. Therefore, compared with the case that the first battery cell 130 and the second battery cell 140 connected in series discharge, the discharging current is larger when the first battery cell 130 and the second battery cell 140 connected in parallel discharge, which is conducive to meeting the demand of users for larger discharging current.

[0070] In addition, compared with the case that the first battery cell 130 and the second battery cell 140 connected in series, the difference between the voltage across the first battery cell 130 and the second battery cell 140 and the voltage of the electronic device receiving power supply is smaller, which is conducive to reducing the self-power consumption and heat generation of the first battery cell 130 and the second battery cell 140 during discharging, and improving the discharging efficiency of the power supply assembly formed by the first battery cell 130 and the second battery cell 140.

[0071] Through the charging circuit 100 provided in the embodiment of the present disclosure, the first battery cell 130 and the second battery cell 140 can be controlled to switch between series connection and parallel connection, thereby improving the flexibility of controlling the first battery cell 130 and the second battery cell 140, thereby improving the charging efficiency of the first battery cell 130 and the second battery cell 140, and the discharge efficiency of discharging using the first battery cell 130 and the second battery cell 140.

[0072] In some embodiments, reference Figure 3 As shown, the charging circuit 100 includes:

[0073] The charging interface 160 is connected to the external power supply and the charging control component 120; the charging interface 160 is used to transmit the charging current provided by the external power supply to the charging control component 120;

[0074] The charging control assembly 120 includes:

[0075] A first current conversion unit 121, configured to convert at least part of the charging current into a first charging current;

[0076] a second current conversion unit 122, configured to convert at least part of the charging current into a second charging current having a current value different from the first charging current;

[0077] The distribution unit 123 is connected to the first current conversion unit 121 and the second current conversion unit 122 respectively, and is used to distribute the first charging current and the second charging current to the first battery cell 130 and the second battery cell 140 at least according to the first switching state or the second switching state currently in which the first switching component 110 is located.

[0078] The charging interface 160 may include a Universal Serial Bus (USB) interface or an Inter-Integrated Circuit (I2C) interface.

[0079] When an external power source is connected to the first current conversion unit 121 and the second current conversion unit 122 via the charging interface 160, the first current value of the charging current provided by the external power source allocated to the first current conversion unit and the second current value of the charging current provided by the external power source allocated to the second current conversion unit are related to the current charging mode. It should be noted that the first current conversion unit 121 and the second current conversion unit 122 are connected to the same charging interface.

[0080] Specifically, when the current charging mode is the synchronous charging mode, that is, when the first battery cell 130 and the second battery cell 140 are charged synchronously, the first current conversion unit 121 and the second current conversion unit 122 are connected in parallel, and the ratio of the first current value of the charging current provided by the external power supply allocated to the first current conversion unit 121 to the second current value allocated to the second current conversion unit 122 is approximately equal to the ratio of the internal resistance of the second current conversion unit 122 to the internal resistance of the first current conversion unit 121.

[0081] When the current charging mode is the synchronous charging mode, the distribution unit 123 may distribute the first charging current and the second charging current to the first battery cell 130 and the second battery cell 140 simultaneously.

[0082] It is understood that in actual applications, in synchronous charging mode, since the transmission line that transmits current in the charging circuit also has internal resistance, the internal resistance of the transmission line will also affect the ratio between the first current value and the second current value. Therefore, when the internal resistance of the transmission line is ignored, in the current synchronous charging mode, the ratio of the first current value to the second current value is equal to the ratio of the internal resistance of the second current conversion unit 122 to the internal resistance of the first current conversion unit 121.

[0083] The allocation unit 123 may include: an application processor (AP) or a central processing unit or a dedicated integrated circuit, etc.

[0084] When the current charging mode is the asynchronous charging mode, the allocation unit 123 can allocate the first charging current to the first battery cell 130 starting at a first moment, and allocate the first charging current and the second charging current to the first battery cell 130 at a second moment after a preset time period starting from the first moment, and allocate the second charging current to the second battery cell 140 at a second moment.

[0085] Alternatively, when the current charging mode is the asynchronous charging mode, the allocation unit 123 may allocate the first charging current to the second battery cell 140 starting at the first moment, and allocate the first charging current and the second charging current to the second battery cell 140 at the above-mentioned second moment, and allocate the second charging current to the first battery cell 130 at the second moment.

[0086] During the preset time period starting from the first moment, the charging current provided by the external power source can be fully distributed to the first current conversion unit 121 , that is, the first current value is equal to the charging current provided by the external power source.

[0087] Starting from the second moment, it can be regarded as that the second current conversion unit 122 is connected in series with the second battery cell 140 and then connected in parallel with the first current conversion unit 121. Therefore, the ratio of the first current value to the second current value is positively correlated with the ratio of the sum of the internal resistance of the second current conversion unit 122 and the internal resistance of the second battery cell 140 to the internal resistance of the first battery cell 130.

[0088] It should be noted that, within the preset time period starting from the first moment, it can be considered that no current is distributed to the second battery cell 140 , that is, within the preset time period starting from the first moment, the second battery cell 140 is not charged.

[0089] Alternatively, when the current charging mode is the asynchronous charging mode, the distribution unit 123 may distribute the first charging current to the second battery cell 140 at the first moment, and distribute the second charging current to the first battery cell 130 at the second moment.

[0090] When the current charging mode is the asynchronous charging mode and the first battery cell and the second battery cell are connected in series, an example is given to explain that the first charging current is distributed to the first battery cell 130 from the first moment, the first charging current and the second charging current are distributed to the first battery cell 130 from the second moment, and the second charging current is distributed to the second battery cell 140 from the second moment.

[0091] Specifically, when in asynchronous charging mode and the first battery cell and the second battery cell start charging at different times, the time when the first battery cell enters constant current charging is different from the time when the second battery cell enters constant current charging. Therefore, the maximum charging power of the external power supply for charging the first battery cell and the maximum charging power for charging the second battery cell appear at different times.

[0092] It should be pointed out that when charging the first battery cell and the second battery cell, the charging power that can be supported by the charging adapter unit connecting the external power supply and the charging interface needs to be greater than or equal to the sum of the maximum charging power for charging the first battery cell and the maximum charging power for charging the second battery cell.

[0093] Therefore, by adopting the asynchronous charging mode, the time when the maximum charging power for charging the first battery cell occurs and the time when the maximum charging power for charging the second battery cell occurs can be staggered, thereby reducing the charging power supported by the charging adapter unit that needs to be used. That is, while ensuring the charging speed, a charging adapter unit that supports reduced charging power can be used to connect the external power supply and the charging circuit, which is conducive to improving the applicability of the charging circuit.

[0094] The first current conversion unit 121 can convert the first current value into a first charging current according to a first conversion ratio, that is, the ratio of the first current value to the first charging current is the first conversion ratio. The first conversion ratio may include: 1:1, 1:2 or 2:1.

[0095] The second current conversion unit 122 can convert the second current value into a second charging current according to a second conversion ratio, that is, the ratio of the second current value to the second charging current is the second conversion ratio. The second conversion ratio may include: 1:1, 1:2, or 2:1. It is understood that the second conversion ratio may be different from the first conversion ratio.

[0096] The allocating unit 123 may be configured to determine the first conversion ratio and the second conversion ratio based on at least a charging mode supported by a charging adapter connected to the charging interface 160 and a charging mode of the first battery cell 130 and the second battery cell 140. Here, the charging adapter is configured to connect the charging interface 160 to an external power source.

[0097] Specifically, when the output voltage in the charging mode supported by the charging adapter unit is less than or equal to the first voltage and the first battery cell and the second battery cell are in the asynchronous charging mode, the first conversion ratio may be 1:1 and the second conversion ratio may be 1:2. Here, the first voltage may be 3 volts or 5 volts, etc.

[0098] When the output voltage in the charging mode supported by the charging adapter unit is greater than the first voltage and the first battery cell and the second battery cell are in an asynchronous charging mode, the first conversion ratio may be 2:1 and the second conversion ratio may be 1:1.

[0099] It should be noted that when the output voltage in the charging mode supported by the charging adapter unit is greater than the first voltage, it can be considered that the charging adapter unit supports high-voltage output charging. At this time, the charging mode supported by the charging adapter unit may include the power delivery (PD) fast charging mode.

[0100] In the embodiment of the present disclosure, the charging current is converted into a first charging current by the first current conversion unit 121, and the charging current is converted into a second charging current having a current value different from the first charging current by the second current conversion unit 122. Then, the first charging current and the second charging current are allocated to the first battery cell 130 and the second battery cell 140 at least according to the synchronous charging mode or the asynchronous charging mode currently in which the first battery cell 130 and the second battery cell 140 are located. The current value for charging the first battery cell 130 and the second battery cell 140 can be selected according to the current charging mode, thereby improving the flexibility of charging control and facilitating satisfying user experience.

[0101] In addition, the first and second charging currents can be changed by selecting the first conversion ratio and the second conversion ratio, and the first and second battery cells 130 and 140 can be charged with different currents through the distribution unit 123 to ensure a faster charging speed.

[0102] In some embodiments, the distribution unit 123 is specifically used to transmit the first charging current and the second charging current to the first battery cell 130, and transmit the first charging current and the second charging current to the second battery cell 140 when the first switch component 110 is in the first switching state and the first battery cell 130 and the second battery cell 140 are connected in series.

[0103] For the first battery cell 130 and the second battery cell 140 connected in series in the synchronous charging mode, the current value of charging the first battery cell 130 may be equal to the current value of charging the second battery cell 140. For example, the current value of charging the first battery cell 130 and the current value of charging the second battery cell 140 may both be equal to the sum of the first charging current and the second charging current.

[0104] In the embodiment of the present disclosure, the first switch component 110 is used to put the first battery cell 130 and the second battery cell 140 in a synchronous charging mode, and the first battery cell 130 and the second battery cell 140 are connected in series. At the same time as the first charging current and the second charging current are distributed to the first battery cell 130, the first charging current and the second charging current can also be distributed to the second battery cell 140.

[0105] It can be understood that, compared with charging the first battery cell 130 and the second battery cell 140 only by the first charging current or the second charging current, the embodiment of the present disclosure is conducive to increasing the current value of charging the first battery cell 130 and the second battery cell 140, thereby improving the charging efficiency.

[0106] In some embodiments, the distribution unit 123 is specifically used to distribute half of the sum of the first charging current and the second charging current to the first battery cell 130 and distribute half of the sum of the first charging current and the second charging current to the second battery cell 140 when the first switch component 110 is in the first switching state and the first battery cell 130 and the second battery cell 140 are connected in parallel.

[0107] In the embodiment of the present disclosure, when the first battery cell 130 and the second battery cell 140 are in the synchronous charging mode and the first battery cell 130 and the second battery cell 140 are connected in parallel, half of the sum of the first charging current and the second charging current is allocated to the first battery cell 130, and half of the sum of the first charging current and the second charging current is allocated to the second battery cell 140. Compared with the first battery cell 130 and the second battery cell 140 being in the synchronous charging mode and connected in series, the current in the charging circuit can be reduced, the heat generated in the charging circuit can be reduced, and the safety of the charging process can be improved.

[0108] In some embodiments, the allocation unit 123 is also used to obtain the number of cycles of the first battery cell 130 and the number of cycles of the second battery cell 140, and to allocate the first charging current and the second charging current based at least on the number of cycles of the first battery cell 130 and the number of cycles of the second battery cell 140, and the switching state of the first switch component 110.

[0109] In actual applications, when charging the first battery cell 130 and the second battery cell 140, if the external power supply charges the first battery cell 130 and the second battery cell 140 simultaneously, it may take a long time to completely charge the first battery cell 130 and the second battery cell 140. Therefore, one of the first battery cell 130 and the second battery cell 140 can be selected as a priority charging target, and a larger current can be allocated to charging the priority charging target, or the priority charging target can be charged first, so as to achieve the purpose of quickly charging the priority charging target.

[0110] It's understandable that when completing a fast charge, users want the battery to last longer after a single charge. Specifically, they want the interpolation between the actual capacity and the rated capacity of the battery after a single charge to be as small as possible. The actual capacity of a battery after a single charge is related to its aging, which can be measured by the number of cycles or its internal resistance.

[0111] Therefore, the embodiment of the present disclosure can compare the aging degree of the first battery cell 130 and the aging degree of the second battery cell 140 by obtaining the cycle number of the first battery cell 130 and the cycle number of the second battery cell 140, select a key charging target, and set a charging method.

[0112] Specifically, the allocating unit 123 is configured to allocate the first charging current and the second charging current to the first battery cell 130 and the second charging current to the second battery cell 140 when the first switch assembly 110 is in the second switching state, the first battery cell 130 and the second battery cell 140 are connected in series, and the number of cycles of the first battery cell 130 is less than or equal to the number of cycles of the second battery cell 140;

[0113] The distribution unit 123 is also used to distribute the second charging current to the first battery cell 130 and the first charging current and the second charging current to the second battery cell 140 when the first switch component 110 is in the second switching state, the first battery cell 130 and the second battery cell 140 are connected in series, and the number of cycles of the first battery cell 130 is greater than the number of cycles of the second battery cell 140.

[0114] When the number of cycles of the first battery cell 130 is less than the number of cycles of the second battery cell 140, it can be considered that the aging degree of the first battery cell 130 is less than the aging degree of the second battery cell 140. Therefore, when the rated capacity of the first battery cell 130 is the same as the rated capacity of the second battery cell 140, the actual capacity of the first battery cell 130 when charging of the first battery cell 130 is completed is greater than the actual capacity of the second battery cell 140 when charging of the second battery cell 140 is completed. Therefore, the battery life of the first battery cell 130 after charging of the first battery cell 130 is completed is greater than the battery life of the second battery cell 140 after charging of the second battery cell 140 is completed. Therefore, the first battery cell can be selected as the key charging target.

[0115] In the embodiment of the present disclosure, by obtaining the number of cycles of the first battery cell 130 and the number of cycles of the second battery cell 140, it is possible to determine the size of the charge capacity actually stored when the first battery cell 130 is fully charged and the size of the charge capacity actually stored when the second battery cell 140 is fully charged, and set the charging scheme for the first battery cell 130 and the second battery cell 140 according to the obtained number of cycles. While ensuring the charging speed, it is also ensured that the sum of the battery life of the first battery cell 130 and the battery life of the second battery cell 140 after charging is completed can meet user needs.

[0116] In some embodiments, the distribution unit 123 is further configured to distribute the first charging current to the first battery cell 130 and the second charging current to the second battery cell 140 when the first switch component 110 is in the second switching state and the first battery cell 130 and the second battery cell 140 are connected in parallel.

[0117] When the first battery cell 130 and the second battery cell 140 are in the second switching state of the first switch component 110 and the first battery cell 130 and the second battery cell 140 are connected in parallel, the charging process of the first battery cell 130 and the charging process of the second battery cell 140 can be controlled respectively, which is beneficial to improve the flexibility of charging control of the first battery cell 130 and the second battery cell 140.

[0118] In some embodiments, the allocation unit 123 is used to determine the charging order of allocating the first charging current to the first battery cell 130 and the second charging current to the second battery cell 140 according to the number of cycles of the first battery cell 130 and the number of cycles of the second battery cell 140 when the first switch component 110 is in the second switching state; and allocate the first charging current to the first battery cell 130 and the second charging current to the second battery cell 140 in sequence according to the charging order.

[0119] The charging sequence is the time sequence of starting to distribute the first charging current to the first battery cell 130 and starting to distribute the second charging current to the second battery cell 140 .

[0120] Specifically, the charging sequence may include: a first sequence and a second sequence.

[0121] When the charging sequence is the first sequence, the first charging current is first distributed to the first battery cell 130. After the first battery cell 130 is charged with the first charging current for a period of time, the second charging current is distributed to the second battery cell 140. It should be noted that when the second battery cell 140 is charged with the distributed second charging current, the first charging current can still be distributed to the first battery cell 130, or the first charging current can be stopped.

[0122] When the charging sequence is the second sequence, the second charging current is first distributed to the second battery cell 140. After the second battery cell 140 is charged with the second charging current for a period of time, the first charging current is then distributed to the first battery cell 130. It should be noted that when the first battery cell 130 is charged with the distributed first charging current, the second charging current may still be distributed to the second battery cell 140, or the second charging current may be stopped.

[0123] Exemplarily, the allocation unit 123 is used for determining the charging sequence of the first switch component 110 in the second switching state according to the number of cycles of the first battery cell 130 and the number of cycles of the second battery cell 140, wherein the number of cycles is negatively correlated with the charging sequence.

[0124] The number of cycles of a battery cell is positively correlated with its degree of aging. As the number of cycles increases, the degree of aging increases, the difference between the actual capacity and the rated capacity of the battery cell increases, and the battery life after charging is shortened.

[0125] When the number of cycles of the first battery cell 130 is less than or equal to the number of cycles of the second battery cell 140 , the charging order may be a first order indicating that the first battery cell is a battery cell charged first and the second battery cell is a battery cell charged last.

[0126] When the number of cycles of the first battery cell 130 is greater than or equal to the number of cycles of the second battery cell 140 , the charging order may be a second order indicating that the first battery cell is a cell charged later and the second battery cell is a cell charged earlier.

[0127] Specifically, when the number of cycles of the first battery cell 130 is less than that of the second battery cell 140, it can be considered that the degree of aging of the first battery cell 130 is less than that of the second battery cell 140. Therefore, the battery life of the first battery cell 130 after charging is longer than that of the second battery cell 140 after charging. In this case, the first battery cell 130 can be charged first, followed by the second battery cell 140. That is, the charging order is first cell 130 first, followed by the second cell 140.

[0128] When the number of cycles of the first battery cell 130 is equal to the number of cycles of the second battery cell 140, it can be considered that the degree of aging of the first battery cell 130 is equal to the degree of aging of the second battery cell 140. In this case, the first battery cell 130 can be charged first, and then the second battery cell 140. In other words, the charging order is first cell 130 first, and second cell 140 last.

[0129] If the number of cycles of the first battery cell 130 is greater than that of the second battery cell 140, it can be considered that the first battery cell 130 is more aged than the second battery cell 140. Therefore, the battery life of the first battery cell 130 after the first battery cell 130 is fully charged is less than the battery life of the second battery cell 140 after the second battery cell 140 is fully charged. In this case, you can choose to charge the second battery cell 140 first, and then charge the first battery cell 130. In other words, the charging order is first cell 130 last, then second cell 140.

[0130] The charging circuit of the embodiment of the present disclosure determines the charging sequence by the number of cycles of the battery cells, and can set different charging sequences for battery cells with different number of cycles, so that there is a delay between the start time of charging the first battery cell and the start time of charging the second battery cell, thereby staggering the time when the maximum charging power of the external power source for charging the first battery cell and the time when the maximum charging power for charging the second battery cell occurs, thereby reducing the temperature of the charging circuit.

[0131] In some embodiments, the allocation unit 123 is used to detect the voltage of the battery cell to which the charging current is allocated first when allocating the first charging current to the first battery cell 130 and the second charging current to the second battery cell 140 according to the charging order; and allocate the charging current to the battery cell charged later when the detected voltage reaches a preset voltage.

[0132] Taking the charging sequence as an example, in which the first charging current is distributed to the first battery cell 130 and then the second charging current is distributed to the second battery cell 140, the first current conversion unit 121 can output the first charging current to the first battery cell 130 at the first moment to trickle charge the first battery cell 130, and the distribution unit 123 detects the voltage of the first battery cell 130.

[0133] When the voltage of the first battery cell 130 reaches a preset voltage, the first battery cell 130 may enter a state of being charged with a constant current, and the second current conversion unit 122 outputs a reduced second charging current to the second battery cell 140 to pre-charge the second battery cell 140 in a trickle charging mode.

[0134] For example, the preset voltage may be set based on the properties of the battery cell to which the charging current is first allocated. For example, when the battery cell to which the charging current is first allocated is the first battery cell, and the first battery cell is a lithium-ion battery cell, the preset voltage may be 2.5 volts, 3 volts, or 3.5 volts, etc.

[0135] When the first charging current continues to be allocated to the first battery cell 130, so that the first battery cell 130 enters a state of charging at a constant voltage, the second current conversion unit 122 can output the second charging current with an unchanged current size to charge the second battery cell 140, so that the second battery cell 140 enters a state of charging at a constant current.

[0136] It should be noted that the first current conversion unit 121 can communicate with the second current conversion unit 122. For example, the first current conversion unit 121 and the second current conversion unit 122 can communicate through a two-wire serial bus (I2C). Moreover, the first current conversion unit 121 can be set as a master device, and the second current conversion unit 122 can be set as a slave device. In this way, the first current conversion unit 121 can send indication information of starting charging the second battery cell 140 to the second current conversion unit 122, and the second current conversion unit 122 starts to allocate the second charging current to the second battery cell 140 when receiving the indication information.

[0137] In the embodiments of the present disclosure, the voltage of the battery cell that is first allocated with the charging current is detected, and the charging current is allocated to the battery cell that is charged later when the detected voltage reaches the preset voltage. The method is simple, and the timing of allocating the charging current to the battery cell that is charged later can be accurately controlled, which is beneficial to staggering the maximum heating temperature occurrence time of the battery cell that is first allocated with the charging current and the maximum heating temperature occurrence time of the battery cell that is charged later, and reducing the temperature of the charging circuit.

[0138] In some embodiments, referring to FIG. 1, Figure 4a The first switch assembly 110 includes a first end 111, a second end 112, and a third end 113;

[0139] The first end 111 is electrically connected with the first current conversion unit 121;

[0140] The second end 112 is electrically connected with the second current conversion unit 122, and the second end 112 is electrically connected with the allocation unit 123;

[0141] The third end 113 is electrically connected with the allocation unit 123;

[0142] When the first switch assembly 110 is in the first switch state, the first end 111 and the second end 112 are connected;

[0143] When the first switch assembly 110 is in the second switch state, the first end 111 and the third end 113 are connected.

[0144] Exemplarily, the first switch assembly 110 can include a single-pole double-throw switch.

[0145] When the first switch assembly is in the first switch state, refer to Figure 4a As shown, the first end 111 and the second end 112 are connected, and the first battery cell 130 and the second battery cell 140 are in a synchronous charging mode.

[0146] When the first switch assembly 110 is in the second switch state, refer to Figure 4b As shown, the first terminal 111 and the third terminal 113 are connected, and the first battery cell 130 and the second battery cell 140 are in an asynchronous charging mode.

[0147] In some embodiments, reference Figure 4a As shown, when the charging circuit 100 includes a second switch component, the second switch component 150 electrically connected to the distribution unit 123 may include: a first switch unit 151, a second switch unit 152, a third switch unit 153, a fourth switch unit 154 and a fifth switch unit 155;

[0148] The first switch unit 151 includes: a first control terminal 1511, a first output terminal 1512, a second control terminal 1513, and a second output terminal 1514; wherein the first control terminal 1511 is connected to the third terminal 113 of the first switch component 110, the first output terminal 1512 is connected to the positive electrode of the first battery cell 130, the second control terminal 1513 is connected to the second current conversion unit 122, and the second output terminal 1514 is connected to the positive electrode of the second battery cell 140;

[0149] The control end of the second switch unit 152 is electrically connected to the positive electrode of the first battery cell 130 , and the output end of the second switch unit 152 is electrically connected to the negative electrode of the second battery cell 140 ;

[0150] The control end of the third switch unit 153 is electrically connected to the negative electrode of the first battery cell 130 , and the output end of the third switch unit 153 is electrically connected to the positive electrode of the second battery cell 140 ;

[0151] The control end of the fourth switch unit 154 is connected to the negative electrode of the first battery cell 130, and the output end of the fourth switch unit 154 is grounded;

[0152] The control end of the fifth switch unit 155 is connected to the negative electrode of the second battery cell 140 , and the output end of the fifth switch unit 155 is grounded.

[0153] The first switch unit 151 may include two single-pole double-throw switches. The second switch unit 152, the third switch unit 153, the fourth switch unit 154, and the fifth switch unit 155 may each include a single-pole single-throw switch. The single-pole double-throw switch and the single-pole single-throw switch may include a mechanical switch or an electromagnetic switch.

[0154] In some embodiments, reference Figure 4aAs shown, in the synchronous charging mode and when the first battery cell 130 and the second battery cell 140 are connected in series, the first end 111 of the first switch component 110 is connected to the second end 112, the first control end 1511 is connected to the first output end 1512, the second control end 1513 is connected to the second output end 1514, the second switch unit 152 is closed, the third switch unit 153 is disconnected, the fourth switch unit 154 is closed and the fifth switch unit 155 is disconnected.

[0155] For example, referring to Figure 4a As shown, the distribution unit 123 distributes the first charging current and the second charging current to the first battery cell 130 , and the distribution unit 123 distributes the first charging current and the second charging current to the second battery cell 140 .

[0156] At this time, for the power supply component consisting of the first battery cell 130 and the second battery cell 140 connected in series, the first battery cell 130 is located at the cathode of the power supply component, and the second battery cell 140 is located at the anode of the power supply component.

[0157] When the first battery cell 130 and the second battery cell 140 are in synchronous charging mode and the first battery cell 130 and the second battery cell 140 are connected in series, the first battery cell 130 and the second battery cell 140 connected in series can be synchronously charged at the same time through the first current conversion unit 121 and the second current conversion unit 122 connected in parallel.

[0158] In some embodiments, reference Figure 4b As shown, in the asynchronous charging mode and when the first battery cell 130 and the second battery cell 140 are connected in series, the first end 111 of the first switch component 110 is connected to the third end 113, the first control end 1511 is connected to the first output end 1512, the second control end 1513 is connected to the second output end 1514, the second switch unit 152 is closed, the third switch unit 153 is disconnected, the fourth switch unit 154 is closed and the fifth switch unit 155 is disconnected.

[0159] For example, referring to Figure 4b As shown, the distribution unit 123 distributes the first charging current and the second charging current to the first battery cell 130, and the distribution unit 123 distributes the second charging current to the second battery cell 140. For a power supply assembly consisting of the first battery cell 130 and the second battery cell 140 connected in series, the first battery cell 130 is located at the cathode of the power supply assembly, and the second battery cell 140 is located at the anode of the power supply assembly.

[0160] Reference Figure 4bAs shown, when the first switch component 110 is in the second switch state and the second switch component 150 is in the third switch state, the first charging current converted by the first current conversion unit 121 can be distributed only to the first battery cell 130 through the distribution unit 123, so as to realize asynchronous charging control of the first battery cell 130 by the first current conversion unit 121.

[0161] Specifically, refer to Figure 4b As shown, when the first charging current is greater than 0 and the second charging current is 0, the external power supply only charges the first battery cell 130 but does not charge the second battery cell 140 , thereby achieving asynchronous charging control of the first battery cell 130 by the first current conversion unit 121 .

[0162] When asynchronous charging control is performed on the first battery cell 130 and the second battery cell 140 , the first current conversion unit 121 can control the charging speed of the first battery cell 130 by changing the value of the first charging current without affecting the current value of the second battery cell 140 .

[0163] It can be understood that since the input end of the first current conversion unit 121 and the input end of the second current conversion unit 122 are both electrically connected to the charging interface 150, the input end voltage of the first current conversion unit 121 is the same as the input end voltage of the second current conversion unit 122.

[0164] It should be noted that when the distribution unit 123 distributes the first charging current and the second charging current to the first battery cell 130, and the distribution unit 123 distributes the second charging current to the second battery cell 140, the negative electrode voltage of the second battery cell 140 is related to the output terminal voltage of the first current conversion unit 121, and the positive electrode voltage of the first battery cell 130 is related to the output terminal voltage of the first current conversion unit 121. Since the negative electrode of the second battery cell 140 is connected to the positive electrode of the first battery cell 130, in order to ensure the formation of the charging circuit, the first conversion ratio of the first current conversion unit 121 and the second conversion ratio of the second current conversion unit 122 can be adjusted so that the positive electrode voltage of the first battery cell 130 is equal to the negative electrode voltage of the second battery cell 140.

[0165] For example, the first conversion ratio of the first current conversion unit 121 can be controlled to be 2:1, and the second conversion ratio of the second current conversion unit 122 can be controlled to be 1:1, so that the positive voltage of the first battery cell 130 is equal to the negative voltage of the second battery cell 140, so as to ensure that the distribution unit 123 can distribute the first charging current and the second charging current to the first battery cell 130, and distribute the second charging current to the second battery cell 140.

[0166] In some embodiments, reference Figure 4cAs shown, in the asynchronous charging mode, and when the first battery cell 130 and the second battery cell 140 are connected in series, the first end 111 of the first switch component is connected to the third end 113, the first control end 1511 is connected to the second output end 1514, the second control end 1513 is connected to the first output end 1512, the second switch unit 152 is disconnected, the third switch unit 153 is closed, the fourth switch unit 154 is disconnected and the fifth switch unit 155 is closed.

[0167] For example, referring to Figure 4c As shown, the distribution unit 123 distributes the second charging current to the first battery cell 130, and the distribution unit 123 distributes the first charging current and the second charging current to the second battery cell 140. At this time, for the power supply assembly consisting of the first battery cell 130 and the second battery cell 140 connected in series, the first battery cell 130 is located at the anode of the power supply assembly, and the second battery cell 140 is located at the cathode of the power supply assembly.

[0168] Reference Figure 4c As shown, when the first switch component 110 is in the second switch state and the second switch component 150 is in the third switch state, the first current conversion unit 121 can realize asynchronous charging control of the second battery cell 140.

[0169] Specifically, refer to Figure 4c As shown, when the first charging current is equal to 0 and the second charging current is greater than 0, the external power supply only charges the second battery cell 140 but does not charge the first battery cell 130 , thereby realizing asynchronous charging control of the second battery cell 140 by the first current conversion unit 121 .

[0170] In some embodiments, reference Figure 4d As shown, in the synchronous charging mode, and when the first battery cell 130 and the second battery cell 140 are connected in parallel, the first end 111 in the first switch component is connected to the second end 112, the second control end 1513 is connected to the first output end 1512, the second control end 1513 is connected to the second output end 1514, the second switch unit 152 is disconnected, the third switch unit 153 is disconnected, the fourth switch unit 154 is closed and the fifth switch unit 155 is closed.

[0171] For example, referring to Figure 4d As shown, the distribution unit 123 distributes half of the sum of the first charging current and the second charging current to the first battery cell 130, and the distribution unit 123 distributes half of the sum of the first charging current and the second charging current to the second battery cell 140. In this way, the first battery cell 130 and the second battery cell 140 connected in parallel can be charged synchronously through the first current conversion unit 121 and the second current conversion unit 122 connected in parallel.

[0172] In some embodiments, reference Figure 4eAs shown, in the asynchronous charging mode, and when the first battery cell 130 and the second battery cell 140 are connected in parallel, the first end 111 of the first switch assembly is connected with the third end 113, the first control end 1511 is connected with the first output end 1512, and the second control end 1513 is connected with the second output end 1514, the second switch unit 152 is disconnected, the third switch unit 153 is disconnected, the fourth switch unit 154 is connected, and the fifth switch unit 155 is connected.

[0173] Exemplarily, referring to Figure 4e As shown, the distribution unit 123 distributes the first charging current to the first battery cell 130, and the distribution unit 123 distributes the second charging current to the second battery cell 140. In this way, the first current conversion unit 121 can independently charge the first battery cell 130, and the second current conversion unit 122 can independently charge the second battery cell 140.

[0174] Referring to Figure 4e As shown, when the distribution unit 123 distributes the first charging current to the first battery cell 130, and the distribution unit 123 distributes the second charging current to the second battery cell 140, the charging process of the first battery cell 130 can be controlled by controlling the size or output time of the first charging current converted by the first current conversion unit 121.

[0175] In addition, the charging process of the second battery cell 140 can also be controlled by controlling the size or output time of the second charging current converted by the second current conversion unit 122. It should be noted that the sizes of the first charging current and the second charging current can be changed.

[0176] In some embodiments, referring to Figure 4f As shown, in the asynchronous charging mode, and when the first battery cell 130 and the second battery cell 140 are connected in parallel, the first end 111 of the first switch assembly is connected with the third end 113, the first control end 1511 is connected with the second output end 1514, and the second control end 1513 is connected with the first output end 1512, the second switch unit 152 is disconnected, the third switch unit 153 is disconnected, the fourth switch unit 154 is connected, and the fifth switch unit 155 is connected.

[0177] Exemplarily, referring to Figure 4f As shown, the distribution unit 123 distributes the second charging current to the first battery cell 130, and the distribution unit 123 distributes the first charging current to the second battery cell 140. In this way, the first current conversion unit 121 can independently charge the second battery cell 140, and the second current conversion unit 122 can independently charge the first battery cell 130.

[0178] The charging circuit 100 provided by the embodiment of the present disclosure can realize the conversion between the synchronous charging mode and the asynchronous charging mode of the first battery cell 130 and the second battery cell 140, and can also realize the conversion between the series connection and the parallel connection of the first battery cell 130 and the second battery cell 140, so that the charging mode of the electronic device including the charging circuit provided by the embodiment of the present disclosure is more flexible.

[0179] For example, when the first battery cell 130 and the second battery cell 140 need to be quickly charged, the first battery cell 130 and the second battery cell 140 can be connected in series, and the first battery cell 130 and the second battery cell 140 can be charged in the synchronous charging mode.

[0180] It should be noted that when the first battery cell 130 and the second battery cell 140 are in the synchronous charging mode, the first battery cell 130 and the second battery cell 140 can start charging at the same time with a constant current, and the first battery cell 130 and the second battery cell 140 can also start charging at the same time with a constant voltage, so the time when the first battery cell 130 and the second battery cell 140 reach the maximum charging power and the time when the first battery cell 130 and the second battery cell 140 reach the maximum heating temperature are also the same, and the thermal power consumption of the first battery cell 130 and the second battery cell 140 in the charging circuit is superimposed, which can easily cause safety problems of the charging circuit.

[0181] Therefore, the embodiment of the present disclosure can place the first battery cell 130 and the second battery cell 140 in the asynchronous charging mode, for example, the first battery cell 130 can be charged first, and the second battery cell 140 can be charged after a period of time from the charging time of the first battery cell 130, so that the time when the first battery cell 130 reaches the maximum charging power and the time when the second battery cell 140 reaches the maximum charging power point can be staggered, which is beneficial to reduce the maximum value of the thermal power consumption in the charging circuit, and further reduce the maximum value of the heating temperature in the charging process, reduce the demand for heat dissipation capacity of the charging circuit and the difficulty of thermal stacking design of the first battery cell 130 and the second battery cell 140, and ensure the charging safety and charging effect.

[0182] Figure 5 FIG. 1 is a flowchart of an electronic device control method according to an example embodiment, and the electronic device can include a charging circuit provided by the embodiment of the present disclosure. Referring to FIG. 1, the method includes the following steps. Figure 5

[0183] S100: determining a current charging mode;

[0184] S210: when the current charging mode is the synchronous charging mode, controlling a first switching component in the charging circuit to switch to a first switching state;

[0185] S220: when the current charging mode is the asynchronous charging mode, controlling the first switching component in the charging circuit to switch to a second switching state.​

[0186] Electronic devices may include: smartphones, tablet computers, smart bracelets, laptops or desktop computers, etc.

[0187] In S100 , the current charging mode may be determined according to the ambient temperature of the first battery cell and the second battery cell.

[0188] Specifically, when the ambient temperature is less than or equal to a preset temperature, the current charging mode may be determined to be synchronous charging mode, thereby simultaneously charging the first and second battery cells. Compared to asynchronous charging mode, synchronous charging mode can increase the amount of charge stored in the first and second battery cells under the same charging time. Here, the preset temperature may be equal to 15 degrees Celsius or 20 degrees Celsius, for example.

[0189] When the ambient temperature is greater than the preset temperature, the current charging mode can be determined to be the asynchronous charging mode, which is conducive to staggering the time when the first battery cell reaches the maximum thermal power consumption and the time when the second battery cell reaches the maximum thermal power consumption, reducing safety accidents caused by excessive heating temperature and ensuring charging safety.

[0190] Alternatively, in S100 , the current charging mode may be determined according to a charging mode supported by a charging adapter unit connected to the charging circuit.

[0191] Specifically, when the output voltage of the charging mode supported by the charging adapter unit is less than or equal to the first voltage, it can be considered that the charging mode supported by the charging adapter unit does not include the fast charging mode. In order to achieve fast charging of the first battery cell and the second battery cell, the first battery cell and the second battery cell can be charged in an asynchronous charging mode, that is, the current charging mode is determined to be the asynchronous charging mode. The first voltage can include 3 volts or 5 volts, etc.

[0192] When the output voltage of the charging mode supported by the charging adapter unit is greater than the first voltage, it can be considered that the charging mode supported by the charging adapter unit includes a fast charging mode. In this case, the first battery cell and the second battery cell can be charged simultaneously in a synchronous charging mode. The fast charging mode may include: PD fast charging mode or QC fast charging mode.

[0193] Compared with charging the first battery cell and the second battery cell in a fixed synchronous charging mode, or charging the first battery cell and the second battery cell in a fixed asynchronous charging mode, the embodiment of the present disclosure determines the current charging mode and controls the first switch component to be in the first switching state when the current charging mode is the synchronous charging mode, and controls the first switch component to be in the second switching state when the current charging mode is the asynchronous charging mode, so as to control the first switch component to switch between the first switching state and the second switching state, which is beneficial to improving the flexibility of charging control of the first battery cell and the second battery cell, and meeting different charging needs in different charging scenarios.

[0194] In some embodiments, the method further comprises:

[0195] According to the current charging mode and the number of cycles of the first battery cell and the second battery cell, the first charging current converted by the first current conversion unit and the second charging current converted by the second current conversion unit in the charging circuit are controlled to be distributed to the first battery cell and the second battery cell.

[0196] The number of cycles of the first battery cell can be used to reflect the degree of aging of the first battery cell, and the number of cycles of the second battery cell can be used to reflect the degree of aging of the first battery cell and the degree of aging of the second battery cell. It is understandable that as the degree of aging of the battery cell increases, the difference between the actual capacity and the rated capacity of the battery cell after charging increases, and the battery life of the battery cell after charging decreases.

[0197] Therefore, the aging degree of the first battery cell and the aging degree of the second battery cell can be judged according to the number of cycles of the first battery cell and the number of cycles of the second battery cell, and then the charging plan can be set to ensure that the battery life after charging is completed meets user needs.

[0198] Specifically, when the current charging mode is the synchronous charging mode, the first battery cell and the second battery cell are connected in series, and the number of cycles of the first battery cell is less than or equal to the number of cycles of the second battery cell, the first charging current and the second charging current are allocated to the first battery cell, and the second charging current is allocated to the second battery cell.

[0199] When the current charging mode is the synchronous charging mode, the first battery cell and the second battery cell are connected in series, and the number of cycles of the first battery cell is greater than the number of cycles of the second battery cell, the second charging current is allocated to the first battery cell, and the first charging current and the second charging current are allocated to the second battery cell.

[0200] When the number of cycles of the first battery cell is less than the number of cycles of the second battery cell, it can be considered that the aging degree of the first battery cell is less than the aging degree of the second battery cell. Therefore, when the rated capacity of the first battery cell is the same as the rated capacity of the second battery cell 140, the actual capacity of the first battery cell when charging is completed is greater than the actual capacity of the second battery cell when charging is completed. Therefore, the battery life of the first battery cell 130 after charging is completed is greater than the battery life of the second battery cell after charging is completed.

[0201] Therefore, when the number of cycles of the first battery cell is less than that of the second battery cell, allocating the first and second charging currents to the first battery cell and the second charging current to the second battery cell can help increase the charging speed of the first battery cell. Furthermore, compared to allocating the first and second charging currents to the second battery cell, allocating the second charging current to the first battery cell can increase the actual charge capacity stored in the first and second batteries within the same charging time, thereby extending the battery life.

[0202] In some embodiments, controlling the distribution of the first charging current converted by the first current conversion unit and the second charging current converted by the second current conversion unit in the charging circuit to the first battery cell and the second battery cell according to the current charging mode and the number of cycles of the first battery cell and the number of cycles of the second battery cell includes:

[0203] When the current charging mode is the asynchronous charging mode, determining a charging sequence of allocating a first charging current to the first battery cell and allocating a second charging current to the second battery cell according to the number of cycles of the first battery cell and the number of cycles of the second battery cell;

[0204] According to the charging sequence, the first charging current is distributed to the first battery cell and the second charging current is distributed to the second battery cell.

[0205] The charging sequence may include: a first sequence and a second sequence.

[0206] When the charging sequence is the first sequence, the first charging current is first allocated to the first cell. After the first cell is charged with the first charging current for a period of time, the second charging current is allocated to the second cell. It should be noted that when the second cell is charged with the allocated second charging current, the first charging current can still be allocated to the first cell, or the allocation of the first charging current to the first cell can be stopped.

[0207] When the charging sequence is the second sequence, the second charging current is first allocated to the second cell. After the second cell is charged with the second charging current for a period of time, the first charging current is then allocated to the first cell. It should be noted that when the first cell is charged with the allocated first charging current, the second charging current may continue to be allocated to the second cell, or allocation of the second charging current to the second cell may be stopped.

[0208] For example, the number of cycles is negatively correlated with the charging sequence.

[0209] Since the degree of aging of the battery cell increases with the increase in the number of battery cell cycles, when the degree of aging of the battery cell gradually increases, the difference between the actual capacity and the rated capacity of the battery cell when the battery cell is fully charged increases, and the battery life after the battery cell is fully charged is shortened.

[0210] If the number of cycles of the first cell is less than that of the second cell, it can be considered that the first cell is less aged than the second cell. Therefore, the battery life of the first cell after charging is longer than that of the second cell after charging. In this case, you can choose to charge the first cell first and then the second cell. In other words, the charging order is first cell first, then second cell.

[0211] When the number of cycles of the first battery cell is equal to the number of cycles of the second battery cell, the degree of aging of the first battery cell can be considered to be equal to the degree of aging of the second battery cell. In this case, the first battery cell can be charged first, and then the second battery cell. In other words, the charging order is the first cell first, and the second cell last.

[0212] If the number of cycles of the first battery cell is greater than that of the second battery cell, it can be considered that the first battery cell 130 is more aged than the second battery cell. Therefore, the battery life of the first battery cell after charging is less than the battery life of the second battery cell 140 after charging. In this case, you can choose to charge the second battery cell first, then the first battery cell. In other words, the charging order is first cell last, then second cell first.

[0213] The embodiment of the present disclosure determines the charging sequence according to the number of cycles of the battery cells, and different charging sequences can be set for battery cells with different number of cycles, so that there is a delay between the start time of charging the first battery cell and the start time of charging the second battery cell, thereby staggering the time when the maximum charging power of the external power source for charging the first battery cell and the time when the maximum charging power for charging the second battery cell occurs, thereby reducing the temperature of the charging circuit.

[0214] In some embodiments, allocating the first charging current to the first battery cell and allocating the second charging current to the second battery cell in sequence according to the charging order includes:

[0215] Detect the voltage of the battery cell that is first assigned the charging current;

[0216] When the detected voltage of the battery cell to which the charging current is first allocated reaches a preset voltage, the charging current is allocated to the battery cell to be charged later.

[0217] In the embodiment of the present disclosure, the voltage of the battery cell to which the charging current is first allocated is detected, and the charging current is allocated to the battery cell charged later when the detected voltage reaches a preset voltage. The method is simple and can accurately control the timing of allocating the charging current to the battery cell charged later. This is beneficial for staggering the time when the maximum heating temperature of the battery cell to which the charging current is first allocated and the time when the maximum heating temperature of the battery cell charged later occurs, thereby reducing the temperature of the charging circuit.

[0218] In some embodiments, the method further comprises: controlling the first battery cell and the second battery cell in the charging circuit to be connected in series when detecting that the external power source is connected to the charging circuit;

[0219] When it is not detected that the external power source is connected to the charging circuit, the first battery cell and the second battery cell in the charging circuit are controlled to be connected in parallel.

[0220] For example, the second switch component can be controlled to be in the third switching state so that the first battery cell and the second battery cell in the charging circuit are connected in series. The second switch component can be controlled to be in the fourth switching state so that the first battery cell and the second battery cell in the charging circuit are connected in parallel.

[0221] When an external power source charges the first battery cell and the second battery cell in the charging circuit, under the condition that the charging power provided by the external power source is the same, compared with when the first battery cell and the second battery cell are connected in parallel, the current flowing through at least a portion of the transmission line for transmitting current in the charging circuit is smaller when the first battery cell and the second battery cell are connected in series, which can reduce the heat loss of at least a portion of the transmission line. This not only improves the conversion rate of the electric energy provided by the external power source to the electric energy stored in the first battery cell and the second battery cell, but also reduces the heat generated by the transmission line, which is beneficial to reducing charging safety accidents caused by high temperature of the transmission line.

[0222] When the first battery cell and the second battery cell are discharged, the whole formed by the first battery cell and the second battery cell can be used as a power supply component to supply power to the electronic device.

[0223] When the first and second battery cells are connected in series, the internal resistance of the power supply assembly is the sum of the internal resistance of the first and second battery cells. When the first and second battery cells are connected in parallel, the internal resistance of the power supply assembly is less than the sum of the internal resistance of the first and second battery cells. Therefore, compared with the discharge of the first and second battery cells connected in series, the discharge current of the first and second battery cells connected in parallel is larger, which helps meet the user's demand for a larger discharge current.

[0224] In addition, the voltage difference between the first and second battery cells connected in parallel and the electronic device receiving power is small, which is beneficial to reducing the power consumption and heat generation of the first and second battery cells during discharge, and improving the discharge efficiency of the power supply component composed of the first and second battery cells.

[0225] Through the charging circuit provided in the embodiment of the present disclosure, the first battery cell and the second battery cell can be controlled to switch between series connection and parallel connection, thereby improving the flexibility of controlling the first battery cell and the second battery cell, thereby improving the charging efficiency of the first battery cell and the second battery cell, and the discharge efficiency of discharging using the first battery cell and the second battery cell.

[0226] In the embodiment of the present disclosure, when the external power supply is disconnected from the charging circuit, that is, when the external power supply stops charging the charging circuit, the first battery cell and the second battery cell are switched from series connection to parallel connection. At this time, the power supply assembly composed of the first battery cell and the second battery cell can power the electronic device.

[0227] Compared with discharging the first battery cell and the second battery cell in series, the embodiment of the present disclosure uses the first battery cell and the second battery cell in parallel as the power supply component to power the electronic device, which is beneficial to increasing the discharge current of the power supply component composed of the first battery cell and the second battery cell, thereby meeting the user's demand for a larger discharge current, and can reduce the power consumption and heat generation of the first battery cell and the second battery cell during discharge, thereby improving the discharge efficiency of the power supply component composed of the first battery cell and the second battery cell.

[0228] It should be noted that when the first battery cell and the second battery cell are connected in parallel and discharged at the same time, the voltage across the first battery cell is the same as the voltage across the second battery cell.

[0229] Taking the electronic device as a mobile phone and the first battery cell starting charging time earlier than the second battery cell as an example, when the user charges the mobile phone in the off state and switches the mobile phone from the off state to the on state during the charging process, during the startup process, since the current voltage of the first battery cell and the current voltage of the second battery cell are different, the first battery cell and the second battery cell are unbalanced, and the mobile phone can be powered by the first battery cell that starts charging first.

[0230] When the first battery cell is fully charged and the second battery cell is still in a charging state, the second battery cell can be used to supply power to the mobile phone.

[0231] When both the first and second battery cells are fully charged, the voltage of the first battery cell is the same as the voltage of the second battery cell. At this point, the first and second battery cells have reached a balanced state, and the first and second battery cells can simultaneously supply power to the mobile phone.

[0232] In some embodiments, the method further includes: controlling the first battery cell to discharge into the electronic device when no connection between the external power source and the charging circuit is detected and the number of cycles of the first battery cell is less than or equal to the number of cycles of the second battery cell;

[0233] When it is not detected that the external power source is connected to the charging circuit and the cycle number of the first battery cell is greater than the cycle number of the second battery cell, the second battery cell is controlled to discharge to the electronic device.

[0234] When the number of cycles of the first battery cell is less than the number of cycles of the second battery cell, it can be considered that the aging degree of the first battery cell is less than the aging degree of the second battery cell. At this time, the battery life of the first battery cell is longer than the battery life of the second battery cell. Discharging to the electronic device through the first battery cell is beneficial to reduce the number of times the user is reminded to charge, thereby ensuring user experience.

[0235] Figure 6FIG1 is a block diagram of an apparatus 800 for charging control according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

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

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

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

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

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

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

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

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

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

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

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

[0247] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to execute the steps in the electronic device control method provided in an embodiment of the present disclosure.

[0248] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the embodiments disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the appended claims.

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

Claims

1. A charging circuit, characterized in that: include: a first switch assembly having a first switch state and a second switch state; a charging control component connected to the first switch component and configured to control the first switch component to switch between the first switch state and the second switch state; the charging control component comprising two current conversion units; a first battery cell, electrically connected to the charging control component via the first switch component; a second battery cell electrically connected to the charging control component via the first switch component; wherein, when the first switch component is in the first switching state, the first battery cell and the second battery cell are synchronously charged via the same current conversion unit; When the first switch component is in the second switch state, the first battery cell and the second battery cell are asynchronously charged through different current conversion units; A charging interface, connecting an external power source and the charging control component; the charging interface is used to transmit the charging current provided by the external power source to the charging control component; The charging control component includes: a first current conversion unit, configured to convert at least part of the charging current into a first charging current; a second current conversion unit, configured to convert at least a portion of the charging current into a second charging current having a current value different from that of the first charging current; A distribution unit is respectively connected to the first current conversion unit and the second current conversion unit, and is used to distribute the first charging current and the second charging current to the first battery cell and the second battery cell at least according to the first switching state or the second switching state currently in which the first switching component is located.

2. The circuit according to claim 1, wherein: The circuit further comprises: a second switch assembly connected to the first switch assembly, the second switch assembly having a third switch state and a fourth switch state; The charging control component is connected to the second switch component through the first switch component, and is used to control the second switch component to switch between the third switch state and the fourth switch state; The first battery cell is connected to the first switch component via the second switch component; The second battery cell is connected to the first switch component via the second switch component; When the second switch assembly is in the third switch state, the first battery cell and the second battery cell are connected in series; When the second switch component is in the fourth switch state, the first battery cell and the second battery cell are connected in parallel.

3. The circuit according to claim 1, wherein: The distribution unit is specifically configured to transmit the first charging current and the second charging current to the first battery cell, and transmit the first charging current and the second charging current to the second battery cell when the first switch component is in the first switching state and the first battery cell and the second battery cell are connected in series; The distribution unit is specifically further used to distribute half of the sum of the first charging current and the second charging current to the first battery cell, and distribute half of the sum of the first charging current and the second charging current to the second battery cell when the first switch component is in the first switching state and the first battery cell and the second battery cell are connected in parallel.

4. The circuit according to claim 1, wherein: The allocation unit is further configured to obtain the number of cycles of the first battery cell and the number of cycles of the second battery cell; The distribution unit is specifically configured to distribute the first charging current and the second charging current to the first battery cell, and distribute the second charging current to the second battery cell when the first switch component is in the second switching state, the first battery cell and the second battery cell are connected in series, and the number of cycles of the first battery cell is less than or equal to the number of cycles of the second battery cell; The distribution unit is specifically used to distribute the second charging current to the first battery cell, and distribute the first charging current and the second charging current to the second battery cell when the first switch component is in the second switching state, the first battery cell and the second battery cell are connected in series, and the number of cycles of the first battery cell is greater than the number of cycles of the second battery cell.

5. The circuit according to claim 1, wherein: The distribution unit is further configured to distribute the first charging current to the first battery cell and distribute the second charging current to the second battery cell when the first switch component is in the second switch state and the first battery cell and the second battery cell are connected in parallel.

6. The circuit according to claim 5, characterized in that The allocating unit is specifically configured to determine, when the first switch component is in the second switch state, a charging sequence of allocating the first charging current to the first battery cell and allocating the second charging current to the second battery cell according to the number of cycles of the first battery cell and the number of cycles of the second battery cell; And according to the charging sequence, the first charging current is distributed to the first battery cell and the second charging current is distributed to the second battery cell in sequence.

7. The circuit according to claim 6, characterized in that The allocation unit is specifically used to determine the charging sequence according to the number of cycles of the first battery cell and the number of cycles of the second battery cell when the first switch component is in the second switch state, wherein the number of cycles is negatively correlated with the charging sequence.

8. The circuit according to claim 7, characterized in that The allocating unit is configured to detect the voltage of the battery cell to which the charging current is allocated first when allocating the first charging current to the first battery cell and allocating the second charging current to the second battery cell according to the charging sequence; When the detected voltage reaches a preset voltage, the charging current is distributed to the battery cell to be charged later.

9. The circuit according to claim 1, wherein: The first switch assembly includes: a first end, a second end, and a third end; The first end is electrically connected to the first current conversion unit; The second end is electrically connected to the second current conversion unit, and the second end is electrically connected to the distribution unit; The third end is electrically connected to the distribution unit; Wherein, when the first switch component is in the first switch state, the first end and the second end are connected; When the first switch component is in the second switch state, the first end and the third end are connected.

10. The circuit according to claim 9, characterized in that When the circuit includes a second switch component, the second switch component electrically connected to the distribution unit includes: a first switch unit, a second switch unit, a third switch unit, a fourth switch unit and a fifth switch unit; The first switch unit includes: a first control end, a first output end, a second control end, and a second output end; wherein the first control end is connected to the third end of the first switch component, the first output end is connected to the positive electrode of the first battery cell, the second control end is connected to the second current conversion unit, and the second output end is connected to the positive electrode of the second battery cell; The control end of the second switch unit is electrically connected to the positive electrode of the first battery cell, and the output end of the second switch unit is electrically connected to the negative electrode of the second battery cell; The control end of the third switch unit is electrically connected to the negative electrode of the first battery cell, and the output end of the third switch unit is electrically connected to the positive electrode of the second battery cell; The control end of the fourth switch unit is connected to the negative electrode of the first battery cell, and the output end of the fourth switch unit is grounded; The control end of the fifth switch unit is connected to the negative electrode of the second battery cell, and the output end of the fifth switch unit is grounded.

11. The circuit according to claim 10, characterized in that When the first battery cell and the second battery cell are connected in series, the first control end is connected to the first output end, the second control end is connected to the second output end, the second switch unit is closed, the third switch unit is open, the fourth switch unit is closed, and the fifth switch unit is open; or, When the first battery cell and the second battery cell are connected in series, the first control end is connected to the second output end, the second control end is connected to the first output end, the second switch unit is disconnected, the third switch unit is closed, the fourth switch unit is disconnected, and the fifth switch unit is closed.

12. The circuit according to claim 10, characterized in that When the first battery cell and the second battery cell are connected in parallel, the second switch unit is opened, the third switch unit is opened, the fourth switch unit is closed, and the fifth switch unit is closed.

13. The circuit according to claim 12, characterized in that In the synchronous charging mode, the second control end is connected to the first output end, and the second control end is connected to the second output end; In the asynchronous charging mode, the first control end is connected to the first output end, and the second control end is connected to the second output end; or, In the asynchronous charging mode, the first control end is connected to the second output end, and the second control end is connected to the first output end.

14. A method for controlling an electronic device, characterized in that: The electronic device comprises the charging circuit according to any one of claims 1 to 13, and the method comprises: Determine the current charging mode; When the current charging mode is the synchronous charging mode, controlling the first switch component in the charging circuit to switch to a first switch state; When the current charging mode is the asynchronous charging mode, the first switch component in the charging circuit is controlled to switch to a second switch state.

15. The method according to claim 14, characterized in that The method further comprises: According to the current charging mode and the number of cycles of the first battery cell and the number of cycles of the second battery cell, the first charging current converted by the first current conversion unit and the second charging current converted by the second current conversion unit in the charging circuit are controlled to be distributed to the first battery cell and the second battery cell.

16. The method according to claim 15, characterized in that The method of controlling, according to the current charging mode and the number of cycles of the first battery cell and the number of cycles of the second battery cell, distributing the first charging current converted by the first current conversion unit in the charging circuit and the second charging current converted by the second current conversion unit to the first battery cell and the second battery cell, includes: When the current charging mode is the synchronous charging mode, the first battery cell and the second battery cell are connected in series, and the number of cycles of the first battery cell is less than or equal to the number of cycles of the second battery cell, allocating the first charging current and the second charging current to the first battery cell, and allocating the second charging current to the second battery cell; or, When the current charging mode is the synchronous charging mode, the first battery cell and the second battery cell are connected in series, and the number of cycles of the first battery cell is greater than the number of cycles of the second battery cell, the second charging current is allocated to the first battery cell, and the first charging current and the second charging current are allocated to the second battery cell.

17. The method according to claim 15, characterized in that: The method of controlling, according to the current charging mode and the number of cycles of the first battery cell and the number of cycles of the second battery cell, distributing the first charging current converted by the first current conversion unit in the charging circuit and the second charging current converted by the second current conversion unit to the first battery cell and the second battery cell, includes: When the current charging mode is the asynchronous charging mode, determining a charging order of allocating the first charging current to the first battery cell and allocating the second charging current to the second battery cell according to the number of cycles of the first battery cell and the number of cycles of the second battery cell; According to the charging sequence, the first charging current is distributed to the first battery cell and the second charging current is distributed to the second battery cell in sequence.

18. The method according to claim 17, characterized in that The number of cycles is negatively correlated with the charging sequence.

19. The method according to claim 18, characterized in that The allocating the first charging current to the first battery cell and the allocating the second charging current to the second battery cell in sequence according to the charging sequence includes: Detect the voltage of the battery cell that is first assigned the charging current; When the detected voltage of the battery cell to which the charging current is first allocated reaches a preset voltage, the charging current is allocated to the battery cell to be charged later.

20. The method according to claim 16, wherein When detecting that an external power source is connected to the charging circuit, controlling the first battery cell and the second battery cell in the charging circuit to be connected in series; When it is detected that no external power source is connected to the charging circuit, the first battery cell and the second battery cell in the charging circuit are controlled to be connected in parallel.

21. The method according to claim 20, characterized in that The method further comprises: When no external power source is detected to be connected to the charging circuit and the number of cycles of the first battery cell is less than or equal to the number of cycles of the second battery cell, controlling the first battery cell to discharge into the electronic device; When it is not detected that an external power source is connected to the charging circuit and the number of cycles of the first battery cell is greater than the number of cycles of the second battery cell, the second battery cell is controlled to discharge to the electronic device.

22. A charging control device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to: implement the steps in the method according to any one of claims 14 to 21 when executing the executable instructions.

23. A non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform the steps in the method according to any one of claims 14 to 21.

Citation Information

Patent Citations

  • Multi-battery quick charging circuit and method

    CN104242397A

  • Battery voltage-multiplying charging circuit and mobile terminal

    CN105978049A