CN114268137A - Charging and discharging circuit, charging and discharging control method and electronic equipment - Google Patents
Charging and discharging circuit, charging and discharging control method and electronic equipment Download PDFInfo
- Publication number
- CN114268137A CN114268137A CN202010972644.2A CN202010972644A CN114268137A CN 114268137 A CN114268137 A CN 114268137A CN 202010972644 A CN202010972644 A CN 202010972644A CN 114268137 A CN114268137 A CN 114268137A
- Authority
- CN
- China
- Prior art keywords
- battery cell
- switch
- circuit
- charging
- switch circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000007599 discharging Methods 0.000 title claims description 54
- 230000005611 electricity Effects 0.000 claims description 73
- 238000005070 sampling Methods 0.000 claims description 13
- 239000000446 fuel Substances 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 12
- 230000003071 parasitic effect Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 102100031699 Choline transporter-like protein 1 Human genes 0.000 description 4
- 101000940912 Homo sapiens Choline transporter-like protein 1 Proteins 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000000670 limiting effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The disclosure provides a charge and discharge circuit, a charge and discharge control method and an electronic device. The charge and discharge circuit is used for electronic equipment, and comprises: the battery charging system comprises a charging chip, a first battery cell, a second battery cell, a first switch circuit, a second switch circuit and a control module. The first battery cell is connected between the charging chip and the grounding end through a first circuit; the second battery cell is connected between the charging chip and the grounding end through a second line which is connected with the first line in parallel; the first switch circuit is connected to the first line; the second switch circuit is connected to the second line. The control module is connected with the first switch circuit and the second switch circuit and is configured to: detecting a first electric quantity of a first battery cell and a second electric quantity of a second battery cell in a charging mode; controlling a first switch circuit to switch on or off a first battery cell and a charging chip based on first electric quantity; and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity. The circuit may safely charge at least one of the first cell and the second cell.
Description
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a charging and discharging circuit, a charging and discharging control method, and an electronic device.
Background
With the development of science and technology, electronic equipment capable of being standby for a long time is favored by users, and the number of battery cells needs to be increased. For example, the electronic device includes a charge and discharge circuit, the charge and discharge circuit includes two battery cores, and the two battery cores are charged in series and discharged in series through one type of charge and discharge circuit, or the two battery cores are charged in series and discharged in parallel through another type of charge and discharge circuit. However, these two charging and discharging circuits are not easily disposed in the electronic device including the two folding screens, and the charging and discharging circuit for parallel charging is suitable for the electronic device including the two folding screens, so it is important to provide a charging and discharging circuit for parallel charging.
Disclosure of Invention
The disclosure provides an improved charging and discharging circuit, a charging and discharging control method and an electronic device.
One aspect of the present disclosure provides a charge and discharge circuit for an electronic device, the charge and discharge circuit including:
a charging chip;
the first battery cell is connected between the charging chip and a grounding end through a first line;
the second battery cell is connected between the charging chip and a grounding end through a second line which is connected with the first line in parallel;
a first switching circuit connected to the first line;
a second switching circuit connected to the second line; and
a control module connected with the first and second switching circuits and configured to: detecting a first electric quantity of the first battery cell and a second electric quantity of the second battery cell in a charging mode; controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity; and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
Optionally, the control module is specifically configured to: determining that the first electric quantity is smaller than a first full charge quantity of the first battery cell, and controlling the first switch circuit to switch on the first battery cell and the charging chip, or determining that the first electric quantity is equal to the first full charge quantity of the first battery cell, and controlling the first switch circuit to switch off the first battery cell and the charging chip; and/or
Determining that the second electric quantity is smaller than a second full charge quantity of the second battery cell, and controlling the second switch circuit to conduct the second battery cell and the charging chip; or, determining that the second electric quantity is equal to a second full charge quantity of the second battery cell, and controlling the second switch circuit to disconnect the second battery cell and the charging chip.
Optionally, the charging and discharging circuit further includes a discharging 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:
determining that the first electrical quantity is equal to a first full charge of the first cell, and determining that the second electrical quantity is equal to a second full charge of the second cell; controlling the first switch circuit to conduct the first battery cell and the discharge connecting end, and controlling the second switch circuit to conduct the second battery cell and the discharge connecting end; or
The control module is further configured to: and responding to the stop of charging of the charging chip, controlling the first switch circuit to conduct the first battery cell and the discharging connecting end, and controlling the second switch circuit to conduct the second battery cell and the discharging connecting end.
Optionally, the control module includes a controller, and a first electricity meter and a second electricity meter connected to the controller, the first electricity meter is configured to detect a first electricity quantity of the first battery cell, the second electricity meter is configured to detect a second electricity quantity of the second battery cell, and the controller is configured to: in a charging mode, controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity; and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
Optionally, the first switching circuit comprises: a first switch, a second switch, a third switch and a fourth switch;
the first switch piece with the second switch piece connect in charge chip with between the first electric core first circuit, the control end of first switch piece with the control end of second switch piece with the first end of third switch piece is connected, the second end ground connection of third switch piece, the control end of third switch piece with the first end of fourth switch piece is connected, the second end ground connection of fourth switch piece, the control end of fourth switch piece with the controller is connected.
Optionally, the first switch circuit and the second switch circuit are identical in structure; and/or the electronic equipment comprises a mainboard, and the first switch circuit and the second switch circuit are arranged on the mainboard.
Optionally, the first switch circuit includes a first driving unit, a first protection chip, and a first switch unit, a control end of the first driving unit is connected to the controller, a driving end of the first driving unit is connected to the first protection chip, the first protection chip is connected to a control end of the first switch unit, and the first switch unit is connected to the first line;
the control appliance is configured to: and controlling the first driving unit to output a driving signal to the first protection chip based on the first electric quantity, so that the first protection chip drives the first switch unit to switch on or off the first electric core and the charging chip based on the driving signal.
Optionally, the first drive unit comprises a ninth switching piece and a tenth switching piece; the control end of the ninth switching piece is connected with the controller, the first end of the ninth switching piece is connected with the control end of the tenth switching piece, and the second end of the ninth switching piece is grounded; a first end of the tenth switching element is connected to the first line between the charging chip and the first battery cell, and a second end of the tenth switching element is connected to the first protection chip; and/or
The first switching unit includes: and an eleventh switch piece and a twelfth switch piece connected in series to the first line, wherein a control end of the eleventh switch piece and a control end of the twelfth switch piece are connected to the first protection chip.
Optionally, the first switch circuit and the second switch circuit are identical in structure; and/or, the electronic device comprises: the first battery protection board is arranged on the main board, and the first protection chip and the first switch unit are arranged on the first battery protection board.
Optionally, the first electricity meter is further connected to the first switching circuit, the second electricity meter is further connected to the second switching circuit, and the controller is configured to: in a charging mode, controlling the first electricity meter to drive the first switch circuit to switch on or off the first electric core and the charging chip based on the first electricity quantity; and controlling the second electric quantity meter to drive the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
Optionally, the control module comprises: a first electricity meter and a second electricity meter, the first electricity meter being connected with the first switching circuit, the first electricity meter being configured to: in the charging mode, detecting a first electric quantity of the first battery cell, and controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity;
the second electricity meter is connected with the second switching circuit, and is configured to: and in the charging mode, detecting a second electric quantity of the second battery cell, and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
Optionally, the first switching circuit comprises: and the first electricity meter is connected with the control end of the seventeenth switching element and the control end of the eighteenth switching element.
Optionally, the control module further includes a first current sampling resistor connected between the first switch circuit and the first battery cell, and the first electricity meter is connected to two ends of the first current sampling resistor, and is further configured to: and detecting the direction of the current in the first current sampling resistor, and controlling the seventeenth switching element and the eighteenth switching element to be switched on or off based on the direction of the current.
Optionally, the first switch circuit and the second switch circuit are identical in structure; and/or, the electronic equipment comprises a first battery protection board, and the first switch circuit is arranged on the first battery protection board.
Another aspect of the present disclosure provides a charge and discharge control method applied to a charge and discharge circuit including: the battery charging system comprises a charging chip, a first battery cell connected between the charging chip and a grounding terminal through a first line, a second battery cell connected between the charging chip and the grounding terminal through a second line connected with the first line in parallel, a first switch circuit connected in the first line, and a second switch circuit connected in the second line; the method comprises the following steps:
detecting a first electric quantity of the first battery cell and a second electric quantity of the second battery cell in a charging mode;
controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity;
and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
Optionally, the controlling the first switch circuit to turn on or off the first battery cell and the charging chip based on the first electric quantity includes:
determining that the first electric quantity is smaller than a first full charge quantity of the first battery cell, and controlling the first switch circuit to switch on the first battery cell and the charging chip, or determining that the first electric quantity is equal to the first full charge quantity of the first battery cell, and controlling the first switch circuit to switch off the first battery cell and the charging chip; and/or the presence of a gas in the gas,
the controlling the second switch circuit to turn on or off the second battery cell and the charging chip based on the second electric quantity includes:
determining that the second electric quantity is smaller than a second full charge quantity of the second battery cell, and controlling the second switch circuit to conduct the second battery cell and the charging chip; or, determining that the second electric quantity is equal to a second full charge quantity of the second battery cell, and controlling the second switch circuit to disconnect the second battery cell and the charging chip.
Optionally, the charging and discharging circuit further includes a discharging 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 comprises the following steps:
determining that the first electrical quantity is equal to a first full charge of the first cell, and determining that the second electrical quantity is equal to a second full charge of the second cell;
and controlling the first switch circuit to switch on the first battery cell and the discharge connecting end, and controlling the second switch circuit to switch on the second battery cell and the discharge connecting end.
Optionally, the method further comprises:
and responding to the stop of charging of the charging chip, controlling the first switch circuit to conduct the first battery cell and the discharging connecting end, and controlling the second switch circuit to conduct the second battery cell and the discharging connecting end.
Another aspect of the present disclosure provides an electronic device including the charge and discharge circuit of any one of the above-mentioned.
Optionally, the electronic device includes a first folding portion and a second folding portion, the first battery cell of the charge and discharge circuit is located in the first folding portion, and the second battery cell of the charge and discharge circuit is located in the second folding portion.
The technical scheme provided by the disclosure at least has the following beneficial effects:
based on first electric core passes through first circuit to and second electric core passes through second circuit parallel connection between charging chip and earthing terminal, this makes the specification of first electric core and second electric core unrestricted, enlarges this charge-discharge circuit's range of application. The first switch circuit is connected in the first circuit based on the first switch circuit, the second switch circuit is connected in the second circuit, the first battery cell and the charging chip are controlled to be switched on or switched off through the control module based on the first electric quantity respectively, and the second battery cell and the charging chip are controlled to be switched on or switched off based on the second electric quantity, so that the charging of one of the first battery cell and the second battery cell is flexibly, controllably and safely realized, the parallel charging of the first battery cell and the second battery cell is realized, or the first battery cell and the second battery cell are both switched off from the charging chip, the problems of overcharge and undercharge are avoided, and the quick charging can be realized. In addition, the charging and discharging circuit has a simple structure and is suitable for electronic equipment comprising at least two folding parts.
Drawings
FIG. 1 is a block diagram illustrating a charging and discharging circuit according to an exemplary embodiment of the present disclosure;
FIG. 2 is a circuit diagram illustrating a charge and discharge circuit according to an exemplary embodiment of the present disclosure;
FIG. 3 is a circuit diagram illustrating a charge and discharge circuit according to an exemplary embodiment of the present disclosure;
FIG. 4 is a circuit diagram illustrating a charge and discharge circuit according to an exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart illustrating a charge and discharge control method according to an exemplary embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like 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. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The use of "first," "second," and similar terms in the description and claims does not indicate any order, quantity, or importance, but rather is used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one. Unless otherwise indicated, the word "comprise" or "comprises", and the like, means that the element or item listed before "comprises" or "comprising" covers the element or item listed after "comprises" or "comprising" and its equivalents, and does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
As used in this disclosure and the appended claims, the singular forms "a", "an", 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 and all possible combinations of one or more of the associated listed items.
Fig. 1 is a block diagram illustrating a charging and discharging circuit according to an exemplary embodiment of the present disclosure, for an electronic device, the charging and discharging circuit including: the battery pack includes a charging chip 110, a first battery cell 120, a second battery cell 130, a first switch circuit 140, a second switch circuit 150, and a control module 160.
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. Illustratively, the number of charging chips 110 is one. Illustratively, the number of the charging chips 110 is plural, and a plurality of the charging chips 110 may be connected in parallel.
The first battery cell 120 is connected between the charging chip 110 and the ground GND through the first line 102. The second battery cell 130 is connected between the charging chip 110 and the ground GND through the second line 103 connected in parallel with the first line 102. Since the first cell 120 and the second cell 130 are connected in parallel, the first cell 120 and the second cell 130 may be the same or different, which allows the first cell 120 and the second cell 130 to be unrestricted.
The first switch circuit 140 is connected in the first line 102. The second switch circuit 150 is connected in the second line 103.
A control module 160 is coupled to the first and second switching circuits 140, 150, the control module 160 configured to: in the charge mode, a first charge amount of the first cell 120 and a second charge amount of the second cell 130 are detected. Controlling the first switch circuit 140 to turn on or off the first battery cell 120 and the charging chip 110 based on the first electric quantity; and controlling the second switch circuit 150 to switch on or off the second battery cell 130 and the charging chip 110 based on the second electric quantity. The control module 160 may detect the first charge of the first cell 120 and the second charge of the second cell 130 in real time to determine whether the first cell 120 and the second cell 130 are fully charged.
In some embodiments, the control module 160 is specifically configured to: determining that the first electric quantity is smaller than a first full charge capacity of the first battery cell 120, and controlling the first switch circuit 140 to turn on the first battery cell 120 and the charging chip 110, or determining that the first electric quantity is equal to the first full charge capacity of the first battery cell 120, and controlling the first switch circuit 140 to turn off the first battery cell 120 and the charging chip 110; and/or
Determining that the second electric quantity is smaller than a second full charge quantity of the second battery cell 130, and controlling the second switch circuit 150 to switch on the second battery cell 130 and the charging chip 110; or, determining that the second electric quantity is equal to the second full charge quantity of the second battery cell 130, controlling the second switch circuit 150 to disconnect the second battery cell 130 and the charging chip 110.
The "first full charge amount" in the present disclosure refers to an amount of electricity corresponding to the first cell 120 fully charged, and the "second full charge amount" refers to an amount of electricity corresponding to the second cell 130 fully charged. If the first electric quantity is less than the first full charge amount, the first battery cell 120 is not fully charged, and if the first electric quantity is equal to the first full charge amount, the first battery cell 120 is fully charged. If the second electric quantity is less than the second full charge amount, the second battery cell 130 is not fully charged, and if the second electric quantity is equal to the second full charge amount, the second battery cell 130 is fully charged.
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 by the first switch circuit 140 or the second switch circuit 150, and the non-fully charged battery cell and the charging chip 110 are connected by the first switch circuit 140 or the second switch circuit 150. Taking the first battery cell 120 fully charged and the second battery cell 130 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 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 an overcharge problem. When both 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 switch on the first battery cell 120 and the charging chip 110, and controls the second switch circuit 150 to switch on 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.
Based on the above, the charging and discharging circuit provided in the embodiment of the present disclosure is based on that the first battery cell 120 is connected in parallel between the charging chip 110 and the ground terminal GND through the first line 102, and the second battery cell 130 is connected in parallel through the second line 103, so that the specifications of the first battery cell 120 and the second battery cell 130 are not limited, and the application range of the charging and discharging circuit is expanded. Based on the connection of the first switch circuit 140 in the first line 102 and the connection of the second switch circuit 150 in 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 electric quantity, 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 electric quantity, respectively, 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 both the first battery cell 120 and the second battery cell 130 from the charging chip 110, thereby avoiding the problems of overcharge and undercharge, and also realizing quick charging. In addition, the charging and discharging circuit has a simple structure and is suitable for electronic equipment comprising at least two folding parts.
In some embodiments, with continued reference to fig. 1, the charge and discharge circuit further includes a discharge connection terminal 170 connected between the charging chip 110 and the first switching circuit 140 and between the charging chip 110 and the second switching circuit 150. The control module 160 is further configured to: determining that the first electrical quantity is equal to a first full charge of the first cell 120 and that the second electrical quantity is equal to a second full charge of the second cell 130; the first switching circuit 140 is controlled to turn on the first cell 120 and the discharge connection terminal 170, and the second switching circuit 150 is controlled to turn on the second cell 130 and the discharge connection terminal 170. In other words, when the first cell 120 and the second cell 130 are fully charged, the first cell 120 and the discharge connection terminal 170 are connected, and the second cell 130 and the discharge connection terminal 170 are connected, so that the first cell 120 and the second cell 130 are discharged in parallel through the discharge connection terminal 170. The discharge connection end 170 is connected to a 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 end 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 and second switching circuits 140 and 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.
In some embodiments, the control module 160 is further configured to: in response to the charging chip 110 stopping charging, the first switching circuit 140 is controlled to turn on the first battery cell 120 and the discharge connection terminal 170, and the second switching circuit 150 is controlled to turn on the second battery cell 130 and the discharge connection terminal 170. For example, when the charger is pulled out from the charging interface 101 to stop 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.
Fig. 2 is a circuit diagram illustrating a charge and discharge circuit according to an exemplary embodiment of the present disclosure, fig. 3 is a circuit diagram illustrating a charge and discharge circuit according to an exemplary embodiment of the present disclosure, and fig. 4 is a circuit diagram illustrating a charge and discharge circuit according to an exemplary embodiment of the present disclosure. In order to more clearly understand the charging and discharging circuit provided by the embodiments of the present disclosure, two types of embodiments are given below in conjunction with fig. 2 to 4:
first, as a first class of embodiments, referring to fig. 2 or fig. 3, the control module 160 includes a controller (not shown), and a first electricity meter 161 and a second electricity meter 162 connected to the controller, where the first electricity meter 161 is configured to detect a first electricity quantity of the first battery cell 120, and the second electricity meter 162 is configured to detect a second electricity quantity of the second battery cell 130, and the controller is configured to: in the charging mode, 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 first electric quantity; and controlling the second switch circuit 150 to switch on or off the second battery cell 130 and the charging chip 110 based on the second electric quantity. Illustratively, the first electricity meter 161 transmits the detected first amount of electricity to the controller in real time, and the second electricity meter 162 transmits the detected second amount of electricity to the controller in real time. The controller may be a Central Processing Unit (CPU).
The working principle of the first type of charge and discharge circuit is explained by combining three circuit structures as follows:
(1) in a first embodiment, referring to fig. 2, the first switching circuit 140 includes: a first switching device Q1, a second switching device Q2, a third switching device Q3 and a fourth switching device Q4; the first switching element Q1 and the second switching element Q2 are connected to the first line 102 between the charging chip 110 and the first battery cell 120, a control terminal of the first switching element Q1 and a control terminal of the second switching element Q2 are connected to a first terminal of a third switching element Q3, a second terminal of the third switching element Q3 is grounded, a control terminal of the third switching element Q3 is connected to a first terminal of a fourth switching element Q4, a second terminal of the fourth switching element Q4 is grounded, and a control terminal of a fourth switching element Q4 is connected to the controller. The GPIO1 terminal of the controller is connected to the control terminal of the fourth switching element Q4 to control the fourth switching element Q4 to be turned on or off, and the turning on or off of the fourth switching element Q4 causes the turning on or off of the third switching element Q3, and further causes the turning on or off of the first switching element Q1 and the second switching element Q2, so that the first switching circuit 140 turns on or off the first battery cell 120 and the charging chip 110.
In some embodiments, the first switching circuit 140 further comprises: 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 switching device Q1, and the other end of the first resistor R1 is connected between the first end of the third switching device Q3 and the control end of the first switching device Q1. One end of the second resistor R2 is connected between the charging chip 110 and the first switching device Q1, and the other end of the second resistor R2 is connected between the first end of the fourth switching device Q4 and the control end of the third switching device Q3. One end of the third resistor R3 is connected between the first end of the third switching device Q3 and the control end of the second switching device Q2, and the other end of the third resistor R3 is connected between the second switching device Q2 and the first cell 120. One end of the fourth resistor R4 is connected between the first end of the fourth switching device Q4 and the control end of the third switching device Q3, and the other end is connected between the second switching device Q2 and the first cell 120. Through setting up first resistance R1, second resistance R2, third resistance R3 and fourth resistance R4, play the partial pressure effect, guarantee to have the pressure drop between the control end of first switching element Q1, second switching element Q2, third switching element Q3 and fourth switching element Q4 and the link, make four switching elements can normal work.
In some embodiments, the first switching device Q1, the second switching device Q2, the third switching device Q3, and the fourth switching device Q4 are all power switching tubes. The power switch tube is easy to acquire and control. Illustratively, the first and second switching devices Q1 and Q2 are P-type power switching tubes, and the third and fourth switching devices Q3 and Q4 are N-type power switching tubes. Illustratively, when the GPIO1 terminal of the controller pulls up the level of the control terminal of the fourth switching device Q4, the fourth switching device Q4 is turned on, which makes the control terminal of the third switching device Q3 grounded because the second connection terminal of the fourth switching device Q4 is grounded, pulls down the control terminal of the third switching device Q3, and turns off the third switching device Q3. The control terminal of the first switching device Q1 is connected to the charging chip 110 through the first resistor R1, i.e., the control terminal of the first switching device Q1 is pulled high by the charging chip 110, which turns off the first switching device Q1. Similarly, the control terminal of the second switch device Q2 and the control terminal of the first switch device Q1 are at the same potential, i.e., the control terminal of the second switch device Q2 is pulled high, which turns off the second switch device Q2. Thus, the first switching circuit 140 is caused to disconnect the charging chip 110 and the first battery cell 120. Illustratively, when the GPIO1 terminal of the control module 160 pulls the control terminal of the fourth switching element Q4 low, the fourth switching element Q4 is turned off, which makes the control terminal of the third switching element Q3 high, the third switching element Q3 is turned on, and then the control terminal of the first switching element Q1 and the control terminal of the second switching element Q2 are grounded, and the first switching element Q1 and the second switching element Q2 are turned on, so that the first switching circuit 140 turns on the charging chip 110 and the first battery cell 120.
Additionally, illustratively, with continued reference to fig. 2, the first switching element Q1 and the second switching element Q2 are identical power switching tubes and are connected in reverse. Illustratively, the first switching element Q1 includes a first parasitic diode (not shown), and the second switching element 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 switching element Q1 and the second switching element Q2 are both turned off, the first parasitic diode and the second parasitic diode cooperate to ensure that the first battery cell 120 and the charging chip 110 are turned off.
In some embodiments, with continued reference to fig. 2, the first switching circuit 140 and the second switching circuit 150 are identical in structure. Illustratively, the second switch circuit 150 includes a fifth switch Q5, a sixth switch Q6, a seventh switch Q7, an eighth switch Q8, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, and an eighth resistor R8, and the second switch circuit 150 may refer to the related explanation of the first switch circuit 140, and will not be described in detail here. In some embodiments, with continued reference to fig. 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 charging chip 110 may also be provided on the motherboard 180. The electronic apparatus further includes a first battery protection plate 190 connected to the first cell 120, and a second battery protection plate 200 connected to the second cell 130. The first fuel gauge 161 is provided on the first battery protection plate 190, and the second fuel gauge 162 is provided on the second battery protection plate 200.
(2) In a second embodiment, referring to fig. 3, the first switch circuit 140 includes a first driving unit 141, a first protection chip 142 and a first switch unit 143, a control terminal of the first driving unit 141 is connected to the controller, a driving terminal of the first driving unit 141 is connected to the first protection chip 142, the first protection chip 142 is connected to a control terminal of the first switch unit 143, and the first switch unit 143 is connected to the first line 102. The controller is configured to: the first driving unit 141 is controlled to output a driving signal to the first protection chip 142 based on the first electric quantity, so that the first protection chip 142 drives the first switching unit 143 to turn on or off the first battery cell 120 and the charging chip 110 based on the driving signal.
In some embodiments, with continued reference to fig. 3, the first driving unit 141 includes a ninth switching element Q9 and a tenth switching element Q10; a control terminal of the ninth switching device Q9 is connected with the controller, a first terminal of the ninth switching device Q9 is connected with a control terminal of the tenth switching device Q10, and a second terminal of the ninth switching device Q9 is grounded; a first end of the tenth switching piece Q10 is connected to the first line 102 between the charging chip 110 and the first battery cell 120, and a second end of the tenth switching piece Q10 is connected to the first protection chip 142. In this way, the controller may control the ninth switching element Q9 to be turned on or off through the GPIO3 terminal based on the first power amount, so as to trigger the tenth switching element Q10 to be turned on or off, which may cause the level of the second terminal of the tenth switching element Q10 to be reflected to the CTL1 terminal of the first protection chip 142, and the first protection chip 142 drives whether the first switching unit 143 turns on the first battery cell 120 and the charging chip 110 based on the high-level or low-level driving signal received by the CTL1 terminal.
Illustratively, the ninth switching element Q9 and the tenth switching element Q10 are both power switching tubes. Exemplarily, the ninth switching element Q9 is an N-type power switch tube, and the tenth switching element Q10 is a P-type power switch tube. When the controller pulls up the level of the control terminal of the ninth switching device Q9 through the GPIO3 terminal, the ninth switching device Q9 is turned on, the control terminal of the tenth switching device Q10 is grounded, which pulls down the control terminal of the tenth switching device Q10 to turn on the tenth switching device Q10, and the CTL1 terminal of the first protection chip 142 receives the high-level driving signal output from the second terminal of the tenth switching device Q10. When the controller pulls down the level of the control terminal of the ninth switching device Q9 through the GPIO3 terminal, the ninth switching device Q9 is turned off, the level of the control terminal of the tenth switching device Q10 is pulled up, the tenth switching device Q10 is turned off, and the CTL1 terminal of the first protection chip 142 receives the low-level driving signal output from the second terminal of the tenth switching device Q10.
In some embodiments, with continued reference to fig. 3, the first switching unit 143 comprises: an eleventh switching device Q11 and a twelfth switching device Q12 connected in series to the first line 102, and a control terminal of the eleventh switching device Q11 and a control terminal of the twelfth switching device Q12 are connected to the first protective chip 142. Thus, the eleventh switching device Q11 and the twelfth switching device Q12 are driven to be turned on or off by the first protection chip 142. Exemplarily, the eleventh switching element Q11 and the twelfth switching element Q12 are both power switching tubes. For example, the eleventh switching device Q11 and the twelfth switching device Q12 are both N-type power switching tubes, the eleventh switching device Q11 may include a third parasitic diode, the twelfth switching device Q12 may include a fourth parasitic diode, and the eleventh switching device Q11 and the twelfth switching device Q12 are reversely connected. Here, the twelfth switching element Q12 may be turned on in a normal state. During the charging process, the first protection chip 142 may drive the eleventh switching 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 switching element Q11 to be turned off to disconnect the first battery cell 120 and the charging chip 110. At the time of discharging, the first protection chip 142 may drive the eleventh switching element Q11 to be turned on.
In some embodiments, with continued reference to fig. 3, the first switching circuit 140 and the second switching circuit 150 are identical in structure. The second switching circuit 150 may include a second driving unit 151, a second protection chip 152, and a second switching unit 153. The second driving unit 151 may include a thirteenth switching device Q13 and a fourteenth switching device Q14, and the second switching unit 153 may include a fifteenth switching device Q15 and a sixteenth switching device Q16. The structure of the second switch circuit 150 is the same as that of the first switch circuit 140, and is not described in detail here. In some embodiments, with continued reference to fig. 3, the electronic device includes a main board 180 and a first battery protection plate 190, the first driving unit 141 is provided to the main board 180, and the first protection chip 142 and the first switching unit 143 are provided to the first battery protection plate 190. The electronic device may further include a second battery protection plate 200, the second driving unit 151 is provided to the main board 180, and the second protection chip 152 and the second switching unit 153 are provided to the second battery protection plate 200.
(3) In the third embodiment, referring to fig. 4, the first electricity meter 161 is further connected to the first switching circuit 140, the second electricity meter 162 is further connected to the second switching circuit 150, and the controller is configured to: in the charging mode, the first electricity meter 161 is controlled to drive the first switch circuit 140 to switch on or off the first battery cell 120 and the charging chip 110 based on the first electricity quantity; and controlling the second electricity meter 162 to drive the second switch circuit 150 to switch on or off the second battery cell 130 and the charging chip 110 based on the second electricity quantity. As to the structure of the first switch circuit 140 and the second switch circuit 150, reference may be made to the following description of fig. 4, and details thereof are not described here.
Second, as a second class of embodiments, referring to fig. 4, the control module 160 includes: a first electricity meter 161 and a second electricity meter 162, the first electricity meter 161 being connected to the first switching circuit 140, the first electricity meter 161 being configured to: in the charging mode, a first electric quantity of the first battery cell 120 is detected, and 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 first electric quantity. The second electricity meter 162 is connected to the second switching circuit 150, and the second electricity meter 162 is configured to: in the charging mode, a second electric quantity of the second battery cell 130 is detected, and the second switch circuit 150 is controlled to switch on or off the second battery cell 130 and the charging chip 110 based on the second electric quantity. That is, in this embodiment, the first switching circuit 140 is directly controlled to be turned on or off by the first electricity meter 161, and the second switching circuit 150 is directly controlled to be turned on or off by the second electricity meter 162, without being controlled by the controller.
In some embodiments, with continued reference to fig. 4, the first switching circuit 140 includes: the seventeenth switching device Q17 and the eighteenth switching device Q18 are connected in series to the first line 102, and the first electricity meter 161 is connected to a control terminal of the seventeenth switching device Q17 and a control terminal of the eighteenth switching device Q18. The first electricity meter 161 may control the seventeenth switching element Q17 and the eighteenth switching element Q18 to be turned on based on the first amount of electricity, so as to turn on the charging chip 110 or the discharging connection terminal 170 and the first battery cell 120. The first electricity meter 161 may control the seventeenth switching element Q17 to be turned off and the eighteenth switching element Q18 to be turned on based on the first amount of electricity to turn off the charging chip 110 and the first battery cell 120. The eighteenth switching element Q18 may be a discharge switching tube, and always maintains a normally-on state, and when the discharge is over-current, the eighteenth switching element Q18 may be controlled to be turned off by the first electricity meter 161.
Illustratively, the seventeenth switching element Q17 and the eighteenth switching element Q18 are both power switching tubes. Exemplarily, the seventeenth switching element Q17 and the eighteenth switching element Q18 are both N-type power switching tubes. The seventeenth switching element Q17 includes a fifth parasitic diode (not shown), and the eighteenth switching element Q18 includes a sixth parasitic diode (not shown), which are reversely connected.
In some embodiments, with continued reference to fig. 4, the control module 160 further includes a first current sampling resistor R13, the first current sampling resistor R13 is connected between the first switch circuit 140 and the first cell 120, the first fuel gauge 161 is connected to both ends of the first current sampling resistor R13, and the first fuel gauge 161 is further configured to: the direction of the current in the first current sampling resistor R13 is detected, and the seventeenth switching device Q17 and the eighteenth switching device Q18 are controlled to be turned on or off based on the direction of the current. For example, when the first cell 120 is fully charged, the first electricity meter 161 controls the seventeenth switching element Q17 to be turned off, the eighteenth switching element Q18 to be turned on, and the current of the first cell 120 may flow through the fifth parasitic diode of the first current sampling resistor R13, the eighteenth switching element Q18 and the seventeenth switching element Q17, so that the first electricity meter 161 may detect the direction of the current in the first current sampling resistor R13, and when it is determined that the first cell 120 is discharged based on the direction of the current, the seventeenth switching element Q17 is controlled to be turned on, so that the first cell 120 is discharged to the discharge connection terminal 170 through the seventeenth switching element Q17 and the eighteenth switching element Q18. In addition, the first electricity meter 161 may determine the charging and discharging states of the first electrical core 120 based on the detected direction of the current in the first current sampling resistor R3, and then control the on/off of the seventeenth switching device Q17 and the eighteenth switching device Q18, so as to implement the functions of overcurrent protection, overvoltage protection, undervoltage protection, and the like.
In some embodiments, with continued reference to fig. 4, the first switching circuit 140 and the second switching circuit 150 are identical in structure. The second switch circuit 150 includes a nineteenth switch Q19 and a twentieth switch Q20, which can be referred to in detail in the description of the first switch circuit 140 and will not be described in detail here. In some embodiments, with continued reference to fig. 4, the electronic device includes a first battery protection plate 190, and the first switch circuit 140 and the first fuel gauge 161 may be provided to the first battery protection plate 190. The electronic device may further include a second battery protection plate 200, and the second switching circuit 150 and the second electricity meter 162 may be provided to the second battery protection plate 200. That is, the charging and discharging of the first battery cell 120 are controlled by the first switch circuit 140 and the first electricity meter 161 built in the first battery protection board 190, and the charging and discharging of the second battery cell 130 are controlled by the second switch circuit 150 and the second electricity meter 162 built in the second battery protection board 200.
In summary, in the charging and discharging circuit provided in the embodiment of the present disclosure, based on the first switch circuit 140 and the second switch circuit 150 with 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 electric quantity 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 electric quantity of the second battery cell 130, so as to charge at least one of the first battery cell 120 and the second battery cell 130, or disconnect the first battery cell 120 and the second battery cell 130 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 switch on the first battery cell 120 and the discharge connection end 170, and the second switch circuit 150 is controlled to switch on the second battery cell 130 and the discharge connection end 170, so that the first battery cell 120 and the second battery cell 130 are connected in parallel to discharge. The charge and discharge circuit can flexibly, controllably and safely realize charge and discharge and can also realize quick charge. In addition, the charging and discharging circuits have simple structures and are suitable for electronic equipment comprising at least two folding parts.
Fig. 5 is a flowchart illustrating 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 including: the charging circuit comprises a charging chip, a first battery cell connected between the charging chip and a grounding end through a first line, a second battery cell connected between the charging chip and the grounding end through a second line connected with the first line in parallel, a first switch circuit connected in the first line and a second switch circuit connected in the second line. Referring to fig. 5, the charge and discharge control method includes:
For example, the first electric quantity of the first electric core may be detected by the first electric quantity meter in real time and sent to the controller in real time. For example, the second electric quantity of the second electric core may be detected by the second electric quantity meter in real time and sent to the controller in real time.
And step 52, controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity.
Illustratively, the controller controls the first switch circuit to turn on or off the first battery cell and the charging chip based on the first electric quantity. Illustratively, the controller controls the first driving unit to drive the first protection chip to enable the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity. Illustratively, the first electricity meter controls the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electricity quantity.
And step 53, controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
Illustratively, the controller controls the second switch circuit to turn on or off the second battery cell and the charging chip based on the second electric quantity. Illustratively, the controller controls the second driving unit to drive the second protection chip to enable the second switching circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity. Illustratively, the second electricity meter controls the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electricity quantity.
In some embodiments, step 52 comprises: determining that the first electric quantity is smaller than a first full charge quantity of the first battery cell, and controlling the first switch circuit to conduct the first battery cell and the charging chip, or determining that the first electric quantity is equal to the first full charge quantity of the first battery cell, and controlling the first switch circuit to disconnect the first battery cell and the charging chip;
and/or, step 53 comprises: determining that the second electric quantity is smaller than a second full charge quantity of the second battery cell, and controlling a second switch circuit to conduct the second battery cell and the charging chip; or determining that the second electric quantity is equal to a second full charge quantity of the second battery cell, and controlling the second switch circuit to disconnect the second battery cell and the charging chip.
Based on the above, the charging mode includes four types, the first charging mode: the first battery cell is not fully charged, and the first switch circuit is controlled to conduct the first battery cell and the charging chip; and the second battery cell is fully charged, and the second switch circuit is controlled to disconnect the second battery cell and the charging chip. The second charging mode: the first battery cell is fully charged, and the first switch circuit is controlled to disconnect the first battery cell and the charging chip; and the second battery cell is not fully charged, and the second switch circuit is controlled to switch on the second battery cell and the charging chip. Third charging mode: the first battery cell and the second battery cell are not fully charged, the first switch circuit is controlled to switch on the first battery cell and the charging chip, and the second switch circuit is controlled to switch on the second battery cell and the charging chip. A fourth charging mode: when the first battery cell and the second battery cell are fully charged, the first switch circuit is controlled to switch on the first battery cell and the charging chip, and the second switch circuit is controlled to switch on the second battery cell and the charging chip.
In some embodiments, the charging and discharging circuit further includes a discharging connection terminal connected between the charging chip and the first switching circuit and between the charging chip and the second switching circuit; some embodiments of the present disclosure provide a charge and discharge control method further including:
determining that the first electrical quantity is equal to a first full charge of the first cell, and determining that the second electrical quantity is equal to a second full charge of the second cell;
and controlling the first switch circuit to switch on the first battery cell and the discharge connecting end, and controlling the second switch circuit to switch on the second battery cell and the discharge connecting end. In this way, the first cell and the second cell are discharged in parallel to the discharge connection.
In some embodiments, the charge and discharge control method provided in some embodiments of the present disclosure further includes:
and responding to the stop of charging of the charging chip, controlling the first switch circuit to switch on the first battery cell and the discharging connecting end, and controlling the second switch circuit to switch on the second battery cell and the discharging connecting end. For example, when the charger is pulled out, the charging chip stops outputting electric energy to the first battery cell and the second battery cell, so that the first battery cell and the second battery cell are enabled to discharge in parallel to the discharge connecting end.
According to the charge and discharge control method provided by the embodiment of the disclosure, in a charge mode, a first electric quantity of a first battery cell and a second electric quantity of a second battery cell are detected; and controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity so as to control whether the charging chip charges the first battery cell. And controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity so as to control whether the charging chip charges the second battery cell. Therefore, the mode that one of the first battery cell and the second battery cell is charged, the first battery cell and the second battery cell are charged in parallel or the first battery cell and the second battery cell are disconnected from the charging chip is flexibly, controllably and safely realized, the problems of over-charging and under-charging are avoided, and quick charging can be realized.
For the method embodiments, since they substantially correspond to the apparatus embodiments, reference may be made to the apparatus embodiments for relevant portions of the description. The method embodiment and the apparatus embodiment are complementary and will not be described further herein.
Fig. 6 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. Some embodiments of the present disclosure provide an electronic device 600 including any of the charging and discharging circuits mentioned above.
In some embodiments, the electronic device 600 includes a first fold 610 and a second fold 620, the first cell 120 of the charge and discharge circuit is disposed at the first fold 610, and the second cell 130 of the charge and discharge circuit is disposed at the second fold 620. Thus, the first cell 120 is caused to supply power to the first folding portion 610, and the second cell 130 is caused to supply power to the second folding portion 620. Illustratively, the first fold 610 and the second fold 620 are both folded screens.
FIG. 7 is a block diagram illustrating an electronic device according to an exemplary embodiment of the present disclosure. 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., that includes a transmitting coil, a first magnetic sensor, and a second magnetic sensor in a device that adjusts audio parameters of an earpiece.
Referring to fig. 7, 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.
The processing component 702 generally operates the entirety of the electronic device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions. Further, the processing component 702 may include one or more modules that 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.
The memory 704 is configured to store various types of data to support operations at the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
The power supply component 706 provides power to the various components of the electronic device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 700.
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 an input signal from a 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 boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
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 may detect an open/closed state of the electronic device 700, the relative positioning of components, such as a display and keypad of the electronic device 700, the sensor assembly 714 may also detect a change in the position of the electronic device 700 or one of the components, the presence or absence of a target object in contact with the electronic device 700, orientation or acceleration/deceleration of the electronic device 700, and a change in the temperature of the electronic device 700.
The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 may 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 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
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, micro-control modules, microprocessors, or other electronic components.
In an exemplary embodiment, there is also provided a computer-readable storage medium on which a program is stored, the program, when executed by the processor 720, implementing any one of the charge and discharge control methods mentioned above. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
The above embodiments of the present disclosure may be complementary to each other without conflict.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (20)
1. A charging and discharging circuit for an electronic device, the charging and discharging circuit comprising:
a charging chip;
the first battery cell is connected between the charging chip and a grounding end through a first line;
the second battery cell is connected between the charging chip and a grounding end through a second line which is connected with the first line in parallel;
a first switching circuit connected to the first line;
a second switching circuit connected to the second line; and
a control module connected with the first and second switching circuits and configured to: detecting a first electric quantity of the first battery cell and a second electric quantity of the second battery cell in a charging mode; controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity; and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
2. The charging and discharging circuit of claim 1, wherein the control module is specifically configured to: determining that the first electric quantity is smaller than a first full charge quantity of the first battery cell, and controlling the first switch circuit to switch on the first battery cell and the charging chip, or determining that the first electric quantity is equal to the first full charge quantity of the first battery cell, and controlling the first switch circuit to switch off the first battery cell and the charging chip; and/or
Determining that the second electric quantity is smaller than a second full charge quantity of the second battery cell, and controlling the second switch circuit to conduct the second battery cell and the charging chip; or, determining that the second electric quantity is equal to a second full charge quantity of the second battery cell, and controlling the second switch circuit to disconnect the second battery cell and the charging chip.
3. The charging and discharging circuit of claim 1, further comprising a discharging connection terminal connected between the charging chip and the first switching circuit and between the charging chip and the second switching circuit; the control module is further configured to:
determining that the first electrical quantity is equal to a first full charge of the first cell, and determining that the second electrical quantity is equal to a second full charge of the second cell; controlling the first switch circuit to conduct the first battery cell and the discharge connecting end, and controlling the second switch circuit to conduct the second battery cell and the discharge connecting end; or
The control module is further configured to: and responding to the stop of charging of the charging chip, controlling the first switch circuit to conduct the first battery cell and the discharging connecting end, and controlling the second switch circuit to conduct the second battery cell and the discharging connecting end.
4. The charging and discharging circuit according to claim 1, wherein the control module comprises: the first coulometer is connected with the controller, and the second coulometer is connected with the controller;
the first electricity meter is configured to detect a first amount of electricity of the first battery cell, the second electricity meter is configured to detect a second amount of electricity of the second battery cell, and the controller is configured to: in a charging mode, controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity; and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
5. The charging and discharging circuit of claim 4, wherein the first switching circuit comprises: a first switch, a second switch, a third switch and a fourth switch;
the first switch piece with the second switch piece connect in charge chip with between the first electric core first circuit, the control end of first switch piece with the control end of second switch piece with the first end of third switch piece is connected, the second end ground connection of third switch piece, the control end of third switch piece with the first end of fourth switch piece is connected, the second end ground connection of fourth switch piece, the control end of fourth switch piece with the controller is connected.
6. The charge and discharge circuit according to claim 5, wherein the first switch circuit and the second switch circuit have the same structure; and/or the electronic equipment comprises a mainboard, and the first switch circuit and the second switch circuit are arranged on the mainboard.
7. The charging and discharging circuit according to claim 4, wherein the first switch circuit comprises a first driving unit, a first protection chip and a first switch unit, a control end of the first driving unit is connected with the controller, a driving end of the first driving unit is connected with the first protection chip, the first protection chip is connected with a control end of the first switch unit, and the first switch unit is connected with the first line;
the control appliance is configured to: and controlling the first driving unit to output a driving signal to the first protection chip based on the first electric quantity, so that the first protection chip drives the first switch unit to switch on or off the first electric core and the charging chip based on the driving signal.
8. The charge and discharge circuit according to claim 7, wherein the first driving unit includes a ninth switching element and a tenth switching element; the control end of the ninth switching piece is connected with the controller, the first end of the ninth switching piece is connected with the control end of the tenth switching piece, and the second end of the ninth switching piece is grounded; a first end of the tenth switching element is connected to the first line between the charging chip and the first battery cell, and a second end of the tenth switching element is connected to the first protection chip; and/or
The first switching unit includes: and an eleventh switch piece and a twelfth switch piece connected in series to the first line, wherein a control end of the eleventh switch piece and a control end of the twelfth switch piece are connected to the first protection chip.
9. The charge and discharge circuit according to claim 8, wherein the first switch circuit and the second switch circuit have the same structure; and/or, the electronic device comprises: the first battery protection board is arranged on the main board, and the first protection chip and the first switch unit are arranged on the first battery protection board.
10. The charge and discharge circuit according to claim 4, wherein the first electricity meter is further connected to the first switching circuit, the second electricity meter is further connected to the second switching circuit, and the controller is configured to: in a charging mode, controlling the first electricity meter to drive the first switch circuit to switch on or off the first electric core and the charging chip based on the first electricity quantity; and controlling the second electric quantity meter to drive the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
11. The charging and discharging circuit according to claim 1, wherein the control module comprises: a first electricity meter and a second electricity meter, the first electricity meter being connected with the first switching circuit, the first electricity meter being configured to: in the charging mode, detecting a first electric quantity of the first battery cell, and controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity;
the second electricity meter is connected with the second switching circuit, and is configured to: and in the charging mode, detecting a second electric quantity of the second battery cell, and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
12. The charging and discharging circuit according to claim 10 or 11, wherein the first switching circuit comprises: and the first electricity meter is connected with the control end of the seventeenth switching element and the control end of the eighteenth switching element.
13. The charging and discharging circuit of claim 12, wherein the control module further comprises a first current sampling resistor connected between the first switching circuit and the first cell, wherein the first fuel gauge is connected across the first current sampling resistor, and wherein the first fuel gauge is further configured to: and detecting the direction of the current in the first current sampling resistor, and controlling the seventeenth switching element and the eighteenth switching element to be switched on or off based on the direction of the current.
14. The charge and discharge circuit according to claim 12, wherein the first switch circuit and the second switch circuit have the same structure; and/or, the electronic equipment comprises a first battery protection board, and the first switch circuit is arranged on the first battery protection board.
15. A charge and discharge control method is applied to a charge and discharge circuit, and the charge and discharge circuit comprises: the battery charging system comprises a charging chip, a first battery cell connected between the charging chip and a grounding terminal through a first line, a second battery cell connected between the charging chip and the grounding terminal through a second line connected with the first line in parallel, a first switch circuit connected in the first line, and a second switch circuit connected in the second line; the method comprises the following steps:
detecting a first electric quantity of the first battery cell and a second electric quantity of the second battery cell in a charging mode;
controlling the first switch circuit to switch on or off the first battery cell and the charging chip based on the first electric quantity;
and controlling the second switch circuit to switch on or off the second battery cell and the charging chip based on the second electric quantity.
16. The charge and discharge control method according to claim 15, wherein the controlling the first switching circuit to turn on or off the first battery cell and the charging chip based on the first electric quantity includes:
determining that the first electric quantity is smaller than a first full charge quantity of the first battery cell, and controlling the first switch circuit to switch on the first battery cell and the charging chip, or determining that the first electric quantity is equal to the first full charge quantity of the first battery cell, and controlling the first switch circuit to switch off the first battery cell and the charging chip; and/or the presence of a gas in the gas,
the controlling the second switch circuit to turn on or off the second battery cell and the charging chip based on the second electric quantity includes:
determining that the second electric quantity is smaller than a second full charge quantity of the second battery cell, and controlling the second switch circuit to conduct the second battery cell and the charging chip; or, determining that the second electric quantity is equal to a second full charge quantity of the second battery cell, and controlling the second switch circuit to disconnect the second battery cell and the charging chip.
17. The charge and discharge control method according to claim 15, wherein the charge and discharge circuit further includes discharge connection terminals connected between the charge chip and the first switch circuit and between the charge chip and the second switch circuit; the method further comprises the following steps:
determining that the first electrical quantity is equal to a first full charge of the first cell, and determining that the second electrical quantity is equal to a second full charge of the second cell;
and controlling the first switch circuit to switch on the first battery cell and the discharge connecting end, and controlling the second switch circuit to switch on the second battery cell and the discharge connecting end.
18. The charge-discharge control method according to claim 17, characterized by further comprising:
and responding to the stop of charging of the charging chip, controlling the first switch circuit to conduct the first battery cell and the discharging connecting end, and controlling the second switch circuit to conduct the second battery cell and the discharging connecting end.
19. An electronic device comprising the charge and discharge circuit according to any one of claims 1 to 14.
20. The electronic device of claim 19, wherein the electronic device includes a first fold and a second fold, wherein the first fold is configured to receive the first cell of the charge and discharge circuit, and wherein the second fold is configured to receive the second cell of the charge and discharge circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010972644.2A CN114268137A (en) | 2020-09-16 | 2020-09-16 | Charging and discharging circuit, charging and discharging control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010972644.2A CN114268137A (en) | 2020-09-16 | 2020-09-16 | Charging and discharging circuit, charging and discharging control method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114268137A true CN114268137A (en) | 2022-04-01 |
Family
ID=80824208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010972644.2A Pending CN114268137A (en) | 2020-09-16 | 2020-09-16 | Charging and discharging circuit, charging and discharging control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114268137A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024046190A1 (en) * | 2022-09-02 | 2024-03-07 | 华为技术有限公司 | Bare cell, cell, battery and electronic device |
CN117691695A (en) * | 2023-08-18 | 2024-03-12 | 荣耀终端有限公司 | Charging circuit and electronic equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR980012769A (en) * | 1996-07-19 | 1998-04-30 | 구자홍 | Battery Parallel Drive Method and Apparatus |
CN1574542A (en) * | 2003-06-06 | 2005-02-02 | 松下电器产业株式会社 | Charging and discharging control apparatus for backup battery |
US20130063090A1 (en) * | 2011-09-08 | 2013-03-14 | Junji Takeshita | Battery protection circuit and battery protection device, and battery pack |
CN103123991A (en) * | 2011-11-18 | 2013-05-29 | 德龙伟创科技(深圳)有限公司 | Lithium-based batteries connected in parallel by modules |
CN103219762A (en) * | 2013-04-01 | 2013-07-24 | 海能达通信股份有限公司 | Charging control circuit |
CN103403643A (en) * | 2012-06-27 | 2013-11-20 | 华为终端有限公司 | Charging and discharging management device and mobile terminal |
CN106058961A (en) * | 2016-05-31 | 2016-10-26 | 海能达通信股份有限公司 | Rechargeable battery, charging management circuit, electronic device and charger |
CN206211588U (en) * | 2016-11-11 | 2017-05-31 | 孔祥贵 | The battery pack of charged in parallel |
CN206547012U (en) * | 2017-02-13 | 2017-10-10 | 重庆零度智控智能科技有限公司 | Charging circuit and electronic equipment |
CN108988453A (en) * | 2018-07-24 | 2018-12-11 | 维沃移动通信有限公司 | A kind of mobile terminal |
CN208508555U (en) * | 2018-04-18 | 2019-02-15 | 深圳市创芯微微电子有限公司 | Battery protection chip and battery protecting circuit |
US20190214831A1 (en) * | 2018-01-10 | 2019-07-11 | Microsoft Technology Licensing, Llc | Distributed battery architecture |
CN110213406A (en) * | 2019-05-05 | 2019-09-06 | 珠海格力电器股份有限公司 | Folding electronic equipment |
US20200036198A1 (en) * | 2018-07-26 | 2020-01-30 | Samsung Electronics Co., Ltd. | Electronic device and method for managing battery thereof |
-
2020
- 2020-09-16 CN CN202010972644.2A patent/CN114268137A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR980012769A (en) * | 1996-07-19 | 1998-04-30 | 구자홍 | Battery Parallel Drive Method and Apparatus |
CN1574542A (en) * | 2003-06-06 | 2005-02-02 | 松下电器产业株式会社 | Charging and discharging control apparatus for backup battery |
US20130063090A1 (en) * | 2011-09-08 | 2013-03-14 | Junji Takeshita | Battery protection circuit and battery protection device, and battery pack |
CN103123991A (en) * | 2011-11-18 | 2013-05-29 | 德龙伟创科技(深圳)有限公司 | Lithium-based batteries connected in parallel by modules |
CN103403643A (en) * | 2012-06-27 | 2013-11-20 | 华为终端有限公司 | Charging and discharging management device and mobile terminal |
CN103219762A (en) * | 2013-04-01 | 2013-07-24 | 海能达通信股份有限公司 | Charging control circuit |
CN106058961A (en) * | 2016-05-31 | 2016-10-26 | 海能达通信股份有限公司 | Rechargeable battery, charging management circuit, electronic device and charger |
CN206211588U (en) * | 2016-11-11 | 2017-05-31 | 孔祥贵 | The battery pack of charged in parallel |
CN206547012U (en) * | 2017-02-13 | 2017-10-10 | 重庆零度智控智能科技有限公司 | Charging circuit and electronic equipment |
US20190214831A1 (en) * | 2018-01-10 | 2019-07-11 | Microsoft Technology Licensing, Llc | Distributed battery architecture |
CN208508555U (en) * | 2018-04-18 | 2019-02-15 | 深圳市创芯微微电子有限公司 | Battery protection chip and battery protecting circuit |
CN108988453A (en) * | 2018-07-24 | 2018-12-11 | 维沃移动通信有限公司 | A kind of mobile terminal |
US20200036198A1 (en) * | 2018-07-26 | 2020-01-30 | Samsung Electronics Co., Ltd. | Electronic device and method for managing battery thereof |
CN110213406A (en) * | 2019-05-05 | 2019-09-06 | 珠海格力电器股份有限公司 | Folding electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024046190A1 (en) * | 2022-09-02 | 2024-03-07 | 华为技术有限公司 | Bare cell, cell, battery and electronic device |
CN117691695A (en) * | 2023-08-18 | 2024-03-12 | 荣耀终端有限公司 | Charging circuit and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110797925B (en) | Battery control system and method and electronic equipment | |
CN110226258A (en) | Battery pack and electric system including the battery pack | |
CN104135053A (en) | Electric quantity sharing method and device | |
CN110797924B (en) | Battery control system and method and electronic equipment | |
KR20200010177A (en) | Reverse charging device, method and device for adjusting reverse charging current | |
CN114268137A (en) | Charging and discharging circuit, charging and discharging control method and electronic equipment | |
CN106169798A (en) | High-voltage charging system, high-voltage charging battery and terminal unit | |
CN1996701A (en) | Battery charging management system and method | |
CN113036710A (en) | Method and device for acquiring battery state, battery, electronic equipment and storage medium | |
CN109842181B (en) | Micro projector and charge and discharge control method thereof | |
CN116111659A (en) | Charging circuit, method, device, electronic equipment and medium | |
CN113285499B (en) | Charging control method, electronic device, control device and storage medium | |
CN116667473B (en) | Control circuit, circuit control method and electronic equipment | |
CN111384762A (en) | Battery module, charging circuit, charging control method and device and electronic equipment | |
CN109842180B (en) | Micro projector and charge and discharge control method thereof | |
CN115566745A (en) | Charging and discharging protection system and method and electronic equipment | |
CN117318198A (en) | Charging and discharging method and device of terminal, readable storage medium and chip | |
CN216904279U (en) | Discharge protection circuit and battery pack | |
CN114142543A (en) | Battery charging and discharging loop, charging method and device and electronic equipment | |
EP4037127B1 (en) | Charging method and device, terminal, and storage medium | |
CN214479747U (en) | Battery protection circuit, battery pack and terminal equipment | |
CN112701737B (en) | Battery circuit, charging method and device and electronic equipment | |
CN115730417A (en) | Surge discharge circuit, control method, test method, device and storage medium | |
CN217508311U (en) | Discharge protection circuit and battery pack | |
CN219067883U (en) | Power supply control module, battery pack and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |