Battery control system and method, and electronic device

By designing a battery control system, using the series or parallel connection of multiple battery units and switch units, the problem of low charging efficiency in the prior art is solved, and diversified voltage and efficient charging are achieved.

CN113258652BActive Publication Date: 2025-06-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110703395.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-08-01
Publication Date
2025-06-03
Estimated Expiration
2038-08-01

AI Technical Summary

Technical Problem

Existing electronic devices use single-cell or fixed dual-cell connection methods, resulting in low charging efficiency and limited use scenarios.

Method used

A battery control system is designed, including multiple battery units, switching units and control units. By controlling the on-off of the switch units, the battery units are connected in series or in parallel, thereby forming a diversified charge and discharge voltage and improving charging efficiency.

Benefits of technology

It realizes diversified charge and discharge voltage, provides a high voltage and high current charging mode, improves charging efficiency, and can switch to load power according to demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113258652B_ABST
    Figure CN113258652B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a battery control system, a method, and an electronic device. The battery control system includes: a plurality of battery cells for storing electrical energy and supplying power to a load; a plurality of switch units connected to the plurality of battery cells to form charge-discharge branches, for conducting or disconnecting the connection of the charge-discharge branches where the battery cells are located; and a first control unit respectively connected to the plurality of switch units, for receiving a charging control signal to control the on-off of the plurality of switch units so that the plurality of battery cells are connected in series to form a series charging branch; and for receiving a discharging control signal to control the on-off of the plurality of switch units so that the plurality of battery cells are connected in parallel to form a parallel discharging branch, which can generate diversified charge-discharge voltages and improve the charging efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of charging and discharging, and particularly to a battery control system and method, and an electronic device. Background Art

[0002] Generally, electronic devices are mainly powered by a single battery, which has limited capacity and limited usage scenarios; when powered by two batteries, the two batteries generally adopt a fixed connection method to output a low voltage to power the load. Among them, when there are two batteries, due to the single connection method, the charging efficiency is low. Summary of the Invention

[0003] Embodiments of the present application provide a battery control system and method, and an electronic device, which can generate diversified charging and discharging voltages and improve the charging efficiency.

[0004] A battery control system includes:

[0005] A plurality of battery units for storing electric energy and powering a load;

[0006] A plurality of switch units connected to the plurality of battery units to form charging and discharging branches, for conducting or disconnecting the conduction or disconnection of the charging and discharging branches where the battery units are located; and

[0007] A first control unit respectively connected to the plurality of switch units to control the on and off of the plurality of switch units so that the plurality of battery units are connected in series to form a series charging branch; and for receiving a discharge control signal to control the on and off of the plurality of switch units so that the plurality of battery units are connected in parallel to form a parallel discharge branch;

[0008] An interface module for connecting to an external charging device;

[0009] A first switch module respectively connected to the interface module and the first control unit, for connecting or disconnecting the path formed by the interface module and the first control unit;

[0010] A second control unit respectively connected to the interface module and the first switch module, for identifying an external charging device, and when the external charging device is a preset charging device, controlling the first switch module to conduct and output the charging control signal to the first control unit, so that the external charging device charges the plurality of series-connected battery units.

[0011] A battery control method is applied to a battery control system, and the battery control system includes

[0012] An interface module, a first control unit, a second control unit connected to the interface module, a first switch module respectively connected to the interface module, the first control unit, and the second control unit, a plurality of battery units, and a plurality of switch units connected to the plurality of battery units to form a plurality of charge and discharge branches; wherein the first control unit is further respectively connected to the plurality of switch units, and the method includes:

[0013] The first control unit receives a charge control signal and a discharge control signal;

[0014] The first control unit controls the on / off of the plurality of switch units according to the charge control signal to connect the plurality of battery units in series to form a series charge branch, and controls the on / off of the plurality of switch units according to the discharge control signal to connect the plurality of battery units in parallel to form a parallel discharge branch;

[0015] The second control unit identifies whether the charging device externally connected to the battery control system is a preset charging device, and when the charging device is a preset charging device, generates the charge control signal and controls the first switch module to conduct to output the charge control signal to the first control unit, so that the external charging device charges the plurality of battery units connected in series.

[0016] An electronic device includes the above battery control system.

[0017] An electronic device includes a plurality of battery units, a plurality of switch units, a memory, and a processor; the processor is respectively connected to the plurality of battery units, the plurality of switch units, and the memory; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the above battery control method.

[0018] The above battery control system and method, and electronic device. The battery control system includes: a plurality of battery units for storing electric energy and supplying power to a load; a plurality of switch units connected to the plurality of battery units to form charge and discharge branches for conducting or disconnecting the charge and discharge branches where the battery units are located; a first control unit respectively connected to the plurality of switch units for receiving a charge control signal to control the on / off of the plurality of switch units to connect the plurality of battery units in series to form a series charge branch, which can generate diversified charge and discharge voltages to provide a high-voltage and large-current charging mode; after the high-voltage and large-current charging is completed, based on the discharge control signal, the plurality of battery units connected in parallel formed by the parallel discharge branch can supply power to the load to meet the power supply requirements of the load. Description of the Drawings

[0019] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0020] Figure 1 It is a circuit framework diagram of a battery control system in an embodiment;

[0021] Figure 2 It is a schematic diagram of the current flow for a battery control system to charge multiple battery units in an embodiment;

[0022] Figure 3 It is a schematic diagram of the current flow for a battery control system to supply power to a load in an embodiment;

[0023] Figure 4 It is a schematic diagram of the current flow for a battery control system to charge multiple battery units in another embodiment;

[0024] Figure 5 It is a schematic diagram of the current flow for a battery control system to supply power to a load in another embodiment;

[0025] Figure 6 It is a schematic diagram of the current flow for a battery control system to charge multiple battery units in yet another embodiment;

[0026] Figure 7 It is a schematic diagram of the current flow for a battery control system to charge multiple battery units in still another embodiment;

[0027] Figure 8 It is a schematic diagram of the current flow for a battery control system to supply power to a load in yet another embodiment;

[0028] Figure 9 It is a flowchart of a battery control method in an embodiment;

[0029] Figure 10 It is a flowchart of a battery control method in another embodiment;

[0030] Figure 11 It is a flowchart of a battery control method in yet another embodiment;

[0031] Figure 12 It is a block diagram of a partial structure of a mobile phone related to the electronic device provided in the embodiment of the present application. Detailed implementation manners

[0032] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0033] It can be understood that the terms "first", "second", etc. used in the present application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of the present application, the first battery unit can be referred to as the second battery unit, and similarly, the second battery unit can be referred to as the first battery unit. Both the first battery unit and the second battery unit are battery units, but they are not the same battery unit.

[0034] An embodiment of the present application provides a battery control system. As Figure 1 shown, the battery control system includes: a plurality of battery units 110, a plurality of switch units 120, and a first control unit 130. Among them, the plurality of battery units 110 are used to store electric energy and supply power to a load, that is, each battery unit 110 can store electric energy and supply power to the load, where the load is connected to the positive output terminal VBAT+ of the battery control system.

[0035] It should be noted that in the present application, "a plurality" can be understood as at least 2 (greater than or equal to 2), that is, "a plurality" is 2, 3 or even more.

[0036] The load can be understood as an electronic device that can incorporate the power supply device. For example, it can be a power supply 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), an in-vehicle computer, a wearable device, etc.

[0037] In one embodiment, the battery type of the battery unit 110 can include at least one of a lead-acid battery, a nickel-metal hydride battery, a sodium-sulfur battery, a flow battery, a supercapacitor, a lithium battery, and a flexible battery. The battery types of the plurality of battery units 110 can be the same or different. The battery types in the same battery unit are the same, and the number of batteries included in the same battery unit can be 1, 2, 3 or more. When the number of batteries is greater than 1, the batteries in the battery unit 110 are connected in series.

[0038] In one embodiment, when there are two battery units 110, the first battery unit can be a lithium battery unit, and the second battery unit can be a flexible battery unit. In one embodiment, the lithium battery unit 110 can include two lithium batteries connected in series, and the flexible battery unit 110 can include one flexible battery.

[0039] In one embodiment, the output voltage range of each battery cell 110 may be 2.0 - 4.4 volts. It should be understood that the output voltage ranges of the respective battery cells 110 may be the same or different. Here, the embodiments of the present application do not make further limitations in this regard.

[0040] A plurality of switch units 120 are connected to the plurality of battery cells 110 to form charge and discharge branches. The switch unit 120 is used to conduct or disconnect the charge and discharge branch where the battery cell 110 is located.

[0041] In one embodiment, the types of the plurality of switch units 120 may be multiple. Among them, at least one switch unit 120 has two power output terminals, and through the switch unit 120, the power supply can be controlled to output to two different power output terminals. The switch with two power output terminals can be a single-pole double-throw switch, a relay, etc. Other switch units may be at least one of a diode, a triode, a relay, a thyristor, a silicon controlled rectifier, a MOS transistor, and an IGBT.

[0042] A first control unit 130 is respectively connected to the plurality of switch units 120, and is used to receive a charging control signal to control the on / off of the plurality of switch units 120 so that the plurality of battery cells 110 are connected in series to form a series charging branch; and is used to receive a discharging control signal to control the on / off of the plurality of switch units 120 so that the plurality of battery cells 110 are connected in parallel to form a parallel discharging branch.

[0043] It can be understood that the first control unit 130 can output a first on / off instruction for controlling the on / off of the plurality of switch units according to the received charging control signal, and can also output a second on / off instruction for controlling the on / off of the plurality of switch units according to the received discharging control signal.

[0044] In one embodiment, the first control unit 130 can also be understood as a logic control unit. The first control unit 130 can receive a charging control signal, and according to the received charging control signal, output a first on / off instruction for controlling the conduction or disconnection of the plurality of switch units 120 to control the on / off of each switch unit 120, and finally connect the plurality of battery cells 110 in series to form a series charging branch. After forming the series charging branch, 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.

[0045] The first control unit 130 can receive a discharge control signal and output a second on / off instruction for controlling the on / off of each switch unit 120 according to the received discharge control signal, finally making each battery unit 110 connected in parallel with each other to form multiple parallel discharge branches. At this time, when the output voltages of the respective battery units 110 are the same, the total discharge voltage of the battery pack composed of the multiple battery units 110 is the output voltage of any current battery unit 110; when the input voltages of the respective battery units 110 are different, according to the parallel voltage calculation method, the total output voltage of the battery pack is obtained based on the output voltages of the respective battery units 110.

[0046] Each switch unit 120 can control its own conduction or disconnection according to the received first on / off instruction or second on / off instruction. Among them, the first on / off instruction or second on / off instruction received by each switch unit 120 can be the same or different. For example, the first on / off instruction received by the first switch unit 121 is used to instruct the switch unit 121 to conduct, and the first on / off instruction received by the first switch unit 121 is used to instruct the switch unit 121 to disconnect, making it non-conductive.

[0047] It should be noted that when the first on / off instruction or second on / off instruction is used to control the switch unit 120 to conduct itself, the specific branch for the switch unit 120 to conduct can be further controlled according to the model or attribute of the switch unit 120. For example, when the switch unit 120 is a single-pole double-throw switch, according to the received first on / off instruction, it can control the switching of the fixed terminal of the single-pole double-throw switch, making the fixed terminal of the single-pole double-throw switch conduct with the required connection path.

[0048] The above battery control system can control the on / off of each switch unit according to the received charging control signal to connect multiple battery units in series to form a series charging branch; and control the on / off of each switch unit according to the received discharge control signal to connect each battery unit in parallel with each other to form multiple parallel discharge branches, which can generate diversified charging voltages and discharge voltages, provide a high-voltage and large-current charging mode, improve the charging efficiency, and after the high-voltage and large-current charging is completed, the multiple battery units can output electrical energy within the voltage range used by normal loads.

[0049] As Figure 2 shown, in one embodiment, the multiple battery units can be a battery pack composed of two battery units, including a first battery unit 111 and a second battery unit 113, and the multiple battery units can be used as a battery pack to supply power to a load. The multiple switch units include a first switch unit 121 and a second switch unit 123.

[0050] The first control unit 130 is respectively connected to the first switch unit 121 and the second switch unit 123. The first control unit 130 controls the first battery unit 111, the second switch unit 121, and the second battery unit 113 to be connected in sequence to form a first series charge and discharge branch. The first control unit 130 can also control the first battery unit 111 and the first switch unit 121 to be connected to form a first charge and discharge branch, and control the second switch unit 123 and the second battery unit 113 to be connected to form a second charge and discharge branch, where the first battery unit and the second battery unit are in parallel.

[0051] In one embodiment, one end of the first battery unit 111 is connected to the positive output terminal VBAT+ of the battery control system; the other end of the first battery unit 111 is connected to one end of the second battery unit 113 through the first switch unit 121; the other end of the second battery unit 113 is grounded. Herein, the positive output terminal VBAT+ of the battery control system can be understood as the positive output terminal of a battery pack composed of multiple battery units, and the grounding terminal of the battery control system can be understood as the grounding terminal of this battery pack.

[0052] In one embodiment, the first switch unit 121 includes a first output terminal and a second output terminal. Among them, the first output terminal of the first switch unit 121 is connected to the second battery unit 113 to form a path A1, and the second output terminal of the first switch unit 121 is grounded to form a path A2. Herein, the first output terminal and the second output terminal can be understood as power output terminals, and the power can be controlled to output in two different directions through the first switch unit 121. The first switch unit 121 further includes a power incoming terminal for connecting the incoming line of the power supply, and this power incoming terminal is connected to the first battery unit 111. For example, the first switch unit 121 can be a single-pole double-throw switch, a relay, or other switch components having two power output terminals.

[0053] One end of the second switch unit 123 is connected to the positive output terminal; the other end of the second switch unit 123 is connected to the second battery unit 113, or the other end of the second switch unit 123 is connected into the path A1 formed by the first switch unit 121 and the second battery unit 113.

[0054] The first control unit 130 is respectively connected to the first switch unit 121 and the second switch unit 123, and controls the on / off of the first switch unit 121 and the second switch unit 123 according to the received charge control signal, so that the first battery unit 111, the first switch unit 121, and the second battery unit 113 form a first series charge branch to charge the first battery unit 111 and the second battery unit 113.

[0055] In one embodiment, when the battery pack in the battery control system needs to be charged, the first control unit 130 receives a corresponding charging control signal. The battery control system outputs a corresponding first on / off instruction to the first switch unit 121 and the second switch unit 123 according to the received charging control signal, controls the incoming end of the first switch unit 121 to conduct with the first output end (i.e., switch to path A1), and simultaneously controls the second switch unit 123 to cut off power, so that the first battery unit 111 and the second battery unit 113 are connected in series, thereby forming a first series charging circuit. For this series charging circuit, refer to Figure 2 as shown by the solid arrow direction in, from the positive output terminal VBAT+ of the battery pack, through the first battery unit 111, the first switch unit 121, and the second battery unit 113 directly to the ground terminal GND. During the charging process, the output voltage of the battery pack is the sum of the output voltages of the first battery unit 111 and the second battery unit 113. That is to say, during the charging process, the first battery unit 111 and the second battery unit 113 can achieve high-voltage direct charging through series connection, improving the charging speed and efficiency.

[0056] In one embodiment, the first control unit 130 controls the on / off of the first switch unit 121 and the second switch unit 123 according to the received discharge control signal, so that the first battery unit 111 and the first switch unit 121 form a first discharge branch, and the second switch unit 123 and the second battery unit 113 form a second discharge branch, wherein the first discharge branch is in parallel with the second discharge branch.

[0057] In one embodiment, when the battery control system needs to supply power to a load, the first control unit 130 receives a corresponding discharge control signal. The battery control system outputs a corresponding second on / off instruction to the first switch unit 121 and the second switch unit 123 according to the received discharge control signal, controls the incoming end of the first switch unit 121 to conduct with the second output end (i.e., switch to path A2), and simultaneously controls the second switch unit 123 to conduct, so that the first battery unit 111 and the first switch unit 121 form a first discharge branch, and the second switch unit 123 and the second battery unit 113 form a second discharge branch, that is, the first battery unit 111 and the second battery unit 113 are connected in parallel. Refer to Figure 3 as shown by the solid arrow direction in, the first discharge branch goes from the ground terminal GND, through the first switch unit 121 and the first battery unit 111 directly to the positive output terminal VBAT+ of the battery pack; refer to Figure 3The dashed arrow in [description]. The second discharge branch goes directly from the ground terminal GND through the second battery unit 113 and the second switch unit 123 to the positive output terminal VBAT+ of the battery pack. When the output voltages of the first battery unit 111 and the second battery unit 113 are the same, the output voltage of the battery pack formed by the first battery unit 111 and the second battery unit 113 is the output voltage of the first battery unit 111 or the output voltage of the second battery unit 113. That is, during the discharge process, the first battery unit 111 and the second battery unit 113 can output a suitable low-voltage signal to supply power to the load through a parallel connection method.

[0058] In one embodiment, the first on-off instruction and the second on-off instruction are stored in the first control unit 130 according to a preset rule. The first control unit 130 is further configured to detect the communication protocol between the battery control system and the load, and send the first on-off instruction and the second on-off instruction according to the corresponding preset rule based on the communication protocol.

[0059] In one embodiment, the battery control system and the load can communicate through the I2C communication protocol. Refer to Figure 2 , the first control unit 130 is further provided with an I2C communication interface respectively used for connecting to the I2C serial data line and the I2C serial clock line. The first control unit 130 is respectively connected to the I2C serial data line (SDA) and the I2C serial clock line (SCL) through the I2C communication interface. When the communication protocol for the battery control system and the load to communicate is the I2C communication protocol, the first on-off instruction and the second on-off instruction can be sent according to the corresponding preset rule based on the communication protocol.

[0060] In one embodiment, the first control unit 130 is provided with a register for storing the control of the first switch unit 121 and the second switch unit 123. The first on-off instruction and the second on-off instruction for controlling the first switch unit 121 and the second switch unit 123 can be directly written into this register, and thus the conduction or disconnection of the first switch unit 121 and the second switch unit 123 can be controlled. For example, the first on-off instruction and the second on-off instruction can be stored in the form of a level, where "1" represents a high-level signal for controlling the conduction of the switch unit, and "0" represents a low-level signal for controlling the disconnection of the switch unit.

[0061] Optionally, the battery control system and the load can communicate through the single-wire Wire protocol. Refer to Figure 3, a single-wire communication interface for connecting to a single-wire communication line is also provided on the first control unit 130, and the single-wire communication interface of the first control unit 130 is connected to the single-wire communication line. When the communication protocol for the battery control system to communicate with the load is the single-wire Wire protocol, the first on-off instruction and the second on-off instruction can be sent according to the corresponding preset rules of the communication protocol. Among them, the first on-off instruction and the second on-off instruction can be stored and sent in the form of pulse signals. For example, the load first sends 8 pulses on the single-wire communication line to inform the first control unit 130 that it is ready to perform an operation. After receiving the pulse signal sent by the load, the first control unit 130 replies with 8 pulse signals, indicating that the first control unit 130 is ready. When the load sends 1 pulse signal, it means that the first switch unit 121 is disconnected or turned off; when the load sends 2 pulse signals, it means that the first switch unit 121 is turned on or opened; when the load sends 3 pulse signals, it means that the second switch unit 123 is disconnected or turned off; when the load sends 4 pulse signals, it means that the second switch unit 123 is turned on and switched to path A; when the load sends 5 pulse signals, it means that the second switch unit 123 is turned on and switched to path B.

[0062] It should be noted that the correspondence between the number of pulsating signals and the first on-off instruction can also be set according to actual needs, and is not limited to the above examples.

[0063] As Figure 4 shown, in one embodiment, the multiple battery units can be a battery pack composed of three battery units, including a first battery unit 111, a second battery unit 113, and a third battery unit 115; the multiple switch units include a first switch unit 121, a second switch unit 123, a third switch unit 125, and a fourth switch unit 127. The third switch unit 125 and the fourth switch unit 127 are respectively connected to the first control unit 130; the first control unit 130 controls the first battery unit 111, the second switch unit 123, and the second battery unit 113 to be connected in sequence to form a second series charge-discharge branch. The first control unit 130 controls the first battery unit 111 and the first switch unit 121 to be connected in sequence to form a third charge-discharge branch, and controls the second switch unit 123, the second battery unit 113, and the third switch unit 125 to be connected in sequence to form a fourth charge-discharge branch; controls the fourth switch unit 127 and the third battery unit 115 to be connected to form a fifth charge-discharge branch.

[0064] In one embodiment, the first battery unit 111, the first switch unit 121, the second battery unit 113, the third switch unit 125, and the third battery unit 115 are connected in sequence, and the other end of the third battery unit 115 is grounded. One end of the second switch unit 123 is connected to the positive output terminal; the other end of the first switch unit 121 is connected to the second battery unit 113, or the other end of the first switch unit 121 is connected to the path A1 formed by the first switch unit 121 and the second battery unit 113. One end of the fourth switch unit 127 is connected to the positive output terminal, and the other end of the fourth switch unit 127 is connected to the third battery unit 115, or the other end of the fourth switch unit 127 is connected to the path B1 formed by the third switch unit 125 and the third battery unit 115.

[0065] In one embodiment, the first switch unit 121 includes a first output terminal and a second output terminal. Among them, the first output terminal of the first switch unit 121 is connected to the second battery unit 113 to form a path A1, and the second output terminal of the first switch unit 121 is grounded to form a path A2. The third switch unit 125 includes a first output terminal and a second output terminal. Among them, the first output terminal of the third switch unit 125 is connected to the third battery unit 115 to form a path B1, and the second output terminal of the third switch unit 125 is grounded to form a path B2. For example, the first switch unit 121 and the third switch unit 125 can be single-pole double-throw switches, relays, or other switch components with two power output terminals.

[0066] The first control unit 130 is respectively connected to the first switch unit 121, the second switch unit 123, the third switch unit 125, and the fourth switch unit 127. In one embodiment, when it is necessary to charge the battery pack in the battery control system, the first control unit 130 outputs corresponding first on / off commands to the first switch unit 121, the second switch unit 123, the third switch unit 125, and the fourth switch unit 127 according to the received charging control signal, controls the first switch unit 121 to switch to the path A1, simultaneously controls the second switch unit 123 to cut off the power and disconnect, simultaneously controls the third switch unit 125 to switch to the path B1, and simultaneously controls the fourth switch unit 127 to cut off the power and disconnect, so that the first battery unit 111, the first switch unit 121, the second battery unit 113, the third switch unit 125, and the third battery unit 115 form a second series charging branch. Refer to Figure 4The solid arrows in [figure] charge the first battery unit 111, the second battery unit 113, and the third battery unit 115. During the charging process, the output voltage of the battery pack is the sum of the output voltages of the first battery unit 111, the second battery unit 113, and the third battery unit 115. That is to say, during the charging process, the first battery unit 111, the second battery unit 113, and the third battery unit 115 can achieve high-voltage direct charging through series connection, improving the charging speed and efficiency.

[0067] In one embodiment, when the battery control system needs to supply power to a load, the first control unit 130 outputs corresponding second on / off instructions to the first switch unit 121, the second switch unit 123, the third switch unit 125, and the fourth switch unit 127 according to the received discharge control signal, controlling the first switch unit 121 to switch to path A2, simultaneously controlling the second switch unit 123 to conduct, simultaneously controlling the third switch unit 125 to switch to path B2, and simultaneously controlling the fourth switch unit 127 to conduct, thereby enabling the first battery unit 111 and the first switch unit 121 to form a third discharge branch, as shown by the solid arrow in Figure 5 ; enabling the second switch unit 123, the second battery unit 113, and the third switch unit 125 to form a fourth discharge branch, as shown by the dashed arrow in Figure 5 ; enabling the fourth switch unit 127 and the third battery unit 115 to form a fifth discharge branch, as shown by the dotted-dashed arrow in Figure 5 . Among them, the third discharge branch, the fourth discharge branch, and the fifth discharge branch are connected in parallel, that is, the first battery unit 111, the second battery unit 113, and the third battery unit 115 are connected in parallel with each other. When the output voltages of the first battery unit 111, the second battery unit 113, and the third battery unit 115 are the same, the output voltage of the battery pack is the output voltage of the first battery unit 111, the second battery unit 113, or the third battery unit 115. That is to say, during the discharging process, the first battery unit 111, the second battery unit 113, and the third battery unit 115 can output appropriate low-voltage signals to supply power to the load through the parallel connection method.

[0068] In one embodiment, the communication methods between the battery control system of the battery pack composed of three battery units and the load can include the I2C communication method and the single-wire communication method. According to the different communication methods, the corresponding preset rules can be used to store and send the first on / off instructions according to the communication protocol. As described in the foregoing embodiments, it will not be elaborated here.

[0069] Optionally, the multi-battery unit can also be a battery pack composed of four, five, six or more battery units. The corresponding multiple switch units can be reasonably set according to the number of battery units. Then, according to the charging or discharging requirements, the first control unit 130 outputs corresponding first on-off instructions to each switch unit, thereby controlling the conduction or disconnection of each switch unit. When charging the battery pack, by controlling the conduction or disconnection of each switch unit, the battery units in the battery pack are connected in series to form a charging series branch, realizing high-voltage direct charging and improving the charging speed and efficiency. When the battery pack supplies power to the load, by controlling the conduction or disconnection of each switch unit, the battery units in the battery pack are connected in parallel to form a parallel discharge branch, and a suitable low-voltage signal can be output to supply power to the load.

[0070] As Figure 6 shown, in one embodiment, the battery control system further includes an interface module 140, a first switch module 150 and a second control unit 160. The interface module 140 is used to connect to an external charging device, and the interface module 140 includes charging interfaces such as VBUS, USB+, USB-, and GND.

[0071] The first switch module 150 is respectively connected to the interface module 140 and the first control unit 130, and is used to connect or disconnect the path formed by the interface module 140 and the first control unit 130. In one embodiment, 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 conduct or disconnect the path formed by the charging interface VBUS and the positive output terminal VBAT+.

[0072] In one embodiment, the preset charging device can be understood as a fast-charging charger or fast-charging adapter that can provide fast charging for load power supply. For example, the charging power that the fast-charging charger or fast-charging adapter can provide is greater than 15W.

[0073] The USB signal in the external charging device is a differential signal, and its signal lines are D+ and D-. Pull-up and pull-down fixed resistors are provided on D+ or D- of the external charging device. The USB1.0 / 1.1 / 2.0 protocols define high-speed and low-speed devices to meet the requirements of different situations. For example, for a high-speed device, D+ is connected to a 1.5kohm pull-up resistor and D- is not connected; for a low-speed device, it is the opposite. When the battery control system is connected to the charging device, the second control unit 160 can quickly identify the resistance value of the fixed resistor on D+ or D- of the charging device, and then determine whether the charging device is a preset charging device.

[0074] The second control unit 160, connected to the interface module 140 and the first switch module 150, is used to identify an external charging device. When the external charging device is a preset charging device, the second control unit 160 controls the first switch module 150 to conduct, forming a path composed of the charging interface VBUS and the positive output terminal VBAT+ to supply power to the load. At the same time, the second control unit 160 is also used to output a charging control signal to the first control unit 130, enabling the external charging device to charge multiple series-connected battery cells simultaneously. Further, the second control unit 160 is respectively connected to the first switch module 150, the charging interfaces USB+ and USB-. The charging current flow direction reference for the preset charging device to charge multiple battery cells and supply power to the load Figure 5 , where the solid arrow is the current flow direction for the preset charging device to charge multiple series-connected battery cells, achieving high-voltage and high-current fast charging, and the dashed arrow is the current flow direction for the preset charging device to supply power to the load.

[0075] In one embodiment, when the external charging device charges multiple series-connected battery cells 120 simultaneously, if the output voltages of the multiple battery cells 120 are not the same and the voltage difference between any two battery cells exceeds a preset threshold, the battery cell can be balanced.

[0076] In one embodiment, the output voltage range of the preset charging device can be 4V - 9V. The battery control system further includes a voltage drop module 170 respectively connected to the first switch module 150 and the load. The voltage drop module 170 is used to reduce the voltage output by the external charging device for supplying power to the load. When the preset charging device supplies power to the load, the charging voltage output by the preset charging device can be stepped down by the voltage drop module 170 and then supplied to the load to meet the power supply requirements for the load.

[0077] In one embodiment, the voltage drop module 170 can also be arranged between the first switch module 150 and the battery cell 110. After the charging voltage output by the preset charging device is stepped down by the voltage drop module 170, it can be used to charge each battery cell 110.

[0078] Such as Figure 7As shown, in one embodiment, the battery control system further includes a charging processing module 180 and a second switch module 190. Among them, the charging processing module 180 is respectively connected to the interface module 140, the second control unit 160, and the first control unit 130 for powering the load. In one embodiment, the charging processing module 180 is respectively connected to the VBUS charging interface, the positive output terminal VBAT+ of the battery control system, and the second switch module 190. The charging processing module 180 can be understood as a charging chip (charging IC), which is used to receive the voltage signal output by an external charging device and process the voltage signal to output a stable voltage signal that can provide power for the load to power the load.

[0079] 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 used to connect or disconnect the path formed by the charging processing module 180 and the load. In one embodiment, the second switch module 190 is respectively connected to the charging processing module 180, the positive output terminal VBAT+ of the battery control system, the first switch module 150, and the load.

[0080] When the battery control system is connected to a charging device, the second control unit 160 can quickly identify the resistance value 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 disconnect and the second switch module 190 to conduct, forming a first path for the external charging device to supply power to the load through the charging processing module 180 and a second path for the external charging device to charge the positive output terminal VBAT+ through the charging processing module 180. Based on the first path, the external charging device supplies power to the load. The second control unit 160 is also used to output a charging instruction to the first control unit 130 based on the second path to control the on / off of the plurality of switch units 120, so that the external charging device charges each parallel-connected battery unit 110.

[0081] In one embodiment, when the first control unit 130 receives a charging signal, it outputs a corresponding on / off instruction to the first switch unit 121 and the second switch unit 123, so that the first switch unit 121 switches to path A2 to form a first charging branch; at the same time, the second switch unit 123 is turned on to form a second charging branch, so that the first battery unit 111 is connected in parallel with the second battery unit 113. That is, the VBUS voltage output by the external charging device is transformed by the charging processing module 180 and then charges each battery unit of the battery pack. The flow direction of its charging current refers to Figure 7 , where the solid arrow is the current flow direction for the charging device to charge multiple parallel-connected battery units, and the dashed arrow is the current flow direction for the charging device to supply power to the load.

[0082] As Figure 8 shown, 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 first control unit 130 outputs corresponding second on / off instructions to the first switch unit 121 and the second switch unit 123 according to the discharge control signal, controls the incoming end and the second output end of the first switch unit 121 to conduct (i.e., switch to path A2), and at the same time controls the second switch unit 123 to conduct, so that the first battery unit 111 and the first switch unit 121 form a first discharge branch, and the second switch unit 123 and the second battery unit 113 form a second discharge branch, that is, the first battery unit 111 and the second battery unit 113 are connected in parallel, as Figure 8 shown. At the same time, the first control unit 130 outputs corresponding on / off instructions to the first switch module 150 and the second switch module 190 according to the discharge control signal, controls the first switch module 150 to disconnect and the second switch module 190 to conduct, and supplies power to the load.

[0083] Optionally, when the battery control system includes at least one of the interface module 140, the first switch module 150, the voltage drop module 170, the second control unit 160, the charging processing module 180, and the second switch module 190, the number of multi-battery units in the battery control system can also be three, four, five or even more, not limited to the two battery units in the above embodiment. The embodiments of three, four, five or even more battery units will not be elaborated here.

[0084] Optionally, the ways for the battery control system of a battery pack composed of three, four, five or even more battery units to communicate with the load can include I2C communication mode and single-wire communication mode. According to different communication modes, the corresponding preset rules can be used to store and send the first on / off instruction, the second on / off instruction, and the third on / off instruction according to the communication protocol. As described in the foregoing embodiments, it will not be elaborated here.

[0085] The division of each module and unit in the above battery control system is only for illustrative purposes. In other embodiments, the battery control system can be divided into different modules and units as needed to complete all or part of the functions of the above battery control system.

[0086] Each module and unit in the above battery control system can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules and units can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules and units.

[0087] The present application also provides a battery control method, which is applied to a battery control system. The battery control system includes a plurality of battery units and a plurality of switch units. Among them, the battery units are used to store electric energy and supply power to loads; the plurality of switch units are connected to the plurality of battery units to form a plurality of charge and discharge branches. As Figure 9 shown, the battery control method includes step 902-step 904.

[0088] Step 902, receiving a charge control signal and a discharge control signal.

[0089] The charge control signal and the charge and discharge control signal can be obtained according to the remaining power of the battery unit or an external charging device connected to the battery control system. For example, when the remaining power of the battery unit is lower than a preset value, a charge control signal can be output to charge the battery unit; or, when an external charging device is connected to the battery control system, a charge control signal can also be output to supply power to the load through the external charging device and charge the plurality of battery units through the external charging device. When no external charging device is connected to the battery control system, a discharge control signal can also be output to supply power to the load using the electric energy stored in the battery unit.

[0090] Among them, the charge control signal is used to indicate that the plurality of battery units are connected in series to form a series charge branch, and the discharge control signal is used to indicate that the plurality of battery units are connected in parallel to form a parallel charge branch.

[0091] Step 904, controlling the on / off of the plurality of switch units according to the charge control signal so that the plurality of battery units are connected in series to form a series charge branch; and controlling the on / off of the plurality of switch units according to the discharge control signal so that the plurality of battery units are connected in parallel to form a parallel discharge branch.

[0092] In one embodiment, the battery control system controls the on / off of the plurality of switch units according to the received charge control signal, so that the plurality of battery units are connected in series to form a series charge branch, and then charges the plurality of battery units based on the external charging device and the series charge branch. After the series charge branch is formed, the total charging voltage of the battery pack composed of the plurality of battery units is the sum of the output voltages of each battery unit.

[0093] In one embodiment, the battery control system controls the on / off of the plurality of switch units according to the received discharge control signal, and finally connects each battery unit in parallel with each other to form a plurality of parallel discharge branches. At this time, when the output voltages of each battery unit are the same, the total output voltage of the battery pack composed of the plurality of battery units is the output voltage of any current battery unit; when the input voltages of each battery unit are different, according to the parallel voltage calculation method, the total output voltage of the battery pack is obtained according to the output voltages of each battery unit.

[0094] The above battery control method can control the on / off of each switching unit according to the received charging control signal, so that multiple battery units are connected in series to form a series charging branch; and control the on / off of each switching unit according to the received discharging control signal, so that each battery unit is connected in parallel with each other to form a multi-day parallel discharging branch, which can generate diversified charging voltages and discharging voltages, provide a charging mode with high voltage and large current, improve the charging efficiency, and after the high-voltage and large-current charging is completed, the multiple battery units can output electrical energy within the voltage range used by normal loads.

[0095] As Figure 10 shown, the battery control method further includes:

[0096] Step 1002: Obtain the communication protocol for the battery control system to communicate with the load.

[0097] The battery control system and the load can communicate through the I2C communication protocol or the single-wire Wire communication protocol. For example, the communication interface of the logic control unit used to send the first on / off command in the battery control system can be detected. When the communication interface is provided with an I2C communication interface for connecting to the I2C serial data line and the I2C serial clock line, it can be considered that the communication protocol for the battery control system to communicate with the load is the I2C communication protocol; when the communication interface is provided with a single-wire communication interface for connecting to the single-wire communication line, it can be considered that the communication protocol for the battery control system to communicate with the load is the single-wire Wire communication protocol.

[0098] Optionally, the communication protocol for the battery control system to communicate with the load can be preset and stored in the battery control system, and the communication protocol can be directly retrieved from the battery control system.

[0099] Step 1004: According to the communication protocol, store and send the first on / off command output according to the charging control signal and the second on / off command output according to the discharging control signal according to preset rules, where both the first on / off command and the second on / off command are used to control the on / off of multiple switching units. Among them, the first on / off command and the second on / off command can be level signals or pulse signals.

[0100] Each switching unit can control its own conduction or disconnection according to the received first on / off command. Among them, the first on / off commands received by each switching unit can be the same or different. For example, the first on / off command received by the first switching unit is used to indicate that the switching unit conducts, and the first on / off command received by the second switching unit is used to indicate that the switching unit disconnects and does not conduct.

[0101] Among them, the battery control system can output a first on / off instruction for controlling the on / off of each switching unit according to the charging control signal, and finally connect multiple battery units 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 switching unit according to the discharge control signal, and finally connect multiple battery units in parallel to form a parallel charging branch.

[0102] Each switching unit can control its own conduction or disconnection according to the received first on / off instruction or second on / off instruction. Among them, the first on / off instruction or second on / off instruction received by each switching unit can be the same or different. For example, the first on / off instruction received by the first switching unit is used to indicate that the switching unit conducts, and the second on / off instruction received by the first switching unit is used to indicate that the switching unit disconnects and does not conduct.

[0103] When the communication protocol for the battery control system to communicate with the load is the I2C communication protocol, the first on / off instruction and the second on / off instruction can be sent according to the corresponding preset rules of the communication protocol. For example, there is a register in the logic control unit, and the first on / off instruction and the second on / off instruction for controlling multiple switching units can be directly written into this register, and then the control of the conduction or disconnection of multiple switching units can be realized. For example, the first on / off instruction and the second on / off instruction can be stored in the form of electrical levels, where "1" represents a high-level signal for controlling the conduction of the switching unit, and "0" represents a low-level signal for controlling the disconnection of the switching unit.

[0104] When the communication protocol for the battery control system to communicate with the load is the single-wire Wire protocol, the first on / off instruction and the second on / off instruction can be sent according to the corresponding preset rules of the communication protocol. For example, the first on / off instruction and the second on / off instruction can be stored and sent in the form of pulse signals. For example, the load first sends 8 pulses on the single-wire communication line to inform the first control unit 130 to be ready to operate. After receiving the pulse signal sent by the load, the first control unit 130 replies with 8 pulse signals, indicating that the first control unit 130 is ready. When the load sends 1 pulse signal, it means that the first switching unit 121 disconnects or closes; when the load sends 2 pulse signals, it means that the first switching unit 121 conducts or opens; when the load sends 3 pulse signals, it means that the second switching unit 123 disconnects or closes; when the load sends 4 pulse signals, it means that the second switching unit 123 conducts and switches to path A; when the load sends 5 pulse signals, it means that the second switching unit 123 conducts and switches to path B.

[0105] In one embodiment, the battery control system further includes an interface module for connecting to an external charging device, and a first switching module for connecting or disconnecting the path formed between the interface module and multiple battery units. As Figure 11As shown, the battery control method further includes:

[0106] Step 1102: Identify whether the charging device externally connected to the battery control system is a preset charging device.

[0107] The interface module is used to connect to an external charging device. The interface module includes VBUS, USB+, USB-, and GND charging interfaces. The preset charging device can be understood as a fast charging charger or a fast charging adapter that can provide fast charging for a load. The USB signal in the external charging device is a differential signal, and its signal lines are D+ and D-. Pull-up or pull-down fixed resistors are provided on D+ or D- of the external charging device. The USB1.0 / 1.1 / 2.0 protocol defines high-speed and low-speed devices to meet the requirements of different situations. For example, for a high-speed device, D+ is connected to a 1.5kohm pull-up resistor and D- is not connected; for a low-speed device, it is the opposite. When the battery control system accesses a charging device, the battery control system can quickly identify the resistance value of the fixed resistor on D+ or D- of the charging device, and then determine whether the charging device is a preset charging device.

[0108] Step 1104: When the charging device is a preset charging device, control the first switch module to conduct to supply power to the load; and generate a charging control signal to enable the external charging device to charge a plurality of series-connected battery cells.

[0109] As Figure 6 shown, when the charging device is a preset charging device, the battery control system controls the first switch module to conduct to form a path composed of the charging interface VBUS and the positive output terminal VBAT+ to supply power to the load. At the same time, the battery control system can also generate a charging control signal and control the on / off of multiple switch units according to the charging control signal, so that multiple battery cells are connected in series to form a series charging branch of multiple batteries, enabling the preset charging device to charge the series-connected multiple battery cells simultaneously.

[0110] In one embodiment, the battery control system further includes a charging processing module for supplying power to the load, and a second switch module for connecting or disconnecting the path formed between the charging processing module and the load. The battery control method further includes:

[0111] Step 1106: When the charging device is not a preset charging device, control the first switch module to disconnect and the second switch module to conduct, so that the charging device uses the charging processing module to supply power to the load; and generate a charging signal to enable the charging device to use the charging processing module to charge a plurality of parallel-connected battery cells. When the battery control system accesses a charging device, the battery control system can quickly identify the resistance value of the fixed resistor on D+ or D- of the charging device, and then determine whether the charging device is a preset charging device. As Figure 7As shown, when the charging device is not a preset charging device, the battery control system controls the first switch module to disconnect and the second switch module to conduct, forming a first path for supplying power to the load from the charging interface VBUS through the charging processing module and a second path for charging the positive output terminal VBAT+ from the charging interface VBUS through the charging processing module 180, and then supplying power to the load based on the first path. The battery control system is also used to generate a charging signal so that the charging device charges a plurality of battery cells connected in parallel by using the charging processing module. For example, the multi-battery system also outputs on / off instructions to the first switch unit and the second switch unit at the same time, causing the first switch unit to switch to path A2 to form a first charging branch; and causing the second switch unit to conduct at the same time to form a second charging branch, so that the first battery cell and the second battery cell are connected in parallel. That is, the VBUS voltage output by the external charging device is transformed by the charging processing module and then charges each battery cell of the battery pack.

[0112] In one embodiment, the battery control method further includes: when the battery control system is not connected to a charging device, generating a discharge control instruction to control the on / off of each switch unit, so that each battery cell is connected in parallel with each other to form a parallel discharge branch to supply power to the load.

[0113] In one embodiment, as Figure 8 shown, when the multi-battery charging system is not connected to an external charging device and needs to supply power to the load, the battery control system outputs a second on / off instruction to the first switch unit and the second switch unit according to the discharge control signal, controls the incoming end of the first switch unit to conduct with the second output end (i.e., switch to path A2), and simultaneously controls the second switch unit to conduct, so that the first battery cell and the first switch unit form a first discharge branch, and the second switch unit and the second battery cell form a second discharge branch, that is, the first battery cell and the second battery cell are connected in parallel. At the same time, the battery control system outputs corresponding on / off instructions to the first switch module and the second switch module according to the discharge control signal, controls the first switch module to disconnect and the second switch module to conduct, and supplies power to the load. That is, the first battery cell and the second battery cell are connected in parallel and supply power to the load at the same time.

[0114] It should be understood that although Figures 9 - 11 the steps in the flowchart of Figures 9 - 11At least some of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages do not necessarily need to be executed and completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages does not necessarily need to be sequential, but can be executed alternately or in turn with at least some of the sub-steps or stages of other steps or other steps.

[0115] This application also provides an electronic device, including the battery control system in any of the above embodiments. The battery control system can be used to store electrical energy and supply power to a load.

[0116] The embodiments of this application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, cause the processors to execute the steps of the battery control method.

[0117] A computer program product containing instructions, when it runs on a computer, causes the computer to execute the battery control method.

[0118] The embodiments of this application also provide an electronic device. As Figure 12 shown, for the sake of convenience of description, only the parts related to the embodiments of this application are shown. For the specific technical details not disclosed, please refer to the method part of the embodiments of this application. The electronic device can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, a wearable device, etc., or an electronic device such as a mobile power supply, a power bank, a charger, etc. Taking the electronic device as a mobile phone as an example:

[0119] Figure 12 It is a block diagram of a part of the structure of a mobile phone related to the electronic device provided by the embodiments of this application. Refer to Figure 12 , the mobile phone includes: a radio frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a sensor 1250, an audio circuit 1260, a wireless fidelity (WiFi) module 1270, a processor 1280, and a power supply 1290, etc. Those skilled in the art can understand that Figure 12 the shown mobile phone structure does not limit the mobile phone, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0120] Among them, the RF circuit 1210 can be used for receiving and sending signals during information reception and transmission or calls. After receiving the downlink information from the base station, it can be processed by the processor 1280; it can also send the uplink data to the base station. Generally, the RF circuit includes, but is not limited to, antennas, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 1210 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0121] The memory 1220 can be used to store software programs and modules. The processor 1280 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1220. The memory 1220 mainly includes a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the application program for voice playback function, the application program for image playback function, etc.); the data storage area can store the data created according to the use of the mobile phone (such as audio data, address book, etc.). In addition, the memory 1220 can include high-speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0122] The input unit 1230 can be used to receive input digital or character information and generate key signal inputs related to the user settings and function controls of the mobile phone 1200. Specifically, the input unit 1230 can include a touch panel 1231 and other input devices 1232. The touch panel 1231, also known as a touch screen, can collect touch operations of the user thereon or nearby (such as operations of the user using any suitable object or accessory such as a finger or a stylus on or near the touch panel 1231), and drive corresponding connection devices according to a pre-set program. In one embodiment, the touch panel 1231 can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the user and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 1280, and can receive and execute commands sent by the processor 1280. In addition, the touch panel 1231 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1231, the input unit 1230 can also include other input devices 1232. Specifically, the other input devices 1232 can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.).

[0123] The display unit 1240 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1240 can include a display panel 1241. In one embodiment, the display panel 1241 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. In one embodiment, the touch panel 1231 can cover the display panel 1241. After the touch panel 1231 detects a touch operation thereon or nearby, it transmits it to the processor 1280 to determine the type of touch event. Subsequently, the processor 1280 provides a corresponding visual output on the display panel 1241 according to the type of touch event. Although in Figure 12 the touch panel 1231 and the display panel 1241 are implemented as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 1231 and the display panel 1241 can be integrated to realize the input and output functions of the mobile phone.

[0124] The mobile phone 1200 may further include at least one sensor 1250, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel 1241 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1241 and / or the backlight when the mobile phone is moved to the ear. The motion sensor may include an acceleration sensor. Through the acceleration sensor, the magnitude of the acceleration in each direction can be detected, and the magnitude and direction of gravity can be detected when stationary, which can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching), vibration recognition related functions (such as pedometer, tapping), etc.; in addition, the mobile phone may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc.

[0125] The audio circuit 1260, the speaker 1261, and the microphone 1262 can provide an audio interface between the user and the mobile phone. The audio circuit 1260 can transmit the electrical signal converted from the received audio data to the speaker 1261, and the speaker 1261 converts it into a sound signal for output; on the other hand, the microphone 1262 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1260 and then converted into audio data. After the audio data is output to the processor 1280 for processing, it can be sent to another mobile phone through the RF circuit 1210, or the audio data can be output to the memory 1220 for subsequent processing.

[0126] WiFi belongs to short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse the web, and access streaming media through the WiFi module 1270, which provides users with wireless broadband Internet access. Although Figure 12 the WiFi module 1270 is shown, it can be understood that it does not belong to the essential components of the mobile phone 1200 and can be omitted according to needs.

[0127] The processor 1280 is the control center of the mobile phone, connecting various parts of the entire mobile phone using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 1220, and by calling the data stored in the memory 1220, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. In one embodiment, the processor 1280 may include one or more processing units. In one embodiment, the processor 1280 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, the user interface, and application programs, etc.; the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 1280.

[0128] The mobile phone 1200 also includes a power supply 1290 (such as a battery) for powering each component. Preferably, the power supply can be logically connected to the processor 1280 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 1290 includes a plurality of battery units and a plurality of switch units respectively connected to the plurality of battery units one by one. The power supply 1290 can be the power supply device in the embodiments of the present application.

[0129] In one embodiment, the mobile phone 1100 may further include a camera, a Bluetooth module, etc.

[0130] In the embodiments of the present application, when the processor 1180 included in the electronic device executes a computer program stored in the memory, the steps of the multi-battery control method are implemented.

[0131] Any reference herein to memory, storage, database, or other media may include non-volatile and / or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. By way of illustration and not limitation, RAM is available in many 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 memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM).

[0132] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A battery control system, characterized in that, it includes: Multiple battery units for storing electrical energy and powering a load; Multiple switch units connected to the multiple battery units to form charge and discharge branches, for conducting or disconnecting the charge and discharge branches where the battery units are located; A first control unit respectively connected to the multiple switch units, for receiving a charging control signal to control the on / off of the multiple switch units so that the multiple battery units are connected in series to form a series charging branch; and for receiving a discharge control signal to control the on / off of the multiple switch units so that the multiple battery units are connected in parallel to form a parallel discharge branch; the first control unit is a logic control unit; An interface module for connecting to an external charging device; A first switch module respectively connected to the interface module and the first control unit, for connecting or disconnecting the path formed by the interface module and the first control unit; A second control unit respectively connected to the interface module and the first switch module, for identifying the external charging device, when the external charging device is a preset charging device, generating the charging control signal, and controlling the first switch module to conduct to output the charging control signal to the first control unit, so that the external charging device charges the multiple series-connected battery units; when the external charging device is not a preset charging device, outputting a charging instruction to the first control unit to control the on / off of the multiple switch units, so that the external charging device charges each parallel-connected battery unit.

2. The battery control system according to claim 1, characterized in that, the first control unit is used to output a first on / off instruction for controlling the on / off of the multiple switch units according to the received charging control signal, and to output a second on / off instruction for controlling the on / off of the multiple switch units according to the received discharge control signal; wherein, 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 to detect the communication protocol between the battery control system and the load, and send the first on / off instruction and the second on / off instruction according to the corresponding preset rule according to the communication protocol.

3. The battery control system according to claim 2, characterized in that, the system further includes: A voltage drop module respectively connected to the first switch module and the load, for reducing the voltage output by the external charging device for powering the load.

4. The battery control system according to claim 2, characterized in that, the system further includes: A charging processing module respectively connected to the interface module, the second control unit, and the first control unit, for powering the load; A second switch module respectively connected to the charging processing module, the first control unit, the first switch module, and the load, for connecting or disconnecting the path formed by the charging processing module and the load; The second control unit is further used to control the first switch module to disconnect and the second switch module to conduct when the external charging device is not a preset charging device, so that the external charging device powers the load.

5. The battery control system according to claim 1, wherein, the second control unit is further configured to control the first switch module to turn on to supply power to the load when the external charging device is a preset charging device.

6. The battery control system according to claim 1, wherein, the plurality of battery units include a first battery unit and a second battery unit; the plurality of switch units include a first switch unit and a second switch unit; wherein, one end of the first battery unit is connected to the positive output end of the battery control system; the positive output end is the positive output end of a battery pack formed by the plurality of battery units; the other end of the first battery unit is connected to one end of the second battery unit via the first switch unit; the other end of the second battery unit is grounded; one end of the second switch unit is connected to the positive output end, and the other end of the second switch unit is connected to the second battery unit; the first control unit is respectively connected to the first switch unit and the second switch unit, and is configured to control the on / off of the first switch unit and the second switch unit according to the received charging control signal, so that the first battery unit, the first switch unit, and the second battery unit form the series charging branch to charge the first battery unit and the second battery unit.

7. The battery control system according to claim 6, wherein, the first control unit is further configured to control the on / off of the first switch unit and the second switch unit according to the received discharge control signal, so that the first battery unit and the first switch unit form a first discharge branch, and the second switch unit and the second battery unit form a second discharge branch, wherein the first battery unit is in parallel with the second battery unit.

8. The battery control system according to claim 6, wherein, the plurality of battery units further include a third battery unit, and the plurality of switch units further include a third switch unit and a fourth switch unit; wherein, the first battery unit, the first switch unit, the second battery unit, the third switch unit, and the third battery unit are connected in sequence; one end of the fourth switch unit is connected to the positive output end, and the other end of the fourth switch unit is connected to the third battery unit; the first control unit is respectively connected to the first switch unit, the second switch unit, the third switch unit, and the fourth switch unit; the first control unit is configured to control the on / off of the first switch unit, the second switch unit, the third switch unit, and the fourth switch unit according to the received charging control signal, so that the first battery unit, the first switch unit, the second battery unit, the third switch unit, and the third battery unit form the series charging branch to charge the first battery unit, the second battery unit, and the third battery unit.

9. The battery control system according to claim 8, wherein, The first control unit is further configured to control the on / off states of 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 that the first battery unit and the first switch unit form a first discharge branch, the second switch unit, the second battery unit, and the third switch unit form a second discharge branch, and the fourth switch unit and the third battery unit form a third discharge branch, wherein the first battery unit, the second battery unit, and the third battery unit are connected in parallel.

10. A battery control method applied to a battery control system Characterized in that the battery control system includes: an interface module, a first control unit, a second control unit connected to the interface module, a first switch module respectively connected to the interface module, the first control unit, and the second control unit, a plurality of battery units, and a plurality of switch units connected to the plurality of battery units to form a plurality of charge / discharge branches; wherein the first control unit is further respectively connected to the plurality of switch units, and the method includes: The first control unit receives a charge control signal and a discharge control signal; The first control unit controls the on / off states of the plurality of switch units according to the charge control signal to connect the plurality of battery units in series to form a series charge branch, and controls the on / off states of the plurality of switch units according to the discharge control signal to connect the plurality of battery units in parallel to form a parallel discharge branch; the first control unit is a logic control unit; The second control unit identifies whether an external charging device connected to the battery control system is a preset charging device, and when the external charging device is a preset charging device, generates the charge control signal and controls the first switch module to conduct to output the charge control signal to the first control unit, so that the external charging device charges the plurality of battery units connected in series; when the external charging device is not a preset charging device, outputs a charge instruction to the first control unit to control the on / off states of the plurality of switch units, so that the external charging device charges each battery unit connected in parallel.

11. According to the method of claim 10 Characterized in that further includes: Obtaining a communication protocol for the battery control system to communicate with a load; According to the communication protocol, storing and sending a first on / off instruction output according to the charge control signal and a second on / off instruction output according to the discharge control signal according to a preset rule, wherein both the first on / off instruction and the second on / off instruction are used to control the on / off states of the plurality of switch units.

12. According to the method of claim 11, the battery control system further includes a charge processing module for supplying power to the load, and a second switch module for connecting or disconnecting a path formed between the charge processing module and the load; the method further includes: When the charging device is not a preset charging device, the second control unit controls the first switching module to disconnect and the second switching module to conduct, so that the charging device uses the charging processing module to supply power to the load; and generates a charging signal, so that the charging device uses the charging processing module to charge a plurality of the battery units connected in parallel.

13. The method according to claim 12, wherein, the method further includes: When the battery control system is not connected to the charging device, a discharge control instruction is generated to control the on / off of a plurality of switching units, so that each battery unit is connected in parallel with each other to form a plurality of parallel discharge branches to supply power to the load.

14. The method according to claim 10, wherein, the method further includes: When the charging device is a preset charging device, the second control unit controls the first switching module to conduct to supply power to the load.

15. An electronic device, wherein, it includes the battery control system according to any one of claims 1-9.

16. An electronic device, wherein, it includes a plurality of battery units, a plurality of switching units, a memory and a processor; the processor is respectively connected to the plurality of battery units, the plurality of switching units and the memory; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is caused to execute the steps of the method according to any one of claims 10-14.

Citation Information

Patent Citations

  • Power supply circuit

    CN104167778A

  • Battery control systems and methods, electronic devices

    CN110797925B

  • Short -circuit protection interface that charges

    CN206542202U

  • Charging and discharging circuit and mobile terminal

    CN207530551U