CN105811493A - Power source circuit, power source circuit discharging method, power source circuit charging method and controller - Google Patents

Power source circuit, power source circuit discharging method, power source circuit charging method and controller Download PDF

Info

Publication number
CN105811493A
CN105811493A CN201410856875.1A CN201410856875A CN105811493A CN 105811493 A CN105811493 A CN 105811493A CN 201410856875 A CN201410856875 A CN 201410856875A CN 105811493 A CN105811493 A CN 105811493A
Authority
CN
China
Prior art keywords
switch
controller
power supply
condition
switches
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
Application number
CN201410856875.1A
Other languages
Chinese (zh)
Inventor
李显西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410856875.1A priority Critical patent/CN105811493A/en
Publication of CN105811493A publication Critical patent/CN105811493A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a power source circuit comprising a charging circuit, N battery groups and N switches, wherein the charging circuit comprises a power supply end used for supplying electric power to other parts of an electronic device and N output ends connected with the N battery groups, the N battery groups are connected in parallel, each of the N battery groups comprises M chargeable batteries that are connected with each other, M is an integer greater than or equal to 1, an input end of the charging circuit is connected with a power source positioned outside the electronic device, one of the N switches is connected with in series between each of the N output ends of the charging circuit and the power supply end, and each of the N output ends of the charging circuit is connected with one of the N battery groups. The invention also discloses a power source circuit discharging method, a power source circuit charging method and a controller.

Description

Power supply circuit, discharging method thereof, method for charging power supply circuit and controller
Technical Field
The present invention relates to electronic technologies, and in particular, to a power supply circuit, a discharging method thereof, a charging method thereof, and a controller.
Background
Some existing electronic devices, such as smart phones and tablet computers, include two batteries, and when the two batteries are switched by a switch in a system to supply power to the electronic device, two charging schemes are generally adopted, where the first scheme is to use two Integrated Circuits (ICs), that is, each charging battery is charged by one charging circuit; the second scheme is to charge two batteries by using a charging integrated circuit in a time-sharing manner, namely, when a first battery is fully charged, the second battery is charged, or when the first battery is charged to a certain electric quantity, such as 80% of the electric quantity, the second battery is charged.
In the existing solutions, the scheme of using one charging integrated circuit to charge two batteries respectively obviously has the disadvantage of too low charging speed, and the scheme of using two charging integrated circuits to charge two batteries respectively increases the charging speed but greatly increases the cost.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a power circuit, a discharging method thereof, a charging method thereof, and a controller to solve at least one problem in the prior art, which can improve a charging speed while reducing a production cost.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a power supply circuit applied to an electronic device, where the power supply circuit includes: the charging circuit comprises a power supply end for supplying power to other parts of the electronic equipment and N output ends for connecting the N groups of battery packs, wherein N is an integer greater than or equal to 2; wherein:
the battery packs in the N groups of battery packs are connected in parallel, each group of battery pack in the N groups of battery packs comprises M rechargeable batteries which are connected with each other, and M is an integer which is more than or equal to 1;
the input end of the charging circuit is connected with a power supply positioned outside the electronic equipment;
each output end of the N output ends of the charging circuit is connected with one of the N switches in series between the power supply end, and each output end of the N output ends of the charging circuit is also connected with one of the N groups of battery packs.
In a second aspect, an embodiment of the present invention provides a method for charging a power supply circuit, where the power supply circuit includes: the charging circuit comprises a controller, and N is an integer greater than or equal to 2;
the method comprises the following steps:
the controller acquires voltage values at two ends of a first switch, wherein the first switch is any one of the N switches;
the controller judges whether the voltage values at the two ends of the first switch meet a preset first condition or not to obtain a first judgment result;
and when the first judgment result shows that the voltage values at the two ends of the first switch do not meet the first condition, the controller adjusts the conduction degree of the first switch so as to enable the voltage values at the two ends of the first switch to meet the first condition.
In a third aspect, an embodiment of the present invention provides a discharging method for a power supply circuit, where the power supply circuit includes: the charging circuit comprises a controller, and N is an integer greater than or equal to 2;
the method comprises the following steps:
the controller controls a second switch to be conducted, wherein the second switch is one of the N switches;
the controller acquires voltage values of two ends of the battery pack connected with the second switch in series;
the controller judges whether the voltage values at two ends of the battery pack connected in series with the second switch meet a preset second condition or not to obtain a second judgment result;
when the second judgment result shows that the voltage values at two ends of the battery pack in series with the second switch do not meet the second condition, the controller controls a third switch to be turned on, wherein the third switch is one of the N switches except for the second switch.
In a fourth aspect, an embodiment of the present invention provides a controller, where the controller is located in a power circuit of an electronic device, where the power circuit includes: the charging circuit comprises the controller, and N is an integer greater than or equal to 2;
the controller comprises a first acquisition unit, a first judgment unit and an adjustment unit, wherein:
the first obtaining unit is configured to obtain a voltage value at two ends of a first switch, where the first switch is any one of the N switches;
the first judging unit is used for judging whether the voltage values at two ends of the first switch meet a preset first condition or not to obtain a first judging result;
the adjusting unit is configured to adjust the conduction degree of the first switch so that the voltage values at the two ends of the first switch satisfy the first condition when the first determination result indicates that the voltage values at the two ends of the first switch do not satisfy the first condition.
In a fifth aspect, an embodiment of the present invention provides a controller, which is applied to a power supply circuit, where the power supply circuit includes: the charging circuit comprises a controller, and N is an integer greater than or equal to 2;
the controller comprises a first control unit, a second acquisition unit, a second judgment unit and a second control unit, wherein:
the first control unit is used for controlling a second switch to be conducted, wherein the second switch is one of the N switches;
the second obtaining unit is used for obtaining voltage values at two ends of the battery pack connected with the second switch in series;
the second judging unit is configured to judge whether voltage values at two ends of the battery pack, to which the second switch is connected in series, satisfy a preset second condition, and obtain a second judgment result;
the second control unit is configured to control a third switch to be turned on when the second determination result indicates that the voltage value across the battery pack to which the second switch is connected in series does not satisfy the second condition, where the third switch is one of the N switches except for the second switch.
In a sixth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes the power supply circuit provided in the embodiment of the first aspect.
The embodiment of the invention provides a power supply circuit, a discharging method thereof, a charging method thereof and a controller, wherein the power supply circuit comprises: the charging circuit comprises a power supply end for supplying power to other parts of the electronic equipment and N output ends for connecting the N groups of battery packs; wherein: the battery packs in the N groups of battery packs are connected in parallel, each group of battery pack in the N groups of battery packs comprises M rechargeable batteries which are connected with each other, and M is an integer which is more than or equal to 1; the input end of the charging circuit is connected with a power supply positioned outside the electronic equipment; one switch of the N switches is connected between each output end of the N output ends of the charging circuit and the power supply end in series, and each output end of the N output ends of the charging circuit is also connected with one battery pack of the N battery packs; thus, the charging speed can be increased while the production cost is reduced.
Drawings
FIG. 1-1 is a diagram illustrating a first scenario in the related art;
FIG. 1-2 is a diagram illustrating a second scenario in the related art;
FIGS. 1-3 are diagrams of a third scenario in the related art;
FIGS. 1-4 are simplified circuit diagrams of a power circuit according to one embodiment of the present invention;
FIGS. 1-5 are schematic circuit diagrams illustrating an embodiment of the present invention;
FIG. 2 is a schematic circuit diagram of a second embodiment of the present invention, in which a transistor is used as a switch;
fig. 3 is a schematic flow chart illustrating an implementation of a method for charging a power circuit according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a flow chart of a discharge method of a four-power circuit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a fifth electronic device according to an embodiment of the invention;
fig. 6 is a schematic structural diagram of a sixth controller according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Example one
The electronic device related in each embodiment of the present invention includes a navigator, a vehicle-mounted device such as a vehicle-mounted television, a notebook computer, a tablet computer, a smart phone, a Netbook (Netbook), an electric bicycle, an electric vehicle, and a charger (a charging device for charging a device such as a mobile phone and a tablet computer). Electronic devices can be powered by both dc and ac power to support the proper operation of the electronic device. Taking a tablet computer as an example of an electronic device, when there is no direct current around the tablet computer and a rechargeable battery in the tablet computer is charged, the tablet computer can use its own rechargeable battery to supply power.
When there is direct current around, as shown in fig. 1-1, the tablet pc 13 is connected to an alternating current socket (the socket is not shown in fig. 1-1) through the charger 11 and the charging wire 12. When the rechargeable battery is not installed on the tablet computer 13, the tablet computer 13 is directly powered by alternating current. When the rechargeable battery 210 is mounted on the tablet computer 13 and the rechargeable battery 210 is not fully charged, the rechargeable battery may also be charged using alternating current. In fig. 1-1, the charger is used to convert the voltage of the ac power into the voltage available for the tablet pc, for example, the ac power in the continental region of china, the charger 11 is connected to the socket, the input voltage of the charger 11 is 220 volts (V), and the output voltage of the charger 11 is about 10V to 20V, which is very different from manufacturers to manufacturers, but generally, the magnitude of the output voltage is about the same.
As shown in fig. 1-2, a charging circuit 22 is further provided between the output of the charger 11 and the rechargeable battery 210, in order to increase the battery capacity of the electronic device, two rechargeable batteries (hereinafter referred to as batteries) are generally used to supply power to the electronic device, when one rechargeable battery is used up, another battery is used to supply power to the electronic device, and the two batteries are connected in parallel to increase the battery capacity, so that a user can use the electronic device for a long time without much use, and the electronic device can be charged. In the related art, when two batteries are charged, one charging circuit may be used or two charging circuits may be used. When a charging circuit is used, after the first battery is fully charged, the second battery is charged, or when the first battery is charged to a certain electric quantity, such as 80 percent of electric quantity, the second battery is charged; when two charging circuits are used, each battery is charged by one charging circuit. In the technical scheme provided by the invention, only one charging circuit is adopted to charge two or more batteries, and the charging speed is the same as that of the scheme adopting two charging circuits at present.
It should be noted that, as shown in fig. 1-3, the charging circuit 22 includes an integrated charging chip, and peripheral circuits connected to pins of the charging chip; wherein the peripheral circuit may include: an input circuit for connecting a charger, a circuit for supplying a charging current to a rechargeable battery, a circuit for supplying power to power consuming parts of an electronic device, a charging interface circuit for supplying a Universal Serial Bus (USB) to an external device such as a mobile phone, and a circuit for preventing interference. It should be noted that parameters such as the pin type and the pin number of the charging chips provided by different manufacturers are different, but different charging chips have similar places, for example, a pin connected to an external charger is generally a VBUS pin, a pin supplying power to a system of the electronic device is a SYS pin, and a BAT pin connected to a battery, where the system of the electronic device includes power consuming components in the electronic device such as a display screen. In embodiments of the present invention, the SYS pin will be referred to as the supply terminal, the VBUS pin as the input terminal, and the BAT pin as the output terminal.
Based on the above description, embodiments of the present invention provide a power supply circuit, which is applied to an electronic device. The power supply circuit includes: a charging circuit, N group battery and N switch, charging circuit includes input, supply terminal and N output, N is more than or equal to 2's integer, wherein:
the electronic device comprises an input end used for being connected with an external power supply, and particularly, the external power supply can be connected with the input end through a charger of the electronic device.
And the power supply end is used for supplying power to other parts of the electronic equipment, and the other parts comprise power consumption parts such as a display screen and the like.
The output end is used for connecting the N groups of battery packs;
the battery packs in the N groups of battery packs are connected in parallel, each group of battery pack in the N groups of battery packs comprises M rechargeable batteries which are connected with each other, and M is an integer which is more than or equal to 1;
each output end of the N output ends of the charging circuit is connected with one of the N switches in series between the power supply end, and each output end of the N output ends of the charging circuit is also connected with one of the N groups of battery packs.
Here, each of the N output terminals of the charging circuit is further connected to one of the N groups of battery packs, including each of the N output terminals of the charging circuit is further connected in series to one of the N groups of battery packs.
It should be noted that there may be one or more input terminals in the charging circuit, and generally, the voltages of the more than one input terminals are different. And there may be one or more than one power supply terminal.
Based on the above description, another power circuit is provided in the embodiments of the present invention, fig. 1 to 4 are simplified circuit diagrams of a power circuit in a first embodiment of the present invention, and fig. 1 to 5 are circuit schematic diagrams of a specific implementation process in the first embodiment of the present invention, as shown in fig. 1 to 4 and fig. 1 to 5, the power circuit includes: a charging circuit, a first battery pack 101, a second battery pack 102, a first switch 111 and a second switch 112, the charging circuit comprising 1 input terminal 121, 1 power supply terminal 122, and a first output terminal 123 and a second output terminal 124, wherein: the input end 121 is used for connecting an external power supply; the power supply terminal 122 is used for supplying power to other components of the electronic device; the first output end 111 is connected in series with the first battery pack 101; the second output terminal 112 is connected in series with the second battery pack 102; a first battery pack 101 and a second battery 102 are connected in parallel, wherein the first battery pack 101 and the second battery 102 both comprise M rechargeable batteries connected with each other, and M is an integer greater than or equal to 1; the first switch 111 is connected in series between the first output terminal 123 and the power supply terminal 122, and the second switch 112 is connected in series between the second output terminal 124 and the power supply terminal 122.
In the embodiment of the present invention, for anti-interference, a capacitor is connected in parallel with first battery pack 101, and similarly, a capacitor is connected in parallel with second battery pack 102.
In the embodiment of the invention, when M is more than or equal to 2, the batteries in each battery pack of the N battery packs are connected in parallel; or,
the batteries in each battery pack of the N battery packs are connected in series; or,
the batteries in each battery pack of the N battery packs are connected in parallel and series.
In the embodiment of the present invention, when the M batteries are connected in parallel, the chemical properties of the M batteries in each of the N groups of battery packs are the same, and the chemical properties of the batteries in different ones of the N groups of battery packs are the same or different.
In an embodiment of the present invention, a power supply circuit includes: the charging circuit comprises a power supply end for supplying power to other parts of the electronic equipment and N output ends for connecting the N groups of battery packs; wherein: the battery packs in the N groups of battery packs are connected in parallel, each group of battery pack in the N groups of battery packs comprises M rechargeable batteries which are connected with each other, and M is an integer which is more than or equal to 1; the input end of the charging circuit is connected with a power supply positioned outside the electronic equipment; one switch of the N switches is connected between each output end of the N output ends of the charging circuit and the power supply end in series, and each output end of the N output ends of the charging circuit is also connected with one battery pack of the N battery packs; therefore, in the aspect of cost, compared with the scheme adopting two charging circuits, the technical scheme provided by the embodiment of the invention has low cost; in the area of a Printed Circuit Board (PCB), compared with a scheme adopting two charging circuits, the PCB provided by the technical scheme implemented by the invention has small area; in the aspect of charging speed, compared with the scheme adopting a single charging circuit, the technical scheme provided by the invention has the advantages of high charging speed and capability of omitting a battery change-over switch.
Example two
Based on the first embodiment, an embodiment of the present invention provides a power circuit, which is applied to an electronic device. The power supply circuit includes: a charging circuit, N group battery and N switch, charging circuit includes input, supply terminal and N output to and the controller, N is more than or equal to 2's integer, wherein:
the electronic device comprises an input end used for being connected with an external power supply, and particularly, the external power supply can be connected with the input end through a charger of the electronic device.
And the power supply end is used for supplying power to other parts of the electronic equipment, and the other parts comprise power consumption parts such as a display screen and the like.
The output end is used for connecting the N groups of battery packs;
the controller is electrically connected with the N switches.
The battery packs in the N groups of battery packs are connected in parallel, each group of battery pack in the N groups of battery packs comprises M rechargeable batteries which are connected with each other, and M is an integer which is more than or equal to 1;
each of the N output ends of the charging circuit is connected with one of the N switches in series between the power supply end, and each of the N output ends of the charging circuit is also connected with one of the N groups of battery packs in series.
According to the technical scheme provided by the embodiment of the invention, one charging circuit is used, two switches are arranged in the charging circuit, wherein the current flowing through each switch can be monitored in real time, and the controller can control the conduction of the switches, the two switches are respectively connected to two independent battery interfaces (power supply ends) and then are respectively connected to the two batteries, and the two batteries can be charged at the same time.
In the embodiment of the present invention, the switches are transistors, the source and the drain of each of the transistors are used as two ends of each of the N switches, and the gate of each of the transistors is used as a control end and connected to the controller, as shown in fig. 2, which is a schematic circuit diagram of the second embodiment of the present invention in which a transistor is used as a switch, in a specific implementation process, the controller may be a microprocessor in the charging circuit.
Here, the transistor may include a Metal Oxide Semiconductor (MOS) transistor, an N-type metal oxide semiconductor (NMOS) transistor, a P-type metal oxide semiconductor (PMOS) transistor, an enhancement type NMOS transistor, and a depletion type NMOS transistor.
In the embodiment of the invention, when M is more than or equal to 2, the batteries in each battery pack of the N battery packs are connected in parallel; or,
the batteries in each battery pack of the N battery packs are connected in series; or,
the batteries in each battery pack of the N battery packs are connected in parallel and series.
In the embodiment of the present invention, when the M batteries are connected in parallel, the chemical properties of the M batteries in each of the N groups of battery packs are the same, and the chemical properties of the batteries in different ones of the N groups of battery packs are the same or different.
EXAMPLE III
Based on the foregoing power supply circuit, the embodiment of the present invention provides a method for charging a power supply circuit, which is applied to an electronic device, and the functions implemented by the method can be implemented by a microprocessor in the charging circuit calling a program code, which can be stored in a computer storage medium.
Fig. 3 is a schematic flow chart illustrating an implementation process of a method for charging a power circuit according to a third embodiment of the present invention, as shown in fig. 3, the method includes:
step 301, the controller obtains a voltage value at two ends of a first switch, where the first switch is any one of the N switches;
step 302, the controller judges whether the voltage values at two ends of the first switch meet a preset first condition, and a first judgment result is obtained;
step 303, when the first determination result indicates that the voltage values at the two ends of the first switch do not satisfy the first condition, the controller adjusts the conduction degree of the first switch, so that the voltage values at the two ends of the first switch satisfy the first condition.
In the embodiment of the present invention, the method further includes: and when the first judgment result shows that the voltage values at the two ends of the first switch meet the first condition, the controller continuously judges whether the voltage values at the two ends of the first switch meet the preset first condition.
In an embodiment of the present invention, the determining whether the voltage value across the first switch meets a preset first condition includes: judging whether the voltage values at two ends of the first switch are equal to a preset first voltage threshold value or not;
correspondingly, when the first determination result indicates that the voltage value across the first switch does not satisfy the first condition, the adjusting, by the controller, the conduction degree of the first switch includes:
when the voltage value across the first switch is smaller than the first voltage threshold, the controller increases the voltage value across the first switch;
when the voltage value across the first switch is greater than the first voltage threshold, the controller decreases the voltage value across the first switch.
In the embodiment of the present invention, in addition to the voltage method described above, a current method may be used to turn on the control Switch, specifically, the on-resistance of the Switch (Switch) is known, where the Switch is implemented by using a transistor; the programmer can write the on-resistance of the switches and the like into a program in advance, and the voltage difference between two ends of each switch is monitored in real time through the controller, so that the charging current passing through the switches can be acquired in real time. Then judging whether the charging current passing through the switch is the same as a set current threshold value or not, and if the charging current is the same as the set current threshold value, maintaining the existing state; if the current is different from the set current threshold, the charging current passing through the switch is consistent with the set current threshold by adjusting the conduction degree of the switch.
Taking a MOS transistor as a switch, according to the inherent characteristics of the MOS transistor, adjusting the conduction degree of the switch is achieved by adjusting the Gate (Gate, denoted by G) voltage of the MOS transistor, taking a PMOS type as an example, when it is detected that the current passing through the switch is too small (smaller than the current threshold), the Gate voltage is reduced, in other words, the difference between the G pole and the source (denoted by S) voltage is increased, so that the conduction degree between the D pole and the S pole can be enhanced, that is, the impedance between the D pole and the S pole is reduced, and the purpose of increasing the current of the switch is achieved; when it is detected that the current through the switch is too large (greater than the current threshold), the Gate voltage is increased, in other words, the voltage difference between the G pole and the S pole is decreased, so that the conduction degree between the D pole and the S pole can be reduced, that is: the on-resistance between the D pole and the S pole is increased, and the aim of reducing the current passing through the switch is further fulfilled.
If the switch is an NMOS tube, when the current passing through the switch is detected to be too small, the voltage of the Gate electrode is increased, namely the voltage difference between the G pole and the S pole is increased, so that the conduction degree between the D pole and the S pole can be enhanced, namely the conduction impedance between the D pole and the S pole is reduced, and the purpose of increasing the current passing through the switch is further realized; when the current passing through the switch is detected to be overlarge, the Gate voltage is reduced, namely, the voltage difference between the G pole and the S pole is reduced, so that the conduction degree between the D pole and the S pole is reduced, namely, the conduction impedance between the D pole and the S pole is increased, and the purpose of reducing the current passing through the switch is further achieved.
Example four
Based on the foregoing power circuit, embodiments of the present invention provide a discharging method for a power circuit, where discharging refers to that battery packs in the power circuit are used by power consuming components of an electronic device one by one, for example, if the electronic device includes two sets of battery packs connected in parallel, when a first battery pack is not powered, a second battery pack may be used, and when the second battery pack is not powered, the electronic device has no spare battery, and therefore, the electronic device needs to be connected to an ac power source or charge the first battery pack and the second battery pack.
It should be noted that the functions implemented by the method may be implemented by calling program codes from a microprocessor in the charging circuit, and the program codes may be stored in a computer storage medium.
Fig. 4 is a schematic flow chart illustrating an implementation of a discharging method of a four-power circuit according to an embodiment of the present invention, as shown in fig. 4, the method includes:
step 401, the controller controls a second switch to be turned on, wherein the second switch is one of the N switches;
here, the controller controls the second switch to be conductive, i.e. the power consuming components in the electronic device are powered with the battery pack associated with the second switch.
Step 402, the controller acquires voltage values at two ends of a battery pack connected in series with a second switch;
step 403, the controller determines whether the voltage values at two ends of the battery pack connected in series with the second switch satisfy a preset second condition, so as to obtain a second determination result;
here, the second condition may be a second voltage threshold, and the determining, by the controller, whether the voltage value across the battery pack in series with the second switch satisfies a preset second condition may be: the controller determines whether the voltage values at the two ends of the battery pack in series with the second switch are smaller than a preset second voltage threshold, and when the voltage values at the two ends of the battery pack in series with the second switch are smaller than the second voltage threshold, the second determination result indicates that the voltage values at the two ends of the battery pack in series with the second switch do not satisfy the second condition.
Step 404, when the second determination result indicates that the voltage values at the two ends of the battery pack to which the second switch is connected in series do not satisfy the second condition, the controller controls a third switch to be turned on, where the third switch is one of the N switches except for the second switch.
Here, the controller controls the third switch to be conductive, i.e. the power consuming components in the electronic device are powered with the battery pack associated with the third switch.
Step 405, the controller controls the second switch to open.
Here, the controller controls the second switch to be turned off, that is, the power consuming components in the electronic device are not powered by the battery pack associated with the second switch.
The second condition in the fourth embodiment of the present invention is similar to the first condition in the third embodiment, and those skilled in the art can understand the second condition with reference to the description of the third embodiment, and therefore the description thereof is omitted.
It should be noted that, in the discharging method of the power circuit provided in the embodiment of the present invention, in addition to the voltage method described above, the battery pack may be determined to have a capacity to supply power to the power consuming components of the electronic device, and other parameters, such as percentage, may also be used.
EXAMPLE five
Based on the above method embodiment for charging the power supply circuit, another embodiment of the present invention further provides a controller, where all units in the controller, such as the first obtaining unit, the first determining unit, the adjusting unit, and the like, can be implemented by a microprocessor in the charging circuit running program codes, and of course, the program codes can be stored in a computer storage medium.
Fig. 5 is a schematic structural diagram of a fifth electronic device according to an embodiment of the present invention, and as shown in fig. 5, the controller 500 includes a first obtaining unit 501, a first determining unit 502, and an adjusting unit 503, where:
the first obtaining unit 501 is configured to obtain a voltage value across a first switch, where the first switch is any one of the N switches;
the first judging unit 502 is configured to judge whether a voltage value across the first switch meets a preset first condition, so as to obtain a first judgment result;
the adjusting unit 503 is configured to adjust the conduction degree of the first switch so that the voltage value across the first switch satisfies the first condition when the first determination result indicates that the voltage value across the first switch does not satisfy the first condition.
In this embodiment of the present invention, the controller further includes a processing unit, configured to, when the first determination result indicates that the voltage values at two ends of the first switch satisfy the first condition, continue to determine whether the voltage values at two ends of the first switch satisfy a preset first condition.
In an embodiment of the present invention, the first condition is a first voltage threshold, and correspondingly, the determining unit is configured to determine whether a voltage value across the first switch is equal to a preset first voltage threshold, so as to obtain a first determination result;
correspondingly, the adjusting unit is configured to increase the voltage value across the first switch when the voltage value across the first switch is smaller than the first voltage threshold.
In this embodiment of the present invention, the adjusting unit is further configured to decrease the voltage value across the first switch when the voltage value across the first switch is greater than the first voltage threshold.
EXAMPLE six
Based on the above-mentioned embodiment of the discharging method of the power circuit, an embodiment of the present invention further provides a controller, where each unit in the controller, such as the first control unit, the second obtaining unit, the second determining unit, the second control unit, and the third control unit, can be implemented by a microprocessor in the charging circuit running a program code, and of course, the program code can be stored in a computer storage medium.
Fig. 6 is a schematic diagram of a composition structure of a sixth controller according to an embodiment of the present invention, and as shown in fig. 6, the controller 600 includes a first control unit 601, a second obtaining unit 602, a second determining unit 603, a second control unit 604, and a third control unit 605, where:
the first control unit 601 is configured to control a second switch to be turned on, where the second switch is one of the N switches;
the second obtaining unit 602 is configured to obtain voltage values at two ends of a battery pack to which a second switch is connected in series;
the second determining unit 603 is configured to determine whether voltage values at two ends of the battery pack connected in series with the second switch satisfy a preset second condition, so as to obtain a second determination result;
the second control unit 604 is configured to control a third switch to be turned on when the second determination result indicates that the voltage value across the battery pack to which the second switch is connected in series does not satisfy the second condition, where the third switch is one of the N switches except for the second switch.
The third control unit 605 is configured to control the second switch to be turned off.
Here, it should be noted that: the description of the embodiment of the electronic device is similar to the description of the method, and has the same beneficial effects as the embodiment of the method, and therefore, the description is omitted. For technical details that are not disclosed in the embodiment of the electronic device of the present invention, those skilled in the art should refer to the description of the embodiment of the method of the present invention to understand that, for the sake of brevity, detailed description is not repeated here.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (15)

1. A power supply circuit, applied to an electronic device, comprising: the charging circuit comprises a power supply end for supplying power to other parts of the electronic equipment and N output ends for connecting the N groups of battery packs, wherein N is an integer greater than or equal to 2; wherein:
the battery packs in the N groups of battery packs are connected in parallel, each group of battery pack in the N groups of battery packs comprises M rechargeable batteries which are connected with each other, and M is an integer which is more than or equal to 1;
the input end of the charging circuit is connected with a power supply positioned outside the electronic equipment;
each output end of the N output ends of the charging circuit is connected with one of the N switches in series between the power supply end, and each output end of the N output ends of the charging circuit is also connected with one of the N groups of battery packs.
2. The power supply circuit of claim 1, wherein the charging circuit comprises a controller, the controller electrically connecting the N switches.
3. The power supply circuit according to claim 2, wherein the switches are transistors, a source and a drain of each of the N switches are used as two terminals of each of the N switches, and a gate of each of the N switches is used as a control terminal of each of the N switches and is connected to the controller.
4. The power supply circuit of claim 3, wherein the transistors comprise MOS transistors, NMOS transistors, PMOS transistors, NMOS transistors, and depletion-mode NMOS transistors.
5. The power supply circuit according to any one of claims 1 to 4, wherein when M is greater than or equal to 2, the batteries in each of the N groups of battery packs are connected in parallel; or,
the batteries in each battery pack of the N battery packs are connected in series; or,
the batteries in each battery pack of the N battery packs are connected in parallel and series.
6. The power supply circuit of claim 5, wherein when the M batteries are connected in parallel, the chemistry of the M batteries in each of the N groups of battery packs is the same, and the chemistry of the batteries in different ones of the N groups of battery packs is the same or different.
7. A method of charging a power supply circuit, the power supply circuit comprising: the charging circuit comprises a controller, and N is an integer greater than or equal to 2;
the method comprises the following steps:
the controller acquires voltage values at two ends of a first switch, wherein the first switch is any one of the N switches;
the controller judges whether the voltage values at the two ends of the first switch meet a preset first condition or not to obtain a first judgment result;
and when the first judgment result shows that the voltage values at the two ends of the first switch do not meet the first condition, the controller adjusts the conduction degree of the first switch so as to enable the voltage values at the two ends of the first switch to meet the first condition.
8. The method of claim 7, further comprising: and when the first judgment result shows that the voltage values at the two ends of the first switch meet the first condition, the controller continuously judges whether the voltage values at the two ends of the first switch meet the preset first condition.
9. The method according to claim 7 or 8, wherein the first condition is a first voltage threshold, and correspondingly, the determining whether the voltage value across the first switch satisfies a preset first condition includes: judging whether the voltage values at two ends of the first switch are equal to a preset first voltage threshold value or not;
correspondingly, when the first determination result indicates that the voltage value across the first switch does not satisfy the first condition, the adjusting, by the controller, the conduction degree of the first switch includes:
when the voltage value across the first switch is less than the first voltage threshold, the controller increases the voltage value across the first switch.
10. The method of claim 9, further comprising:
when the voltage value across the first switch is greater than the first voltage threshold, the controller decreases the voltage value across the first switch.
11. A method of discharging a power supply circuit, the power supply circuit comprising: the charging circuit comprises a controller, and N is an integer greater than or equal to 2;
the method comprises the following steps:
the controller controls a second switch to be conducted, wherein the second switch is one of the N switches;
the controller acquires voltage values of two ends of the battery pack connected with the second switch in series;
the controller judges whether the voltage values at two ends of the battery pack connected in series with the second switch meet a preset second condition or not to obtain a second judgment result;
when the second judgment result shows that the voltage values at two ends of the battery pack in series with the second switch do not meet the second condition, the controller controls a third switch to be turned on, wherein the third switch is one of the N switches except for the second switch.
12. The method of claim 9, further comprising: the controller controls the second switch to be turned off.
13. A controller located in a power circuit of an electronic device, the power circuit comprising: the charging circuit comprises the controller, and N is an integer greater than or equal to 2;
the controller comprises a first acquisition unit, a first judgment unit and an adjustment unit, wherein:
the first obtaining unit is configured to obtain a voltage value at two ends of a first switch, where the first switch is any one of the N switches;
the first judging unit is used for judging whether the voltage values at two ends of the first switch meet a preset first condition or not to obtain a first judging result;
the adjusting unit is configured to adjust the conduction degree of the first switch so that the voltage values at the two ends of the first switch satisfy the first condition when the first determination result indicates that the voltage values at the two ends of the first switch do not satisfy the first condition.
14. A controller for use in a power supply circuit, the power supply circuit comprising: the charging circuit comprises a controller, and N is an integer greater than or equal to 2;
the controller comprises a first control unit, a second acquisition unit, a second judgment unit and a second control unit, wherein:
the first control unit is used for controlling a second switch to be conducted, wherein the second switch is one of the N switches;
the second obtaining unit is used for obtaining voltage values at two ends of the battery pack connected with the second switch in series;
the second judging unit is configured to judge whether voltage values at two ends of the battery pack, to which the second switch is connected in series, satisfy a preset second condition, and obtain a second judgment result;
the second control unit is configured to control a third switch to be turned on when the second determination result indicates that the voltage value across the battery pack to which the second switch is connected in series does not satisfy the second condition, where the third switch is one of the N switches except for the second switch.
15. An electronic device, characterized in that it comprises a power supply circuit according to any one of the preceding claims 1 to 6.
CN201410856875.1A 2014-12-31 2014-12-31 Power source circuit, power source circuit discharging method, power source circuit charging method and controller Pending CN105811493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410856875.1A CN105811493A (en) 2014-12-31 2014-12-31 Power source circuit, power source circuit discharging method, power source circuit charging method and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856875.1A CN105811493A (en) 2014-12-31 2014-12-31 Power source circuit, power source circuit discharging method, power source circuit charging method and controller

Publications (1)

Publication Number Publication Date
CN105811493A true CN105811493A (en) 2016-07-27

Family

ID=56465430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856875.1A Pending CN105811493A (en) 2014-12-31 2014-12-31 Power source circuit, power source circuit discharging method, power source circuit charging method and controller

Country Status (1)

Country Link
CN (1) CN105811493A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200534A (en) * 2016-08-29 2016-12-07 零度智控(北京)智能科技有限公司 A kind of unmanned plane battery discriminating method, system and unmanned plane, intelligent battery device
CN107171395A (en) * 2017-06-26 2017-09-15 联想(北京)有限公司 A kind of charge/discharge control method, controller and electronic equipment
CN107221995A (en) * 2017-07-27 2017-09-29 努比亚技术有限公司 Double-battery charge charging method, control circuit, mobile terminal and readable storage medium storing program for executing
CN107968446A (en) * 2016-10-19 2018-04-27 华为技术有限公司 Distributed battery bag electric power system and charge/discharge control method
CN110754027A (en) * 2017-10-09 2020-02-04 深圳市柔宇科技有限公司 Battery control circuit and electronic equipment
CN110896240A (en) * 2019-11-30 2020-03-20 Tcl移动通信科技(宁波)有限公司 Charging control method and device, computer readable storage medium and terminal
CN111900769A (en) * 2019-05-06 2020-11-06 华为技术有限公司 Charging control circuit and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101652004A (en) * 2009-04-10 2010-02-17 成都芯源系统有限公司 White light LED circuit and method for controlling average current of white light LED
JP2012257405A (en) * 2011-06-09 2012-12-27 Nittetsu Elex Co Ltd Charging/discharging method for secondary battery
CN103532191A (en) * 2013-10-14 2014-01-22 松下家电研究开发(杭州)有限公司 Dual-group battery unit charging system for dust collector and charging method of dual-group battery unit charging system
CN103545885A (en) * 2013-10-14 2014-01-29 松下家电研究开发(杭州)有限公司 Dust collector powered by two battery packs and discharging control method of dust collector

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101652004A (en) * 2009-04-10 2010-02-17 成都芯源系统有限公司 White light LED circuit and method for controlling average current of white light LED
JP2012257405A (en) * 2011-06-09 2012-12-27 Nittetsu Elex Co Ltd Charging/discharging method for secondary battery
CN103532191A (en) * 2013-10-14 2014-01-22 松下家电研究开发(杭州)有限公司 Dual-group battery unit charging system for dust collector and charging method of dual-group battery unit charging system
CN103545885A (en) * 2013-10-14 2014-01-29 松下家电研究开发(杭州)有限公司 Dust collector powered by two battery packs and discharging control method of dust collector

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200534A (en) * 2016-08-29 2016-12-07 零度智控(北京)智能科技有限公司 A kind of unmanned plane battery discriminating method, system and unmanned plane, intelligent battery device
CN107968446A (en) * 2016-10-19 2018-04-27 华为技术有限公司 Distributed battery bag electric power system and charge/discharge control method
CN107968446B (en) * 2016-10-19 2022-06-14 华为技术有限公司 Distributed battery pack power supply system and charge-discharge control method
CN107171395A (en) * 2017-06-26 2017-09-15 联想(北京)有限公司 A kind of charge/discharge control method, controller and electronic equipment
CN107221995A (en) * 2017-07-27 2017-09-29 努比亚技术有限公司 Double-battery charge charging method, control circuit, mobile terminal and readable storage medium storing program for executing
CN110754027A (en) * 2017-10-09 2020-02-04 深圳市柔宇科技有限公司 Battery control circuit and electronic equipment
CN111900769A (en) * 2019-05-06 2020-11-06 华为技术有限公司 Charging control circuit and electronic equipment
CN110896240A (en) * 2019-11-30 2020-03-20 Tcl移动通信科技(宁波)有限公司 Charging control method and device, computer readable storage medium and terminal
CN110896240B (en) * 2019-11-30 2022-08-05 Tcl移动通信科技(宁波)有限公司 Charging control method and device, computer readable storage medium and terminal

Similar Documents

Publication Publication Date Title
CN105811493A (en) Power source circuit, power source circuit discharging method, power source circuit charging method and controller
JP5791007B2 (en) Power supply apparatus and method, and user apparatus
JP6304789B2 (en) Charging circuit and terminal
US10203736B2 (en) Detachable computing system having bi-directional power flow
JP2015503894A (en) Mobile terminal and charging device and method thereof
CN102593930B (en) Charging system of mobile terminal
EP3235099A1 (en) Mechanism for extending cycle life of a battery
CN113949167B (en) Charging device and electronic equipment
CN102324580A (en) Mobile phone as well as charging circuit and method of cell thereof
CN109494822B (en) Terminal equipment, charger, charging system and charging method
CN104935030A (en) Charging circuit, electronic device and charging method
CN103403643B (en) Management of charging and discharging device and mobile terminal
KR20140080276A (en) Load/charger detection circuit, battery management system comprising the same and driving method thereof
CN106033908B (en) Power supply circuit, working method thereof and electronic equipment
CN105576753A (en) Information processing method and electronic equipment
CN112398186B (en) Charging circuit, charging chip, terminal and circuit control method
CN102629772A (en) Mobile terminal and charging method of mobile terminal
EP3082213B1 (en) Charger control circuit and method for charger control
CN104184177A (en) Electronic device and charging control circuit thereof
CN113809812A (en) Double-battery circuit, control method thereof and electronic equipment
CN204376457U (en) A kind of mobile terminal
US20140247015A1 (en) Battery of portable electronic device and operating method thereof
CN106300466A (en) Method, device and the terminal of a kind of OTG quick charge
CN103532173A (en) Mobile equipment and charging system with the same
CN101900994A (en) Control circuit and electronic device comprising same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727