CN110797924B - Battery control system and method and electronic equipment - Google Patents

Battery control system and method and electronic equipment Download PDF

Info

Publication number
CN110797924B
CN110797924B CN201810867075.8A CN201810867075A CN110797924B CN 110797924 B CN110797924 B CN 110797924B CN 201810867075 A CN201810867075 A CN 201810867075A CN 110797924 B CN110797924 B CN 110797924B
Authority
CN
China
Prior art keywords
battery
charging
unit
switch
units
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.)
Active
Application number
CN201810867075.8A
Other languages
Chinese (zh)
Other versions
CN110797924A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810867075.8A priority Critical patent/CN110797924B/en
Publication of CN110797924A publication Critical patent/CN110797924A/en
Application granted granted Critical
Publication of CN110797924B publication Critical patent/CN110797924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • 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

Abstract

The embodiment of the application provides a battery control system and method and electronic equipment, wherein the battery control system comprises: a plurality of battery cells for storing electrical energy and supplying power to a load; the plurality of switch units are connected with the plurality of battery units to form a charging and discharging branch circuit and are used for switching on or off the charging and discharging branch circuit where the battery units are located; the first control unit is respectively connected with the plurality of switch units and used for receiving the charging control signals so as to control the on-off of the plurality of switch units and enable the plurality of battery units to be connected in series to form a series charging branch circuit; and the charging control module is used for receiving the discharging control signal to control the on-off of the switch units, so that the battery units independently supply power to the load according to the discharging priority, a charging mode with high voltage and high current is provided, the charging efficiency is improved, and any battery unit in the battery units can independently supply power to the load according to the discharging priority after the high voltage and high current charging is finished.

Description

Battery control system and method and electronic equipment
Technical Field
The present disclosure relates to the field of charging and discharging technologies, and in particular, to a battery control system and method, and an electronic device.
Background
The general electronic equipment mainly adopts a single battery for power supply, the capacity of the electronic equipment is limited, and the use scene is limited; when the dual batteries are used for supplying power, the dual batteries generally adopt a fixed connection mode to output low voltage to supply power for the load. When the double batteries are adopted, the charging efficiency is low due to the single connection mode.
Disclosure of Invention
The embodiment of the application provides a battery control system and method and electronic equipment, which can flexibly change the connection mode of a plurality of battery units and improve the charging efficiency.
A battery control system, comprising:
a plurality of battery cells for storing electrical energy and supplying power to a load;
the plurality of switch units are connected with the plurality of battery units to form a charging and discharging branch and are used for switching on or off the charging and discharging branch where the battery units are located;
the first control unit is respectively connected with the switch units and used for receiving a charging control signal so as to control the on-off of the switch units and enable the battery units to be connected in series to form a series charging branch; and the control circuit is used for receiving a discharge control signal to control the on-off of the switch units so as to enable the battery units to independently supply power to the load according to the discharge priority.
A battery control method is applied to a battery control system, the battery control system comprises a plurality of battery units and a plurality of switch units, and the battery units are used for storing electric energy and supplying power to loads; the plurality of switch units are connected with the plurality of battery units to form a plurality of charging and discharging branches; the method comprises the following steps:
receiving a charging control signal and a discharging control signal;
controlling the on-off of each switch unit according to the charging control signal, and connecting a plurality of battery units in series to form a series charging branch circuit to charge each battery unit; and controlling the on-off of the switch units according to the discharge control signal to enable the battery units to independently supply power to the load according to the discharge priority.
An electronic device comprises the battery control system.
An electronic device includes a plurality of battery units, a plurality of switch units, a memory, and a processor; the processor is respectively connected with the plurality of battery units, the plurality of switch units and the memory; the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the battery control method described above.
The battery control system and method, and the electronic device, the battery control system includes: the charging system comprises a plurality of battery units, a plurality of switch units and a first control unit, wherein the battery units are connected with the switch units to form a charging and discharging branch circuit, and the first control unit can control the on-off of each switch unit according to a received charging control signal to enable the battery units to be connected in series to form a series charging branch circuit to charge the battery units, so that a charging mode with high voltage and large current is provided, and the charging efficiency is improved; after the high-voltage large-current charging is finished, any battery unit in the plurality of battery units can independently supply power to the load according to the discharging priority based on the discharging control signal so as to meet the requirement of supplying power to the load.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a circuit block diagram of a battery control system in one embodiment;
FIG. 2 is a schematic diagram of a battery control system charging two battery cells in one embodiment;
FIG. 3 is a schematic diagram of a battery control system charging two battery cells in another embodiment;
FIG. 4 is a schematic diagram of a battery control system discharging two battery cells in one embodiment;
FIG. 5 is a schematic diagram of a battery control system charging three battery cells in one embodiment;
FIG. 6 is a schematic diagram of a battery control system charging three battery cells in another embodiment;
FIG. 7 is a schematic diagram of a battery control system discharging three battery cells in one embodiment;
FIG. 8 is a circuit block diagram of a battery control system in another embodiment;
FIG. 9 is a circuit block diagram of a battery control system in yet another embodiment;
FIG. 10 is a schematic diagram of a load powered based on the battery control system of FIG. 9;
FIG. 11 is a flow chart of a battery control method in one embodiment;
FIG. 12 is a flowchart of a battery control method in another embodiment;
FIG. 13 is a flowchart of a battery control method in yet another embodiment;
fig. 14 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first battery cell may be referred to as a second battery cell, and similarly, a second battery cell may be referred to as a first battery cell, without departing from the scope of the present application. The first battery cell and the second battery cell are both battery cells, but are not the same battery cell.
The embodiment of the application provides a battery control system. As shown in fig. 1, the battery control system includes: a plurality of battery cells 110, a plurality of switch cells 120, and a first control unit 130. The plurality of battery units 110 are configured to store electrical energy and supply power to a load, that is, each battery unit 110 is capable of storing electrical energy and supplying power to the load, wherein the load is connected to a positive output terminal VBAT + of the battery control system.
In the present application, a plurality is understood to mean at least 2 (2 or more), that is, 2, 3 or even more.
The load may be an electronic device in which the power supply device may be built, for example, a module to be powered in any terminal device such as a mobile terminal, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and a wearable device.
The battery type of the battery cell 110 may include at least one of a lead-acid battery, a nickel-metal hydride battery, a sodium-sulfur battery, a flow battery, an ultracapacitor, a lithium battery, and a flexible battery. The battery types of the plurality of battery units 110 may be the same or different. Further, the types of the batteries in the same battery unit are the same, and the number of the batteries included in the same battery unit may be 1, 2, 3 or more, and if the number of the batteries is greater than 1, the batteries in the battery unit 110 are connected in series.
In one embodiment, when there are two battery cells 110, the first battery cell may be a lithium battery cell and the second battery cell may be a flexible battery cell. In one embodiment, the lithium battery cell may include two lithium batteries connected in series, and the flexible battery cell may include one flexible battery.
In one embodiment, the output voltage of each battery cell 110 may range from 2.0-4.4 volts. It should be understood that the ranges of the output voltages of the battery units 110 may be the same or different, and the embodiments of the present application do not limit this.
And a plurality of switch units 120 connected to the plurality of battery units 110 to form a charging/discharging branch, wherein the switch units 120 are used for turning on or off the charging/discharging branch where the battery units 110 are located. The switching unit 120 may be at least one of a diode, a triode, a relay, a thyristor, a MOS transistor, and an IGBT.
The first control unit 130 is connected to the plurality of switch units 120, respectively, and is configured to receive the charging control signal to control on/off of the plurality of switch units 120, so that the plurality of battery units 110 are connected in series to form a series charging branch; and is used for receiving the discharge control signal to control the on-off of the plurality of switch units 120, so that the plurality of battery units 110 individually supply power to the load according to the discharge priority
It can be understood that the first control unit 130 may output a first on-off instruction for controlling on/off of the plurality of switch units according to the received charge control signal, and may also output a second on-off instruction for controlling on/off of the plurality of switch units according to the received discharge control signal.
Each of the switching units 120 may be turned on (closed) or turned off according to the received first or second on-off command. The first on-off command or the second on-off command received by each switch unit 120 may be the same or different. For example, the first switch unit 120 receives the first on-off command or the second on-off command to indicate that the switch unit 120 is turned on (closed), and the second switch unit 120 receives the first on-off command or the second on-off command to indicate that the switch unit 120 is turned off.
The first control unit 130 is respectively connected to the plurality of switch units 120, and is configured to receive the charging control signal to control on/off of the plurality of switch units 120, so that the plurality of battery units 110 are connected in series to form a series charging branch, and further charge the plurality of battery units 110. The first control unit 130 may further control the on/off of the plurality of switch units 120 according to the received discharge control signal, so that any battery unit of the plurality of battery units individually supplies power to the load according to the discharge priority.
In one embodiment, the first control unit 130 may also be understood as a logic control unit, and the first control unit 130 may receive the charging control signal and the discharging control signal, and correspondingly output a first on-off command or a second on-off command for controlling the switch unit 120 to be turned on or off according to the received charging control signal or discharging control signal.
In one embodiment, the first control unit 130 may output a first on-off command for controlling on-off of each switch unit 120 according to the received charging control signal, and finally, the plurality of battery units 110 are connected in series to form a series charging branch. When the charging device is externally connected, the series charging branch can be utilized to charge a plurality of battery units. After the series charging branch is formed, the total charging voltage of the battery pack composed of the plurality of battery cells 110 is the sum of the output voltages of the respective battery cells 110.
Optionally, the first control unit may output a first on-off instruction for controlling on-off of each switch unit according to the charging control signal, so as to control on-off of each switch unit, form a charging loop including only one battery unit, and charge each battery unit in sequence according to the charging priority.
In one embodiment, the first control unit may be configured to output a second on-off command for controlling on/off of each switch unit 120 according to the discharge control signal, so as to finally enable any battery unit of the plurality of battery units to individually supply power to the load according to the discharge priority. At this time, when the discharge voltages of the respective battery cells 110 are the same, the total output voltage of the battery pack is the output voltage of the battery cell 110 currently connected to the charge and discharge circuit.
The battery control system comprises a plurality of battery units, a plurality of switch units and a first control unit, wherein the battery units are connected with the switch units to form a charging and discharging branch circuit, and the first control unit can control the on-off of each switch unit according to a received charging control signal so as to enable the battery units to be connected in series to form a series charging branch circuit to charge the battery units, so that a charging mode with high voltage and large current is provided, and the charging efficiency is improved; after the high-voltage large-current charging is finished, the on-off of each switch unit can be controlled based on the discharging control signal, so that any battery unit in the plurality of battery units independently supplies power to the load according to the discharging priority, and the requirement of supplying power to the load is met; meanwhile, the physical connection modes of a plurality of battery units in the battery control system are flexible and changeable, the charging/discharging voltage can be adjusted, the battery capacity is enlarged, and the endurance time is prolonged.
As shown in fig. 2, in one embodiment, the plurality of battery cells may be a battery pack composed of two battery cells, which includes a first battery cell 111 and a second battery cell 113 for supplying power to a load. The plurality of switching units includes a first switching unit 121, a second switching unit 122, a third switching unit 123, and a fourth switching unit 124.
The first control unit 130 may control the first switch unit 121, the first battery unit 111, the second switch unit 122, and the second battery unit 113 to be sequentially connected to form a first serial charging and discharging branch; controlling the third switching unit 123, the second switching unit 122 and the second battery unit 113 to be connected in sequence to form a first charging and discharging branch; or, the first switch unit 121, the first battery unit 111, and the fourth switch unit 124 are controlled to be connected in sequence to form a second charging/discharging branch.
One end of the first switch unit 121 is connected to a positive output end VBAT + of the battery control system, and the other end of the first switch unit 121 is connected to one end of the second battery unit 113 through the first battery unit 111 and the second switch unit 122; the other end of the second battery cell 113 is grounded. One end of the third switching unit 123 is connected to the positive output end VBAT + of the battery control system, and the other end of the third switching unit 123 is connected to one end of the fourth switching unit 124 and the second switching unit 122, respectively. The other end of the fourth switching unit 124 is connected to the second battery unit 113 and the ground GND of the battery control system, respectively. The first control unit 130 is respectively connected with the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124 to control on and off of the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124.
In one embodiment, when the external preset charging device of the battery control system charges the battery pack in the battery control system or supplies power to the load, the first control unit 130 receives the corresponding charging control signal. The first control unit 130 outputs corresponding first on-off instructions to the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124 according to the received charging control signal, so as to control the first switch unit 121 and the second switch unit 122 to be turned on, and control the third switch unit 123 and the fourth switch unit 124 to be turned off, so that the first switch unit 121, the first battery unit 111, the second switch unit 122 and the second battery unit 113 form a first serial charging branch. The first serial charging circuit is directly connected to the ground terminal GND from the battery pack positive output terminal VBAT + via the first switch unit 121, the first battery unit 111, the second switch unit 122, and the second battery unit 113, as shown by the solid arrow in fig. 2. During charging, the charging voltage of the battery pack is the sum of the output voltage of the first battery unit 111 and the output voltage of the second battery unit 113. That is, during the charging process, the first battery cell 111 and the second battery cell 113 can be directly charged at a high voltage by being connected in series, thereby improving the charging speed and efficiency.
Optionally, when the battery control system is externally connected with a common charging device (non-preset charging device) to charge a single battery cell in the battery control system or supply power to a load, the first control unit 130 receives a corresponding charging signal and a charging priority of a multi-battery cell to control on/off of the first switching unit 121, the second switching unit 122, the third switching unit 123, and the fourth switching unit 124. For example, when the charging priority of the first battery cell 111 is higher than that of the second battery cell 113, the first control unit 130 may preferentially control the first and fourth switching units 121 and 124 to be turned on (closed), and the second and third switching units 122 and 123 to be turned off to form a first charging branch for charging the first battery cell 111, as shown by the solid arrow direction of fig. 3, to charge the first battery cell 111. When the charging of the first battery unit 111 is completed, the first control unit 130 controls the first switch unit 121 and the fourth switch unit 124 to be turned off, and simultaneously controls the second switch unit 122 and the third switch unit 123 to be turned on to form a second charging branch for charging the second battery unit 113, as shown by the direction of the dotted arrow in fig. 3, to charge the second battery unit 113.
In one embodiment, the first control unit 130 may further control on/off of the first switch unit 121, the second switch unit 122, the third switch unit 123, and the fourth switch unit 124 according to the discharging control signal to control the first battery unit 111 or the second battery unit 113 to supply power to the load according to the discharging priority.
In one embodiment, the discharge priorities of the first battery cell 111 and the second battery cell 113 are obtained. For example, when the discharge priority of the first battery unit 111 is higher than the discharge priority of the second battery unit 113, it may be considered that when the first battery unit 111 and the second battery unit 113 supply power to the load, the first battery unit 111 is preferentially used to supply power to the load, and when the first battery unit 111 is not charged enough to supply power to the load, the second battery unit 113 is used to supply power to the load.
When the discharge priority of the first battery unit 111 is higher than that of the second battery unit 113, the first control unit 130 outputs corresponding second on-off commands to the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124 according to the received discharge control signal, so as to control the first switch unit 121 and the fourth switch unit 124 to be turned on, and control the second switch unit 122 and the third switch unit 123 to be turned off, so as to form a first discharge branch, and the first battery unit 111 is used for supplying power to the load. As shown by the solid arrow in fig. 4, the first discharging branch passes through the fourth switching unit 124, the first battery unit 111, and the first switching unit 121 from the ground terminal to the positive output terminal VBAT +.
When the electric quantity of the first battery unit 111 is insufficient to supply power to the load, the first control unit 130 outputs corresponding second on-off instructions to the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124, respectively, so as to control the second switch unit 122 and the third switch unit 123 to be turned on, and control the first switch unit 121 and the fourth switch unit 124 to be turned off, so as to form a second discharging branch, and the second battery unit 113 is used to supply power to the load. The second discharging branch is connected from the ground terminal to the positive output terminal VBAT + through the second battery cell 113, the second switching unit 122, and the third switching unit 123, as shown by the arrow of the dotted line in fig. 4.
In one embodiment, the first and second on-off commands are stored in the first control unit 130 according to a preset rule. The first control unit 130 is further configured to detect a communication protocol between the battery control system and the load, and send a first on-off command and a second on-off command according to the communication protocol by using a corresponding preset rule.
In one embodiment, the battery control system and the load may communicate with each other through an I2C communication protocol, as shown in fig. 2 and 3, the first control unit 130 is further provided with an I2C communication interface for connecting with an I2C serial data line and an I2C serial clock line, respectively, and the first control unit 130 is correspondingly connected with an I2C serial data line (SDA) and an I2C Serial Clock Line (SCL) through the I2C communication interface, respectively. When the communication protocol for the battery control system to communicate with the load is an I2C communication protocol, the first on-off command or the second on-off command may be sent according to the communication protocol by using a corresponding preset rule.
In one embodiment, the first control unit 130 may be provided with a register, and a first on/off command for controlling the first switching unit 121, the second switching unit 122, the third switching unit 123, and the fourth switching unit 124 may be directly written into the register, so as to control on/off of the first switching unit 121, the second switching unit 122, the third switching unit 123, and the fourth switching unit 124. For example, the first and second on/off commands may be stored in a level form, where "1" represents a high level signal for controlling the on of the switching unit and "0" represents a low level signal for controlling the off of the switching unit.
Optionally, the battery control system and the load may communicate via a single Wire protocol, as shown in fig. 4, the first control unit 130 is further provided with a single Wire communication interface for connecting with a single Wire communication line, and the single Wire communication interface of the first control unit 130 is connected with the single Wire communication line. When the communication protocol for the communication between the battery control system and the load is a single Wire protocol, the first on-off instruction and the second on-off instruction can be sent by adopting a corresponding preset rule according to the communication protocol. The first on-off command and the second on-off command can be stored and transmitted in a pulse signal mode. For example, the load sends 10 pulses first on the single-wire communication line to inform the first control unit 130 that the operation is ready, and after receiving the pulse signal sent by the load, the first control unit 130 replies 10 pulse signals to indicate that the first control unit 130 is ready. When the load sends 1 pulse signal, it indicates that the first switching unit 121 is turned off (closed); when the load sends 2 pulse signals, it indicates that the first switching unit 121 is turned on (closed); when the load sends 3 pulse signals, it indicates that the second switching unit 122 is turned off (closed); when the load sends 4 pulse signals, it indicates that the second switch unit 122 is turned on (closed); when the load transmits 5 pulse signals, it indicates that the third switching unit 123 is turned off (closed), and when the load transmits 6 pulse signals, it indicates that the third switching unit 123 is turned on (closed); when the load sends 7 pulse signals, it indicates that the fourth switching unit 124 is turned off (closed), and when the load sends 8 pulse signals, it indicates that the fourth switching unit 124 is turned on (closed). Wherein, the high level of the pulse signal is 1.8V, the low level of the pulse signal is 0V, the duty ratio of the pulse signal is 50%, and the period is 50 us.
It should be noted that the correspondence between the number of the pulse signals and the first on-off command and the second on-off command may also be set according to actual requirements, and is not limited to the above example.
As shown in fig. 5, in one embodiment, the plurality of battery cells may be a battery pack composed of three battery cells, including a first battery cell 111, a second battery cell 113, and a third battery cell 115; the plurality of switching units includes a first switching unit 121, a second switching unit 122, a third switching unit 123, a fourth switching unit 124, a fifth switching unit 125, and a sixth switching unit 126.
The first control unit 130 controls the first switch unit 121, the first battery unit 111, the second switch unit 122, the second battery unit 113, the fifth switch unit 125 and the third battery 115 to be sequentially connected to form a second series charging and discharging branch; the first control unit 130 controls the first switch unit 121, the first battery unit 111, the fourth switch unit 124 and the sixth switch unit 126 to be connected to form a third charge and discharge branch; or the first control unit 130 controls the third switching unit 123, the second switching unit 122, the second battery unit 113 and the sixth switching unit 126 to be connected to form a fourth charging and discharging branch; or the first control unit 130 controls the third switching unit 123, the fourth switching unit 124, the fifth switching unit 125 and the third battery unit 115 to be connected to form a third charging and discharging branch.
The first switch unit 121, the first battery unit 111, the second switch unit 122, the second battery unit 113, the fifth switch unit 125, and the third battery unit 115 are sequentially connected, and the other end of the third battery unit 115 is grounded. One end of the third switching unit 123 is connected to the positive output end VBAT + of the battery control system, and the other end of the third switching unit 123 is connected to one end of the fourth switching unit 124 and the second switching unit 122, respectively. The other end of the fourth switching unit 124 is connected to one end of the second battery unit 113, one end of the fifth switching unit 125, and one end of the sixth switching unit 126, respectively; the other end of the sixth switching unit 126 is grounded. The first control unit 130 is respectively connected with the first switch unit 121, the second switch unit 122, the third switch unit 123, the fourth switch unit 124, the fifth switch unit 125 and the sixth switch unit 126 to control on and off of the first switch unit 121, the second switch unit 122, the third switch unit 123, the fourth switch unit 124, the fifth switch unit 125 and the sixth switch unit 126.
In one embodiment, when the battery control system externally connects a preset charging device to charge the battery units, the first control unit 130 receives the corresponding charging control signal to control the first switch unit 121, the second switch unit 122, and the fifth switch unit 125 to be turned on and control the third switch unit 123, the fourth switch unit 124, and the sixth switch unit 126 to be turned off, so that the first switch unit 121, the first battery unit 111, the second switch unit 122, the second battery unit 113, the fifth switch unit 125, and the third battery unit 115 form a second series charging branch, as shown by the solid arrows in fig. 5, to charge the first battery unit 111, the second battery unit 113, and the third battery unit 115. During charging, the output voltage of the battery pack is the sum of the output voltages of the first battery cell 111, the second battery cell 113, and the third battery cell 115. That is, during the charging process, the first battery cell 111, the second battery cell 113, and the third battery cell 115 can be directly charged at a high voltage by being connected in series, so that the charging speed and efficiency are improved.
Optionally, as shown in fig. 6, when the battery control system is externally connected to a common charging device (non-preset charging device) to charge the battery cells, the first control unit 130 receives the corresponding charging signal and the charging priorities of the multiple battery cells, and controls the first switch unit 121, the second switch unit 122, the third switch unit 123, the fourth switch unit 124, the fifth switch unit 125, and the sixth switch unit 126 to turn on and off, so as to sequentially charge the first battery cell 111, the second battery cell 113, or the third battery cell 115 according to the charging priorities. For example, when the charging priorities of the first battery cell 111, the second battery cell 113, and the third battery cell 115 are sequentially ranked from high to low, the first battery cell 111 is charged preferentially, the second battery cell 113 is charged after the charging of the first battery cell 111 is completed, and the third battery cell 115 is charged finally after the charging of the second battery cell 113 is completed. The first control unit 130 preferentially controls the first switching unit 121, the fourth switching unit 124, and the sixth switching unit 126 to be turned on and the second switching unit 122, the third switching unit 123, and the fifth switching unit 125 to be turned off according to the charging control signal and the charging priority of the multi-battery cells to form a third charging branch for charging the first battery cell 111, as shown by the solid arrow direction in fig. 6, to charge the first battery cell 111. When the charging of the first battery cell 111 is completed, the first control unit 130 controls the third switching unit 123, the fourth switching unit 124, the fifth switching unit 125 and the sixth switching unit 126 to be turned on, and the first switching unit 121 and the second switching unit 122 to be turned off to form a fourth charging branch for charging the second battery cell 113, as shown by the direction of the dotted arrow in fig. 6, to charge the second battery cell 113. When the charging of the second battery cell 113 is completed, the first control unit 130 continues to control the first switching unit 121, the third switching unit 123, the fourth switching unit 124 and the fifth switching unit 125 to be turned on, and the second switching unit 122 and the sixth switching unit 126 are turned off to form a fourth charging branch for charging the third battery cell 115, as shown by the dotted arrow direction in fig. 6, for charging the third battery cell 115.
Alternatively, as shown in fig. 7, when the battery control system does not access the charging device, the first control unit 130 controls the on/off of the first switch unit 121, the second switch unit 122, the third switch unit 123, the fourth switch unit 124, the fifth switch unit 125, and the sixth switch unit 126 according to the discharging control signal to control the first battery unit 111, the second battery unit 113, or the third battery unit 115 to individually supply power to the load according to the discharging priority.
The first control unit 130 may acquire the discharge priorities of the first battery cell 111, the second battery cell 113, and the third battery cell 115. The higher the discharge priority of the battery unit, the earlier the timing for powering the load, e.g., when the discharge priority of the first battery unit 111 is the highest, the priority is given to using the first battery unit 111 for powering the load. When the first battery unit 111 supplies power to the load, the first control unit 130 outputs a corresponding second on-off command to each switch unit to control the first switch unit 121, the fourth switch unit 124 and the sixth switch unit 126 to be turned on, and the second switch unit 122, the third switch unit 123 and the fifth switch unit 125 to be turned off to form a third discharging branch, as shown by the solid arrow in fig. 7, to supply power to the load; when the second battery unit 113 supplies power to the load, the first control unit 130 outputs a corresponding second on-off command to each switch unit to control the third switch unit 123, the fourth switch unit 124, the fifth switch unit 125 and the sixth switch unit 126 to be turned on, and the first switch unit 121 and the second switch unit 122 to be turned off to form a fourth discharging branch, as shown by the direction of the dotted arrow in fig. 7, to supply power to the load; when the third battery unit 115 supplies power to the load, the first control unit 130 outputs a corresponding second on-off command to each switch unit to control the first switch unit 121, the third switch unit 123, the fourth switch unit 124 and the fifth switch unit 125 to be turned on, and the second switch unit 122 and the sixth switch unit 126 to be turned off to form a fifth discharging branch for supplying power to the load, as shown by the dotted arrow in fig. 7.
In one embodiment, the battery control system of a battery pack consisting of three battery cells may communicate with a load in a manner including I2C communication and single wire communication. According to the difference of the communication modes, the first on-off command may be stored and transmitted according to the communication protocol by using a corresponding preset rule, as described in the foregoing embodiments, which is not described herein again.
Alternatively, the multiple cells may be a battery pack consisting of four, five, six or other more cells. A plurality of corresponding switch units can be reasonably set according to the number of the battery units, and then according to the charging or discharging requirement, the first control unit 130 outputs a corresponding first on-off instruction to each switch unit, so as to control the on-off of each switch unit. When the battery pack needs to be charged, the battery units in the battery pack are connected in series by controlling the on-off of each switch unit to form a charging series branch, so that high-voltage direct charging is realized, and the charging speed and efficiency are improved; when the battery pack supplies power to the load, the battery units in the battery pack are connected in parallel by controlling the connection or disconnection of the switch units to form a discharging parallel branch, and a proper low-voltage signal can be output to supply power to the load.
As shown in fig. 8, in one embodiment, the battery control system further includes an interface module 140, a first switch module 150, and a second control unit 160. And the interface module 140 is configured to be connected to an external charging device, wherein the interface module 140 includes VBUS, USB +, USB-, and GND charging interfaces.
The first switch module 150 is connected to the interface module 140 and the first control unit 130, respectively, and is configured to turn on or off a path formed by the interface module 140 and the first control unit 130. Further, one end of the first switch module 150 is connected to the charging interface VBUS, and the other end of the first switch module 150 is connected to the positive output terminal VBAT + of the multi-battery system of the battery pack. The first switch module 150 can turn on or off a path formed by the charging interface VBUS and the positive output terminal VBAT +.
The second control unit 160 is connected to the interface module 140 and the first switch module 150, and is configured to identify an external charging device, and control the first switch module 150 to be turned on to supply power to a load when the external charging device is a preset charging device; and outputs a charging control signal to the first control unit 130 to enable the external charging device to simultaneously charge the plurality of battery cells connected in series. Further, the second control unit 160 is connected to the first switch module 150, the charging interface USB +, and the USB-, respectively.
In one embodiment, the pre-set charging device may be understood as a fast charger or a fast adapter capable of providing fast charging for the load supply. For example, the fast charger or fast adapter may provide more than 15W of charging power.
The USB signal in the external charging equipment is a differential signal, and a signal line of the differential signal is D +, D-, and an up-pull fixed resistor and a down-pull fixed resistor are arranged on the D + or the D-of the external charging equipment. High-speed and low-speed equipment is defined in the USB1.0/1.1/2.0 protocol to meet the requirements of different conditions, for example, D + of the high-speed equipment is connected with a pull-up resistor of 1.5kohm, and D-is not connected; the opposite is true for low speed devices. When the battery control system is connected to the charging device, the second control unit 160 can quickly identify the resistance of the fixed resistor on the D + or D-of the charging device, and then determine whether the charging device is a preset charging device.
When the charging device is a preset charging device, the second control unit 160 outputs a third on-off command for controlling the on-off of the first switch module 150, and the first switch module 150 is turned on according to the received third on-off command to form a path formed by the charging interface VBUS and the forward output end VBAT +. The second control unit 160 also outputs a charging control signal to the first control unit 130 to enable the multi-battery cells 110 to form a serial charging branch, so that the preset charging device can simultaneously charge the multi-battery cells 110 and power the load.
When the preset charging device charges the plurality of battery cells and supplies power to the load, the flow direction of the charging current is shown in fig. 8, wherein the solid line arrow is the flow direction of the current for charging the plurality of series-connected multi-battery cells by the preset charging device, so as to realize high-voltage large-current quick-charging, and the dotted line arrow is the flow direction of the current for supplying power to the load by the preset charging device.
In one embodiment, when the external charging device simultaneously charges the plurality of battery cells 120 connected in series, if the output voltages of the plurality of battery cells 120 are different and the voltage difference between any two battery cells exceeds the preset threshold, the battery cells may be equalized.
In one embodiment, the output voltage range of the charging device is preset to be 4V-9V. The battery control system further includes a first switch module 150 and a voltage drop module 170 connected to the load, respectively, where the voltage drop module 170 is configured to reduce a voltage output by the external charging device for supplying power to the load. When the preset charging device supplies power to the load, the voltage drop module 170 may be used to step down the voltage output by the preset charging device and used for supplying power to the load, so as to supply power to the load, thereby meeting the demand for supplying power to the load.
In an embodiment, the voltage dropping module 170 may be further disposed between the first switch module 150 and the battery cells 110, and the voltage dropping module 170 may perform voltage dropping processing on the charging voltage output by the preset charging device to charge each battery cell 110.
As shown in fig. 9, in one embodiment, the battery control system further includes a charge processing module 180 and a second switching module 190. The charging processing module 180 is connected to the interface module 140, the second control unit 160, and the first control unit 130, respectively, and is configured to supply power to a load. Further, the charging processing module 180 is connected to the VBUS charging interface, the positive output end VBAT + of the battery control system, and the second switch module 190. The charging processing module 180 may be understood as a charging chip (charging IC) for receiving a voltage signal output by an external charging device and processing the voltage signal to output a voltage signal capable of providing a stable voltage for a load to supply power to the load.
The second switch module 190 is respectively connected to the charging processing module 180, the first control unit 130, the first switch module 150, and the load, and is configured to turn on or off a path formed by the charging processing module 180 and the load. Further, the second switch module 190 is connected to the charging processing module 180, the positive output terminal VBAT +, the first switch module 150, and the load respectively.
When the battery control system is connected to the charging device, the second control unit 160 can quickly identify the resistance of the fixed resistor on the D + or D-of the charging device, and then determine whether the charging device is a preset charging device. When the charging device is not a preset charging device, the second control unit 160 controls the first switch module 150 to be turned off and the second switch module 190 to be turned on, so as to form a first path for supplying power to the load through the charging processing module 180 from the charging interface VBUS and a second path for charging the forward output terminal VBAT + through the charging processing module 180 from the charging interface VBUS. The external charging device is caused to power the load based on the first path.
The second control unit 160 is further configured to output a charging signal to the first control unit 130 based on the second path, wherein the charging signal is used to control the on/off of the plurality of switch units 120, so that the plurality of battery units 110 individually charge the plurality of battery units 110 in sequence according to the charging priority. As shown in fig. 9, the first control unit 130 outputs corresponding on/off commands to the first switching unit 121, the second switching unit 122, the third switching unit 123 and the fourth switching unit 124 according to the received charging signal and the charging priority of the multi-battery cell, respectively. When the charging priority of the first battery cell 111 is higher than that of the second battery cell 113, the first control unit 130 may preferentially control the first and fourth switching units 121 and 124 to be turned on (closed), and the second and third switching units 122 and 123 to be turned off to form a first charging branch for charging the first battery cell 111, as shown by the solid arrow direction of fig. 9, to charge the first battery cell 111. When the charging of the first battery unit 111 is completed, the first control unit 130 controls the first switch unit 121 and the fourth switch unit 124 to be turned off, and simultaneously controls the second switch unit 122 and the third switch unit 123 to be turned on to form a second charging branch for charging the second battery unit 113, as shown by the direction of the dotted arrow in fig. 9, to charge the second battery unit 113.
As shown in fig. 10, in one embodiment, when the multi-battery charging system is not connected to an external charging device and needs to supply power to a load, the second control unit 160 controls the first switch module 150 to be turned off and the second switch module 190 to be turned on to form a plurality of discharging branches for supplying power to the load by a plurality of battery cells. As shown in fig. 10, when the first battery unit 111 and the second battery unit 113 are included in the battery control system, the battery control system controls the on/off of the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124 to control the first battery unit 111 or the second battery unit 113 to supply power to the load according to the discharging priority. For example, when the discharge priority of the first battery unit 111 is higher than that of the second battery unit 113, the first control unit 130 outputs corresponding first on-off commands to the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124 according to the received discharge control signal, so as to control the first switch unit 121 and the fourth switch unit 124 to be turned on and control the second switch unit 122 and the third switch unit 123 to be turned off to form a first discharge branch, as shown by the solid arrow in fig. 10, and the first battery unit 111 is used to supply power to the load. When the electric quantity of the first battery unit 111 is insufficient to supply power to the load, the first control unit 130 outputs corresponding first on-off instructions to the first switch unit 121, the second switch unit 122, the third switch unit 123 and the fourth switch unit 124, respectively, so as to control the second switch unit 122 and the third switch unit 123 to be turned on, and control the first switch unit 121 and the fourth switch unit 124 to be turned off, so as to form a second discharging branch, as shown by the direction of the dotted arrow in fig. 10, the second battery unit 113 is used to supply power to the load.
Alternatively, when at least one of the interface module 140, the first switch module 150, the voltage drop module 170, the second control unit 160, the charge processing module 180, and the second switch module 190 is included in the battery control system, the number of the multiple battery cells in the battery control system may also be three, four, five, or even more, and is not limited to the two battery cells in the above embodiment. Embodiments for three, four, five, or even more cells are not described herein.
Alternatively, the battery control system of the battery pack consisting of three, four, five or even more battery cells may communicate with the load in a manner including an I2C communication manner and a single wire communication manner. According to different communication modes, the first on-off command, the second on-off command and the third on-off command can be stored and transmitted by adopting corresponding preset rules according to a communication protocol, as described in the foregoing embodiments, and will not be described herein again.
The division of each module and unit in the battery control system is only used for illustration, and in other embodiments, the battery control system may be divided into different modules and units as needed to complete all or part of the functions of the battery control system.
The modules and units in the battery control system can be wholly or partially realized by software, hardware and a combination thereof. The modules and units may be embedded in a hardware form or independent from a processor in a computer device, or may be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules and units.
As shown in fig. 11, the present application further provides a battery control method applied to a battery control system. The battery control system includes a plurality of battery cells and a plurality of switch units. The battery unit is used for storing electric energy and supplying power to a load; the plurality of switch units are connected with the plurality of battery units to form a plurality of charging and discharging branches. As shown in fig. 11, the battery control method includes steps 1102-1104.
Step 1102, receiving a charging control signal and a charging/discharging control signal.
The charge control signal and the charge and discharge control signal may be acquired according to a remaining capacity of the battery cell or an external charging device connected to the battery control system. For example, when the remaining capacity of the battery unit is lower than a preset value, a charging control signal can be output to charge the battery unit; or, when an external charging device is connected to the battery control system, the charging control signal may be output to charge the load or the plurality of battery cells through the external charging device. When no external charging device is connected with the battery control system, the discharging control signal can be output, and the electric energy stored by the battery unit is used for supplying power to the load.
The charging control signal is used for indicating a plurality of battery units to be connected in series to form a series charging branch circuit, and the discharging control signal is used for indicating any battery unit in the plurality of battery units to independently supply power to the load according to the discharging priority.
Step 1104, controlling the on-off of each switch unit according to the charging control signal, and connecting a plurality of battery units in series to form a series charging branch for charging each battery unit; and controlling the on-off of the plurality of switch units according to the discharge control signal to enable the battery units in the plurality of battery units to independently supply power to the load according to the discharge priority.
In one embodiment, the battery control system controls the on/off of the plurality of switch units according to the received charging control signal, so that the plurality of battery units are connected in series to form a series charging branch circuit, and then the plurality of battery units are charged based on the external charging equipment and the series charging branch circuit. After the series charging branch is formed, the total charging voltage of the battery pack consisting of a plurality of battery units is the sum of the output voltages of the battery units.
Optionally, the battery control system may further output a first on-off instruction for controlling on-off of each switch unit according to the charging signal, so that the external charging device sequentially and independently charges any one of the plurality of battery units according to the charging priority.
In one embodiment, the battery control system may further control the on/off of the plurality of switch units according to the received discharge control signal, so that any battery unit in the plurality of battery units independently supplies power to the load according to the discharge priority. When the output voltages of the battery units are the same, the total discharge voltage of the battery pack is the output voltage of the battery unit currently connected to the charge-discharge loop.
According to the battery control method, the on-off of each switch unit can be controlled according to the received charging control signal, so that the plurality of battery units are connected in series to form a series charging branch circuit to charge the plurality of battery units, a charging mode of high voltage and large current is provided, and the charging efficiency is improved; after the high-voltage large-current charging is finished, the on-off of each switch unit can be controlled based on the discharging control signal, so that any battery unit in the plurality of battery units independently supplies power to the load according to the discharging priority, and the requirement of supplying power to the load is met; meanwhile, the physical connection modes of a plurality of battery units in the battery control system are flexible and changeable, the charging/discharging voltage can be adjusted, the battery capacity is enlarged, and the endurance time is prolonged.
As shown in fig. 12, the battery control method further includes:
step 1202, a communication protocol for communication between the battery control system and the load is obtained.
The battery control system and the load may communicate via the I2C communication protocol or the single Wire communication protocol. For example, the communication interface of the logic control unit in the battery control system may be detected. When the communication interface is provided with an I2C communication interface for connecting with an I2C serial data line and an I2C serial clock line, the communication protocol of the battery control system and the load can be considered as an I2C communication protocol; when the communication interface is provided with a single-Wire communication interface for communicating with a single-Wire communication line, it may be considered that the battery control system communicates with the load by using a single-Wire communication protocol.
Optionally, a communication protocol for communication between the battery control system and the load may be preset and stored in the battery control system, and the communication protocol may be directly called from the battery control system.
And 1204, storing and sending a first on-off instruction output according to the charging control signal and a second on-off instruction output according to the discharging control signal according to a communication protocol and a preset rule, wherein the first on-off instruction and the second on-off instruction are both used for controlling the on-off of the plurality of switch units. The first on-off command and the second on-off command can be level signals or pulse signals.
The battery control system can output a first on-off instruction for controlling the on-off of each switch unit according to the charging control signal, and finally, the plurality of battery units are connected in series to form a series charging branch. The battery control system can output a second on-off instruction for controlling the on-off of each switch unit according to the discharge control signal, and finally any battery unit in the plurality of battery units independently supplies power to the load according to the discharge priority.
Each switch unit can control the on or off of the switch unit according to the received first on-off instruction or the received second on-off instruction, wherein the first on-off instruction or the received second on-off instruction of each switch unit can be the same or different. For example, the first switch unit receives a first on-off command for instructing the switch unit to be turned on, and the first switch unit receives a second on-off command for instructing the switch unit to be turned off and not turned on.
When the communication protocol for the battery control system to communicate with the load is the I2C communication protocol, the first on-off command and the second on-off command may be sent according to the communication protocol by using corresponding preset rules. For example, the logic control unit is provided with a register, and the first on-off command and the second on-off command for controlling the plurality of switch units can be directly written into the register, so that the on-off of the plurality of switch units can be controlled. For example, the first and second on/off commands may be stored in a level form, where "1" represents a high level signal for controlling the on of the switching unit and "0" represents a low level signal for controlling the off of the switching unit.
When the communication protocol for the communication between the battery control system and the load is a single Wire protocol, the first on-off instruction and the second on-off instruction can be sent by adopting a corresponding preset rule according to the communication protocol. For example, the first on-off command and the second on-off command may be stored and transmitted by means of pulse signals. For example, the first on-off command and the second on-off command may be stored and transmitted by means of pulse signals. For example, the load sends 10 pulses on the single-wire communication line to inform the battery control system that the battery control system is ready to operate, and the battery control system replies 10 pulse signals after receiving the pulse signals sent by the load, which indicates that the battery control system is ready. If the battery control system comprises four switch units, when the load sends 1 pulse signal, the first switch unit is turned off (closed); when the load sends 2 pulse signals, the first switch unit is turned on (closed); when the load sends 3 pulse signals, the second switch unit is turned off (closed); when the load sends 4 pulse signals, the second switch unit is turned on (closed); when the load sends 5 pulse signals, the third switching unit is turned off (closed), and when the load sends 6 pulse signals, the third switching unit is turned on (closed); when the load sends 7 pulse signals, it indicates that the fourth switching unit is turned off (closed), and when the load sends 8 pulse signals, it indicates that the fourth switching unit is turned on (closed). Wherein, the high level of the pulse signal is 1.8V, the low level of the pulse signal is 0V, the duty ratio of the pulse signal is 50%, and the period is 50 us.
In one embodiment, the battery control system further includes an interface module for connecting with an external charging device, and a first switch module for turning on or off a path formed between the interface module and the plurality of battery cells.
As shown in fig. 13, the battery control method further includes:
step 1302, identifying whether the charging device externally connected to the battery control system is a preset charging device.
The interface module is used for being connected with external charging equipment, wherein the interface module comprises VBUS, USB +, USB and GND charging interfaces. The pre-set charging device may be understood as a fast charger or a fast adapter capable of providing fast charging for the power supply of the load. The USB signal in the external charging equipment is a differential signal, and a signal line of the differential signal is D +, D-, and an up-pull fixed resistor and a down-pull fixed resistor are arranged on the D + or the D-of the external charging equipment. High-speed and low-speed equipment is defined in the USB1.0/1.1/2.0 protocol to meet the requirements of different conditions, for example, D + of the high-speed equipment is connected with a pull-up resistor of 1.5kohm, and D-is not connected; the opposite is true for low speed devices. When the battery control system is connected to the charging equipment, the battery control system can quickly identify the resistance value of the fixed resistor on the D + or the D-of the charging equipment, and then judge whether the charging equipment is the preset charging equipment.
Step 1304, when the charging device is a preset charging device, controlling the first switch module to be conducted to supply power to the load; and generating a charging control signal to cause the external charging device to simultaneously charge the plurality of battery cells connected in series.
When the charging device is a preset charging device, as shown in fig. 8, the battery control system outputs a third on-off command for controlling the on-off of the first switch module, and the first switch module is turned on according to the received third on-off command, so as to form a path formed by the charging interface VBUS and the forward output end VBAT +, and a path formed by the charging interface VBUS and the forward output end VBAT +, as well as a path for supplying power to the load. Meanwhile, the battery control system can output a first on-off instruction for generating a charging control signal so as to control the on-off of the plurality of switch units according to the charging control signal, so that the plurality of battery units are connected in series to form a series charging branch of the plurality of batteries, and the plurality of battery units connected in series are charged simultaneously by using the preset charging equipment.
In one embodiment, the battery control system further includes a voltage drop module connected to the first switch module and the load, respectively, and configured to reduce the charging voltage output by the external charging device. When the preset charging equipment supplies power to the load, the charging voltage output by the preset charging equipment can be subjected to voltage reduction treatment through the voltage reduction module, and then the power is supplied to the load, so that the requirement of supplying power to the load is met.
In one embodiment, the battery control system further includes a charging processing module for supplying power to the load, and a second switching module for turning on or off a path formed between the charging processing module and the load. The charging control signal is also used for instructing the battery control system to sequentially charge the plurality of battery units according to the charging priority.
As shown in fig. 13, the battery control method further includes:
step 1306, when the charging device is not the preset charging device, controlling the first switch module to be switched off and the second switch module to be switched on, so that the charging device supplies power to the load by using the charging processing module; and generating a charging signal so that the charging device sequentially charges the plurality of battery units according to the charging priority by using the charging processing module.
When the battery control system is connected to the charging equipment, the battery control system can quickly identify the resistance value of the fixed resistor on the D + or the D-of the charging equipment, and then judge whether the charging equipment is the preset charging equipment. When the charging device is not a preset charging device, the first switch module 150 is controlled to be switched off and the second switch module 190 is controlled to be switched on, so that a first path for supplying power to the load through the charging processing module 180 by the charging interface VBUS and a second path for charging to the forward output end VBAT + through the charging processing module 180 by the charging interface VBUS are formed. The external charging device is caused to power the load based on the first path.
The battery control system is also used for generating a charging signal, and the charging signal is used for controlling the on-off of the switch units so that the battery units can be sequentially and independently charged according to the charging priority. As shown in fig. 9, when the battery control system includes the first battery cell and the second battery cell, and the charging priority of the first battery cell is higher than that of the second battery cell, the battery control system may preferentially control the first switch unit and the fourth switch unit to be turned on (closed), and the second switch unit and the third switch unit to be turned off to form a first charging branch for charging the first battery cell, as shown by the solid arrow direction of fig. 9, to charge the first battery cell. After the first battery unit is charged, the battery control system controls the first switch unit and the fourth switch unit to be turned off, and simultaneously controls the second switch unit and the third switch unit to be turned on to form a second charging branch for charging the second battery unit, as shown by the direction of the dotted arrow in fig. 9, so as to charge the second battery unit. That is, when the external charging device is not the preset charging device, power may be supplied to each battery cell and the load through the battery control system, respectively.
In one embodiment, the battery control method further includes: and when the battery control system does not access the charging equipment, generating a discharging control instruction to control the on-off of each switch unit, and controlling any battery unit in the plurality of battery units to sequentially supply power to the load according to the discharging priority.
When the multi-battery charging system is not connected to external charging equipment and needs to supply power to a load, a discharging control instruction is generated to control the on-off of each switch unit, and a plurality of discharging branches for supplying power to the load by a plurality of battery units are formed.
As shown in fig. 10, when the battery control system includes a first battery unit and a second battery unit, the battery control system controls the first battery unit or the second battery unit to supply power to the load according to the discharging priority. For example, when the discharge priority of the first battery unit is higher than that of the second battery unit, the first control unit outputs corresponding first on-off commands to the first switch unit, the second switch unit, the third switch unit and the fourth switch unit according to the received discharge control signal, so as to control the first switch unit and the fourth switch unit to be turned on and control the second switch unit and the third switch unit to be turned off, so as to form a first discharge branch, as shown by the direction of the solid arrow in fig. 10, the first battery unit is used for supplying power to the load. When the electric quantity of the first battery unit is insufficient to supply power to the load, the first control unit outputs corresponding first on-off instructions to the first switch unit, the second switch unit, the third switch unit and the fourth switch unit respectively to control the second switch unit and the third switch unit to be switched on and control the first switch unit and the fourth switch unit to be switched off to form a second discharging branch, and the second battery unit is used for supplying power to the load as shown by a dotted arrow in fig. 10.
Optionally, the battery control system may further include three, four, or more battery units, and the embodiments corresponding to the three, four, or more battery units are not described herein again one by one, and the control method corresponds to the control principle of the two battery units.
It should be understood that although the various steps in the flowcharts of fig. 11-13 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Also, at least some of the steps in fig. 11-13 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
The present application further provides an electronic device, including the battery control system in any of the above embodiments, where the battery control system may be used to store electrical energy and supply power to a load.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the battery control method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a battery control method.
The embodiment of the application also provides the electronic equipment. As shown in fig. 14, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a Point of Sales (POS), a vehicle-mounted computer, a wearable device, or an electronic device such as a portable power source, a power bank, a charger, or the like. Taking an electronic device as a mobile phone as an example:
fig. 14 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 14, the handset includes: radio Frequency (RF) circuitry 1410, memory 1420, input unit 1430, display unit 1440, sensor 1450, audio circuitry 1460, wireless fidelity (WiFi) module 1470, processor 1480, and power supply 1490. Those skilled in the art will appreciate that the handset configuration shown in fig. 14 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1410 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the downlink information to the processor 1480; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1410 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 1420 may be used to store software programs and modules, and the processor 1480 executes various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 1420. The memory 1420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, memory 1420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1400. In particular, the input unit 1430 may include a touch panel 1431 and other input devices 1432. The touch panel 1431, which may also be referred to as a touch screen, may collect touch operations performed by a user on or near the touch panel 1431 (for example, operations performed by the user on or near the touch panel 1431 by using any suitable object or accessory such as a finger or a stylus), and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1431 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device and converts it to touch point coordinates, which are provided to the processor 1480 and can receive and execute commands from the processor 1480. In addition, the touch panel 1431 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1431, the input unit 1430 may also include other input devices 1432. In particular, other input devices 1432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1440 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 1440 may include a display panel 1441. In one embodiment, the Display panel 1441 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, touch panel 1431 can overlay display panel 1441, and when touch panel 1431 detects a touch operation on or near touch panel 1431, it is passed to processor 1480 to determine the type of touch event, and processor 1480 then provides a corresponding visual output on display panel 1441 based on the type of touch event. Although in fig. 14, the touch panel 1431 and the display panel 1441 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1431 and the display panel 1441 may be integrated to implement the input and output functions of the mobile phone.
Cell phone 1400 can also include at least one sensor 1450, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1441 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1441 and/or the backlight when the mobile phone is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
The audio circuit 1460, speaker 1461, and microphone 1462 may provide an audio interface between a user and a cell phone. The audio circuit 1460 can transmit the received electrical signal converted from the audio data to the loudspeaker 1461, and the electrical signal is converted into a sound signal by the loudspeaker 1461 and output; on the other hand, the microphone 1462 converts the collected sound signal into an electric signal, which is received by the audio circuit 1460 and converted into audio data, and the audio data is processed by the audio data output processor 1480, and then the processed audio data may be transmitted to another mobile phone through the RF circuit 1410, or the audio data may be output to the memory 1420 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a WiFi module 1470, and provides wireless broadband internet access for the user. Although fig. 14 shows a WiFi module 1470, it is understood that it is not an essential component of the handset 1400 and may be omitted as desired.
The processor 1480, which is the control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1420 and calling data stored in the memory 1420, thereby integrally monitoring the mobile phone. In one embodiment, the processor 1480 may include one or more processing units. In one embodiment, the processor 1480 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1480.
The handset 1400 also includes a power supply 1490 (e.g., a battery) that powers the various components, and preferably, the power supply is logically coupled to the processor 1480 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system. The power supply 1490 includes a plurality of battery units and a plurality of switch units connected to the battery units in a one-to-one correspondence, and the power supply 1490 may be a power supply device in this embodiment of the present application.
In one embodiment, the cell phone 1400 may also include a camera, a bluetooth module, and the like.
In the present embodiment, the electronic device includes a processor 1480 that implements the steps of the battery control method when executing a computer program stored on a memory.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A battery control system, comprising:
a plurality of battery cells for storing electrical energy and supplying power to a load;
the switch units are connected with the battery units to form a charging and discharging branch and are used for switching on or off the charging and discharging branch where the battery units are located;
the first control unit is respectively connected with the switch units and used for receiving a charging control signal so as to control the on-off of the switch units and enable the battery units to be connected in series to form a series charging branch; the battery unit is used for receiving a discharge control signal to control the on-off of the switch units so as to enable the battery units to independently supply power to the load according to the discharge priority;
the interface module is used for being connected with external charging equipment;
the first switch module is respectively connected with the interface module and the first control unit and is used for switching on or switching off a passage formed by the interface module and the first control unit;
the second control unit is connected with the first switch module and used for identifying external charging equipment, and controlling the first switch module to be conducted to supply power to the load when the external charging equipment is preset charging equipment; and outputting the charging control signal to the first control unit to charge the external charging device for the plurality of battery units connected in series.
2. The battery control system according to claim 1, wherein the first control unit is configured to output a first on-off command for controlling on/off of the plurality of switch units according to the received charge control signal, and output a second on-off command for controlling on/off of the plurality of switch units according to the received discharge control signal; wherein the content of the first and second substances,
the first on-off instruction and the second on-off instruction are stored in the first control unit according to a preset rule; the first control unit is further used for detecting a communication protocol between the battery control system and the load, and sending the first on-off instruction and the second on-off instruction according to the communication protocol by adopting the corresponding preset rule.
3. The battery control system of claim 1, further comprising:
and the voltage drop module is respectively connected with the first switch module and the load and used for reducing the voltage which is output by the external charging equipment and used for supplying power to the load.
4. The battery control system according to claim 1, further comprising:
the charging processing module is respectively connected with the interface module, the second control unit and the first control unit and used for supplying power to the load;
the second switch module is respectively connected with the charging processing module, the first control unit, the first switch module and the load and is used for switching on or off a path formed by the charging processing module and the load;
the second control unit is further configured to control the first switch module to be turned off and the second switch module to be turned on when the external charging device is not a preset charging device, so that the external charging device supplies power to the load; and outputting a charging instruction to the first control unit to control the on-off of the plurality of switch units so as to sequentially charge the plurality of battery units according to the charging priority.
5. A battery control method is applied to a battery control system and is characterized in that the battery control system comprises an interface module used for being connected with external charging equipment, a plurality of battery units and a plurality of switch units, wherein the battery units are used for storing electric energy and supplying power to loads; the plurality of switch units are connected with the plurality of battery units to form a plurality of charging and discharging branches; the method comprises the following steps:
the first control unit receives a charging control signal and a discharging control signal;
the first control unit controls the on-off of each switch unit according to the charging control signal, and a plurality of battery units are connected in series to form a series charging branch circuit to charge each battery unit; the first control unit controls the on-off of the switch units according to the discharge control signal, so that the battery units independently supply power to the load according to the discharge priority;
the second control unit identifies whether the charging equipment connected with the interface module is preset charging equipment or not; when the charging equipment is preset charging equipment, the second control unit controls the first switch module to be conducted to supply power to the load; and the second control unit generates the charging control signal and outputs the charging control signal to the first control unit so as to charge the charging equipment for the plurality of battery units connected in series, wherein the first switch module is used for connecting or disconnecting a passage formed between the interface module and the first control unit.
6. The method of claim 5, further comprising:
acquiring a communication protocol for communicating the battery control system with the load;
and storing and sending a first on-off instruction output according to the charging control signal and a second on-off instruction output according to the discharging control signal according to the communication protocol and a preset rule, wherein the first on-off instruction and the second on-off instruction are used for controlling the on-off of the plurality of switch units.
7. The method of claim 5, wherein the battery control system further comprises a charging processing module for supplying power to the load, and a second switching module for switching on or off a path formed between the charging processing module and the load, and the charging control signal is further used for instructing the battery control system to sequentially charge the plurality of battery units according to a charging priority; the method further comprises the following steps:
when the charging equipment is not preset charging equipment, controlling the first switch module to be switched off and the second switch module to be switched on so that the charging equipment supplies power to the load by using the charging processing module; and generating a charging signal so that the charging device sequentially charges the plurality of battery units according to the charging priority by using the charging processing module.
8. The method of claim 7, further comprising:
when the battery control system is not connected with the charging equipment, a discharging control instruction is generated to control the on-off of each switch unit, and any one of the battery units is controlled to sequentially supply power to the load according to the discharging priority.
9. An electronic device characterized by comprising the battery control system according to any one of claims 1 to 4.
10. An electronic device, comprising a plurality of battery cells, a plurality of switch cells, a memory, and a processor; the processor is respectively connected with the plurality of battery units, the plurality of switch units and the memory; the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 5 to 8.
CN201810867075.8A 2018-08-01 2018-08-01 Battery control system and method and electronic equipment Active CN110797924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810867075.8A CN110797924B (en) 2018-08-01 2018-08-01 Battery control system and method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810867075.8A CN110797924B (en) 2018-08-01 2018-08-01 Battery control system and method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110797924A CN110797924A (en) 2020-02-14
CN110797924B true CN110797924B (en) 2021-08-03

Family

ID=69425531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810867075.8A Active CN110797924B (en) 2018-08-01 2018-08-01 Battery control system and method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110797924B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460137B (en) * 2019-09-12 2021-04-06 展讯通信(深圳)有限公司 Control device and electronic apparatus
CN112290647B (en) * 2020-11-19 2022-05-27 厦门西海佳通信息科技有限公司 Battery power supply system and method thereof
TWI801950B (en) * 2021-07-30 2023-05-11 光陽工業股份有限公司 Lithium battery battery management system
CN114567028B (en) * 2021-09-13 2023-01-03 惠州市乐亿通科技有限公司 Battery system and parallel operation method and device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104167778A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Power supply circuit
WO2016019498A1 (en) * 2014-08-05 2016-02-11 Texas Instruments Incorporated Methods, electronic devices, and charger apparatus for quick usb charging
CN106451669A (en) * 2016-11-25 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Rapid charging control method, device, multi-cell battery and mobile terminal
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
CN207530551U (en) * 2017-06-08 2018-06-22 维沃移动通信有限公司 A kind of charge-discharge circuit and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104167778A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Power supply circuit
WO2016019498A1 (en) * 2014-08-05 2016-02-11 Texas Instruments Incorporated Methods, electronic devices, and charger apparatus for quick usb charging
CN106451669A (en) * 2016-11-25 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Rapid charging control method, device, multi-cell battery and mobile terminal
CN207530551U (en) * 2017-06-08 2018-06-22 维沃移动通信有限公司 A kind of charge-discharge circuit and mobile terminal
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

Also Published As

Publication number Publication date
CN110797924A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110797925B (en) Battery control system and method and electronic equipment
CN108649658B (en) Multi-battery switching method, power supply device and electronic equipment
CN110797924B (en) Battery control system and method and electronic equipment
CN108899952B (en) Multi-battery charging and discharging device and mobile terminal
CN110336348B (en) Terminal, switched capacitor boost circuit and power supply method
WO2017161587A1 (en) Power supply circuit for load, and terminal
CN107910912B (en) Charging circuit and charging method
CN106998098A (en) A kind of terminal device
CN109217409B (en) Charging method and device and electronic equipment
CN106549465A (en) Charge control method, device, system and terminal
US11050282B2 (en) Power supply control method and device, storage medium and electronic device
CN104348230A (en) Charging device and charging control method
CN111478378B (en) Protection circuit, charging control device and method, and electronic device
CN109217411B (en) Charging method and device and electronic equipment
CN106797414A (en) The leakage current detection circuit and terminal of a kind of terminal
US11476680B2 (en) Device and method for charging control, electronic device
CN111614131B (en) Electronic device and discharge control method
CN111613762B (en) Battery pack, electronic device, and charge/discharge control method
CN110620602B (en) Reverse charging and data transmission sharing system, multiplexing data line and electronic device
CN107749751B (en) Mobile terminal power supply system and mobile terminal
CN105990874A (en) Charging method, charging device and charging control device
CN111384754B (en) Charging method, charging device, storage medium and mobile terminal
CN116231800A (en) Charging control module, method, intelligent terminal and charging system
CN113746147A (en) Charging circuit, electronic device, charging control method, and readable storage medium
CN110912227A (en) Charging and discharging structure and charging method

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
GR01 Patent grant
GR01 Patent grant