Charging and discharging circuit, charging and discharging control method and electronic equipment
By designing charging chips and battery cells connected in parallel in electronic devices, as well as corresponding switching circuits and control modules, the problem of difficulty in effectively setting up parallel charging circuits in folding screen electronic devices in the existing technology is solved, and flexible and safe Charging and Discharge Modes.
Patent Information
- Application Number
- CN202010972644.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-16
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-09-16
AI Technical Summary
The existing charging and discharging circuits are difficult to effectively set up in electronic devices including two folding screens, especially in parallel charging mode.
A charging and discharging circuit including a charging chip, two battery cells connected in parallel, respective switching circuits and control modules is designed. The control module controls the corresponding switching circuit according to the power of each battery cell to achieve flexible charging and discharging modes.
The charging and discharging circuit can flexibly, controllably and safely realize the charging, parallel charging or disconnection mode of the battery cell, avoid overcharging and undercharging problems, and is suitable for electronic devices including two folding screens.
Smart Images

Figure CN114268137B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a charge and discharge circuit, a charge and discharge control method, and an electronic equipment. Background Art
[0002] With the development of science and technology, electronic devices that can standby for a long time are favored by users, which requires an increase in the number of battery cells. For example, the electronic device includes a charging and discharging circuit, and the charging and discharging circuit includes two battery cells. The two battery cells are charged and discharged in series through one charging and discharging circuit, or the two battery cells are charged in series and discharged in parallel through another charging and discharging circuit. However, these two charging and discharging circuits are not easy to be set in an electronic device including two folding screens, and the charging and discharging circuit for parallel charging is suitable for an electronic device including two folding screens, so it is particularly important to provide a charging and discharging circuit for parallel charging. Summary of the invention
[0003] The present disclosure provides an improved charging and discharging circuit, a charging and discharging control method and an electronic device.
[0004] One aspect of the present disclosure provides a charge-discharge circuit for an electronic device, the charge-discharge circuit comprising:
[0005] Charging chip;
[0006] A first battery cell is connected between the charging chip and a ground terminal through a first line;
[0007] A second battery cell is connected between the charging chip and a ground terminal via a second circuit connected in parallel with the first circuit;
[0008] A first switch circuit, connected to the first circuit;
[0009] A second switch circuit is connected to the second line; and
[0010] The control module is connected to the first switch circuit and the second switch circuit, and is configured to: in a charging mode, detect a first charge of the first battery cell and a second charge of the second battery cell; control the first switch circuit to turn on or off the first battery cell and the charging chip based on the first charge; and control the second switch circuit to turn on or off the second battery cell and the charging chip based on the second charge.
[0011] Optionally, the control module is specifically configured to: determine that the first power is less than a first full charge capacity of the first battery cell, control the first switch circuit to connect the first battery cell and the charging chip, or determine that the first power is equal to a first full charge capacity of the first battery cell, control the first switch circuit to disconnect the first battery cell and the charging chip; and / or
[0012] Determine that the second electrical charge is less than the second full charge of the second battery cell, and control the second switch circuit to turn on the second battery cell and the charging chip; or determine that the second electrical charge is equal to the second full charge of the second battery cell, and control the second switch circuit to disconnect the second battery cell and the charging chip.
[0013] Optionally, the charging and discharging circuit further includes a discharge connection terminal connected between the charging chip and the first switch circuit and between the charging chip and the second switch circuit; the control module is further configured as:
[0014] Determine that the first charge is equal to a first fully charged charge of the first battery cell, and determine that the second charge is equal to a second fully charged charge of the second battery cell; control the first switch circuit to conduct between the first battery cell and the discharge connection terminal, and control the second switch circuit to conduct between the second battery cell and the discharge connection terminal; or
[0015] The control module is further configured to: in response to the charging chip stopping charging, control the first switch circuit to conduct between the first battery cell and the discharge connection terminal, and control the second switch circuit to conduct between the second battery cell and the discharge connection terminal.
[0016] Optionally, the control module includes a controller, and a first fuel meter and a second fuel meter connected to the controller, the first fuel meter is used to detect a first charge of the first battery cell, and the second fuel meter is used to detect a second charge of the second battery cell, and the controller is configured to: in charging mode, control the first switch circuit to turn on or disconnect the first battery cell and the charging chip based on the first charge; and control the second switch circuit to turn on or disconnect the second battery cell and the charging chip based on the second charge.
[0017] Optionally, the first switch circuit includes: a first switch element, a second switch element, a third switch element and a fourth switch element;
[0018] The first switch component and the second switch component are connected to the first circuit between the charging chip and the first battery cell, the control end of the first switch component and the control end of the second switch component are connected to the first end of the third switch component, the second end of the third switch component is grounded, the control end of the third switch component is connected to the first end of the fourth switch component, the second end of the fourth switch component is grounded, and the control end of the fourth switch component is connected to the controller.
[0019] Optionally, the first switch circuit and the second switch circuit have the same structure; and / or, the electronic device includes a mainboard, and the first switch circuit and the second switch circuit are both arranged on the mainboard.
[0020] Optionally, the first switch circuit includes a first drive unit, a first protection chip and a first switch unit, the control end of the first drive unit is connected to the controller, the drive end of the first drive unit is connected to the first protection chip, the first protection chip is connected to the control end of the first switch unit, and the first switch unit is connected to the first line;
[0021] The controller is specifically configured to: control the first driving unit to output a driving signal to the first protection chip based on the first power, so that the first protection chip drives the first switching unit to turn on or off the first battery cell and the charging chip based on the driving signal.
[0022] Optionally, the first driving unit includes a ninth switch element and a tenth switch element; the control end of the ninth switch element is connected to the controller, the first end of the ninth switch element is connected to the control end of the tenth switch element, and the second end of the ninth switch element is grounded; the first end of the tenth switch element is connected to the first line between the charging chip and the first battery cell, and the second end of the tenth switch element is connected to the first protection chip; and / or
[0023] The first switch unit includes: an eleventh switch element and a twelfth switch element connected in series to the first circuit, and a control end of the eleventh switch element and a control end of the twelfth switch element are connected to the first protection chip.
[0024] Optionally, the first switch circuit and the second switch circuit have the same structure; and / or, the electronic device includes: a main board and a first battery protection board, the first drive unit is arranged on the main board, and the first protection chip and the first switch unit are arranged on the first battery protection board.
[0025] Optionally, the first fuel meter is also connected to the first switching circuit, and the second fuel meter is also connected to the second switching circuit, and the controller is specifically configured to: in charging mode, control the first fuel meter to drive the first switching circuit to turn on or disconnect the first battery cell and the charging chip based on the first power; and control the second fuel meter to drive the second switching circuit to turn on or disconnect the second battery cell and the charging chip based on the second power.
[0026] Optionally, the control module includes: a first electricity meter and a second electricity meter, the first electricity meter is connected to the first switch circuit, and the first electricity meter is configured to: in the charging mode, detect a first electricity quantity of the first battery cell, and control the first switch circuit to turn on or off the first battery cell and the charging chip based on the first electricity quantity;
[0027] The second fuel gauge is connected to the second switch circuit, and the second fuel gauge is configured to: in the charging mode, detect the second charge of the second battery cell, and control the second switch circuit to turn on or off the second battery cell and the charging chip based on the second charge.
[0028] Optionally, the first switch circuit includes: a seventeenth switch element and an eighteenth switch element connected in series to the first line, and the first electricity meter is connected to the control end of the seventeenth switch element and the control end of the eighteenth switch element.
[0029] Optionally, the control module also includes a first current sampling resistor, which is connected between the first switch circuit and the first battery cell, and the first fuel gauge is connected to both ends of the first current sampling resistor. The first fuel gauge is also configured to: detect the direction of the current in the first current sampling resistor, and control the seventeenth switch element and the eighteenth switch element to be turned on or off based on the direction of the current.
[0030] Optionally, the first switch circuit and the second switch circuit have the same structure; and / or, the electronic device includes a first battery protection board, and the first switch circuit is arranged on the first battery protection board.
[0031] Another aspect of the present disclosure provides a charge and discharge control method, which is applied to a charge and discharge circuit, wherein the charge and discharge circuit includes: a charging chip, a first battery cell connected between the charging chip and a ground terminal through a first circuit, a second battery cell connected between the charging chip and the ground terminal through a second circuit connected in parallel with the first circuit, a first switch circuit connected to the first circuit, and a second switch circuit connected to the second circuit; the method includes:
[0032] In a charging mode, detecting a first charge of the first battery cell and a second charge of the second battery cell;
[0033] Controlling the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power;
[0034] The second switch circuit is controlled to turn on or off the second battery cell and the charging chip based on the second power.
[0035] Optionally, controlling the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power includes:
[0036] Determine that the first power is less than a first fully charged power of the first battery cell, and control the first switch circuit to connect the first battery cell and the charging chip; or, determine that the first power is equal to a first fully charged power of the first battery cell, and control the first switch circuit to disconnect the first battery cell and the charging chip; and / or,
[0037] The controlling the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power includes:
[0038] Determine that the second electrical charge is less than the second full charge of the second battery cell, and control the second switch circuit to turn on the second battery cell and the charging chip; or determine that the second electrical charge is equal to the second full charge of the second battery cell, and control the second switch circuit to disconnect the second battery cell and the charging chip.
[0039] Optionally, the charging and discharging circuit further includes a discharge connection terminal connected between the charging chip and the first switch circuit and between the charging chip and the second switch circuit; the method further includes:
[0040] Determining that the first charge is equal to a first fully charged charge of the first battery cell, and determining that the second charge is equal to a second fully charged charge of the second battery cell;
[0041] The first switch circuit is controlled to conduct the first battery cell and the discharge connection end, and the second switch circuit is controlled to conduct the second battery cell and the discharge connection end.
[0042] Optionally, the method further comprises:
[0043] In response to the charging chip stopping charging, the first switch circuit is controlled to conduct the first battery cell and the discharge connection terminal, and the second switch circuit is controlled to conduct the second battery cell and the discharge connection terminal.
[0044] Another aspect of the present disclosure provides an electronic device, comprising any one of the charging and discharging circuits mentioned above.
[0045] Optionally, the electronic device includes a first folding portion and a second folding portion, the first battery cell of the charge-discharge circuit is arranged in the first folding portion, and the second battery cell of the charge-discharge circuit is arranged in the second folding portion.
[0046] The technical solution provided by the present disclosure has at least the following beneficial effects:
[0047] Based on the first battery cell being connected in parallel between the charging chip and the ground terminal through the first circuit, and the second battery cell being connected in parallel through the second circuit, the specifications of the first battery cell and the second battery cell are not restricted, and the application scope of the charging and discharging circuit is expanded. Based on the first switch circuit being connected in the first circuit, and the second switch circuit being connected in the second circuit, the control module controls the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power, and controls the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power, so as to flexibly, controllably and safely realize the mode of charging one of the first battery cell and the second battery cell, charging the first battery cell and the second battery cell in parallel, or disconnecting the first battery cell and the second battery cell from the charging chip, avoiding the problems of overcharging and undercharging, and realizing fast charging. In addition, the structure of the charging and discharging circuit is simple, and it is suitable for electronic devices including at least two folding parts. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 FIG. 4 is a block diagram of a charging and discharging circuit according to an exemplary embodiment of the present disclosure;
[0049] Figure 2 FIG. 4 is a circuit diagram of a charging and discharging circuit according to an exemplary embodiment of the present disclosure;
[0050] Figure 3 FIG. 4 is a circuit diagram of a charging and discharging circuit according to an exemplary embodiment of the present disclosure;
[0051] Figure 4 FIG. 4 is a circuit diagram of a charging and discharging circuit according to an exemplary embodiment of the present disclosure;
[0052] Figure 5 FIG. 1 is a flow chart of a charge and discharge control method according to an exemplary embodiment of the present disclosure;
[0053] Figure 6 FIG. 1 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present disclosure;
[0054] Figure 7 Shown is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0055] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0056] The terms used in the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The words "first", "second" and similar words used in the present disclosure specification and claims do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one" or "one" do not indicate a quantitative limit, but indicate that there is at least one. Unless otherwise specified, similar words such as "include" or "comprise" mean that the elements or objects appearing in front of "include" or "comprise" include the elements or objects listed after "include" or "comprise" and their equivalents, and do not exclude other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, and can include electrical connections, whether direct or indirect.
[0057] As used in this disclosure and the appended claims, the singular forms "a", "an", "said", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
[0058] Figure 1 The block diagram of a charging and discharging circuit according to an exemplary embodiment of the present disclosure is shown, which is used in electronic equipment. The charging and discharging circuit includes: a charging chip 110, a first battery cell 120, a second battery cell 130, a first switching circuit 140, a second switching circuit 150 and a control module 160.
[0059] The charging chip 110 is connected to the charging interface 101 of the electronic device, and the charging chip 110 adjusts the charging voltage and the charging current output to the first battery cell 120 and the second battery cell 130 to charge the first battery cell 120 and the second battery cell 130. Exemplarily, the number of the charging chip 110 is one. Exemplarily, the number of the charging chip 110 is multiple, and the multiple charging chips 110 can be connected in parallel.
[0060] The first battery cell 120 is connected between the charging chip 110 and the ground terminal GND through the first line 102. The second battery cell 130 is connected between the charging chip 110 and the ground terminal GND through the second line 103 connected in parallel with the first line 102. Since the first battery cell 120 and the second battery cell 130 are connected in parallel, the first battery cell 120 and the second battery cell 130 can be the same or different, which makes the first battery cell 120 and the second battery cell 130 unrestricted.
[0061] The first switch circuit 140 is connected to the first line 102 . The second switch circuit 150 is connected to the second line 103 .
[0062] The control module 160 is connected to the first switch circuit 140 and the second switch circuit 150, and the control module 160 is configured to: in the charging mode, detect the first power of the first battery cell 120 and the second power of the second battery cell 130. Based on the first power, the first switch circuit 140 is controlled to turn on or off the first battery cell 120 and the charging chip 110; based on the second power, the second switch circuit 150 is controlled to turn on or off the second battery cell 130 and the charging chip 110. The control module 160 can detect the first power of the first battery cell 120 and the second power of the second battery cell 130 in real time to determine whether the first battery cell 120 and the second battery cell 130 are full.
[0063] In some embodiments, the control module 160 is specifically configured to: determine that the first power is less than the first full charge of the first battery cell 120, control the first switch circuit 140 to turn on the first battery cell 120 and the charging chip 110, or, determine that the first power is equal to the first full charge of the first battery cell 120, control the first switch circuit 140 to disconnect the first battery cell 120 and the charging chip 110; and / or
[0064] Determine that the second power is less than the second full charge of the second battery cell 130, and control the second switch circuit 150 to connect the second battery cell 130 and the charging chip 110; or, determine that the second power is equal to the second full charge of the second battery cell 130, and control the second switch circuit 150 to disconnect the second battery cell 130 and the charging chip 110.
[0065] The "first full charge" involved in the present disclosure refers to the amount of electricity corresponding to when the first battery cell 120 is fully charged, and the "second full charge" refers to the amount of electricity corresponding to when the second battery cell 130 is fully charged. If the first amount of electricity is less than the first full charge, the first battery cell 120 is not fully charged, and if the first amount of electricity is equal to the first full charge, the first battery cell 120 is fully charged. If the second amount of electricity is less than the second full charge, the second battery cell 130 is not fully charged, and if the second amount of electricity is equal to the second full charge, the second battery cell 130 is fully charged.
[0066] When one of the first battery cell 120 and the second battery cell 130 is not fully charged and the other is fully charged, the fully charged battery cell and the charging chip 110 are disconnected through the first switch circuit 140 or the second switch circuit 150, and the partially charged battery cell and the charging chip 110 are connected through the first switch circuit 140 or the second switch circuit 150. Taking the case where the first battery cell 120 is fully charged and the second battery cell 130 is not fully charged as an example, the control module 160 controls the first switch circuit 140 to disconnect the first battery cell 120 and the charging chip 110, and controls the second switch circuit 150 to connect the second battery cell 130 and the charging chip 110. When both the first battery cell 120 and the second battery cell 130 are fully charged, the control module 160 controls the first switch circuit 140 to disconnect the first battery cell 120 and the charging chip 110, and controls the second switch circuit 150 to disconnect the second battery cell 130 and the charging chip 110, so as to avoid overcharging. When the first battery cell 120 and the second battery cell 130 are not fully charged, the control module 160 controls the first switch circuit 140 to conduct the first battery cell 120 and the charging chip 110, and controls the second switch circuit 150 to conduct the second battery cell 130 and the charging chip 110, so that the charging chip 110 charges the first battery cell 120 and the second battery cell 130 in parallel.
[0067] Based on the above, the charging and discharging circuit provided in the embodiment of the present disclosure is based on the first battery cell 120 being connected in parallel between the charging chip 110 and the ground terminal GND through the first line 102, and the second battery cell 130 being connected in parallel through the second line 103. This makes the specifications of the first battery cell 120 and the second battery cell 130 unrestricted, thereby expanding the application scope of the charging and discharging circuit. Based on the first switch circuit 140 being connected to the first line 102 and the second switch circuit 150 being connected to the second line 103, the control module 160 controls the first switch circuit 140 to turn on or off the first battery cell 120 and the charging chip 110 based on the first power, and controls the second switch circuit 150 to turn on or off the second battery cell 130 and the charging chip 110 based on the second power, so as to flexibly, controllably and safely realize the mode of charging one of the first battery cell 120 and the second battery cell 130, charging the first battery cell 120 and the second battery cell 130 in parallel, or disconnecting the first battery cell 120 and the second battery cell 130 from the charging chip 110, avoiding the problem of overcharging and undercharging, and realizing fast charging. In addition, the structure of the charging and discharging circuit is simple, and it is suitable for electronic devices including at least two folding parts.
[0068] In some embodiments, continue to refer to Figure 1The charge and discharge circuit further includes a discharge connection terminal 170, which is connected between the charging chip 110 and the first switch circuit 140 and between the charging chip 110 and the second switch circuit 150. The control module 160 is also configured to: determine that the first power is equal to the first full charge of the first battery cell 120, and determine that the second power is equal to the second full charge of the second battery cell 130; control the first switch circuit 140 to conduct the first battery cell 120 and the discharge connection terminal 170, and control the second switch circuit 150 to conduct the second battery cell 130 and the discharge connection terminal 170. In other words, when the first battery cell 120 and the second battery cell 130 are fully charged, the first battery cell 120 and the discharge connection terminal 170 are connected, and the second battery cell 130 and the discharge connection terminal 170 are connected, so that the first battery cell 120 and the second battery cell 130 are discharged in parallel through the discharge connection terminal 170. Among them, the discharge connection terminal 170 is connected to the system module of the electronic device, and the first battery cell 120 and the second battery cell 130 supply power to the system module through the discharge connection terminal 170. It should be noted that when the first battery cell 120 and the second battery cell 130 are fully charged, the control module 160 controls the first switch circuit 140 to disconnect the first battery cell 120 and the charging chip 110, and controls the second switch circuit 150 to disconnect the second battery cell 130 and the charging chip 110, and the control module 160 controls the charging chip 110 to stop outputting electric energy to the first battery cell 120 and the second battery cell 130. In this way, when the first switch circuit 140 and the second switch circuit 150 are turned on, the first battery cell 120 can discharge to the discharge connection terminal 170, and the second battery cell 130 can discharge to the discharge connection terminal 170.
[0069] In some embodiments, the control module 160 is further configured to: in response to the charging chip 110 stopping charging, control the first switch circuit 140 to conduct the first battery cell 120 and the discharge connection terminal 170, and control the second switch circuit 150 to conduct the second battery cell 130 and the discharge connection terminal 170. For example, when the charger is unplugged from the charging interface 101 and stops charging the charging chip 110, the first battery cell 120 and the second battery cell 130 are discharged in parallel through the discharge connection terminal 170.
[0070] Figure 2 FIG. 1 is a circuit diagram of a charging and discharging circuit according to an exemplary embodiment of the present disclosure. Figure 3 FIG. 1 is a circuit diagram of a charging and discharging circuit according to an exemplary embodiment of the present disclosure. Figure 4 The circuit diagram of the charging and discharging circuit according to an exemplary embodiment of the present disclosure is shown below. Figures 2 to 4 Two types of embodiments are given:
[0071] First, as the first type of embodiment, refer to Figure 2 or Figure 3The control module 160 includes a controller (not shown), and a first electricity meter 161 and a second electricity meter 162 connected to the controller. The first electricity meter 161 is used to detect the first electricity of the first battery cell 120, and the second electricity meter 162 is used to detect the second electricity of the second battery cell 130. The controller is configured to: in the charging mode, control the first switch circuit 140 to turn on or off the first battery cell 120 and the charging chip 110 based on the first electricity; and control the second switch circuit 150 to turn on or off the second battery cell 130 and the charging chip 110 based on the second electricity. Exemplarily, the first electricity meter 161 sends the detected first electricity to the controller in real time, and the second electricity meter 162 sends the detected second electricity to the controller in real time. The controller may be a CPU (Central Processing Unit).
[0072] The following describes the working principle of the first type of charging and discharging circuit in combination with three circuit structures:
[0073] (1) In the first embodiment, refer to Figure 2 , the first switch circuit 140 includes: a first switch Q1, a second switch Q2, a third switch Q3 and a fourth switch Q4; the first switch Q1 and the second switch Q2 are connected to the first line 102 between the charging chip 110 and the first battery cell 120, the control end of the first switch Q1 and the control end of the second switch Q2 are connected to the first end of the third switch Q3, the second end of the third switch Q3 is grounded, the control end of the third switch Q3 is connected to the first end of the fourth switch Q4, the second end of the fourth switch Q4 is grounded, and the control end of the fourth switch Q4 is connected to the controller. The GPIO1 end of the controller is connected to the control end of the fourth switch Q4 to control the fourth switch Q4 to turn on or off. The turning on or off of the fourth switch Q4 causes the turning on or off of the third switch Q3, which further causes the turning on or off of the first switch Q1 and the second switch Q2, so that the first switch circuit 140 turns on or off the first battery cell 120 and the charging chip 110.
[0074] In some embodiments, the first switch circuit 140 further includes: a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. One end of the first resistor R1 is connected between the charging chip 110 and the first switch Q1, and the other end of the first resistor R1 is connected between the first end of the third switch Q3 and the control end of the first switch Q1. One end of the second resistor R2 is connected between the charging chip 110 and the first switch Q1, and the other end of the second resistor R2 is connected between the first end of the fourth switch Q4 and the control end of the third switch Q3. One end of the third resistor R3 is connected between the first end of the third switch Q3 and the control end of the second switch Q2, and the other end of the third resistor R3 is connected between the second switch Q2 and the first battery cell 120. One end of the fourth resistor R4 is connected between the first end of the fourth switch Q4 and the control end of the third switch Q3, and the other end is connected between the second switch Q2 and the first battery cell 120. By setting the first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4, a voltage dividing effect is achieved to ensure that there is a voltage drop between the control end and the connection end of the first switch element Q1, the second switch element Q2, the third switch element Q3 and the fourth switch element Q4, so that the four switch elements can work normally.
[0075] In some embodiments, the first switch Q1, the second switch Q2, the third switch Q3 and the fourth switch Q4 are all power switch tubes. The power switch tube is easy to obtain and control. Exemplarily, the first switch Q1 and the second switch Q2 are P-type power switch tubes, and the third switch Q3 and the fourth switch Q4 are N-type power switch tubes. Exemplarily, when the GPIO1 end of the controller pulls up the level of the control end of the fourth switch Q4, the fourth switch Q4 is turned on. Since the second connection end of the fourth switch Q4 is grounded, the control end of the third switch Q3 is grounded, and the control end of the third switch Q3 is pulled down, and the third switch Q3 is disconnected. The control end of the first switch Q1 is connected to the charging chip 110 through the first resistor R1, that is, the control end of the first switch Q1 is pulled up by the charging chip 110, which disconnects the first switch Q1. Similarly, the potential of the control end of the second switch Q2 is equal to that of the control end of the first switch Q1, that is, the control end of the second switch Q2 is pulled up, which disconnects the second switch Q2. In this way, the first switch circuit 140 disconnects the charging chip 110 and the first battery cell 120. Exemplarily, when the GPIO1 terminal of the control module 160 pulls down the level of the control terminal of the fourth switch element Q4, the fourth switch element Q4 is disconnected, which connects the control terminal of the third switch element Q3 to a high level, and the third switch element Q3 is turned on, thereby grounding the control terminal of the first switch element Q1 and the control terminal of the second switch element Q2, and the first switch element Q1 and the second switch element Q2 are turned on, so that the first switch circuit 140 turns on the charging chip 110 and the first battery cell 120.
[0076] In addition, for example, continue to refer to Figure 2 , the first switch Q1 and the second switch Q2 are the same power switch tubes and are connected in reverse. Exemplarily, the first switch Q1 includes a first parasitic diode (not shown), and the second switch Q2 includes a second parasitic diode (not shown); the first parasitic diode and the second parasitic diode are connected in reverse. In this way, when the first switch Q1 and the second switch Q2 are both disconnected, the first parasitic diode and the second parasitic diode cooperate to ensure that the first battery cell 120 and the charging chip 110 are disconnected.
[0077] In some embodiments, continue to refer to Figure 2 , the first switch circuit 140 and the second switch circuit 150 have the same structure. Exemplarily, the second switch circuit 150 includes a fifth switch element Q5, a sixth switch element Q6, a seventh switch element Q7, an eighth switch element Q8, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7 and an eighth resistor R8. The second switch circuit 150 can refer to the relevant description of the first switch circuit 140, which will not be described in detail here. In some embodiments, continue to refer to Figure 2 The electronic device includes a main board 180, and the first switch circuit 140 and the second switch circuit 150 are both disposed on the main board 180. The controller and the charging chip 110 can also be disposed on the main board 180. The electronic device also includes a first battery protection board 190 connected to the first battery cell 120, and a second battery protection board 200 connected to the second battery cell 130. The first fuel gauge 161 is disposed on the first battery protection board 190, and the second fuel gauge 162 is disposed on the second battery protection board 200.
[0078] (2) In the second embodiment, refer to Figure 3 , the first switch circuit 140 includes a first drive unit 141, a first protection chip 142 and a first switch unit 143, the control end of the first drive unit 141 is connected to the controller, the drive end of the first drive unit 141 is connected to the first protection chip 142, the first protection chip 142 is connected to the control end of the first switch unit 143, and the first switch unit 143 is connected to the first line 102. The controller is specifically configured to: control the first drive unit 141 to output a drive signal to the first protection chip 142 based on the first power, so that the first protection chip 142 drives the first switch unit 143 to turn on or off the first battery cell 120 and the charging chip 110 based on the drive signal.
[0079] In some embodiments, continue to refer to Figure 3, the first driving unit 141 includes a ninth switch Q9 and a tenth switch Q10; the control end of the ninth switch Q9 is connected to the controller, the first end of the ninth switch Q9 is connected to the control end of the tenth switch Q10, and the second end of the ninth switch Q9 is grounded; the first end of the tenth switch Q10 is connected to the first line 102 between the charging chip 110 and the first battery cell 120, and the second end of the tenth switch Q10 is connected to the first protection chip 142. In this way, the controller can control the ninth switch Q9 to be turned on or off through the GPIO3 end based on the first electric quantity, thereby causing the tenth switch Q10 to be turned on or off, which will cause the level of the second end of the tenth switch Q10 to react to the CTL1 end of the first protection chip 142, and the first protection chip 142 drives the first switch unit 143 to turn on the first battery cell 120 and the charging chip 110 based on the high level or low level driving signal received at the CTL1 end.
[0080] Exemplarily, the ninth switch element Q9 and the tenth switch element Q10 are both power switch tubes. Exemplarily, the ninth switch element Q9 is an N-type power switch tube, and the tenth switch element Q10 is a P-type power switch tube. When the controller pulls up the level of the control end of the ninth switch element Q9 through the GPIO3 terminal, the ninth switch element Q9 is turned on, and the control end of the tenth switch element Q10 is grounded, which pulls down the control end of the tenth switch element Q10, so that the tenth switch element Q10 is turned on, and the CTL1 terminal of the first protection chip 142 receives the high-level driving signal output by the second end of the tenth switch element Q10. When the controller pulls down the level of the control end of the ninth switch element Q9 through the GPIO3 terminal, the ninth switch element Q9 is turned off, the level of the control end of the tenth switch element Q10 is pulled up, the tenth switch element Q10 is turned off, and the CTL1 terminal of the first protection chip 142 receives the low-level driving signal output by the second end of the tenth switch element Q10.
[0081] In some embodiments, continue to refer to Figure 3, the first switch unit 143 includes: an eleventh switch element Q11 and a twelfth switch element Q12 connected in series to the first line 102, and the control end of the eleventh switch element Q11 and the control end of the twelfth switch element Q12 are connected to the first protection chip 142. In this way, the eleventh switch element Q11 and the twelfth switch element Q12 are driven to be turned on or off by the first protection chip 142. Exemplarily, the eleventh switch element Q11 and the twelfth switch element Q12 are both power switch tubes. Exemplarily, the eleventh switch element Q11 and the twelfth switch element Q12 are both N-type power switch tubes, the eleventh switch element Q11 may include a third parasitic diode, the twelfth switch element Q12 may include a fourth parasitic diode, and the eleventh switch element Q11 and the twelfth switch element Q12 are reversely connected. Among them, the normal state of the twelfth switch element Q12 may be turned on. During the charging process, the first protection chip 142 can drive the eleventh switch element Q11 to be turned on. When the charging chip 110 fully charges the first battery cell 120, the first protection chip 142 may drive the eleventh switch device Q11 to turn off, so as to disconnect the first battery cell 120 and the charging chip 110. During discharge, the first protection chip 142 may drive the eleventh switch device Q11 to turn on.
[0082] In some embodiments, continue to refer to Figure 3 , the first switch circuit 140 and the second switch circuit 150 have the same structure. The second switch circuit 150 may include a second drive unit 151, a second protection chip 152, and a second switch unit 153. The second drive unit 151 may include a thirteenth switch element Q13 and a fourteenth switch element Q14, and the second switch unit 153 may include a fifteenth switch element Q15 and a sixteenth switch element Q16. The structure of the second switch circuit 150 is the same as that of the first switch circuit 140, and will not be described in detail here. In some embodiments, continue to refer to Figure 3 The electronic device includes a main board 180 and a first battery protection board 190, a first driving unit 141 is provided on the main board 180, and a first protection chip 142 and a first switch unit 143 are provided on the first battery protection board 190. The electronic device may further include a second battery protection board 200, a second driving unit 151 is provided on the main board 180, and a second protection chip 152 and a second switch unit 153 are provided on the second battery protection board 200.
[0083] (3) In the third embodiment, refer to Figure 4, the first power meter 161 is also connected to the first switch circuit 140, and the second power meter 162 is also connected to the second switch circuit 150. The controller is specifically configured as follows: in the charging mode, based on the first power, the first power meter 161 is controlled to drive the first switch circuit 140 to turn on or off the first battery cell 120 and the charging chip 110; based on the second power, the second power meter 162 is controlled to drive the second switch circuit 150 to turn on or off the second battery cell 130 and the charging chip 110. For the structures of the first switch circuit 140 and the second switch circuit 150, please refer to the following about Figure 4 The explanation will not be elaborated here.
[0084] Second, as a second embodiment, refer to Figure 4 , the control module 160 includes: a first fuel gauge 161 and a second fuel gauge 162, the first fuel gauge 161 is connected to the first switch circuit 140, and the first fuel gauge 161 is configured to: in the charging mode, detect the first power of the first battery cell 120, and control the first switch circuit 140 to turn on or off the first battery cell 120 and the charging chip 110 based on the first power. The second fuel gauge 162 is connected to the second switch circuit 150, and the second fuel gauge 162 is configured to: in the charging mode, detect the second power of the second battery cell 130, and control the second switch circuit 150 to turn on or off the second battery cell 130 and the charging chip 110 based on the second power. That is, in this embodiment, the first switch circuit 140 is directly controlled to be turned on or off by the first fuel gauge 161, and the second switch circuit 150 is directly controlled to be turned on or off by the second fuel gauge 162, rather than being controlled by the controller.
[0085] In some embodiments, continue to refer to Figure 4 , the first switch circuit 140 includes: a seventeenth switch element Q17 and an eighteenth switch element Q18 connected in series to the first line 102, and a first electricity meter 161 is connected to the control end of the seventeenth switch element Q17 and the control end of the eighteenth switch element Q18. The first electricity meter 161 can control the seventeenth switch element Q17 and the eighteenth switch element Q18 to be turned on based on the first electricity quantity, so that the charging chip 110 or the discharge connection end 170 and the first battery cell 120 are turned on. The first electricity meter 161 can control the seventeenth switch element Q17 to be turned off and the eighteenth switch element Q18 to be turned on based on the first electricity quantity, so as to disconnect the charging chip 110 and the first battery cell 120. The eighteenth switch element Q18 can be used as a discharge switch tube, and always remain in a normally-on state. When the discharge is overcurrent, the eighteenth switch element Q18 can be controlled to be turned off by the first electricity meter 161.
[0086] Exemplarily, the seventeenth switch element Q17 and the eighteenth switch element Q18 are both power switch tubes. Exemplarily, the seventeenth switch element Q17 and the eighteenth switch element Q18 are both N-type power switch tubes. The seventeenth switch element Q17 includes a fifth parasitic diode (not shown), and the eighteenth switch element Q18 includes a sixth parasitic diode (not shown), and the fifth parasitic diode and the sixth parasitic diode are reversely connected.
[0087] In some embodiments, continue to refer to Figure 4 The control module 160 also includes a first current sampling resistor R13, which is connected between the first switch circuit 140 and the first battery cell 120. The first fuel gauge 161 is connected to both ends of the first current sampling resistor R13. The first fuel gauge 161 is also configured to: detect the direction of the current in the first current sampling resistor R13, and control the seventeenth switch element Q17 and the eighteenth switch element Q18 to be turned on or off based on the direction of the current. Exemplarily, when the first battery cell 120 is fully charged, the first fuel gauge 161 controls the seventeenth switch Q17 to be turned off and the eighteenth switch Q18 to be turned on, and the current of the first battery cell 120 can flow through the first current sampling resistor R13, the eighteenth switch Q18 and the fifth parasitic diode of the seventeenth switch Q17. In this way, the first fuel gauge 161 can detect the direction of the current in the first current sampling resistor R13, and when the first battery cell 120 is discharged based on the direction of the current, the seventeenth switch Q17 is controlled to be turned on, so that the first battery cell 120 is discharged to the discharge connection terminal 170 through the seventeenth switch Q17 and the eighteenth switch Q18. In addition, the first fuel gauge 161 can determine the charging and discharging state of the first battery cell 120 based on the direction of the current in the detected first current sampling resistor R3, and then control the on and off of the seventeenth switch Q17 and the eighteenth switch Q18 to achieve functions such as overcurrent protection, overvoltage protection and undervoltage protection.
[0088] In some embodiments, continue to refer to Figure 4 , the first switch circuit 140 and the second switch circuit 150 have the same structure. The second switch circuit 150 includes a nineteenth switch element Q19 and a twentieth switch element Q20. For details, please refer to the description of the first switch circuit 140, which will not be described in detail here. In some embodiments, continue to refer to Figure 4, the electronic device includes a first battery protection board 190, and the first switch circuit 140 and the first fuel gauge 161 can be arranged on the first battery protection board 190. The electronic device may also include a second battery protection board 200, and the second switch circuit 150 and the second fuel gauge 162 can be arranged on the second battery protection board 200. That is, the first switch circuit 140 and the first fuel gauge 161 built into the first battery protection board 190 are used to control the charging and discharging of the first battery cell 120, and the second switch circuit 150 and the second fuel gauge 162 built into the second battery protection board 200 are used to control the charging and discharging of the second battery cell 130.
[0089] In summary, the charging and discharging circuit provided by the embodiment of the present disclosure is based on the first switch circuit 140 and the second switch circuit 150 of the above-mentioned several different structures. In the charging mode, the control module 160 controls the first switch circuit 140 to turn on or off the first battery cell 120 and the charging chip 110 based on the first power of the first battery cell 120, and controls the second switch circuit 150 to turn on or off the second battery cell 130 and the charging chip 110 based on the second power of the second battery cell 130, so that at least one of the first battery cell 120 and the second battery cell 130 is charged, or the first battery cell 120 and the second battery cell 130 are disconnected from the charging chip 110. When the first battery cell 120 and the second battery cell 130 are fully charged or the charger is unplugged, the first switch circuit 140 is controlled to turn on the first battery cell 120 and the discharge connection terminal 170, and the second switch circuit 150 is controlled to turn on the second battery cell 130 and the discharge connection terminal 170, so that the first battery cell 120 and the second battery cell 130 are discharged in parallel. The charging and discharging circuit can realize charging and discharging flexibly, controllably and safely, and can also realize fast charging. In addition, the above-mentioned charging and discharging circuits have simple structures and are suitable for electronic devices including at least two folding parts.
[0090] Figure 5 The figure shows a flow chart of a charge and discharge control method according to an exemplary embodiment of the present disclosure. Some embodiments of the present disclosure provide a charge and discharge control method, which is applied to a charge and discharge circuit, the charge and discharge circuit comprising: a charging chip, a first battery cell connected between the charging chip and the ground terminal through a first circuit, a second battery cell connected between the charging chip and the ground terminal through a second circuit connected in parallel with the first circuit, a first switch circuit connected to the first circuit, and a second switch circuit connected to the second circuit. Figure 5 , the charge and discharge control method comprises:
[0091] Step 51 : In a charging mode, detecting a first charge of a first battery cell and a second charge of a second battery cell.
[0092] Exemplarily, the first power level of the first battery cell can be detected in real time by the first power meter and sent to the controller in real time. Exemplarily, the second power level of the second battery cell can be detected in real time by the second power meter and sent to the controller in real time.
[0093] Step 52: Based on the first power quantity, control the first switch circuit to turn on or off the first battery cell and the charging chip.
[0094] Exemplarily, the controller controls the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power. Exemplarily, the controller controls the first drive unit to drive the first protection chip to turn on or off the first switch circuit based on the first power. Exemplarily, the first power meter controls the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power.
[0095] Step 53: Control the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power.
[0096] Exemplarily, the controller controls the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power. Exemplarily, the controller controls the second drive unit to drive the second protection chip to turn on or off the second switch circuit and the charging chip based on the second power. Exemplarily, the second power meter controls the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power.
[0097] In some embodiments, step 52 includes: determining that the first power is less than a first full charge of the first battery cell, controlling the first switch circuit to connect the first battery cell and the charging chip, or determining that the first power is equal to the first full charge of the first battery cell, controlling the first switch circuit to disconnect the first battery cell and the charging chip;
[0098] And / or, step 53 includes: determining that the second power is less than the second full charge of the second battery cell, and controlling the second switch circuit to connect the second battery cell and the charging chip; or, determining that the second power is equal to the second full charge of the second battery cell, and controlling the second switch circuit to disconnect the second battery cell and the charging chip.
[0099] Based on the above, it can be known that there are four charging modes. The first charging mode: when the first battery cell is not fully charged, the first switch circuit is controlled to connect the first battery cell and the charging chip; when the second battery cell is fully charged, the second switch circuit is controlled to disconnect the second battery cell and the charging chip. The second charging mode: when the first battery cell is fully charged, the first switch circuit is controlled to disconnect the first battery cell and the charging chip; when the second battery cell is not fully charged, the second switch circuit is controlled to connect the second battery cell and the charging chip. The third charging mode: when both the first battery cell and the second battery cell are not fully charged, the first switch circuit is controlled to connect the first battery cell and the charging chip, and the second switch circuit is controlled to connect the second battery cell and the charging chip. The fourth charging mode: when both the first battery cell and the second battery cell are fully charged, the first switch circuit is controlled to connect the first battery cell and the charging chip, and the second switch circuit is controlled to connect the second battery cell and the charging chip.
[0100] In some embodiments, the charge and discharge circuit further includes a discharge connection terminal connected between the charging chip and the first switch circuit and between the charging chip and the second switch circuit; the charge and discharge control method provided in some embodiments of the present disclosure further includes:
[0101] Determine that the first charge is equal to a first fully charged charge of the first battery cell, and determine that the second charge is equal to a second fully charged charge of the second battery cell;
[0102] The first switch circuit is controlled to conduct the first battery cell and the discharge connection terminal, and the second switch circuit is controlled to conduct the second battery cell and the discharge connection terminal, so that the first battery cell and the second battery cell are connected in parallel and discharged to the discharge connection terminal.
[0103] In some embodiments, the charge and discharge control method provided by some embodiments of the present disclosure further includes:
[0104] In response to the charging chip stopping charging, the first switch circuit is controlled to conduct the first battery cell and the discharge connection terminal, and the second switch circuit is controlled to conduct the second battery cell and the discharge connection terminal. For example, when the charger is unplugged, the charging chip stops outputting electrical energy to the first battery cell and the second battery cell, so that the first battery cell and the second battery cell are discharged in parallel to the discharge connection terminal.
[0105] The charge and discharge control method provided by the embodiment of the present disclosure detects the first power of the first battery cell and the second power of the second battery cell in the charging mode; based on the first power, the first switch circuit is controlled to turn on or off the first battery cell and the charging chip to control whether the charging chip charges the first battery cell. Based on the second power, the second switch circuit is controlled to turn on or off the second battery cell and the charging chip to control whether the charging chip charges the second battery cell. In this way, the charging of one of the first battery cell and the second battery cell, the charging of the first battery cell and the second battery cell in parallel, or the disconnection of the first battery cell and the second battery cell from the charging chip can be flexibly, controllably, and safely implemented, avoiding overcharging and undercharging problems, and also achieving fast charging.
[0106] As for the method embodiment, since it basically corresponds to the device embodiment, the relevant parts can be referred to the partial description of the device embodiment. The method embodiment and the device embodiment complement each other and will not be described in detail here.
[0107] Figure 6 FIG. 6 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present disclosure. An electronic device 600 provided in some embodiments of the present disclosure includes any of the above-mentioned charging and discharging circuits.
[0108] In some embodiments, the electronic device 600 includes a first folding portion 610 and a second folding portion 620, the first battery cell 120 of the charge and discharge circuit is disposed in the first folding portion 610, and the second battery cell 130 of the charge and discharge circuit is disposed in the second folding portion 620. In this way, the first battery cell 120 supplies power to the first folding portion 610, and the second battery cell 130 supplies power to the second folding portion 620. Exemplarily, the first folding portion 610 and the second folding portion 620 are both folding screens.
[0109] Figure 7 The block diagram of an electronic device according to an exemplary embodiment of the present disclosure is shown. For example, the electronic device 700 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc., which includes a transmitting coil, a first magnetic sensor, and a second magnetic sensor in a device for adjusting the audio parameters of headphones.
[0110] refer to Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0111] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
[0112] The memory 704 is configured to store various types of data to support operations on the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 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.
[0113] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0114] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the target object. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0115] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0116] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, such as a keyboard, a click wheel, a button, etc.
[0117] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display screen and keypad of the electronic device 700, and the sensor assembly 714 can also detect the position change of the electronic device 700 or a component, the presence or absence of contact between the target object and the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the electronic device 700.
[0118] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 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 716 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 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0119] In an exemplary embodiment, the electronic device 700 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), control modules, microcontroller modules, microprocessors, or other electronic components.
[0120] In an exemplary embodiment, a computer-readable storage medium is also provided, on which a program is stored, and when the program is executed by the processor 720, any of the charge and discharge control methods mentioned above is implemented. The readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0121] The above-mentioned various embodiments of the present disclosure may complement each other if no conflict occurs.
[0122] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.
Claims
1. A charging and discharging circuit, characterized in that: For electronic equipment, the charging and discharging circuit comprises: Charging chip; A first battery cell is connected between the charging chip and a ground terminal through a first line; A second battery cell is connected between the charging chip and a ground terminal via a second circuit connected in parallel with the first circuit; A first switch circuit, connected to the first circuit; A second switch circuit is connected to the second line; and a control module connected to the first switch circuit and the second switch circuit, and configured to: in a charging mode, detect a first power of the first battery cell and a second power of the second battery cell; control the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power; and control the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power; a discharge connection terminal connected between the charging chip and the first switch circuit and between the charging chip and the second switch circuit; The control module is further configured to: determine that the first power is equal to a first fully charged power of the first battery cell, and determine that the second power is equal to a second fully charged power of the second battery cell; control the first switch circuit to conduct between the first battery cell and the discharge connection terminal, and control the second switch circuit to conduct between the second battery cell and the discharge connection terminal; or The control module is further configured to: in response to the charging chip stopping charging, control the first switch circuit to conduct between the first battery cell and the discharge connection terminal, and control the second switch circuit to conduct between the second battery cell and the discharge connection terminal.
2. The charge and discharge circuit according to claim 1, characterized in that: The control module is specifically configured to: determine that the first power is less than the first full charge of the first battery cell, and control the first switch circuit to connect the first battery cell and the charging chip; or, determine that the first power is equal to the first full charge of the first battery cell, and control the first switch circuit to disconnect the first battery cell and the charging chip; and / or Determining that the second power is less than a second full charge of the second battery cell, and controlling the second switch circuit to conduct the second battery cell and the charging chip; Or, determine that the second power is equal to the second full charge of the second battery cell, and control the second switch circuit to disconnect the second battery cell and the charging chip.
3. The charge and discharge circuit according to claim 1, characterized in that: The control module includes: a controller, and a first electricity meter and a second electricity meter connected to the controller; The first fuel gauge is used to detect a first charge of the first battery cell, and the second fuel gauge is used to detect a second charge of the second battery cell. The controller is configured to: in a charging mode, control the first switch circuit to turn on or off the first battery cell and the charging chip based on the first charge; and control the second switch circuit to turn on or off the second battery cell and the charging chip based on the second charge.
4. The charge and discharge circuit according to claim 3, characterized in that: The first switch circuit includes: a first switch element, a second switch element, a third switch element and a fourth switch element; The first switch component and the second switch component are connected to the first circuit between the charging chip and the first battery cell, the control end of the first switch component and the control end of the second switch component are connected to the first end of the third switch component, the second end of the third switch component is grounded, the control end of the third switch component is connected to the first end of the fourth switch component, the second end of the fourth switch component is grounded, and the control end of the fourth switch component is connected to the controller.
5. The charge and discharge circuit according to claim 4, characterized in that: The first switch circuit and the second switch circuit have the same structure; and / or the electronic device includes a mainboard, and the first switch circuit and the second switch circuit are both arranged on the mainboard.
6. The charge and discharge circuit according to claim 3, characterized in that: The first switch circuit includes a first drive unit, a first protection chip and a first switch unit, the control end of the first drive unit is connected to the controller, the drive end of the first drive unit is connected to the first protection chip, the first protection chip is connected to the control end of the first switch unit, and the first switch unit is connected to the first line; The controller is specifically configured to: control the first driving unit to output a driving signal to the first protection chip based on the first power, so that the first protection chip drives the first switching unit to turn on or off the first battery cell and the charging chip based on the driving signal.
7. The charge and discharge circuit according to claim 6, characterized in that: The first driving unit includes a ninth switch element and a tenth switch element; the control end of the ninth switch element is connected to the controller, the first end of the ninth switch element is connected to the control end of the tenth switch element, and the second end of the ninth switch element is grounded; the first end of the tenth switch element is connected to the first line between the charging chip and the first battery cell, and the second end of the tenth switch element is connected to the first protection chip; and / or The first switch unit includes: an eleventh switch element and a twelfth switch element connected in series to the first circuit, and a control end of the eleventh switch element and a control end of the twelfth switch element are connected to the first protection chip.
8. The charge and discharge circuit according to claim 7, characterized in that: The first switch circuit and the second switch circuit have the same structure; and / or, the electronic device includes: a main board and a first battery protection board, the first drive unit is arranged on the main board, and the first protection chip and the first switch unit are arranged on the first battery protection board.
9. The charge and discharge circuit according to claim 3, characterized in that: The first fuel gauge is also connected to the first switch circuit, and the second fuel gauge is also connected to the second switch circuit. The controller is specifically configured to: in a charging mode, based on the first power, control the first fuel gauge to drive the first switch circuit to turn on or off the first battery cell and the charging chip; The second power meter is controlled based on the second power to drive the second switch circuit to turn on or off the second battery cell and the charging chip.
10. The charge and discharge circuit according to claim 1, characterized in that: The control module includes: a first electricity meter and a second electricity meter, the first electricity meter is connected to the first switch circuit, and the first electricity meter is configured to: in the charging mode, detect the first electricity of the first battery cell, and control the first switch circuit to turn on or off the first battery cell and the charging chip based on the first electricity; The second fuel gauge is connected to the second switch circuit, and the second fuel gauge is configured to: in the charging mode, detect the second charge of the second battery cell, and control the second switch circuit to turn on or off the second battery cell and the charging chip based on the second charge.
11. The charge and discharge circuit according to claim 9 or 10, characterized in that: The first switch circuit includes: a seventeenth switch element and an eighteenth switch element connected in series to the first circuit, and the first electricity meter is connected to the control end of the seventeenth switch element and the control end of the eighteenth switch element.
12. The charge and discharge circuit according to claim 11, characterized in that: The control module also includes a first current sampling resistor, which is connected between the first switch circuit and the first battery cell. The first fuel gauge is connected to both ends of the first current sampling resistor. The first fuel gauge is also configured to: detect the direction of the current in the first current sampling resistor, and control the seventeenth switch element and the eighteenth switch element to be turned on or off based on the direction of the current.
13. The charge and discharge circuit according to claim 11, characterized in that: The first switch circuit and the second switch circuit have the same structure; and / or, the electronic device includes a first battery protection board, and the first switch circuit is arranged on the first battery protection board.
14. A charge and discharge control method, characterized in that: The charge and discharge control method is applied to a charge and discharge circuit, the charge and discharge circuit comprising: a charging chip, a first battery cell connected between the charging chip and a ground terminal through a first circuit, a second battery cell connected between the charging chip and a ground terminal through a second circuit connected in parallel with the first circuit, a first switch circuit connected to the first circuit, and a second switch circuit connected to the second circuit; the method comprises: In a charging mode, detecting a first charge of the first battery cell and a second charge of the second battery cell; Controlling the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power; Controlling the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power; The charging and discharging circuit further includes a discharge connection terminal connected between the charging chip and the first switch circuit and between the charging chip and the second switch circuit; the method further includes: Determining that the first charge is equal to a first fully charged charge of the first battery cell, and determining that the second charge is equal to a second fully charged charge of the second battery cell; Controlling the first switch circuit to conduct the first battery cell and the discharge connection end, and controlling the second switch circuit to conduct the second battery cell and the discharge connection end; In response to the charging chip stopping charging, the first switch circuit is controlled to conduct the first battery cell and the discharge connection terminal, and the second switch circuit is controlled to conduct the second battery cell and the discharge connection terminal.
15. The charge and discharge control method according to claim 14, characterized in that: The controlling the first switch circuit to turn on or off the first battery cell and the charging chip based on the first power includes: Determine that the first power is less than a first fully charged power of the first battery cell, and control the first switch circuit to connect the first battery cell and the charging chip; or, determine that the first power is equal to a first fully charged power of the first battery cell, and control the first switch circuit to disconnect the first battery cell and the charging chip; and / or, The controlling the second switch circuit to turn on or off the second battery cell and the charging chip based on the second power includes: Determine that the second electrical charge is less than the second full charge of the second battery cell, and control the second switch circuit to turn on the second battery cell and the charging chip; or determine that the second electrical charge is equal to the second full charge of the second battery cell, and control the second switch circuit to disconnect the second battery cell and the charging chip.
16. An electronic device, characterized in that: The electronic device comprises the charging and discharging circuit according to any one of claims 1 to 13.
17. The electronic device according to claim 16, characterized in that: The electronic device comprises a first folding portion and a second folding portion, the first battery cell of the charge-discharge circuit is arranged in the first folding portion, and the second battery cell of the charge-discharge circuit is arranged in the second folding portion.
Citation Information
Patent Citations
Lithium-based batteries connected in parallel by modules
CN103123991A
Folding electronic device
CN110213406A