WO2022199211A1 - Charging circuit, charging chip, and electronic device - Google Patents

Charging circuit, charging chip, and electronic device Download PDF

Info

Publication number
WO2022199211A1
WO2022199211A1 PCT/CN2022/070378 CN2022070378W WO2022199211A1 WO 2022199211 A1 WO2022199211 A1 WO 2022199211A1 CN 2022070378 W CN2022070378 W CN 2022070378W WO 2022199211 A1 WO2022199211 A1 WO 2022199211A1
Authority
WO
WIPO (PCT)
Prior art keywords
battery
voltage
switching element
control signal
circuit
Prior art date
Application number
PCT/CN2022/070378
Other languages
French (fr)
Chinese (zh)
Inventor
邱钰鹏
周海滨
何忠勇
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2022199211A1 publication Critical patent/WO2022199211A1/en

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
    • H02J7/0014Circuits for equalisation of charge between batteries
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/396Acquisition or processing of data for testing or for monitoring individual cells or groups of cells within a battery
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/441Methods for charging or discharging for several batteries or cells 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
    • 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
    • H02J7/0014Circuits for equalisation of charge between batteries
    • H02J7/0016Circuits for equalisation of charge between batteries using shunting, discharge or bypass circuits
    • 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
    • H02J7/0014Circuits for equalisation of charge between batteries
    • H02J7/0019Circuits for equalisation of charge between batteries using switched or multiplexed charge circuits
    • 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/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • 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/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • 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/007Regulation of charging or discharging current or voltage
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • 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/36Arrangements using end-cell switching

Definitions

  • the present application relates to the technical field of charging and discharging of electronic devices, and in particular, to a charging circuit, a charging chip and an electronic device.
  • the dual-battery charging and discharging circuit can be divided into series charging and discharging (that is, two batteries are charged and discharged in series), series charging and discharging (that is, two batteries are charged and discharged in parallel), and parallel charging and discharging (that is, two batteries are charged and discharged in parallel).
  • the batteries are charged in parallel and discharged in parallel) in several different situations.
  • the series charge and series discharge loss is large.
  • Serial charging and discharging need to change the form of the dual batteries, and the control is complicated.
  • the control of parallel charging and discharging is simple and does not need to change the shape of the dual battery.
  • an embodiment of the present application provides a charging circuit.
  • the charging circuit includes a voltage converter, a controller, a first switching element and a second switching element.
  • the first end of the first switching element is used for coupling with the first battery, and the first end of the second switching element is used for coupling with the second battery.
  • the second terminal of the first switching element and the second terminal of the second switching element are each coupled to the first terminal of the voltage converter to charge the first battery and the second battery.
  • the second end of the voltage conversion circuit is used for coupling with the power adapter.
  • the controller is coupled to the first battery and the second battery to detect the voltage of the first battery and the voltage of the second battery, and output the first control signal and the second control signal according to the voltage difference between the first battery and the second battery.
  • the controller is also coupled to the first switching element for controlling the first switching element to be in an on state, a partial on state or an off state through the first control signal.
  • the controller is also coupled to the second switching element for controlling the second switching element to be in an on state, a partial on state or an off state through the second control signal.
  • the charging currents of the first battery and the second battery can be controlled respectively through the first switching element and the second switching element in the charging circuit, so as to avoid the first
  • the parameters of the battery and the second battery are inconsistent or the impedance of the charging path (such as the charging path formed by the charging circuit to the first battery) is unbalanced, resulting in a problem that a battery cannot be fully charged, so that the first battery and the second battery cannot be fully charged.
  • Both batteries can reach a fully charged state, so as to increase the available capacity of the battery in the electronic device and improve the use performance of the battery.
  • the first control signal is used to control the conduction of the first switching element to charge the first battery
  • the second control signal is used to control the incomplete conduction of the second switching element to charge the second battery.
  • the second switch element is equivalent to a variable resistance resistor, which can pull a larger current, so that the second battery can also be charged through the voltage converter, and the larger load can be pulled through the second switch element.
  • the current of the second battery is adjusted to increase the voltage of the second battery, so as to reduce the voltage difference between the first battery and the second battery.
  • the first control signal is used to control the first switching element to not be fully turned on, so that the first battery is voltage-regulated and charged; the second control signal is used to control the conduction of the second switching element to charge the second battery.
  • the first switching element is equivalent to a variable resistance resistor, which can pull a larger current, so that the charging circuit can charge the first battery through the voltage converter, and pull the load through the first switching element.
  • the voltage of the first battery is adjusted to increase the voltage of the first battery, so as to reduce the voltage difference between the first battery and the second battery.
  • the first control signal when the first battery and the second battery are in a charged state, if the voltage difference between the first battery and the second battery is less than or equal to a preset threshold, the first control signal is used to control the The first switching element is turned on to charge the first battery; the second control signal is used to control the conduction of the second switching element to charge the second battery.
  • the paths from the charging circuit to the first battery and the second battery are both open, and the charging circuit can respectively charge the first battery and the second battery through the voltage converter.
  • both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery.
  • the controller of the charging circuit is further used to detect the voltage of the first battery and the voltage of the second battery, and according to the first battery and the second battery The pressure difference outputs the first control signal and the second control signal.
  • the first control signal is also used to control the first switching element to be in an off state.
  • the second control signal is also used to control the second switching element to be in an off state.
  • the battery with a larger voltage among the first battery and the second battery may supply power to the working circuit first, and wait for the first battery and the second battery to supply power to the working circuit. After the voltage difference of the second battery is reduced, both the first battery and the second battery supply power to the working circuit, so as to avoid the large voltage difference between the first battery and the second battery, which may lead to high current mutual charging, burn the device or damage the battery The phenomenon.
  • the first control signal is used to control the first switching element to be turned on, so that the The first battery supplies power to the working circuit;
  • the second control signal is used to control the second switching element to be turned off, so that the second battery does not supply power to the working circuit.
  • the first control signal is used to control the first switching element to turn off, so that the first battery does not operate supply power to the working circuit;
  • the second control signal is used to control the conduction of the second switch element, so that the second battery supplies power to the working circuit.
  • the first control signal is used to control the conduction of the first switching element, so that the first battery supplies power to the working circuit; the second control signal is used to control the first switching element to be turned on. The two switching elements are turned on, so that the second battery supplies power to the working circuit.
  • the battery with a lower voltage among the first battery and the second battery can supply power to the working circuit first, while the first battery and the second battery are in a state of discharge.
  • the battery with the larger voltage in the second battery is in a voltage regulation state; when the voltage difference between the first battery and the second battery is reduced, both the first battery and the second battery supply power to the working circuit, so as to avoid the first battery and the second battery.
  • the voltage difference between the two batteries is large, which leads to a large current charging each other, resulting in the phenomenon of burning the device or damaging the battery.
  • the first control signal is used to control the first switching element not to be fully turned on , so that the first battery supplies power to the working circuit and regulates the voltage; the first control signal is used to control the conduction of the second switching element, so that the second battery supplies power to the working circuit.
  • the first control signal is used to control the conduction of the first switching element, so that the first battery is turned on.
  • the working circuit supplies power; the second control signal is used to control the second switching element not to be completely turned on, so that the second battery supplies power to the working circuit and regulates the voltage.
  • the first control signal is used to control the conduction of the first switching element, so that the first battery supplies power to the working circuit; the second control signal is used to control the first switching element to be turned on. The two switching elements are turned on, so that the second battery supplies power to the working circuit.
  • the controller includes a drive circuit and a voltage detection circuit; the voltage detection circuit is used for coupling with the first battery to detect the voltage of the first battery.
  • the voltage detection circuit is further coupled to the second battery to detect the voltage of the second battery.
  • the drive circuit is coupled to the voltage detection circuit for acquiring the voltage of the first battery and the voltage of the second battery.
  • the first output terminal of the driving circuit is used for outputting the first control signal, and is coupled with the control terminal of the first switching element.
  • the second output terminal of the driving circuit is used for outputting the second control signal and is coupled with the control terminal of the second switching element.
  • controller is implemented by hardware structures such as a drive circuit and a voltage detection circuit, and the response speed of the controller is faster, which can effectively avoid the instantaneous high current generated at the moment of switching the control signal. damage, thereby making the charging circuit more reliable.
  • the controller is further configured to connect to a communication control bus, and the communication control bus is used to control the controller to perform voltage detection and output the first control signal and the second control signal.
  • a communication control bus eg, I2C bus
  • the charging chip further includes a communication control interface, and the communication control interface is used for coupling the communication control bus and the controller.
  • an embodiment of the present application provides an electronic device.
  • the electronic device includes a first battery, a second battery, a working circuit, and a charging chip in any possible implementation manner of the above second aspect.
  • the first battery is coupled with the third interface of the charging chip to supply power to the working circuit.
  • the second battery is coupled to the fourth interface of the charging chip to supply power to the working circuit.
  • the embodiments of the present application provide another electronic device.
  • the electronic device includes a power supply battery, a working circuit, and a charging chip in any possible implementation manner of the second aspect above.
  • the power supply battery includes a first positive electrode and a second positive electrode.
  • the first positive electrode is coupled with the third interface of the charging chip to supply power to the working circuit.
  • the second positive electrode is coupled to the fourth interface of the charging chip to supply power to the working circuit.
  • an embodiment of the present application provides a method for controlling a charging circuit.
  • the control method is applicable to the charging circuit in any possible implementation manner of the above first aspect.
  • the above control method includes: the controller detects the voltage of the first battery and the voltage of the second battery.
  • the controller outputs the first control signal and the second control signal according to the pressure difference between the first battery and the second battery.
  • the first control signal controls the first switching element to be in a conducting, incompletely conducting or off state
  • the second control signal controls the second switching element to be in a conducting, incompletely conducting or off state.
  • the first control signal controls the first switching element to be in an on state, not fully on or off
  • the second control signal controls the second switch element to be on, not fully on or off
  • the off state includes: when the first battery and the second battery are in the charging state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than a preset threshold, Then, the first control signal is used to control the conduction of the first switch element to charge the first battery; the second control signal is used to control the second switch element to not be fully turned on, so that the voltage of the second battery is regulated and charged.
  • the first control signal controls the first switching element to be in an on state, not fully on or off
  • the second control signal controls the second switch element to be on, not fully on or off
  • the off state includes: when the first battery and the second battery are in the charging state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, Then, the first control signal is used to control the first switching element to be not fully turned on, so that the first battery is charged and voltage-regulated; the second control signal is used to control the second switching element to be turned on, so that the second battery is charged.
  • the first control signal when the first battery and the second battery are in a charged state, if the voltage difference between the first battery and the second battery is less than or equal to a preset threshold, the first control signal is used to control the The first switching element is turned on to charge the first battery; the second control signal is used to control the conduction of the second switching element to charge the second battery.
  • both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery.
  • the first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state
  • the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the second battery.
  • a switch element is turned on to make the first battery supply power to the working circuit; the second control signal is used to control the second switch element to be turned off, so that the second battery does not supply power to the working circuit.
  • both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery.
  • the first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state
  • the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the first battery.
  • a switch element is turned off, so that the first battery does not supply power to the working circuit; the second control signal is used to control the second switching element to be turned on, so that the second battery supplies power to the working circuit.
  • both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery.
  • the first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state
  • the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the second battery.
  • a switch element is not fully turned on, so that the first battery supplies power to the working circuit and regulates the voltage; the first control signal is used to control the conduction of the second switch element, so that the second battery supplies power to the working circuit.
  • both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery.
  • the first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state
  • the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the first battery.
  • a switch element is turned on to make the first battery supply power to the working circuit; the second control signal is used to control the second switch element not to be fully turned on, so that the second battery supplies power to the working circuit and regulates the voltage.
  • both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery.
  • the first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state
  • the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in the discharge state, if the voltage difference between the first battery and the second battery is less than or equal to the preset threshold, the first control signal is used to control the conduction of the first switching element to make the first battery work
  • the circuit supplies power; the second control signal is used to control the conduction of the second switch element, so that the second battery supplies power to the working circuit.
  • the embodiments of the present application provide yet another electronic device.
  • the electronic device includes a first battery, a second battery, a charging circuit and a working circuit. Wherein, the first battery and the second battery are coupled with the working circuit through the charging circuit.
  • the charging circuit is configured to perform the method in any of the possible implementations of the fifth aspect above.
  • any of the control methods, charging chips, and electronic devices provided above for any charging circuit can be implemented by the corresponding charging circuits provided above, or related to the corresponding charging circuits provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the charging circuit provided above, which will not be repeated here.
  • FIG. 1 is a schematic structural diagram 1 of an electronic device with dual batteries charging and discharging simultaneously;
  • FIG. 2 is a second structural schematic diagram of an electronic device with dual batteries charging and discharging simultaneously;
  • FIG. 3 is a schematic structural diagram 1 of an electronic device including a charging circuit according to an embodiment of the present application
  • FIG. 3A is a first waveform diagram of a first control signal and a second control signal provided by an embodiment of the application;
  • 3B is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3A ;
  • FIG. 3C is a second waveform diagram of the first control signal and the second control signal provided by the embodiment of the application;
  • FIG. 3D is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3C ;
  • FIG. 3E is a third waveform diagram of the first control signal and the second control signal provided by the embodiment of the application.
  • FIG. 3F is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3E ;
  • 3G is a fourth waveform diagram of the first control signal and the second control signal provided by the embodiment of the application.
  • FIG. 3H is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3G ;
  • 3I is a waveform diagram 5 of the first control signal and the second control signal provided by the embodiment of the application;
  • 3J is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3I;
  • FIG. 4 is a second schematic structural diagram of an electronic device including a charging circuit according to an embodiment of the present application.
  • FIG. 5 is a flowchart of a method for controlling a charging circuit provided by an embodiment of the present application
  • FIG. 6 is a flowchart of a charging and discharging method of an electronic device including a charging circuit provided by an embodiment of the present application;
  • FIG. 7 is a third schematic structural diagram of an electronic device including a charging circuit according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a charging chip according to an embodiment of the present application.
  • orientations may include, but are not limited to, the orientations relative to the schematic placement of the components in the drawings. It should be understood that these orientations The terminology can be a relative concept, and they are used for relative description and clarification, which can change correspondingly according to the change of the orientation in which the components are placed in the drawings.
  • connection should be understood in a broad sense.
  • connection may be a fixed connection, a detachable connection, or an integrated body; it may be directly connected, or Can be indirectly connected through an intermediary.
  • coupled may be means of electrical connections that enable signal transmission.
  • FIG. 1 is a schematic structural diagram 1 of an electronic device with dual batteries charged and discharged simultaneously.
  • the electronic device includes a charging circuit, a working circuit, a first battery and a second battery.
  • the first battery and the second battery can be coupled with the power adapter through a charging circuit, and the first battery and the second battery can also be coupled with the working circuit through the charging circuit.
  • the power adapter converts the 220-volt commercial power into direct current through the AC-DC converter, and charges the first battery and the second battery.
  • the working circuit may include a processor, a memory, a communication interface, etc., and the working circuit may also be a power management integrated circuit (power management IC, PMIC), or a system on a chip (system on a chip, SoC).
  • power management IC power management integrated circuit
  • SoC system on a chip
  • FIG. 2 is a second structural schematic diagram of an electronic device with dual-battery charging and discharging.
  • the first battery and the second battery in the electronic device can also use two independent charge pump chips to charge the first battery and the second battery respectively, so as to quickly charge the first battery and the second battery. charging to increase the speed of charging.
  • the above electronic device further includes a first charge pump chip and a second charge pump chip. Wherein, one end of the first charge pump chip is coupled with the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled with the first battery. One end of the second charge pump chip is coupled to the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled to the second battery.
  • the power adapter simultaneously charges the first battery and the second battery through a charging circuit, or uses a charge pump chip to charge the first battery and the second battery. Due to inconsistent parameters (such as cut-off voltage) of the first battery and the second battery, and the existence of the path impedance, there may be a situation where one of the first battery and the second battery cannot be fully charged, thus causing the battery of the electronic device to be usable. Smaller capacity issues.
  • the embodiment of the present application provides a charging circuit applied to the electronic equipment in the above-mentioned FIG. 1 and FIG. 2 .
  • the charging voltage is adjusted so that both batteries of different capacities can be fully charged, thereby increasing the usable capacity of the battery of the electronic device.
  • the above charging circuit includes a voltage converter, a controller, a first switching element Q1 and a second switching element Q2.
  • the first end of the first switching element Q1 is used for coupling with the first battery
  • the first end of the second switching element Q2 is used for coupling with the second battery.
  • the second terminal of the first switching element Q1 and the second terminal of the second switching element Q2 are both coupled to the first terminal of the voltage converter, so that the voltage converter charges the first battery and the second battery.
  • the second end of the voltage conversion circuit is used for coupling with the power adapter, and is used for obtaining the direct current Vbus output by the power adapter.
  • the voltage converter can convert the direct current Vbus output from the power adapter into the direct current (Vsys voltage shown in FIG. 1 ) suitable for the working circuit of the electronic device.
  • the voltage converter may be a DC-DC conversion circuit (eg, a buck circuit) or a DC-DC conversion chip (eg, a buck chip) and other circuits that perform DC voltage conversion, which are not specifically limited in this application.
  • the first switching element Q1 and the second switching element Q2 may be devices with switching functions such as metal-oxide-semiconductor field-effect transistor (MOSFET).
  • MOSFET metal-oxide-semiconductor field-effect transistor
  • both the first switching element Q1 and the second switching element Q2 may be an N-type MOS transistor or a P-type MOS transistor.
  • the first end of the first switching element Q1 may be the source (source, S) of the MOS transistor, or the drain (drain, D) of the MOS transistor; the second end of the first switching element Q1 may be the source (source, S) of the MOS transistor.
  • the drain can also be the source of the MOS transistor.
  • the first end of the second switching element Q2 may be the source of the MOS transistor or the drain of the MOS transistor; the second end of the second switching element Q2 may be the drain of the MOS transistor or the MOS transistor source of the tube.
  • the control terminal of the first switching element Q1 and the control terminal of the second switching element Q2 may be the gate (gate, G) of the MOS transistor.
  • the above-mentioned controller is used for coupling with the first battery and the second battery to detect the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, and output the first control signal and the second battery according to the voltage difference between the first battery and the second battery control signal.
  • the above-mentioned controller is also coupled to the control terminal of the first switching element Q1 for outputting a first control signal to the first switching element Q1, and controlling the first switching element Q1 to be in a conducting state or an incomplete conducting state through the first control signal , so that the first battery is in a state of charge or voltage regulation.
  • the above-mentioned controller is also coupled to the control terminal of the second switching element Q2 for outputting a second control signal to the second switching element Q2, and controlling the second switching element Q2 to be in a conducting or incompletely conducting state through the second control signal , so that the second battery is in a state of charge or voltage regulation.
  • the above-mentioned controller may include a drive circuit and a voltage detection circuit.
  • the voltage detection circuit is used for coupling with the first battery to detect the voltage Vbat1 of the first battery.
  • the voltage detection circuit is also used for coupling with the second battery to detect the voltage Vbat2 of the second battery.
  • the drive circuit is coupled to the voltage detection circuit, and is used to obtain the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery from the voltage detection circuit, and output the first control signal and the second battery according to the voltage difference between the first battery and the second battery.
  • the control signal is used to control the first switching element Q1 and the second switching element Q2 to be in a conducting state or an incomplete conducting state.
  • the driving circuit includes two output terminals, wherein the first output terminal of the driving circuit is used for outputting the first control signal and is coupled with the control terminal of the first switching element Q1, so that the first control signal controls the first switching element Q1 in a conducting or incompletely conducting state.
  • the second output terminal of the driving circuit is used for outputting the second control signal, and is coupled to the control terminal of the second switching element Q2, so that the second control signal controls the second switching element Q2 to be in a conducting state or an incomplete conducting state.
  • the above-mentioned controller is implemented by hardware circuit structures such as a drive circuit and a voltage detection circuit, in order to control the working state of the controller and perform data detection, the above-mentioned controller is also connected to a communication control bus, such as an integrated circuit interconnect (inter-integrated circuit, I2C) bus, the I2C bus can be used to control the voltage detection circuit of the controller to perform voltage detection, and can also control the voltage detection circuit to output the first control signal and the second control signal.
  • a communication control bus such as an integrated circuit interconnect (inter-integrated circuit, I2C) bus
  • I2C bus can be used to control the voltage detection circuit of the controller to perform voltage detection, and can also control the voltage detection circuit to output the first control signal and the second control signal.
  • a first detector may be coupled to a path where the first battery is located
  • a second detector may be coupled to a path where the second battery is located.
  • the first detector can detect the voltage Vbat1 of the first battery
  • the second detector can detect the voltage Vbat2 of the second battery.
  • the voltage detection control module may be coupled with the first detector and the second detector to obtain detection data of the first detector and the second detector, the detection data may include the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery Wait.
  • the controller may acquire the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery detected by the first detector, and output the first control signal and the first control signal according to the voltage difference between the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery.
  • Two control signals so that the first control signal controls the first switching element Q1 to be in a conducting state or an incompletely conducting state, and the second control signal controls the second switching element Q2 to be in a conducting state or an incompletely conducting state.
  • the above controller is implemented by hardware structures such as drive circuit and voltage detection circuit, and the response speed of the controller is faster, which can effectively avoid the instantaneous high current generated at the moment of control signal switching. Damage to the device in the charging circuit or damage to the battery makes the charging circuit more reliable.
  • the driving circuit can adjust the output of the first switching element.
  • the duty cycle of a control signal is adjusted, and the duty cycle of the output second control signal is adjusted.
  • the duty ratio refers to the time proportion of the high-level pulse in the entire pulse period in one pulse period.
  • the duty ratio of a control signal of a high-level pulse for 1 second and a low-level pulse for 1 second is 50%.
  • the duty cycle of the first control signal is 100%, that is, when the first control signal is a continuous high-level signal, the first switching element Q1 is in an on state, and when the duty cycle of the control signal is less than When a certain value (such as 35%), the first switching element Q1 is in an off state, and when the duty cycle of the control signal is greater than a certain value (such as 35%) and less than 100%, the first switching element Q1 is in an incomplete conduction state. state.
  • the second control signal which will not be repeated here.
  • first control signal and second control signal may be pulse width modulation (pulse width modulation, PWM) signals output by a pulse power supply. Therefore, the above-mentioned drive circuit is provided with a pulse power supply.
  • PWM pulse width modulation
  • the voltage detection circuit in the controller can detect the voltage Vbat1 of the first battery and the voltage of the second battery.
  • voltage Vbat2 The drive circuit in the controller can obtain the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery from the voltage detection circuit, and compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, according to the voltage of the first battery.
  • the comparison result of the voltage Vbat1 and the voltage Vbat2 of the second battery outputs a first control signal and a second control signal, respectively.
  • the first control signal For a pulse signal with a duty ratio between a certain value (such as 35%) and 100%, such as a pulse signal with a duty ratio of 65% as shown in FIG. 3C, the first switching element Q1 can be controlled to not be fully turned on, so that The first switching element Q1 is in a voltage regulation state; the second control signal is a continuous high level signal, which can control the second switching element Q2 to be fully turned on, so that the first switching element Q1 is in a fully turned-on state.
  • the first control signal is a continuous high level signal, which can control The first switching element Q1 is completely turned on, so that the first switching element Q1 is in a completely conducting state;
  • the second control signal is a continuous high level signal, which can control the second switching element Q2 to be completely turned on, so that the second switching element Q2 in a fully conducting state.
  • FIG. 3 can form an equivalent circuit diagram as shown in FIG. 3F, that is, the paths from the charging circuit to the first battery and the second battery are both open, and the charging circuit can respectively connect the first battery and the second battery through the voltage converter. Charge.
  • the above-mentioned preset threshold is preset according to the actual conditions of the first battery and the second battery, for example, the above-mentioned preset threshold may be 100mV.
  • the charging currents of the first battery and the second battery can be controlled by the first switching element Q1 and the second switching element Q2 in the charging circuit, respectively, so as to avoid the second battery.
  • the parameters (such as cut-off voltage) of one battery and the second battery are inconsistent or the impedance of the charging path (such as the charging path formed by the charging circuit to the first battery) is unbalanced, which leads to the problem that a certain battery cannot be fully charged, so that the first battery and the first battery cannot be fully charged.
  • Both the second batteries can be fully charged, so as to increase the available capacity of the battery in the electronic device and improve the use performance of the battery.
  • the charging circuit shown in FIG. 3 can also be used in the discharge scenario of the first battery and the second battery, and the second end of the first switching element Q1 and the second switching element Q2
  • the second terminal can also be used to couple with the working circuit in the electronic device shown in FIG. 1 to discharge the first battery and the second battery and supply power to the working circuit in the electronic device.
  • the controller of the charging circuit is further used to detect the voltage of the first battery and the voltage of the second battery, and according to the first battery and the second battery The pressure difference outputs the first control signal and the second control signal.
  • the first control signal is also used to control the first switching element Q1 to be in an off state.
  • the second control signal is also used to control the second switching element Q2 to be in an off state.
  • the voltage detection circuit in the controller can detect the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery in the whole discharging scene of the electronic device.
  • the drive circuit in the controller can obtain the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery from the voltage detection circuit, and compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, according to the voltage of the first battery.
  • the comparison result of the voltage Vbat1 and the voltage Vbat2 of the second battery outputs a first control signal and a second control signal, respectively.
  • the charging circuit can isolate the first battery and the second battery, so as to prevent the large voltage difference between the first battery and the second battery from causing a large current to burn the device or damage the battery.
  • a battery with a higher voltage can be used for power supply, or a battery with a lower voltage can be used for power supply.
  • the following is an example of using a battery with a larger voltage to supply power when the electronic device is in a shutdown state.
  • the first control signal is a continuous low level signal, which can control the first switching element Q1 to turn off, so that the first switching element Q1 is off.
  • the second control signal is a continuous high level signal, which can control the second switching element Q2 to be turned on, so that the second switching element Q2 is in a fully turned-on state.
  • FIG. 3J can form an equivalent circuit diagram as shown in FIG. 3J, that is, the path from the first battery to the working circuit is closed, the path from the second battery to the working circuit is opened, and the second battery is connected to the working circuit of the electronic device. powered by.
  • the first control signal and the second control signal makes the above-mentioned FIG. 3 form an equivalent circuit diagram as shown in FIG. 3H , that is, the first control signal is a continuous high-level signal, which can control the first switching element Q1 to be completely turned on, so that the first switching element is turned on.
  • Q1 is in a fully conducting state, the path between the first battery and the working circuit is open, and the first battery can supply power to the working circuit.
  • the second control signal is a continuous low level signal, which can control the second switching element Q2 to be turned off, so that the second switching element Q2 is in an off state, the path between the first battery and the working circuit is disconnected, and the second battery temporarily Do not supply power to operating circuits.
  • the first control signal and the second battery as shown in FIG. 3I can be used.
  • the first control signal is a continuous low-level signal, which can control the first switching element Q1 to be turned off, so that the first switching element Q1 is in the In the off state, the path between the first battery and the working circuit is disconnected, and the first battery temporarily does not supply power to the working circuit.
  • the second control signal is a continuous high-level signal, which can control the second switching element Q2 to be fully turned on, so that the second switching element Q2 is in a fully conductive state, the path between the first battery and the working circuit is opened, and the second battery Power can be supplied to the working circuit.
  • the first control signal and the second control signal as shown in FIG. 3E can be used, and the above-mentioned FIG. 3 forms the equivalent circuit diagram as shown in FIG. 3F , that is, the first control signal is a continuous high level signal, which can control the first switching element Q1 to be completely turned on, so that the first switching element Q1 is in a fully turned-on state, and the first The path between a battery and the working circuit is opened, and the first battery can supply power to the working circuit.
  • the first battery and the second battery are in a discharged state
  • the first battery and the second battery if the voltage difference between the first battery and the second battery is large, the first battery and the second battery
  • the battery with the smaller voltage in the second battery supplies power to the working circuit, while the battery with the larger voltage in the first battery and the second battery is in a voltage regulation state; when the voltage difference between the first battery and the second battery is reduced, the first battery and the second battery
  • Both the battery and the second battery supply power to the working circuit, so as to avoid a large voltage difference between the first battery and the second battery that leads to mutual charging of large currents, resulting in the phenomenon of burning the device or damaging the battery.
  • the specific control process is as follows:
  • the first control signal and the second control signal makes the above-mentioned FIG. 3 form an equivalent circuit diagram as shown in FIG. 3D, that is, the first control signal is a pulse signal with a duty ratio between a certain value (such as 35%) and 100%, which can control the first control signal.
  • a switching element Q1 is not fully turned on, so that the first switching element Q1 is in a voltage regulation state. At this time, the first switching element Q1 can be equivalent to a variable resistance resistor R1, and the first battery can charge the second battery to adjust the voltage.
  • the second control signal is a continuous high-level signal, which can control the second switching element Q2 to be turned on, so that the second switching element Q2 is in a conducting state, the path between the first battery and the working circuit is opened, and the second battery is turned to work. circuit powered.
  • the first control signal and the second battery as shown in FIG. 3A can be used.
  • Two control signals, and make the above-mentioned FIG. 3 form an equivalent circuit diagram as shown in FIG. 3B, that is, the first control signal is a continuous high-level signal, which can control the first switching element Q1 to be turned on, so that the first switching element Q1 is in the In the conduction state, the path between the first battery and the working circuit is opened, and the first battery supplies power to the working circuit.
  • the second control signal is a pulse signal with a duty ratio between a certain value (such as 35%) and 100%, which can control the second switching element Q2 to not be fully turned on, so that the second switching element Q2 is in a voltage regulation state, at this time
  • the second switching element Q2 may be equivalent to a variable resistance resistor R2, and the first battery may charge the second battery to adjust the voltages of the first battery and the second battery.
  • the first control signal and the second control signal as shown in FIG. 3E can be used, and the above-mentioned FIG. 3 forms the equivalent circuit diagram as shown in FIG. 3F , that is, the first control signal is a continuous high level signal, which can control the first switching element Q1 to be completely turned on, so that the first switching element Q1 is in a fully turned-on state, and the first The path between a battery and the working circuit is opened, and the first battery can supply power to the working circuit.
  • the second control signal is a continuous high-level signal, which can control the second switching element Q2 to be fully turned on, so that the second switching element Q2 is in a fully conductive state, the path between the first battery and the working circuit is opened, and the second battery It is also possible to supply power to the working circuit.
  • the first battery and the second battery of the electronic device can be charged either by the charging circuit shown in FIG. 3 , or by using two independent charge pump chips to charge the first battery respectively. and charge the second battery.
  • the above electronic device further includes a first charge pump chip and a second charge pump chip.
  • One end of the first charge pump chip is coupled to the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled to the first battery.
  • One end of the second charge pump chip is coupled to the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled to the second battery.
  • the first charge pump chip when the first battery or the second battery meets the charging conditions of the charge pump chip, for example, the voltage of the first battery reaches 3.5V, the first charge pump chip can be used to charge the first battery.
  • the voltage of the second battery reaches 3V, and the second charge pump chip can be used to charge the second battery.
  • the voltage detection circuit in the controller can detect the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery.
  • the first control signal output by the driver in the controller can control the first switching element Q1 to be in an off state, the first battery stops using the charging circuit for charging, and uses the first charge The pump chip is charged.
  • the second control signal output by the driver in the controller can control the second switching element Q2 to be in an off state, the second battery stops using the charging circuit for charging, and uses the second charge The pump chip is charged.
  • the above-mentioned electronic device can use the charge pump chip to rapidly charge the first battery and the second battery, so as to improve the charging speed.
  • the controller in the above charging circuit can also output a first control signal, So as to control the first switching element Q1 to be in a conducting state, and continue to use the charging circuit to charge the first battery.
  • the controller in the above charging circuit can also output the second battery.
  • the control signal is used to control the second switching element Q2 to be in an on state and continue to use the charging circuit to charge the second battery.
  • the charging current of the first battery can be detected by the first detector as shown in FIG. 4
  • the charging current of the second battery can be detected by the second detector as shown in FIG. 4 .
  • the first detector is arranged on the path where the first battery is located
  • the second detector is arranged on the path where the second battery is located.
  • an embodiment of the present application further provides a control method of a charging circuit, and the control method of the charging circuit includes S501-S503.
  • the controller detects the voltage of the first battery and the voltage of the second battery.
  • the controller outputs a first control signal according to the voltage difference between the first battery and the second battery, so as to control the first switching element Q1 to be turned on, not completely turned on, or turned off.
  • the controller outputs a second control signal according to the voltage difference between the first battery and the second battery, so as to control the second switching element Q2 to be in an on state, an incomplete turn on state or an off state.
  • an embodiment of the present application further provides a charging and discharging control method for an electronic device.
  • S601 is executed to enable the charging circuit to control the battery with a higher voltage among the first battery and the second battery to supply power to the working circuit of the electronic device.
  • the first battery supplies power to the working circuit of the electronic device.
  • the second battery supplies power to the working circuit of the electronic device.
  • the controller in the above charging circuit may execute S602 to compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery.
  • the above-mentioned charging circuit executes S603 to control the charging of the first battery to the electronic device. The working circuit is powered.
  • the charging circuit executes S604 to control the second battery to supply power to the working circuit of the electronic device.
  • the above control circuit executes S605 to control both the first battery and the second battery to supply power to the working circuit.
  • the user can connect the electronic device to the power adapter, and the electronic device, in response to the user's operation, executes S606 to make the first battery and the second battery in a charging state and charged by the above charging circuit.
  • the controller in the above charging circuit may execute S607, compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, and control the first battery according to the difference between the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery. Status of the first battery and the second battery.
  • the above-mentioned charging circuit executes S608 to control the first battery to be in a charging state, The second battery is in a voltage regulation state.
  • the above charging circuit executes S609 to control the first battery to be in a voltage regulation state, and the second battery is charging.
  • the above control circuit executes S610 to control both the first battery and the second battery to be in a charging state.
  • the controller of the above charging circuit may further execute S611 to determine whether the voltage of the first battery satisfies the charging condition of the first charge pump chip. For example, it is assumed that the charging condition of the first charge pump chip is that the voltage Vbat1 of the first battery reaches 3.5V. When the voltage Vbat1 of the first battery reaches 3.5V, the controller of the above charging circuit controls the first switching element Q1 to be turned off, and executes S612 to charge the first battery from the first charge pump chip. Then, the above-mentioned charging chip may also execute S613 to determine whether the voltage of the first battery reaches the charging cut-off voltage.
  • S619 is executed to cut off the charge of the first battery.
  • the controller in the circuit may also execute S617 to control the first switching element Q1 to be in an on state, and continue to use the charging circuit to charge the first battery.
  • the controller of the above charging circuit may also execute S614 to determine whether the voltage of the second battery satisfies the charging condition of the second charge pump chip. For example, it is assumed that the charging condition of the second charge pump chip is that the voltage Vbat2 of the second battery reaches 3V. When the voltage Vbat1 of the second battery reaches 3V, the controller of the charging circuit controls the second switching element Q2 to be turned off, and executes S615 to charge the second battery from the second charge pump chip. Then, the above-mentioned charging chip may also execute S616 to determine whether the voltage of the second battery reaches the charging cut-off voltage.
  • the controller in the circuit may also execute S618 to control the second switching element Q2 to be in an on state, and continue to use the charging circuit to charge the second battery.
  • the embodiment of the present application further provides another electronic device.
  • the electronic device includes a power supply battery, a working circuit and a charging circuit.
  • the power supply battery includes two positive electrodes, respectively a first positive electrode and a second positive electrode, and a negative electrode.
  • the structure of the charging circuit may adopt the structure of the charging circuit in the above-mentioned FIG. 3 or FIG. 4 .
  • the charging circuit includes a voltage converter, a controller, a first switching element Q1 and a second switching element Q2.
  • the first end of the first switching element Q1 is used for coupling with the first positive electrode
  • the first end of the second switching element Q2 is used for coupling with the second positive electrode.
  • the second terminal of the first switching element Q1 and the second terminal of the second switching element Q2 are both coupled to the first terminal of the voltage converter, so that the voltage converter supplies power to the battery through the first positive electrode and the second positive electrode.
  • the second end of the voltage conversion circuit is used for coupling with the power adapter, and is used for obtaining the direct current Vbus output by the power adapter.
  • the above-mentioned controller is used for coupling with the first positive electrode and the second positive electrode to detect the voltage of the first positive electrode and the voltage of the second positive electrode, and output the first control signal and the second control signal according to the voltage difference between the first positive electrode and the second positive electrode .
  • the above-mentioned controller is also coupled with the control terminal of the first switching element Q1, and is used to control the first switching element Q1 to be in a conducting state or an incomplete conducting state through a first control signal, so that the first positive electrode is in a charging state or a voltage regulating state .
  • the above-mentioned controller is also coupled with the control terminal of the second switching element Q2, and is used to control the second switching element Q2 to be in a conducting or incomplete conducting state through a second control signal, so that the second positive electrode is in a charging state or a voltage regulating state .
  • the embodiments of the present application further provide another electronic device.
  • the electronic device includes a first battery, a second battery, a charging circuit and a working circuit. Wherein, the first battery and the second battery are coupled with the working circuit through the charging circuit.
  • the charging circuit is used to perform the method shown in Figure 5 above. It should be understood that for the technical effect of the electronic device, reference may be made to the technical effect of the electronic device shown in FIG. 3 and FIG. 4 , which will not be repeated here.
  • the embodiment of the present application also provides a charging chip.
  • the charging chip can be applied to the electronic device shown in FIG. 1 above.
  • the electronic device includes a first battery, a second battery and a working circuit.
  • the charging chip includes a first interface, a second interface, a third interface, a fourth interface, and a charging circuit as shown in FIG. 3 .
  • the first interface is used for coupling the power adapter and the second end of the voltage conversion circuit.
  • the second interface is used for coupling the second end of the first switching element, the second end of the second switching element, the first end of the voltage conversion circuit and the working circuit.
  • the third interface is used to couple the first battery.
  • the fourth interface is used to couple the second battery.
  • the charging chip may further include a communication control interface for coupling a control bus (eg, I2C bus) and the controller.
  • a control bus eg, I2C bus
  • the charging circuit or charging chip provided in the embodiments of the present application can be assembled directly without considering the voltages of the first battery and the first battery, thereby improving production efficiency , reducing production costs.
  • the voltage of the first battery and the second battery can be quickly balanced and isolated when the voltage difference between the first battery and the second battery is large, thereby improving the charging and discharging of the battery. performance, thereby improving the safety and reliability of batteries for electronic devices.
  • Each functional unit in each of the embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • a computer-readable storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Abstract

The present application provides a charging circuit, a charging chip, and an electronic device. The present application can solve the problem in an electronic device using two batteries that one of the batteries cannot be fully charged, resulting in relatively small available capacity of the batteries of the electronic device. The charging circuit comprises a voltage converter, a controller, a first switching element, and a second switching element. A first end of the first switching element is used for being coupled to a first battery, and a first end of the second switching element is used for being coupled to a second battery. A second end of the first switching element and a second end of the second switching element are both coupled to a first end of the voltage converter to charge the first battery and the second battery. A second end of the voltage converter is used for being couple to a power adapter. In this way, charging currents of the first battery and the second battery can be controlled by means of the first switching element and the second switching element respectively, so that both the first battery and the second battery can be fully charged, thereby improving the available capacity of the batteries in the electronic device, and improving the service performance of the batteries.

Description

充电电路、充电芯片及电子设备Charging circuit, charging chip and electronic equipment
本申请要求于2021年03月23日提交国家知识产权局、申请号为202110310820.0、发明名称为“双电池隔离充放电电路”的中国专利申请的优先权,以及于2021年07月30日提交国家知识产权局、申请号为202110875500.X、发明名称为“充电电路、充电芯片及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110310820.0 and the invention name "Dual Battery Isolation Charge-Discharge Circuit" submitted to the State Intellectual Property Office on March 23, 2021, and submitted to the state on July 30, 2021 Intellectual Property Office, the priority of the Chinese patent application with application number 202110875500.X and the invention title of "charging circuit, charging chip and electronic device", the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及电子设备充放电技术领域,尤其涉及一种充电电路、充电芯片及电子设备。The present application relates to the technical field of charging and discharging of electronic devices, and in particular, to a charging circuit, a charging chip and an electronic device.
背景技术Background technique
目前,为实现电子设备的快速充电,电子设备一般采用双电池为电子设备供电。双电池充放电电路可以分为串充串放(即两个电池采用串行充电串行放电)、串充并放(即两个电池采用串行充电并行放电)和并充并放(即两个电池采用并行充电并行放电)等几种不同的情况。其中,串充串放放电损失大。串充并放需要改变双电池的形态,并且控制复杂。并充并放控制简单且不需要改变双电池的形态。At present, in order to realize fast charging of electronic devices, electronic devices generally use dual batteries to power the electronic devices. The dual-battery charging and discharging circuit can be divided into series charging and discharging (that is, two batteries are charged and discharged in series), series charging and discharging (that is, two batteries are charged and discharged in parallel), and parallel charging and discharging (that is, two batteries are charged and discharged in parallel). The batteries are charged in parallel and discharged in parallel) in several different situations. Among them, the series charge and series discharge loss is large. Serial charging and discharging need to change the form of the dual batteries, and the control is complicated. The control of parallel charging and discharging is simple and does not need to change the shape of the dual battery.
然而,目前在使用并充并放双电池充放电电路的电子设备中,由于两个电池的容量可能存在差异,以及通路阻抗的存在,可能会存在两个电池中的其中一个电池不能充满的情况,从而造成电子设备的电池可用容量较小的问题。However, in the current electronic equipment using a dual-battery charge-discharge circuit, due to the possible difference in the capacity of the two batteries and the existence of path impedance, there may be a situation where one of the two batteries cannot be fully charged , thereby causing the problem that the available capacity of the battery of the electronic device is small.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种充电电路、充电芯片及电子设备,能够解决使用双电池的电子设备中其中一个电池不能充满,造成的电子设备的电池可用容量较小的问题。Embodiments of the present application provide a charging circuit, a charging chip, and an electronic device, which can solve the problem that one of the batteries in an electronic device using dual batteries cannot be fully charged, resulting in a small available battery capacity of the electronic device.
为达到上述目的,本申请采用如下技术方案:To achieve the above object, the application adopts the following technical solutions:
第一方面,本申请实施例提供一种充电电路。该充电电路包括电压转换器、控制器、第一开关元件和第二开关元件。第一开关元件的第一端用于与第一电池耦合,第二开关元件的第一端用于与第二电池耦合。第一开关元件的第二端和第二开关元件的第二端均与电压转换器的第一端耦合,以使第一电池和第二电池充电。电压转换电路的第二端用于与电源适配器耦合。控制器用于与第一电池和第二电池耦合,以检测第一电池的电压和第二电池的电压,并根据第一电池和第二电池的电压差输出第一控制信号和第二控制信号。控制器还与第一开关元件耦合,用于通过第一控制信号控制第一开关元件处于导通、不完全导通或关断状态。控制器还与第二开关元件耦合,用于通过第二控制信号控制第二开关元件处于导通、不完全导通或关断状态。In a first aspect, an embodiment of the present application provides a charging circuit. The charging circuit includes a voltage converter, a controller, a first switching element and a second switching element. The first end of the first switching element is used for coupling with the first battery, and the first end of the second switching element is used for coupling with the second battery. The second terminal of the first switching element and the second terminal of the second switching element are each coupled to the first terminal of the voltage converter to charge the first battery and the second battery. The second end of the voltage conversion circuit is used for coupling with the power adapter. The controller is coupled to the first battery and the second battery to detect the voltage of the first battery and the voltage of the second battery, and output the first control signal and the second control signal according to the voltage difference between the first battery and the second battery. The controller is also coupled to the first switching element for controlling the first switching element to be in an on state, a partial on state or an off state through the first control signal. The controller is also coupled to the second switching element for controlling the second switching element to be in an on state, a partial on state or an off state through the second control signal.
基于上述充电电路,上述充电电路应用于电子设备的充电场景中时,可以通过充电电路中的第一开关元件和第二开关元件分别控制第一电池和第二电池的充电电流,以避免第一电池和第二电池的参数(如截止电压)不一致或者充电通路(如充电电路到第一电池形成的充电通路)的阻抗不平衡而导致某个电池不能充满的问题,从而使第一电池和第二电池均能够达到满充的状态,以提高电子设备中电池的可用容量,提高电池的使用性能。Based on the above charging circuit, when the above charging circuit is applied to the charging scene of an electronic device, the charging currents of the first battery and the second battery can be controlled respectively through the first switching element and the second switching element in the charging circuit, so as to avoid the first The parameters of the battery and the second battery (such as cut-off voltage) are inconsistent or the impedance of the charging path (such as the charging path formed by the charging circuit to the first battery) is unbalanced, resulting in a problem that a battery cannot be fully charged, so that the first battery and the second battery cannot be fully charged. Both batteries can reach a fully charged state, so as to increase the available capacity of the battery in the electronic device and improve the use performance of the battery.
在一种可能的实现方式中,在第一电池和第二电池处于充电状态的情况下,若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池充电;第二控制信号用于控制第二开关元件不完全导通,使第二电池调压充电。在此情况下,第二开关元件相当于阻值可变的电阻,能够拉载较大的电流,从而也可以通过电压转换器向第二电池充电,并通过第二开关元件拉载的较大的电流,对第二电池进行调压,使第二电池的电压升高,以降低第一电池和第二电池的电压差。In a possible implementation, when the first battery and the second battery are in a charged state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than If the threshold is preset, the first control signal is used to control the conduction of the first switching element to charge the first battery; the second control signal is used to control the incomplete conduction of the second switching element to charge the second battery. In this case, the second switch element is equivalent to a variable resistance resistor, which can pull a larger current, so that the second battery can also be charged through the voltage converter, and the larger load can be pulled through the second switch element. The current of the second battery is adjusted to increase the voltage of the second battery, so as to reduce the voltage difference between the first battery and the second battery.
在一种可能的实现方式中,在第一电池和第二电池处于充电状态的情况下,若第二电池的电压高于第一电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件不完全导通,使第一电池调压充电;第二控制信号用于控制第二开关元件导通,使第二电池充电。在此情况下,第一开关元件相当于阻值可变的电阻,能够拉载较大的电流,从而使充电电路可以通过电压转换器向第一电池充电,并通过第一开关元件拉载的较大的电流,对第一电池进行调压,使第一电池的电压升高,以降低第一电池和第二电池的电压差。In a possible implementation, when the first battery and the second battery are in a charged state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than If the threshold value is preset, the first control signal is used to control the first switching element to not be fully turned on, so that the first battery is voltage-regulated and charged; the second control signal is used to control the conduction of the second switching element to charge the second battery. In this case, the first switching element is equivalent to a variable resistance resistor, which can pull a larger current, so that the charging circuit can charge the first battery through the voltage converter, and pull the load through the first switching element. When a larger current is used, the voltage of the first battery is adjusted to increase the voltage of the first battery, so as to reduce the voltage difference between the first battery and the second battery.
在一种可能的实现方式中,在第一电池和第二电池处于充电状态的情况下,若第一电池与第二电池的电压差小于或等于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池充电;第二控制信号用于控制第二开关元件导通,使第二电池充电。此时,充电电路到第一电池和第二电池的通路均打开,充电电路可以通过电压转换器分别向第一电池和第二电池充电。In a possible implementation, when the first battery and the second battery are in a charged state, if the voltage difference between the first battery and the second battery is less than or equal to a preset threshold, the first control signal is used to control the The first switching element is turned on to charge the first battery; the second control signal is used to control the conduction of the second switching element to charge the second battery. At this time, the paths from the charging circuit to the first battery and the second battery are both open, and the charging circuit can respectively charge the first battery and the second battery through the voltage converter.
在一种可能的实现方式中,第一开关元件的第二端和第二开关元件的第二端均还用于与工作电路耦合,以使第一电池和第二电池放电。当该充电电路用于第一电池和第二电池的放电场景中时,该充电电路的控制器还用于检测第一电池的电压和第二电池的电压,并根据第一电池和第二电池的压差输出第一控制信号和第二控制信号。该第一控制信号还用于控制第一开关元件处于关断状态。该第二控制信号还用于控制第二开关元件处于关断状态。In a possible implementation manner, both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery. When the charging circuit is used in the discharge scenario of the first battery and the second battery, the controller of the charging circuit is further used to detect the voltage of the first battery and the voltage of the second battery, and according to the first battery and the second battery The pressure difference outputs the first control signal and the second control signal. The first control signal is also used to control the first switching element to be in an off state. The second control signal is also used to control the second switching element to be in an off state.
在一种可能的实现方式中,在第一电池和第二电池处于放电状态的情况下,可以先由第一电池和第二电池中电压较大的电池向工作电路供电,待第一电池和第二电池的压差降低后,再由第一电池和第二电池均向工作电路供电,以避免第一电池和第二电池压差较大而导致大电流互充,产生烧毁器件或损坏电池的现象。In a possible implementation manner, when the first battery and the second battery are in a discharged state, the battery with a larger voltage among the first battery and the second battery may supply power to the working circuit first, and wait for the first battery and the second battery to supply power to the working circuit. After the voltage difference of the second battery is reduced, both the first battery and the second battery supply power to the working circuit, so as to avoid the large voltage difference between the first battery and the second battery, which may lead to high current mutual charging, burn the device or damage the battery The phenomenon.
具体而言,若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池向工作电路供电;第二控制信号用于控制第二开关元件关断,使第二电池不向工作电路供电。Specifically, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the first switching element to be turned on, so that the The first battery supplies power to the working circuit; the second control signal is used to control the second switching element to be turned off, so that the second battery does not supply power to the working circuit.
若第二电池的电压高于第一电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件关断,使第一电池不向工作电路供电;第二控制信号用于控制第二开关元件导通,使第二电池向工作电路供电。If the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the first switching element to turn off, so that the first battery does not operate supply power to the working circuit; the second control signal is used to control the conduction of the second switch element, so that the second battery supplies power to the working circuit.
若第一电池与第二电池的电压差小于或等于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池向工作电路供电;第二控制信号用于控制第二开关元件导通,使第二电池向工作电路供电。If the voltage difference between the first battery and the second battery is less than or equal to the preset threshold, the first control signal is used to control the conduction of the first switching element, so that the first battery supplies power to the working circuit; the second control signal is used to control the first switching element to be turned on. The two switching elements are turned on, so that the second battery supplies power to the working circuit.
在一种可能的实现方式中,在第一电池和第二电池处于放电状态的情况下,可以 先由第一电池和第二电池中电压较小的电池向工作电路供电,而第一电池和第二电池中电压较大的电池处于调压状态;当第一电池和第二电池的压差降低后,再由第一电池和第二电池均向工作电路供电,从而避免第一电池和第二电池压差较大而导致大电流互充,产生烧毁器件或损坏电池的现象。In a possible implementation manner, when the first battery and the second battery are in a discharged state, the battery with a lower voltage among the first battery and the second battery can supply power to the working circuit first, while the first battery and the second battery are in a state of discharge. The battery with the larger voltage in the second battery is in a voltage regulation state; when the voltage difference between the first battery and the second battery is reduced, both the first battery and the second battery supply power to the working circuit, so as to avoid the first battery and the second battery. The voltage difference between the two batteries is large, which leads to a large current charging each other, resulting in the phenomenon of burning the device or damaging the battery.
具体而言,若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件不完全导通,使第一电池向工作电路供电并调压;第一控制信号用于控制第二开关元件导通,使第二电池向工作电路供电。Specifically, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than a preset threshold, the first control signal is used to control the first switching element not to be fully turned on , so that the first battery supplies power to the working circuit and regulates the voltage; the first control signal is used to control the conduction of the second switching element, so that the second battery supplies power to the working circuit.
若第二电池的电压高于第一电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池向工作电路供电;第二控制信号用于控制第二开关元件不完全导通,使第二电池向工作电路供电并调压。If the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the conduction of the first switching element, so that the first battery is turned on. The working circuit supplies power; the second control signal is used to control the second switching element not to be completely turned on, so that the second battery supplies power to the working circuit and regulates the voltage.
若第一电池与第二电池的电压差小于或等于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池向工作电路供电;第二控制信号用于控制第二开关元件导通,使第二电池向工作电路供电。If the voltage difference between the first battery and the second battery is less than or equal to the preset threshold, the first control signal is used to control the conduction of the first switching element, so that the first battery supplies power to the working circuit; the second control signal is used to control the first switching element to be turned on. The two switching elements are turned on, so that the second battery supplies power to the working circuit.
在一种可能的实现方式中,控制器包括驱动电路和电压检测电路;电压检测电路用于与第一电池耦合,以检测第一电池的电压。电压检测电路还用于与第二电池耦合,以检测第二电池的电压。驱动电路与电压检测电路耦合,用于获取第一电池的电压和第二电池的电压。驱动电路的第一输出端用于输出第一控制信号,并与第一开关元件的控制端耦合。驱动电路的第二输出端用于输出第二控制信号,并与第二开关元件的控制端耦合。In a possible implementation manner, the controller includes a drive circuit and a voltage detection circuit; the voltage detection circuit is used for coupling with the first battery to detect the voltage of the first battery. The voltage detection circuit is further coupled to the second battery to detect the voltage of the second battery. The drive circuit is coupled to the voltage detection circuit for acquiring the voltage of the first battery and the voltage of the second battery. The first output terminal of the driving circuit is used for outputting the first control signal, and is coupled with the control terminal of the first switching element. The second output terminal of the driving circuit is used for outputting the second control signal and is coupled with the control terminal of the second switching element.
应理解,上述控制器通过驱动电路和电压检测电路等硬件结构实现,控制器的响应速度更快,可以有效避免控制信号切换的瞬间产生的瞬时大电流对充电电路中器件的损坏或对电池的损坏,从而使得该充电电路的可靠性更高。It should be understood that the above-mentioned controller is implemented by hardware structures such as a drive circuit and a voltage detection circuit, and the response speed of the controller is faster, which can effectively avoid the instantaneous high current generated at the moment of switching the control signal. damage, thereby making the charging circuit more reliable.
在一种可能的实现方式中,控制器还用于连接通信控制总线,通信控制总线用于控制控制器执行电压检测,以及输出第一控制信号和第二控制信号。应理解,由于上述控制器由驱动电路和电压检测电路等硬件电路结构实现,通过通信控制总线(如I2C总线)可以控制控制器的工作状态以及执行数据检测。In a possible implementation manner, the controller is further configured to connect to a communication control bus, and the communication control bus is used to control the controller to perform voltage detection and output the first control signal and the second control signal. It should be understood that, since the above-mentioned controller is implemented by hardware circuit structures such as a drive circuit and a voltage detection circuit, the working state of the controller can be controlled and data detection can be performed through a communication control bus (eg, I2C bus).
第二方面,本申请实施例提供一种充电芯片。该充电芯片应用于电子设备。电子设备包括第一电池、第二电池和工作电路。充电芯片包括:第一接口、第二接口、第三接口、第四接口,以及如上第一方面任一种可能的实现方式中的充电电路。其中,第一接口用于耦合电源适配器和电压转换电路的第二端。第二接口用于耦合第一开关元件的第二端、第二开关元件的第二端、电压转换电路的第一端,以及工作电路。第三接口用于耦合第一电池;第四接口用于耦合第二电池。In a second aspect, an embodiment of the present application provides a charging chip. The charging chip is applied to electronic equipment. The electronic device includes a first battery, a second battery and a working circuit. The charging chip includes: a first interface, a second interface, a third interface, a fourth interface, and a charging circuit in any possible implementation manner of the above first aspect. Wherein, the first interface is used for coupling the power adapter and the second end of the voltage conversion circuit. The second interface is used for coupling the second terminal of the first switching element, the second terminal of the second switching element, the first terminal of the voltage conversion circuit, and the working circuit. The third interface is used for coupling the first battery; the fourth interface is used for coupling the second battery.
在一种可能的实现方式中,充电芯片还包括通信控制接口,通信控制接口用于耦合通信控制总线和控制器。In a possible implementation manner, the charging chip further includes a communication control interface, and the communication control interface is used for coupling the communication control bus and the controller.
第三方面,本申请实施例提供一种电子设备。该电子设备包括第一电池、第二电池、工作电路以及如上第二方面任一种可能的实现方式中的充电芯片。其中,第一电池与充电芯片的第三接口耦合,以向工作电路供电。第二电池与充电芯片的第四接口耦合,以向工作电路供电。In a third aspect, an embodiment of the present application provides an electronic device. The electronic device includes a first battery, a second battery, a working circuit, and a charging chip in any possible implementation manner of the above second aspect. Wherein, the first battery is coupled with the third interface of the charging chip to supply power to the working circuit. The second battery is coupled to the fourth interface of the charging chip to supply power to the working circuit.
第四方面,本申请实施例提供另一种电子设备。该电子设备包括供电电池、工作电路以及如上第二方面任一种可能的实现方式中的充电芯片。其中,供电电池包括第一正极和第二正极。第一正极与充电芯片的第三接口耦合,以向工作电路供电。第二正极与充电芯片的第四接口耦合,以向工作电路供电。In a fourth aspect, the embodiments of the present application provide another electronic device. The electronic device includes a power supply battery, a working circuit, and a charging chip in any possible implementation manner of the second aspect above. Wherein, the power supply battery includes a first positive electrode and a second positive electrode. The first positive electrode is coupled with the third interface of the charging chip to supply power to the working circuit. The second positive electrode is coupled to the fourth interface of the charging chip to supply power to the working circuit.
第五方面,本申请实施例提供一种充电电路的控制方法。该控制方法适用于如上第一方面任一种可能的实现方式中的充电电路。上述控制方法包括:控制器检测第一电池的电压和第二电池的电压。控制器根据第一电池和第二电池的压差,输出第一控制信号和第二控制信号。第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态。In a fifth aspect, an embodiment of the present application provides a method for controlling a charging circuit. The control method is applicable to the charging circuit in any possible implementation manner of the above first aspect. The above control method includes: the controller detects the voltage of the first battery and the voltage of the second battery. The controller outputs the first control signal and the second control signal according to the pressure difference between the first battery and the second battery. The first control signal controls the first switching element to be in a conducting, incompletely conducting or off state, and the second control signal controls the second switching element to be in a conducting, incompletely conducting or off state.
在一种可能的实现方式中,第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态,包括:在第一电池和第二电池处于充电状态的情况下,若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池充电;第二控制信号用于控制第二开关元件不完全导通,使第二电池调压充电。In a possible implementation manner, the first control signal controls the first switching element to be in an on state, not fully on or off, and the second control signal controls the second switch element to be on, not fully on or off The off state includes: when the first battery and the second battery are in the charging state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than a preset threshold, Then, the first control signal is used to control the conduction of the first switch element to charge the first battery; the second control signal is used to control the second switch element to not be fully turned on, so that the voltage of the second battery is regulated and charged.
在一种可能的实现方式中,第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态,包括:在第一电池和第二电池处于充电状态的情况下,若第二电池的电压高于第一电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件不完全导通,使第一电池调压充电;第二控制信号用于控制第二开关元件导通,使第二电池充电。In a possible implementation manner, the first control signal controls the first switching element to be in an on state, not fully on or off, and the second control signal controls the second switch element to be on, not fully on or off The off state includes: when the first battery and the second battery are in the charging state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, Then, the first control signal is used to control the first switching element to be not fully turned on, so that the first battery is charged and voltage-regulated; the second control signal is used to control the second switching element to be turned on, so that the second battery is charged.
在一种可能的实现方式中,在第一电池和第二电池处于充电状态的情况下,若第一电池与第二电池的电压差小于或等于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池充电;第二控制信号用于控制第二开关元件导通,使第二电池充电。In a possible implementation, when the first battery and the second battery are in a charged state, if the voltage difference between the first battery and the second battery is less than or equal to a preset threshold, the first control signal is used to control the The first switching element is turned on to charge the first battery; the second control signal is used to control the conduction of the second switching element to charge the second battery.
在一种可能的实现方式中,第一开关元件的第二端和第二开关元件的第二端均还用于与工作电路耦合,以使第一电池和第二电池放电。第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态,包括:在第一电池和第二电池处于放电状态的情况下,若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池向工作电路供电;第二控制信号用于控制第二开关元件关断,使第二电池不向工作电路供电。In a possible implementation manner, both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery. The first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state, and the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the second battery. A switch element is turned on to make the first battery supply power to the working circuit; the second control signal is used to control the second switch element to be turned off, so that the second battery does not supply power to the working circuit.
在一种可能的实现方式中,第一开关元件的第二端和第二开关元件的第二端均还用于与工作电路耦合,以使第一电池和第二电池放电。第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态,包括:在第一电池和第二电池处于放电状态的情况下,若第二电池的电压高于第一电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件关断,使第一电池不向工作电路供电;第二控制信号用于控制第二开关元件导通,使第二电池向工作电路供电。In a possible implementation manner, both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery. The first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state, and the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the first battery. A switch element is turned off, so that the first battery does not supply power to the working circuit; the second control signal is used to control the second switching element to be turned on, so that the second battery supplies power to the working circuit.
在一种可能的实现方式中,第一开关元件的第二端和第二开关元件的第二端均还用于与工作电路耦合,以使第一电池和第二电池放电。第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态,包括:在第一电池和第二电池处于放电状态的情况下,若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件不完全导通,使第一电池向工作电路供电并调压;第一控制信号用于控制第二开关元件导通,使第二电池向工作电路供电。In a possible implementation manner, both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery. The first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state, and the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the second battery. A switch element is not fully turned on, so that the first battery supplies power to the working circuit and regulates the voltage; the first control signal is used to control the conduction of the second switch element, so that the second battery supplies power to the working circuit.
在一种可能的实现方式中,第一开关元件的第二端和第二开关元件的第二端均还用于与工作电路耦合,以使第一电池和第二电池放电。第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态,包括:在第一电池和第二电池处于放电状态的情况下,若第二电池的电压高于第一电池的电压,且第一电池与第二电池的电压差大于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池向工作电路供电;第二控制信号用于控制第二开关元件不完全导通,使第二电池向工作电路供电并调压。In a possible implementation manner, both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery. The first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state, and the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in a discharge state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the first control signal is used to control the first battery. A switch element is turned on to make the first battery supply power to the working circuit; the second control signal is used to control the second switch element not to be fully turned on, so that the second battery supplies power to the working circuit and regulates the voltage.
在一种可能的实现方式中,第一开关元件的第二端和第二开关元件的第二端均还用于与工作电路耦合,以使第一电池和第二电池放电。第一控制信号控制第一开关元件处于导通、不完全导通或关断状态,第二控制信号控制第二开关元件处于导通、不完全导通或关断状态,包括:在第一电池和第二电池处于放电状态的情况下,若第一电池与第二电池的电压差小于或等于预设阈值,则第一控制信号用于控制第一开关元件导通,使第一电池向工作电路供电;第二控制信号用于控制第二开关元件导通,使第二电池向工作电路供电。In a possible implementation manner, both the second terminal of the first switching element and the second terminal of the second switching element are also used for coupling with the working circuit, so as to discharge the first battery and the second battery. The first control signal controls the first switching element to be in a conducting state, an incomplete conducting state or an off state, and the second control signal controls the second switching element to be in a conducting state, an incomplete conducting state or an off state, including: in the first battery When the battery and the second battery are in the discharge state, if the voltage difference between the first battery and the second battery is less than or equal to the preset threshold, the first control signal is used to control the conduction of the first switching element to make the first battery work The circuit supplies power; the second control signal is used to control the conduction of the second switch element, so that the second battery supplies power to the working circuit.
第六方面,本申请实施例提供又一种电子设备。该电子设备包括第一电池、第二电池、充电电路和工作电路。其中,第一电池和第二电池通过充电电路与工作电路耦合。当电子设备运行时,充电电路用于执行如上第五方面中任一种可能的实现方式中的方法。In a sixth aspect, the embodiments of the present application provide yet another electronic device. The electronic device includes a first battery, a second battery, a charging circuit and a working circuit. Wherein, the first battery and the second battery are coupled with the working circuit through the charging circuit. When the electronic device is in operation, the charging circuit is configured to perform the method in any of the possible implementations of the fifth aspect above.
可以理解地,上述提供的任一种充电电路的控制方法、充电芯片以及电子设备等,均可以由上文所提供的对应的充电电路来实现,或与上文所提供的对应的充电电路相关联,因此,其所能达到的有益效果可参考上文所提供的充电电路中的有益效果,此处不再赘述。It can be understood that any of the control methods, charging chips, and electronic devices provided above for any charging circuit can be implemented by the corresponding charging circuits provided above, or related to the corresponding charging circuits provided above. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the charging circuit provided above, which will not be repeated here.
附图说明Description of drawings
图1为一种双电池并充并放的电子设备的结构示意图一;FIG. 1 is a schematic structural diagram 1 of an electronic device with dual batteries charging and discharging simultaneously;
图2为一种双电池并充并放的电子设备的结构示意图二;FIG. 2 is a second structural schematic diagram of an electronic device with dual batteries charging and discharging simultaneously;
图3为本申请实施例提供的一种包括充电电路的电子设备的结构示意图一;FIG. 3 is a schematic structural diagram 1 of an electronic device including a charging circuit according to an embodiment of the present application;
图3A为本申请实施例提供的第一控制信号和第二控制信号的波形图一;FIG. 3A is a first waveform diagram of a first control signal and a second control signal provided by an embodiment of the application;
图3B为图3所示的电路图采用图3A的波形图形成的等效电路图;3B is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3A ;
图3C为本申请实施例提供的第一控制信号和第二控制信号的波形图二;FIG. 3C is a second waveform diagram of the first control signal and the second control signal provided by the embodiment of the application;
图3D为图3所示的电路图采用图3C的波形图形成的等效电路图;FIG. 3D is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3C ;
图3E为本申请实施例提供的第一控制信号和第二控制信号的波形图三;FIG. 3E is a third waveform diagram of the first control signal and the second control signal provided by the embodiment of the application;
图3F为图3所示的电路图采用图3E的波形图形成的等效电路图;FIG. 3F is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3E ;
图3G为本申请实施例提供的第一控制信号和第二控制信号的波形图四;3G is a fourth waveform diagram of the first control signal and the second control signal provided by the embodiment of the application;
图3H为图3所示的电路图采用图3G的波形图形成的等效电路图;FIG. 3H is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3G ;
图3I为本申请实施例提供的第一控制信号和第二控制信号的波形图五;3I is a waveform diagram 5 of the first control signal and the second control signal provided by the embodiment of the application;
图3J为图3所示的电路图采用图3I的波形图形成的等效电路图;3J is an equivalent circuit diagram of the circuit diagram shown in FIG. 3 using the waveform diagram of FIG. 3I;
图4为本申请实施例提供的一种包括充电电路的电子设备的结构示意图二;FIG. 4 is a second schematic structural diagram of an electronic device including a charging circuit according to an embodiment of the present application;
图5为本申请实施例提供的一种充电电路的控制方法的流程图;FIG. 5 is a flowchart of a method for controlling a charging circuit provided by an embodiment of the present application;
图6为本申请实施例提供的一种包括充电电路的电子设备的充放电方法流程图;6 is a flowchart of a charging and discharging method of an electronic device including a charging circuit provided by an embodiment of the present application;
图7为本申请实施例提供的一种包括充电电路的电子设备的结构示意图三;FIG. 7 is a third schematic structural diagram of an electronic device including a charging circuit according to an embodiment of the present application;
图8为本申请实施例提供的一种充电芯片的结构示意图。FIG. 8 is a schematic structural diagram of a charging chip according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
以下,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first", "second", etc. are only used for descriptive purposes, and should not be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second", etc., may expressly or implicitly include one or more of that feature. In the description of this application, unless stated otherwise, "plurality" means two or more.
此外,本申请中,“上”、“下”、“左”、“右”等方位术语可以包括但不限于相对附图中的部件示意置放的方位来定义的,应当理解到,这些方向性术语可以是相对的概念,它们用于相对于的描述和澄清,其可以根据附图中部件附图所放置的方位的变化而相应地发生变化。In addition, in this application, the terms "upper", "lower", "left", "right" and other orientations may include, but are not limited to, the orientations relative to the schematic placement of the components in the drawings. It should be understood that these orientations The terminology can be a relative concept, and they are used for relative description and clarification, which can change correspondingly according to the change of the orientation in which the components are placed in the drawings.
在本申请中,除非另有明确的规定和限定,术语“连接”应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或成一体;可以是直接相连,也可以通过中间媒介间接相连。此外,术语“耦接”、“耦合”或“耦合”可以是实现信号传输的电性连接的方式。In this application, unless otherwise expressly specified and limited, the term "connection" should be understood in a broad sense. For example, "connection" may be a fixed connection, a detachable connection, or an integrated body; it may be directly connected, or Can be indirectly connected through an intermediary. Additionally, the terms "coupled," "coupled," or "coupled" may be means of electrical connections that enable signal transmission.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
图1为一种双电池并充并放的电子设备的结构示意图一。如图1所示,该电子设备包括充电电路、工作电路、第一电池和第二电池。其中,第一电池和第二电池可以通过充电电路与电源适配器耦合,并且该第一电池和第二电池也可以通过充电电路与工作电路耦合。FIG. 1 is a schematic structural diagram 1 of an electronic device with dual batteries charged and discharged simultaneously. As shown in FIG. 1 , the electronic device includes a charging circuit, a working circuit, a first battery and a second battery. Wherein, the first battery and the second battery can be coupled with the power adapter through a charging circuit, and the first battery and the second battery can also be coupled with the working circuit through the charging circuit.
在双电池并联充电时,电源适配器将220伏市电通过交流直流转换器转换为直流电,向第一电池和第二电池充电。在双电池并联放电时,第一电池和第二电池向工作电路供电。其中,工作电路可以包括处理器、存储器、通信接口等,工作电路也可以是电源管理集成电路(power management IC,PMIC),也可以是系统级芯片(system on a chip,SoC),本申请实施例不做特殊限定。When the two batteries are charged in parallel, the power adapter converts the 220-volt commercial power into direct current through the AC-DC converter, and charges the first battery and the second battery. When the two batteries are discharged in parallel, the first battery and the second battery supply power to the working circuit. Wherein, the working circuit may include a processor, a memory, a communication interface, etc., and the working circuit may also be a power management integrated circuit (power management IC, PMIC), or a system on a chip (system on a chip, SoC). There are no special restrictions on the example.
图2为一种双电池并充并放的电子设备的结构示意图二。如图2所示,该电子设备中的第一电池和第二电池还可以使用两个独立的电荷泵芯片分别向第一电池和第二电池充电,以便对第一电池和第二电池进行快速充电,以提高充电的速度。具体地,上述电子设备中还包括第一电荷泵芯片和第二电荷泵芯片。其中,第一电荷泵芯片的 一端与电源适配器的输出端Vbus耦合,第一电荷泵芯片的另一端与第一电池耦合。第二电荷泵芯片的一端与电源适配器的输出端Vbus耦合,第一电荷泵芯片的另一端与第二电池耦合。FIG. 2 is a second structural schematic diagram of an electronic device with dual-battery charging and discharging. As shown in FIG. 2 , the first battery and the second battery in the electronic device can also use two independent charge pump chips to charge the first battery and the second battery respectively, so as to quickly charge the first battery and the second battery. charging to increase the speed of charging. Specifically, the above electronic device further includes a first charge pump chip and a second charge pump chip. Wherein, one end of the first charge pump chip is coupled with the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled with the first battery. One end of the second charge pump chip is coupled to the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled to the second battery.
需要说明的是,图1和图2所示的电子设备中,电源适配器通过一个充电电路同时向第一电池和第二电池充电,或者使用电荷泵芯片向第一电池和第二电池充电。由于第一电池和第二电池的参数(如截止电压)不一致,以及通路阻抗的存在,可能会存在第一电池和第二电池中的其中一个电池不能充满的情况,从而造成电子设备的电池可用容量较小的问题。It should be noted that, in the electronic device shown in FIG. 1 and FIG. 2 , the power adapter simultaneously charges the first battery and the second battery through a charging circuit, or uses a charge pump chip to charge the first battery and the second battery. Due to inconsistent parameters (such as cut-off voltage) of the first battery and the second battery, and the existence of the path impedance, there may be a situation where one of the first battery and the second battery cannot be fully charged, thus causing the battery of the electronic device to be usable. Smaller capacity issues.
为解决上述问题,本申请实施例提供了一种应用于上述图1和图2中电子设备的充电电路,该充电电路通过检测和比较两个电池的电压,并通过开关元件对两个电池的充电电压进行调节,以使不同容量的两个电池均能够充满,从而提高电子设备电池的可用容量。In order to solve the above problems, the embodiment of the present application provides a charging circuit applied to the electronic equipment in the above-mentioned FIG. 1 and FIG. 2 . The charging voltage is adjusted so that both batteries of different capacities can be fully charged, thereby increasing the usable capacity of the battery of the electronic device.
如图3所示,上述充电电路包括电压转换器、控制器、第一开关元件Q1和第二开关元件Q2。其中,第一开关元件Q1的第一端用于与第一电池耦合,第二开关元件Q2的第一端用于与第二电池耦合。第一开关元件Q1的第二端和第二开关元件Q2的第二端均与电压转换器的第一端耦合,以使电压转换器向第一电池和第二电池充电。电压转换电路的第二端用于与电源适配器耦合,用于获取电源适配器输出的直流电Vbus。As shown in FIG. 3 , the above charging circuit includes a voltage converter, a controller, a first switching element Q1 and a second switching element Q2. The first end of the first switching element Q1 is used for coupling with the first battery, and the first end of the second switching element Q2 is used for coupling with the second battery. The second terminal of the first switching element Q1 and the second terminal of the second switching element Q2 are both coupled to the first terminal of the voltage converter, so that the voltage converter charges the first battery and the second battery. The second end of the voltage conversion circuit is used for coupling with the power adapter, and is used for obtaining the direct current Vbus output by the power adapter.
其中,该电压转换器可以将从电源适配器输出的直流电Vbus转换为上述电子设备的工作电路适用的直流电(如图1所示的Vsys电压)。该电压转换器可以是直流-直流变换电路(例如BUCK电路)或直流-直流变换芯片(例如BUCK芯片)等进行直流电压变换的电路,本申请不作特殊限定。第一开关元件Q1和第二开关元件Q2可以是金属氧化物半导体场效应晶体管(metal-oxide-semiconductor field-effect transistor,MOSFET)等具有开关功能的器件。例如,第一开关元件Q1和第二开关元件Q2均可以是N型MOS管或P型MOS管。第一开关元件Q1的第一端可以是MOS管的源极(source,S),也可以是MOS管的漏极(drain,D);第一开关元件Q1的第二端可以是MOS管的漏极,也可以是MOS管的源极。相应地,第二开关元件Q2的第一端可以是MOS管的源极,也可以是MOS管的漏极;第二开关元件Q2的第二端可以是MOS管的漏极,也可以是MOS管的源极。第一开关元件Q1的控制端和第二开关元件Q2的控制端可以是MOS管的栅极(gate,G)。Wherein, the voltage converter can convert the direct current Vbus output from the power adapter into the direct current (Vsys voltage shown in FIG. 1 ) suitable for the working circuit of the electronic device. The voltage converter may be a DC-DC conversion circuit (eg, a buck circuit) or a DC-DC conversion chip (eg, a buck chip) and other circuits that perform DC voltage conversion, which are not specifically limited in this application. The first switching element Q1 and the second switching element Q2 may be devices with switching functions such as metal-oxide-semiconductor field-effect transistor (MOSFET). For example, both the first switching element Q1 and the second switching element Q2 may be an N-type MOS transistor or a P-type MOS transistor. The first end of the first switching element Q1 may be the source (source, S) of the MOS transistor, or the drain (drain, D) of the MOS transistor; the second end of the first switching element Q1 may be the source (source, S) of the MOS transistor. The drain can also be the source of the MOS transistor. Correspondingly, the first end of the second switching element Q2 may be the source of the MOS transistor or the drain of the MOS transistor; the second end of the second switching element Q2 may be the drain of the MOS transistor or the MOS transistor source of the tube. The control terminal of the first switching element Q1 and the control terminal of the second switching element Q2 may be the gate (gate, G) of the MOS transistor.
上述控制器用于与第一电池和第二电池耦合,以检测第一电池的电压Vbat1和第二电池的电压Vbat2,并根据第一电池和第二电池的电压差输出第一控制信号和第二控制信号。上述控制器还与第一开关元件Q1的控制端耦合,用于向第一开关元件Q1输出第一控制信号,并通过第一控制信号控制第一开关元件Q1处于导通或不完全导通状态,以使第一电池处于充电状态或调压状态。上述控制器还与第二开关元件Q2的控制端耦合,用于向第二开关元件Q2输出第二控制信号,并通过第二控制信号控制第二开关元件Q2处于导通或不完全导通状态,以使第二电池处于充电状态或调压状态。The above-mentioned controller is used for coupling with the first battery and the second battery to detect the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, and output the first control signal and the second battery according to the voltage difference between the first battery and the second battery control signal. The above-mentioned controller is also coupled to the control terminal of the first switching element Q1 for outputting a first control signal to the first switching element Q1, and controlling the first switching element Q1 to be in a conducting state or an incomplete conducting state through the first control signal , so that the first battery is in a state of charge or voltage regulation. The above-mentioned controller is also coupled to the control terminal of the second switching element Q2 for outputting a second control signal to the second switching element Q2, and controlling the second switching element Q2 to be in a conducting or incompletely conducting state through the second control signal , so that the second battery is in a state of charge or voltage regulation.
具体地,上述控制器可以包括驱动电路和电压检测电路。电压检测电路用于与第 一电池耦合,以检测第一电池的电压Vbat1。电压检测电路还用于与第二电池耦合,以检测第二电池的电压Vbat2。Specifically, the above-mentioned controller may include a drive circuit and a voltage detection circuit. The voltage detection circuit is used for coupling with the first battery to detect the voltage Vbat1 of the first battery. The voltage detection circuit is also used for coupling with the second battery to detect the voltage Vbat2 of the second battery.
驱动电路与电压检测电路耦合,用于从电压检测电路中获取第一电池的电压Vbat1和第二电池的电压Vbat2,并根据第一电池和第二电池的电压差输出第一控制信号和第二控制信号,以控制第一开关元件Q1和第二开关元件Q2处于导通或不完全导通状态。The drive circuit is coupled to the voltage detection circuit, and is used to obtain the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery from the voltage detection circuit, and output the first control signal and the second battery according to the voltage difference between the first battery and the second battery. The control signal is used to control the first switching element Q1 and the second switching element Q2 to be in a conducting state or an incomplete conducting state.
该驱动电路包括两个输出端,其中,驱动电路的第一输出端用于输出第一控制信号,并与第一开关元件Q1的控制端耦合,以使第一控制信号控制第一开关元件Q1处于导通或不完全导通状态。驱动电路的第二输出端用于输出第二控制信号,并与第二开关元件Q2的控制端耦合,以使第二控制信号控制第二开关元件Q2处于导通或不完全导通状态。The driving circuit includes two output terminals, wherein the first output terminal of the driving circuit is used for outputting the first control signal and is coupled with the control terminal of the first switching element Q1, so that the first control signal controls the first switching element Q1 in a conducting or incompletely conducting state. The second output terminal of the driving circuit is used for outputting the second control signal, and is coupled to the control terminal of the second switching element Q2, so that the second control signal controls the second switching element Q2 to be in a conducting state or an incomplete conducting state.
由于上述控制器由驱动电路和电压检测电路等硬件电路结构实现,为了控制控制器的工作状态以及执行数据检测,上述控制器还连接有通信控制总线,例如集成电路互连(inter-integrated circuit,I2C)总线,该I2C总线可以用于控制控制器的电压检测电路执行电压检测,也可以控制电压检测电路输出第一控制信号和第二控制信号。Since the above-mentioned controller is implemented by hardware circuit structures such as a drive circuit and a voltage detection circuit, in order to control the working state of the controller and perform data detection, the above-mentioned controller is also connected to a communication control bus, such as an integrated circuit interconnect (inter-integrated circuit, I2C) bus, the I2C bus can be used to control the voltage detection circuit of the controller to perform voltage detection, and can also control the voltage detection circuit to output the first control signal and the second control signal.
应理解,上述控制器也可以通过软件实现,例如可以在第一电池所在的通路上耦合第一探测器(sensor1),可以在第二电池所在的通路上耦合第二探测器(sensor2)。该第一探测器可以检测第一电池的电压Vbat1,第二探测器可以检测第二电池的电压Vbat2。电压检测控制模块可以与第一探测器和第二探测器耦合,以获取第一探测器和第二探测器的检测数据,该检测数据可以包括第一电池的电压Vbat1和第二电池的电压Vbat2等。It should be understood that the above-mentioned controller may also be implemented by software, for example, a first detector (sensor1) may be coupled to a path where the first battery is located, and a second detector (sensor2) may be coupled to a path where the second battery is located. The first detector can detect the voltage Vbat1 of the first battery, and the second detector can detect the voltage Vbat2 of the second battery. The voltage detection control module may be coupled with the first detector and the second detector to obtain detection data of the first detector and the second detector, the detection data may include the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery Wait.
控制器可以获取第一探测器检测到的第一电池的电压Vbat1和第二电池的电压Vbat2,并根据第一电池的电压Vbat1和第二电池的电压Vbat2的电压差输出第一控制信号和第二控制信号,以使第一控制信号控制第一开关元件Q1处于导通或不完全导通状态,第二控制信号控制第二开关元件Q2处于导通或不完全导通状态。The controller may acquire the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery detected by the first detector, and output the first control signal and the first control signal according to the voltage difference between the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery. Two control signals, so that the first control signal controls the first switching element Q1 to be in a conducting state or an incompletely conducting state, and the second control signal controls the second switching element Q2 to be in a conducting state or an incompletely conducting state.
需要说明的是,相比于控制器通过软件实现,上述控制器通过驱动电路和电压检测电路等硬件结构实现,控制器的响应速度更快,可以有效避免控制信号切换的瞬间产生的瞬时大电流对充电电路中器件的损坏或对电池的损坏,从而使得该充电电路的可靠性更高。It should be noted that, compared with the controller implemented by software, the above controller is implemented by hardware structures such as drive circuit and voltage detection circuit, and the response speed of the controller is faster, which can effectively avoid the instantaneous high current generated at the moment of control signal switching. Damage to the device in the charging circuit or damage to the battery makes the charging circuit more reliable.
下面以第一开关元件Q1和第二开关元件Q2均为NMOS管为例,对第一控制信号和第二控制信号如何控制第一开关元件Q1和第二开关元件Q2处于导通或不导通状态进行详细说明。In the following, taking the first switching element Q1 and the second switching element Q2 as NMOS transistors as an example, how to control the first switching element Q1 and the second switching element Q2 to be turned on or off for the first control signal and the second control signal Status is explained in detail.
对于NMOS管来说,通过控制NMOS管的栅极电压可以控制NMOS管分别处于导通、不完全导通或关断状态。因此,对于第一控制信号控制第一开关元件Q1处于导通或不导通状态,以及第二控制信号控制第二开关元件Q2处于导通或不导通状态,可以通过驱动电路调节输出的第一控制信号的占空比,以及调节输出的第二控制信号的占空比。其中,占空比是指一个脉冲周期内高电平脉冲在整个脉冲周期内所占的时间比例,例如1秒高电平脉冲1秒低电平脉冲的控制信号的占空比为50%。示例性地,当第一控制信号的占空比为100%时,即第一控制信号为持续的高电平信号时,第一开 关元件Q1处于导通状态,当控制信号的占空比小于一定值(如35%)时,第一开关元件Q1处于关断状态,当控制信号的占空比大于一定值(如35%)且小于100%时,第一开关元件Q1处于不完全导通状态。对于第二控制信号也是如此,此处不再赘述。For the NMOS transistor, by controlling the gate voltage of the NMOS transistor, the NMOS transistor can be controlled to be turned on, incompletely turned on, or turned off, respectively. Therefore, for the first control signal to control the first switching element Q1 to be in a conducting state or a non-conducting state, and the second control signal to control the second switching element Q2 to be in a conducting state or a non-conducting state, the driving circuit can adjust the output of the first switching element. The duty cycle of a control signal is adjusted, and the duty cycle of the output second control signal is adjusted. The duty ratio refers to the time proportion of the high-level pulse in the entire pulse period in one pulse period. For example, the duty ratio of a control signal of a high-level pulse for 1 second and a low-level pulse for 1 second is 50%. Exemplarily, when the duty cycle of the first control signal is 100%, that is, when the first control signal is a continuous high-level signal, the first switching element Q1 is in an on state, and when the duty cycle of the control signal is less than When a certain value (such as 35%), the first switching element Q1 is in an off state, and when the duty cycle of the control signal is greater than a certain value (such as 35%) and less than 100%, the first switching element Q1 is in an incomplete conduction state. state. The same is true for the second control signal, which will not be repeated here.
应理解,上述第一控制信号和第二控制信号可以是由脉冲电源输出脉冲宽度调制(pulse width modulation,PWM)信号。因此,上述驱动电路中设置有脉冲电源。It should be understood that the above-mentioned first control signal and second control signal may be pulse width modulation (pulse width modulation, PWM) signals output by a pulse power supply. Therefore, the above-mentioned drive circuit is provided with a pulse power supply.
当上述充电电路应用于电子设备的充电场景中时,也即当充电电路向第一电池和第二电池充电时,控制器中的电压检测电路可以检测第一电池的电压Vbat1和第二电池的电压Vbat2。控制器中的驱动电路可以从电压检测电路中获取第一电池的电压Vbat1和第二电池的电压Vbat2,并对第一电池的电压Vbat1和第二电池的电压Vbat2进行比较,根据第一电池的电压Vbat1和第二电池的电压Vbat2的比较结果分别输出第一控制信号和第二控制信号。When the above charging circuit is applied to the charging scene of the electronic device, that is, when the charging circuit charges the first battery and the second battery, the voltage detection circuit in the controller can detect the voltage Vbat1 of the first battery and the voltage of the second battery. voltage Vbat2. The drive circuit in the controller can obtain the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery from the voltage detection circuit, and compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, according to the voltage of the first battery. The comparison result of the voltage Vbat1 and the voltage Vbat2 of the second battery outputs a first control signal and a second control signal, respectively.
具体地,若第一电池的电压大于第二电池的电压,且第一电池和第二电池的压差大于预设阈值(记为Vth1),即Vbat1>Vbat2+Vth1,则如图3A所示,第一控制信号为持续的高电平信号,可以控制第一开关元件Q1导通,使第一开关元件Q1处于完全导通状态;第二控制信号为占空比在一定值(如35%)到100%之间的脉冲信号,如图3A所示的占空比为65%的脉冲信号,可以控制第二开关元件Q2不完全导通,使第一开关元件Q1处于调压状态。此时,上述图3可形成如图3B所示的等效电路图,即充电电路到第一电池的通路打开,充电电路可以通过电压转换器向第一电池充电;并且第二开关元件Q2相当于阻值可变的电阻R2,能够拉载较大的电流,从而也可以通过电压转换器向第二电池充电,并通过第二开关元件Q2拉载的较大的电流,对第二电池进行调压,使第二电池的电压升高,以降低第一电池和第二电池的电压差。Specifically, if the voltage of the first battery is greater than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than a preset threshold (denoted as Vth1), that is, Vbat1>Vbat2+Vth1, as shown in FIG. 3A , the first control signal is a continuous high-level signal, which can control the first switching element Q1 to conduct, so that the first switching element Q1 is in a fully conducting state; the second control signal is a duty cycle at a certain value (such as 35%). ) to 100%, such as a pulse signal with a duty cycle of 65% as shown in FIG. 3A , can control the second switching element Q2 to not be fully turned on, so that the first switching element Q1 is in a voltage regulation state. At this time, the above-mentioned FIG. 3 can form an equivalent circuit diagram as shown in FIG. 3B, that is, the path from the charging circuit to the first battery is opened, and the charging circuit can charge the first battery through the voltage converter; and the second switching element Q2 is equivalent to The variable resistance resistor R2 can pull a larger current, so it can also charge the second battery through the voltage converter, and adjust the second battery through the larger current pulled by the second switching element Q2. voltage to increase the voltage of the second battery to reduce the voltage difference between the first battery and the second battery.
相反地,若第一电池的电压小于第二电池的电压,且第一电池和第二电池的压差大于预设阈值,即Vbat1<Vbat2-Vth1,则如图3C所示,第一控制信号为占空比在一定值(如35%)到100%之间的脉冲信号,如图3C所示的占空比为65%的脉冲信号,可以控制第一开关元件Q1不完全导通,使第一开关元件Q1处于调压状态;第二控制信号为持续的高电平信号,可以控制第二开关元件Q2完全导通,使第一开关元件Q1处于完全导通状态。此时,上述图3可形成如图3D所示的等效电路图,即第一开关元件Q1相当于阻值可变的电阻R1,能够拉载较大的电流,从而使充电电路可以通过电压转换器向第一电池充电,并通过第一开关元件Q1拉载的较大的电流,对第一电池进行调压,使第一电池的电压升高,以降低第一电池和第二电池的电压差,并且充电电路到第二电池的通路打开,充电电路可以通过电压转换器向第二电池充电。Conversely, if the voltage of the first battery is lower than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, that is, Vbat1<Vbat2-Vth1, then as shown in FIG. 3C, the first control signal For a pulse signal with a duty ratio between a certain value (such as 35%) and 100%, such as a pulse signal with a duty ratio of 65% as shown in FIG. 3C, the first switching element Q1 can be controlled to not be fully turned on, so that The first switching element Q1 is in a voltage regulation state; the second control signal is a continuous high level signal, which can control the second switching element Q2 to be fully turned on, so that the first switching element Q1 is in a fully turned-on state. At this time, the above-mentioned FIG. 3 can form an equivalent circuit diagram as shown in FIG. 3D, that is, the first switching element Q1 is equivalent to a variable resistance resistor R1, which can pull a large current, so that the charging circuit can be converted by voltage. The device charges the first battery, and pulls a larger current through the first switching element Q1 to regulate the voltage of the first battery, so as to increase the voltage of the first battery to reduce the voltages of the first battery and the second battery difference, and the path of the charging circuit to the second battery is open, the charging circuit can charge the second battery through the voltage converter.
若第一电池和第二电池的压差小于预设阈值,即Vbat1≤Vbat2+Vth1或Vbat1≥Vbat2-Vth1,则如图3E所示,第一控制信号为持续的高电平信号,可以控制第一开关元件Q1完全导通,使第一开关元件Q1处于完全导通状态;第二控制信号为持续的高电平信号,可以控制第二开关元件Q2完全导通,使第二开关元件Q2处于完全导通状态。此时,上述图3可形成如图3F所示的等效电路图,即充电电路到第一电池和第二电池的通路均打开,充电电路可以通过电压转换器分别向第一电池和第二电池充电。If the voltage difference between the first battery and the second battery is smaller than the preset threshold, that is, Vbat1≤Vbat2+Vth1 or Vbat1≥Vbat2-Vth1, as shown in FIG. 3E, the first control signal is a continuous high level signal, which can control The first switching element Q1 is completely turned on, so that the first switching element Q1 is in a completely conducting state; the second control signal is a continuous high level signal, which can control the second switching element Q2 to be completely turned on, so that the second switching element Q2 in a fully conducting state. At this time, the above-mentioned FIG. 3 can form an equivalent circuit diagram as shown in FIG. 3F, that is, the paths from the charging circuit to the first battery and the second battery are both open, and the charging circuit can respectively connect the first battery and the second battery through the voltage converter. Charge.
应理解,上述预设阈值是根据第一电池和第二电池的实际情况预先设置的,例如 上述预设阈值可以是100mV。It should be understood that the above-mentioned preset threshold is preset according to the actual conditions of the first battery and the second battery, for example, the above-mentioned preset threshold may be 100mV.
如此一来,上述充电电路应用于电子设备的充电场景中时,可以通过充电电路中的第一开关元件Q1和第二开关元件Q2分别控制第一电池和第二电池的充电电流,以避免第一电池和第二电池的参数(如截止电压)不一致或者充电通路(如充电电路到第一电池形成的充电通路)的阻抗不平衡而导致某个电池不能充满的问题,从而使第一电池和第二电池均能够达到满充的状态,以提高电子设备中电池的可用容量,提高电池的使用性能。In this way, when the above charging circuit is applied to the charging scene of an electronic device, the charging currents of the first battery and the second battery can be controlled by the first switching element Q1 and the second switching element Q2 in the charging circuit, respectively, so as to avoid the second battery. The parameters (such as cut-off voltage) of one battery and the second battery are inconsistent or the impedance of the charging path (such as the charging path formed by the charging circuit to the first battery) is unbalanced, which leads to the problem that a certain battery cannot be fully charged, so that the first battery and the first battery cannot be fully charged. Both the second batteries can be fully charged, so as to increase the available capacity of the battery in the electronic device and improve the use performance of the battery.
作为本申请的另一个实施例,上述图3所示的充电电路还可以用于第一电池和第二电池的放电场景中,上述第一开关元件Q1的第二端和第二开关元件Q2的第二端还可以用于与图1所示的电子设备中的工作电路耦合,以使第一电池和第二电池放电,并向电子设备中的工作电路供电。As another embodiment of the present application, the charging circuit shown in FIG. 3 can also be used in the discharge scenario of the first battery and the second battery, and the second end of the first switching element Q1 and the second switching element Q2 The second terminal can also be used to couple with the working circuit in the electronic device shown in FIG. 1 to discharge the first battery and the second battery and supply power to the working circuit in the electronic device.
当该充电电路用于第一电池和第二电池的放电场景中时,该充电电路的控制器还用于检测第一电池的电压和第二电池的电压,并根据第一电池和第二电池的压差输出第一控制信号和第二控制信号。该第一控制信号还用于控制第一开关元件Q1处于关断状态。该第二控制信号还用于控制第二开关元件Q2处于关断状态。When the charging circuit is used in the discharge scenario of the first battery and the second battery, the controller of the charging circuit is further used to detect the voltage of the first battery and the voltage of the second battery, and according to the first battery and the second battery The pressure difference outputs the first control signal and the second control signal. The first control signal is also used to control the first switching element Q1 to be in an off state. The second control signal is also used to control the second switching element Q2 to be in an off state.
下面以第一开关元件Q1和第二开关元件Q2均为NMOS管为例,对第一控制信号和第二控制信号如何控制第一电池和第二电池放电进行详细说明。The following describes in detail how the first control signal and the second control signal control the discharge of the first battery and the second battery by taking the first switching element Q1 and the second switching element Q2 as NMOS transistors as an example.
与电子设备处于充电场景类似,在电子设备的整个放电场景中,控制器中的电压检测电路可以检测第一电池的电压Vbat1和第二电池的电压Vbat2。控制器中的驱动电路可以从电压检测电路中获取第一电池的电压Vbat1和第二电池的电压Vbat2,并对第一电池的电压Vbat1和第二电池的电压Vbat2进行比较,根据第一电池的电压Vbat1和第二电池的电压Vbat2的比较结果分别输出第一控制信号和第二控制信号。Similar to the charging scene of the electronic device, the voltage detection circuit in the controller can detect the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery in the whole discharging scene of the electronic device. The drive circuit in the controller can obtain the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery from the voltage detection circuit, and compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, according to the voltage of the first battery. The comparison result of the voltage Vbat1 and the voltage Vbat2 of the second battery outputs a first control signal and a second control signal, respectively.
应理解,电子设备在关机状态和开机状态中,具体的控制逻辑是不同的。下面进行分情况讨论:It should be understood that the specific control logic of the electronic device is different in the power-off state and the power-on state. The following is a case-by-case discussion:
在电子设备扣合组装或关机状态,上述充电电路可以对第一电池和第二电池进行隔离,从而防止第一电池和第二电池的压差较大而导致大电流烧毁器件或损坏电池。具体而言,在电子设备扣合组装或关机状态,可以采用电压较大的电池供电,也可以采用电压较小的电池供电。When the electronic device is assembled or turned off, the charging circuit can isolate the first battery and the second battery, so as to prevent the large voltage difference between the first battery and the second battery from causing a large current to burn the device or damage the battery. Specifically, in the snap-fit assembly or shutdown state of the electronic device, a battery with a higher voltage can be used for power supply, or a battery with a lower voltage can be used for power supply.
下面以电子设备处于关机状态时采用电压较大的电池供电为例进行说明。The following is an example of using a battery with a larger voltage to supply power when the electronic device is in a shutdown state.
若第一电池的电压Vbat1高于第二电池的电压Vbat2,则如图3G所示,第一控制信号为持续的高电平信号,可以控制第一开关元件Q1导通,使第一开关元件Q1处于完全导通状态。第二控制信号为持续的低电平信号,可以控制第二开关元件Q2关断,使第二开关元件Q2处于关断状态。此时,上述图3可形成如图3H所示的等效电路图,即第一电池到工作电路的通路打开,第二电池到工作电路的通路关断,由第一电池向电子设备的工作电路供电。If the voltage Vbat1 of the first battery is higher than the voltage Vbat2 of the second battery, as shown in FIG. 3G , the first control signal is a continuous high level signal, which can control the first switching element Q1 to be turned on, so that the first switching element is turned on. Q1 is fully on. The second control signal is a continuous low level signal, which can control the second switching element Q2 to be turned off, so that the second switching element Q2 is in an off state. At this time, the above-mentioned FIG. 3 can form an equivalent circuit diagram as shown in FIG. 3H, that is, the path from the first battery to the working circuit is opened, the path from the second battery to the working circuit is closed, and the working circuit of the electronic device is connected from the first battery to the working circuit. powered by.
若第一电池的电压Vbat1低于第二电池的电压Vbat2,则如图3I所示,第一控制信号为持续的低电平信号,可以控制第一开关元件Q1关断,使第一开关元件Q1处于关断状态。第二控制信号为持续的高电平信号,可以控制第二开关元件Q2导通,使第二开关元件Q2处于完全导通状态。此时,上述图3可形成如图3J所示的等效电路 图,即第一电池到工作电路的通路关断,第二电池到工作电路的通路打开,由第二电池向电子设备的工作电路供电。If the voltage Vbat1 of the first battery is lower than the voltage Vbat2 of the second battery, as shown in FIG. 3I, the first control signal is a continuous low level signal, which can control the first switching element Q1 to turn off, so that the first switching element Q1 is off. The second control signal is a continuous high level signal, which can control the second switching element Q2 to be turned on, so that the second switching element Q2 is in a fully turned-on state. At this time, the above-mentioned FIG. 3 can form an equivalent circuit diagram as shown in FIG. 3J, that is, the path from the first battery to the working circuit is closed, the path from the second battery to the working circuit is opened, and the second battery is connected to the working circuit of the electronic device. powered by.
如此一来,可以切断第一电池与第二电池之间的通路,从而避免第一电池和第二电池压差较大而导致大电流互充,产生烧毁器件或损坏电池的现象。In this way, the passage between the first battery and the second battery can be cut off, so as to avoid a large voltage difference between the first battery and the second battery causing high currents to charge each other, resulting in the phenomenon of burning the device or damaging the battery.
当电子设备开机之后,在一些实施例中,在第一电池和第二电池处于放电状态的情况下,若第一电池和第二电池的压差较大,可以先由第一电池和第二电池中电压较大的电池向工作电路供电,待第一电池和第二电池的压差降低后,再由第一电池和第二电池均向工作电路供电,从而避免第一电池和第二电池压差较大而导致大电流互充,产生烧毁器件或损坏电池的现象。具体的控制流程如下:After the electronic device is turned on, in some embodiments, when the first battery and the second battery are in a discharged state, if the voltage difference between the first battery and the second battery is large, the first battery and the second battery The battery with the larger voltage in the battery supplies power to the working circuit. After the voltage difference between the first battery and the second battery is reduced, both the first battery and the second battery supply power to the working circuit, so as to avoid the first battery and the second battery. The large voltage difference leads to the mutual charging of large currents, resulting in the phenomenon of burning the device or damaging the battery. The specific control process is as follows:
若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,即Vbat1>Vbat2+Vth1,则可采用如图3G所示第一控制信号和第二控制信号,并使上述图3形成如图3H所示的等效电路图,即第一控制信号为持续的高电平信号,可以控制第一开关元件Q1完全导通,使第一开关元件Q1处于完全导通状态,第一电池与工作电路之间的通路打开,第一电池可以向工作电路供电。第二控制信号为持续的低电平信号,可以控制第二开关元件Q2关断,使第二开关元件Q2处于关断状态,第一电池与工作电路之间的通路断开,第二电池暂时不向工作电路供电。If the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, that is, Vbat1>Vbat2+Vth1, the first control signal and the The second control signal makes the above-mentioned FIG. 3 form an equivalent circuit diagram as shown in FIG. 3H , that is, the first control signal is a continuous high-level signal, which can control the first switching element Q1 to be completely turned on, so that the first switching element is turned on. Q1 is in a fully conducting state, the path between the first battery and the working circuit is open, and the first battery can supply power to the working circuit. The second control signal is a continuous low level signal, which can control the second switching element Q2 to be turned off, so that the second switching element Q2 is in an off state, the path between the first battery and the working circuit is disconnected, and the second battery temporarily Do not supply power to operating circuits.
若第一电池的电压小于第二电池的电压,且第一电池和第二电池的压差大于预设阈值,即Vbat1<Vbat2-Vth1,则可采用如图3I所示第一控制信号和第二控制信号,并使上述图3形成如图3J所示的等效电路图,即第一控制信号为持续的低电平信号,可以控制第一开关元件Q1关断,使第一开关元件Q1处于关断状态,第一电池与工作电路之间的通路断开,第一电池暂时不向工作电路供电。第二控制信号为持续的高电平信号,可以控制第二开关元件Q2完全导通,使第二开关元件Q2处于完全导通状态,第一电池与工作电路之间的通路打开,第二电池可以向工作电路供电。If the voltage of the first battery is lower than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, that is, Vbat1<Vbat2-Vth1, the first control signal and the second battery as shown in FIG. 3I can be used. 3 to form the equivalent circuit diagram shown in FIG. 3J, that is, the first control signal is a continuous low-level signal, which can control the first switching element Q1 to be turned off, so that the first switching element Q1 is in the In the off state, the path between the first battery and the working circuit is disconnected, and the first battery temporarily does not supply power to the working circuit. The second control signal is a continuous high-level signal, which can control the second switching element Q2 to be fully turned on, so that the second switching element Q2 is in a fully conductive state, the path between the first battery and the working circuit is opened, and the second battery Power can be supplied to the working circuit.
若第一电池和第二电池的压差小于预设阈值,即Vbat1≤Vbat2+Vth1或Vbat1≥Vbat2-Vth1,则可采用如图3E所示第一控制信号和第二控制信号,并使上述图3形成如图3F所示的等效电路图,即第一控制信号为持续的高电平信号,可以控制第一开关元件Q1完全导通,使第一开关元件Q1处于完全导通状态,第一电池与工作电路之间的通路打开,第一电池可以向工作电路供电。第二控制信号也为持续的高电平信号,可以控制第二开关元件Q2完全导通,使第二开关元件Q2处于完全导通状态,第一电池与工作电路之间的通路打开,第二电池也可以向工作电路供电。If the voltage difference between the first battery and the second battery is less than the preset threshold, that is, Vbat1≤Vbat2+Vth1 or Vbat1≥Vbat2-Vth1, the first control signal and the second control signal as shown in FIG. 3E can be used, and the above-mentioned FIG. 3 forms the equivalent circuit diagram as shown in FIG. 3F , that is, the first control signal is a continuous high level signal, which can control the first switching element Q1 to be completely turned on, so that the first switching element Q1 is in a fully turned-on state, and the first The path between a battery and the working circuit is opened, and the first battery can supply power to the working circuit. The second control signal is also a continuous high-level signal, which can control the second switching element Q2 to be fully turned on, so that the second switching element Q2 is in a fully conductive state, the path between the first battery and the working circuit is opened, and the second switching element Q2 is fully turned on. The battery can also supply power to the working circuit.
当电子设备开机之后,在另一些实施例中,在第一电池和第二电池处于放电状态的情况下,若第一电池和第二电池的压差较大,可以先由第一电池和第二电池中电压较小的电池向工作电路供电,而第一电池和第二电池中电压较大的电池处于调压状态;当第一电池和第二电池的压差降低后,再由第一电池和第二电池均向工作电路供电,从而避免第一电池和第二电池压差较大而导致大电流互充,产生烧毁器件或损坏电池的现象。具体的控制流程如下:After the electronic device is turned on, in other embodiments, when the first battery and the second battery are in a discharged state, if the voltage difference between the first battery and the second battery is large, the first battery and the second battery The battery with the smaller voltage in the second battery supplies power to the working circuit, while the battery with the larger voltage in the first battery and the second battery is in a voltage regulation state; when the voltage difference between the first battery and the second battery is reduced, the first battery and the second battery Both the battery and the second battery supply power to the working circuit, so as to avoid a large voltage difference between the first battery and the second battery that leads to mutual charging of large currents, resulting in the phenomenon of burning the device or damaging the battery. The specific control process is as follows:
若第一电池的电压高于第二电池的电压,且第一电池与第二电池的电压差大于预设阈值,即Vbat1>Vbat2+Vth1,则可采用如图3C所示第一控制信号和第二控制信号,并使上述图3形成如图3D所示的等效电路图,即第一控制信号为占空比在一定值(如 35%)到100%之间的脉冲信号,可以控制第一开关元件Q1不完全导通,使第一开关元件Q1处于调压状态,此时第一开关元件Q1可以相当于阻值可变的电阻R1,第一电池可以向第二电池充电,以调节第一电池和第二电池的电压。第二控制信号为持续的高电平信号,可以控制第二开关元件Q2导通,使第二开关元件Q2处于导通状态,第一电池与工作电路之间的通路打开,第二电池向工作电路供电。If the voltage of the first battery is higher than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, that is, Vbat1>Vbat2+Vth1, the first control signal and the The second control signal makes the above-mentioned FIG. 3 form an equivalent circuit diagram as shown in FIG. 3D, that is, the first control signal is a pulse signal with a duty ratio between a certain value (such as 35%) and 100%, which can control the first control signal. A switching element Q1 is not fully turned on, so that the first switching element Q1 is in a voltage regulation state. At this time, the first switching element Q1 can be equivalent to a variable resistance resistor R1, and the first battery can charge the second battery to adjust the voltage. The voltage of the first battery and the second battery. The second control signal is a continuous high-level signal, which can control the second switching element Q2 to be turned on, so that the second switching element Q2 is in a conducting state, the path between the first battery and the working circuit is opened, and the second battery is turned to work. circuit powered.
若第一电池的电压小于第二电池的电压,且第一电池和第二电池的压差大于预设阈值,即Vbat1<Vbat2-Vth1,则可采用如图3A所示第一控制信号和第二控制信号,并使上述图3形成如图3B所示的等效电路图,即第一控制信号为持续的高电平信号,可以控制第一开关元件Q1导通,使第一开关元件Q1处于导通状态,第一电池与工作电路之间的通路打开,第一电池向工作电路供电。第二控制信号为占空比在一定值(如35%)到100%之间的脉冲信号,可以控制第二开关元件Q2不完全导通,使第二开关元件Q2处于调压状态,此时第二开关元件Q2可以相当于阻值可变的电阻R2,第一电池可以向第二电池充电,以调节第一电池和第二电池的电压。If the voltage of the first battery is lower than the voltage of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, that is, Vbat1<Vbat2-Vth1, the first control signal and the second battery as shown in FIG. 3A can be used. Two control signals, and make the above-mentioned FIG. 3 form an equivalent circuit diagram as shown in FIG. 3B, that is, the first control signal is a continuous high-level signal, which can control the first switching element Q1 to be turned on, so that the first switching element Q1 is in the In the conduction state, the path between the first battery and the working circuit is opened, and the first battery supplies power to the working circuit. The second control signal is a pulse signal with a duty ratio between a certain value (such as 35%) and 100%, which can control the second switching element Q2 to not be fully turned on, so that the second switching element Q2 is in a voltage regulation state, at this time The second switching element Q2 may be equivalent to a variable resistance resistor R2, and the first battery may charge the second battery to adjust the voltages of the first battery and the second battery.
若第一电池和第二电池的压差小于预设阈值,即Vbat1≤Vbat2+Vth1或Vbat1≥Vbat2-Vth1,则可采用如图3E所示第一控制信号和第二控制信号,并使上述图3形成如图3F所示的等效电路图,即第一控制信号为持续的高电平信号,可以控制第一开关元件Q1完全导通,使第一开关元件Q1处于完全导通状态,第一电池与工作电路之间的通路打开,第一电池可以向工作电路供电。第二控制信号为持续的高电平信号,可以控制第二开关元件Q2完全导通,使第二开关元件Q2处于完全导通状态,第一电池与工作电路之间的通路打开,第二电池也可以向工作电路供电。If the voltage difference between the first battery and the second battery is less than the preset threshold, that is, Vbat1≤Vbat2+Vth1 or Vbat1≥Vbat2-Vth1, the first control signal and the second control signal as shown in FIG. 3E can be used, and the above-mentioned FIG. 3 forms the equivalent circuit diagram as shown in FIG. 3F , that is, the first control signal is a continuous high level signal, which can control the first switching element Q1 to be completely turned on, so that the first switching element Q1 is in a fully turned-on state, and the first The path between a battery and the working circuit is opened, and the first battery can supply power to the working circuit. The second control signal is a continuous high-level signal, which can control the second switching element Q2 to be fully turned on, so that the second switching element Q2 is in a fully conductive state, the path between the first battery and the working circuit is opened, and the second battery It is also possible to supply power to the working circuit.
在另一些实施例中,如图4所示,电子设备的第一电池和第二电池既可以使用图3所示的充电电路充电,还可以使用两个独立的电荷泵芯片分别向第一电池和第二电池充电。具体地,上述电子设备中还包括第一电荷泵芯片和第二电荷泵芯片。其中,第一电荷泵芯片的一端与电源适配器的输出端Vbus耦合,第一电荷泵芯片的另一端与第一电池耦合。第二电荷泵芯片的一端与电源适配器的输出端Vbus耦合,第一电荷泵芯片的另一端与第二电池耦合。In other embodiments, as shown in FIG. 4 , the first battery and the second battery of the electronic device can be charged either by the charging circuit shown in FIG. 3 , or by using two independent charge pump chips to charge the first battery respectively. and charge the second battery. Specifically, the above electronic device further includes a first charge pump chip and a second charge pump chip. One end of the first charge pump chip is coupled to the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled to the first battery. One end of the second charge pump chip is coupled to the output end Vbus of the power adapter, and the other end of the first charge pump chip is coupled to the second battery.
在图4所示的电子设备中,当第一电池或第二电池满足电荷泵芯片的充电条件,例如第一电池的电压达到3.5V,可以采用第一电荷泵芯片对第一电池充电。第二电池的电压达到3V,可以采用第二电荷泵芯片对第二电池充电。In the electronic device shown in FIG. 4 , when the first battery or the second battery meets the charging conditions of the charge pump chip, for example, the voltage of the first battery reaches 3.5V, the first charge pump chip can be used to charge the first battery. The voltage of the second battery reaches 3V, and the second charge pump chip can be used to charge the second battery.
在此情况下,在上述充电电路中,控制器中的电压检测电路可以检测第一电池的电压Vbat1和第二电池的电压Vbat2。当第一电池的电压Vbat1达到3.5V,则控制器中的驱动器输出的第一控制信号可以控制第一开关元件Q1处于关断状态,第一电池停止使用充电电路进行充电,并采用第一电荷泵芯片充电。当第二电池的电压Vbat2达到3V时,则控制器中的驱动器输出的第二控制信号可以控制第二开关元件Q2处于关断状态,第二电池停止使用充电电路进行充电,并采用第二电荷泵芯片充电。如此一来,上述电子设备可以使用电荷泵芯片对第一电池和第二电池进行快速充电,以提高充电的速度。In this case, in the above charging circuit, the voltage detection circuit in the controller can detect the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery. When the voltage Vbat1 of the first battery reaches 3.5V, the first control signal output by the driver in the controller can control the first switching element Q1 to be in an off state, the first battery stops using the charging circuit for charging, and uses the first charge The pump chip is charged. When the voltage Vbat2 of the second battery reaches 3V, the second control signal output by the driver in the controller can control the second switching element Q2 to be in an off state, the second battery stops using the charging circuit for charging, and uses the second charge The pump chip is charged. In this way, the above-mentioned electronic device can use the charge pump chip to rapidly charge the first battery and the second battery, so as to improve the charging speed.
当检测到第一电池的充电电流较小,如小于第一电池的截止电流时,若第一电池的电压还未达到截止电压,则上述充电电路中的控制器还可以输出第一控制信号,以 控制第一开关元件Q1处于导通状态,并继续使用充电电路向第一电池充电。When it is detected that the charging current of the first battery is small, such as less than the cut-off current of the first battery, if the voltage of the first battery has not reached the cut-off voltage, the controller in the above charging circuit can also output a first control signal, So as to control the first switching element Q1 to be in a conducting state, and continue to use the charging circuit to charge the first battery.
相应地,当检测到第二电池的充电电流较小,如小于第二电池的截止电流时,若第二电池的电压还未达到截止电压,则上述充电电路中的控制器还可以输出第二控制信号,以控制第二开关元件Q2处于导通状态,并继续使用充电电路向第二电池充电。Correspondingly, when it is detected that the charging current of the second battery is small, such as less than the cut-off current of the second battery, if the voltage of the second battery has not reached the cut-off voltage, the controller in the above charging circuit can also output the second battery. The control signal is used to control the second switching element Q2 to be in an on state and continue to use the charging circuit to charge the second battery.
应理解,第一电池的充电电流可以通过如图4所示的第一探测器检测,第二电池的充电电流可以通过如图4所述的第二探测器检测。其中,第一探测器设置于第一电池所在的通路上,第二探测器设置于第二电池所在的通路上。It should be understood that the charging current of the first battery can be detected by the first detector as shown in FIG. 4 , and the charging current of the second battery can be detected by the second detector as shown in FIG. 4 . Wherein, the first detector is arranged on the path where the first battery is located, and the second detector is arranged on the path where the second battery is located.
如图5所示,本申请实施例还提供一种充电电路的控制方法,该充电电路的控制方法包括S501-S503。As shown in FIG. 5 , an embodiment of the present application further provides a control method of a charging circuit, and the control method of the charging circuit includes S501-S503.
S501,控制器检测第一电池的电压和第二电池的电压。S501, the controller detects the voltage of the first battery and the voltage of the second battery.
S502,控制器根据第一电池和第二电池的电压差,输出第一控制信号,以控制第一开关元件Q1处于导通、不完全导通或关断状态。S502 , the controller outputs a first control signal according to the voltage difference between the first battery and the second battery, so as to control the first switching element Q1 to be turned on, not completely turned on, or turned off.
具体的控制过程请参考上述实施例,此处不再赘述。For the specific control process, please refer to the above-mentioned embodiment, which will not be repeated here.
S503,控制器根据第一电池和第二电池的电压差,输出第二控制信号,以控制第二开关元件Q2处于导通、不完全导通或关断状态。S503 , the controller outputs a second control signal according to the voltage difference between the first battery and the second battery, so as to control the second switching element Q2 to be in an on state, an incomplete turn on state or an off state.
具体的控制过程以及技术效果请参考上述实施例,此处不再赘述。For the specific control process and technical effects, please refer to the above-mentioned embodiments, which will not be repeated here.
如图6所述,本申请实施例还提供一种电子设备的充放电控制方法。在该电子设备的充放电控制方法中,当电子设备处于关机状态时,执行S601使充电电路控制第一电池和第二电池中电压较高的电池向电子设备的工作电路供电。例如,第一电池的电压Vbat1高于第二电池的电压Vbat2,则由第一电池向电子设备的工作电路供电。又例如,第一电池的电压Vbat1低于第二电池的电压Vbat2,则由第二电池向电子设备的工作电路供电。具体的控制方法请参考上述实施例中的描述,此处不再赘述。As shown in FIG. 6 , an embodiment of the present application further provides a charging and discharging control method for an electronic device. In the charging and discharging control method of the electronic device, when the electronic device is in a shutdown state, S601 is executed to enable the charging circuit to control the battery with a higher voltage among the first battery and the second battery to supply power to the working circuit of the electronic device. For example, if the voltage Vbat1 of the first battery is higher than the voltage Vbat2 of the second battery, the first battery supplies power to the working circuit of the electronic device. For another example, if the voltage Vbat1 of the first battery is lower than the voltage Vbat2 of the second battery, the second battery supplies power to the working circuit of the electronic device. For the specific control method, please refer to the description in the above-mentioned embodiment, which will not be repeated here.
当电子设备开机后,电子设备中的第一电池和第二电池进行放电,上述充电电路中的控制器可以执行S602,比较第一电池的电压Vbat1和第二电池的电压Vbat2。示例性地,当第一电池的电压Vbat1高于第二电池的电压Vbat2,并且第一电池和第二电池的电压差大于预设阈值,则上述充电电路执行S603控制第一电池向电子设备的工作电路供电。当第一电池的电压Vbat1低于第二电池的电压Vbat2,并且第一电池和第二电池的电压差大于预设阈值,则上述充电电路执行S604控制第二电池向电子设备的工作电路供电。当第一电池和第二电池的电压差小于或等于预设阈值时,则上述控制电路执行S605控制第一电池和第二电池均向工作电路供电。After the electronic device is powered on, the first battery and the second battery in the electronic device are discharged, and the controller in the above charging circuit may execute S602 to compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery. Exemplarily, when the voltage Vbat1 of the first battery is higher than the voltage Vbat2 of the second battery, and the voltage difference between the first battery and the second battery is greater than a preset threshold, the above-mentioned charging circuit executes S603 to control the charging of the first battery to the electronic device. The working circuit is powered. When the voltage Vbat1 of the first battery is lower than the voltage Vbat2 of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the charging circuit executes S604 to control the second battery to supply power to the working circuit of the electronic device. When the voltage difference between the first battery and the second battery is less than or equal to the preset threshold, the above control circuit executes S605 to control both the first battery and the second battery to supply power to the working circuit.
当第一电池和第二电池放电结束后,用户可以将电子设备连接电源适配器,电子设备响应于用户的操作,执行S606使第一电池和第二电池处于充电状态并由上述充电电路充电。此时,上述充电电路中的控制器可以执行S607,比较第一电池的电压Vbat1和第二电池的电压Vbat2,并根据第一电池的电压Vbat1和第二电池的电压Vbat2的差值,控制第一电池和第二电池的状态。示例性地,当第一电池的电压Vbat1高于第二电池的电压Vbat2,并且第一电池和第二电池的电压差大于预设阈值,则上述充电电路执行S608控制第一电池处于充电状态,第二电池处于调压状态。当第一电池的电压Vbat1低于第二电池的电压Vbat2,并且第一电池和第二电池的电压差大于预设阈值,则上述充电电路执行S609控制第一电池处于调压状态,第二电池处于充电状态。当第 一电池和第二电池的电压差小于或等于预设阈值时,则上述控制电路执行S610控制第一电池和第二电池均处于充电状态。After the first battery and the second battery are discharged, the user can connect the electronic device to the power adapter, and the electronic device, in response to the user's operation, executes S606 to make the first battery and the second battery in a charging state and charged by the above charging circuit. At this time, the controller in the above charging circuit may execute S607, compare the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery, and control the first battery according to the difference between the voltage Vbat1 of the first battery and the voltage Vbat2 of the second battery. Status of the first battery and the second battery. Exemplarily, when the voltage Vbat1 of the first battery is higher than the voltage Vbat2 of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the above-mentioned charging circuit executes S608 to control the first battery to be in a charging state, The second battery is in a voltage regulation state. When the voltage Vbat1 of the first battery is lower than the voltage Vbat2 of the second battery, and the voltage difference between the first battery and the second battery is greater than the preset threshold, the above charging circuit executes S609 to control the first battery to be in a voltage regulation state, and the second battery is charging. When the voltage difference between the first battery and the second battery is less than or equal to the preset threshold, the above control circuit executes S610 to control both the first battery and the second battery to be in a charging state.
在第一电池和第二电池的充电过程中,上述充电电路的控制器还可以执行S611,判断第一电池的电压是否满足第一电荷泵芯片的充电条件。例如,假设第一电荷泵芯片的充电条件为第一电池的电压Vbat1达到3.5V。当第一电池的电压Vbat1达到3.5V时,上述充电电路的控制器控制第一开关元件Q1关断,并执行S612由第一电荷泵芯片向第一电池充电。然后,上述充电芯片还可以执行S613判断第一电池的电压是否达到充电截止电压。若第一电池的电压已达到充电截止电压,则执行S619第一电池充电截止。在第一电荷泵芯片向第一电池充电的过程中,若第一电池的充电电流较小,如小于第一电池的截止电流时,并且第一电池的电压还未达到截止电压,则上述充电电路中的控制器还可以执行S617控制第一开关元件Q1处于导通状态,并继续使用充电电路向第一电池充电。During the charging process of the first battery and the second battery, the controller of the above charging circuit may further execute S611 to determine whether the voltage of the first battery satisfies the charging condition of the first charge pump chip. For example, it is assumed that the charging condition of the first charge pump chip is that the voltage Vbat1 of the first battery reaches 3.5V. When the voltage Vbat1 of the first battery reaches 3.5V, the controller of the above charging circuit controls the first switching element Q1 to be turned off, and executes S612 to charge the first battery from the first charge pump chip. Then, the above-mentioned charging chip may also execute S613 to determine whether the voltage of the first battery reaches the charging cut-off voltage. If the voltage of the first battery has reached the charge cut-off voltage, S619 is executed to cut off the charge of the first battery. During the process of charging the first battery by the first charge pump chip, if the charging current of the first battery is small, such as less than the cut-off current of the first battery, and the voltage of the first battery has not yet reached the cut-off voltage, the above-mentioned charging The controller in the circuit may also execute S617 to control the first switching element Q1 to be in an on state, and continue to use the charging circuit to charge the first battery.
在第一电池和第二电池的充电过程中,上述充电电路的控制器还可以执行S614,判断第二电池的电压是否满足第二电荷泵芯片的充电条件。例如,假设第二电荷泵芯片的充电条件为第二电池的电压Vbat2达到3V。当第二电池的电压Vbat1达到3V时,上述充电电路的控制器控制第二开关元件Q2关断,并执行S615由第二电荷泵芯片向第二电池充电。然后,上述充电芯片还可以执行S616判断第二电池的电压是否达到充电截止电压。若第二电池的电压已达到充电截止电压,则执行S619第二电池充电截止。在第二电荷泵芯片向第二电池充电的过程中,若第二电池的充电电流较小,如小于第二电池的截止电流时,并且第二电池的电压还未达到截止电压,则上述充电电路中的控制器还可以执行S618控制第二开关元件Q2处于导通状态,并继续使用充电电路向第二电池充电。During the charging process of the first battery and the second battery, the controller of the above charging circuit may also execute S614 to determine whether the voltage of the second battery satisfies the charging condition of the second charge pump chip. For example, it is assumed that the charging condition of the second charge pump chip is that the voltage Vbat2 of the second battery reaches 3V. When the voltage Vbat1 of the second battery reaches 3V, the controller of the charging circuit controls the second switching element Q2 to be turned off, and executes S615 to charge the second battery from the second charge pump chip. Then, the above-mentioned charging chip may also execute S616 to determine whether the voltage of the second battery reaches the charging cut-off voltage. If the voltage of the second battery has reached the charge cutoff voltage, execute S619 to cut off the second battery charge. During the process of charging the second battery by the second charge pump chip, if the charging current of the second battery is small, such as less than the cut-off current of the second battery, and the voltage of the second battery has not yet reached the cut-off voltage, the above charging The controller in the circuit may also execute S618 to control the second switching element Q2 to be in an on state, and continue to use the charging circuit to charge the second battery.
本申请实施例还提供另一种电子设备。如图7所示,该电子设备包括供电电池、工作电路和充电电路。该供电电池包括两个正极,分别为第一正极和第二正极,还包括一个负极。该充电电路的结构可以采用上述图3或图4中的充电电路的结构。The embodiment of the present application further provides another electronic device. As shown in FIG. 7 , the electronic device includes a power supply battery, a working circuit and a charging circuit. The power supply battery includes two positive electrodes, respectively a first positive electrode and a second positive electrode, and a negative electrode. The structure of the charging circuit may adopt the structure of the charging circuit in the above-mentioned FIG. 3 or FIG. 4 .
该充电电路包括电压转换器、控制器、第一开关元件Q1和第二开关元件Q2。其中,第一开关元件Q1的第一端用于与第一正极耦合,第二开关元件Q2的第一端用于与第二正极耦合。第一开关元件Q1的第二端和第二开关元件Q2的第二端均与电压转换器的第一端耦合,以使电压转换器通过第一正极和第二正极向供电电池。电压转换电路的第二端用于与电源适配器耦合,用于获取电源适配器输出的直流电Vbus。The charging circuit includes a voltage converter, a controller, a first switching element Q1 and a second switching element Q2. The first end of the first switching element Q1 is used for coupling with the first positive electrode, and the first end of the second switching element Q2 is used for coupling with the second positive electrode. The second terminal of the first switching element Q1 and the second terminal of the second switching element Q2 are both coupled to the first terminal of the voltage converter, so that the voltage converter supplies power to the battery through the first positive electrode and the second positive electrode. The second end of the voltage conversion circuit is used for coupling with the power adapter, and is used for obtaining the direct current Vbus output by the power adapter.
上述控制器用于与第一正极和第二正极耦合,以检测第一正极的电压和第二正极的电压,并根据第一正极和第二正极的压差输出第一控制信号和第二控制信号。上述控制器还与第一开关元件Q1的控制端耦合,用于通过第一控制信号控制第一开关元件Q1处于导通或不完全导通状态,以使第一正极处于充电状态或调压状态。上述控制器还与第二开关元件Q2的控制端耦合,用于通过第二控制信号控制第二开关元件Q2处于导通或不完全导通状态,以使第二正极处于充电状态或调压状态。The above-mentioned controller is used for coupling with the first positive electrode and the second positive electrode to detect the voltage of the first positive electrode and the voltage of the second positive electrode, and output the first control signal and the second control signal according to the voltage difference between the first positive electrode and the second positive electrode . The above-mentioned controller is also coupled with the control terminal of the first switching element Q1, and is used to control the first switching element Q1 to be in a conducting state or an incomplete conducting state through a first control signal, so that the first positive electrode is in a charging state or a voltage regulating state . The above-mentioned controller is also coupled with the control terminal of the second switching element Q2, and is used to control the second switching element Q2 to be in a conducting or incomplete conducting state through a second control signal, so that the second positive electrode is in a charging state or a voltage regulating state .
具体控制流程可以参考上述图3和图4所示的电子设备,此处不再赘述。For the specific control process, reference may be made to the electronic devices shown in FIG. 3 and FIG. 4 , which will not be repeated here.
应理解,上述图7所示的电子设备的技术效果可以参考上述图3所示的充电电路的技术效果,此处不再赘述。It should be understood that the technical effect of the electronic device shown in FIG. 7 may refer to the technical effect of the charging circuit shown in FIG. 3 , which will not be repeated here.
本申请实施例还提供又一种电子设备。该电子设备包括第一电池、第二电池、充电电路和工作电路。其中,第一电池和第二电池通过充电电路与工作电路耦合。当电子设备运行时,充电电路用于执行如上图5所示的方法。应理解,该电子设备的技术效果可以参考上述图3和图4所示的电子设备的技术效果,此处不再赘述。The embodiments of the present application further provide another electronic device. The electronic device includes a first battery, a second battery, a charging circuit and a working circuit. Wherein, the first battery and the second battery are coupled with the working circuit through the charging circuit. When the electronic device is in operation, the charging circuit is used to perform the method shown in Figure 5 above. It should be understood that for the technical effect of the electronic device, reference may be made to the technical effect of the electronic device shown in FIG. 3 and FIG. 4 , which will not be repeated here.
本申请实施例还提供一种充电芯片。该充电芯片可以应用于上述图1所示的电子设备。该电子设备包括第一电池、第二电池和工作电路。如图8所示,该充电芯片包括第一接口、第二接口、第三接口、第四接口,以及如图3所示的充电电路。The embodiment of the present application also provides a charging chip. The charging chip can be applied to the electronic device shown in FIG. 1 above. The electronic device includes a first battery, a second battery and a working circuit. As shown in FIG. 8 , the charging chip includes a first interface, a second interface, a third interface, a fourth interface, and a charging circuit as shown in FIG. 3 .
其中,第一接口用于耦合电源适配器和电压转换电路的第二端。Wherein, the first interface is used for coupling the power adapter and the second end of the voltage conversion circuit.
第二接口用于耦合第一开关元件的第二端、第二开关元件的第二端、电压转换电路的第一端以及工作电路。The second interface is used for coupling the second end of the first switching element, the second end of the second switching element, the first end of the voltage conversion circuit and the working circuit.
第三接口用于耦合第一电池。第四接口用于耦合第二电池。The third interface is used to couple the first battery. The fourth interface is used to couple the second battery.
当然,若上述充电电路中的控制器由驱动电路和电压检测电路实现,则该充电芯片还可以包括通信控制接口,该通信控制接口用于耦合控制总线(如I2C总线)和控制器。Of course, if the controller in the above charging circuit is implemented by a drive circuit and a voltage detection circuit, the charging chip may further include a communication control interface for coupling a control bus (eg, I2C bus) and the controller.
应理解,上述充电芯片的技术效果可以参考上述图3所示的充电电路的技术效果,此处不再赘述。此外,将上述图3所示的充电电路封装到充电芯片中,便于电子产品的组装与接线,可以提高电子设备的集成度。It should be understood that for the technical effect of the above charging chip, reference may be made to the technical effect of the charging circuit shown in FIG. 3 , which will not be repeated here. In addition, encapsulating the charging circuit shown in FIG. 3 into a charging chip facilitates the assembly and wiring of electronic products, and can improve the integration degree of electronic devices.
综上所述,本申请实施例提供的充电电路或充电芯片应用到电子设备后,在电子设备的生成过程中,可以不用考虑第一电池和第一电池的电压,直接组装,从而提高生产效率,减少生成成本。并且,在电子设备的充放电过程中,可以在第一电池和第二电池的电压差较大的情况下,实现第一电池和第二电池电压的快速均衡与隔离,从而提高电池的充放电性能,进而提高电子设备的电池的安全性和可靠性。To sum up, after the charging circuit or charging chip provided in the embodiments of the present application is applied to an electronic device, in the process of generating the electronic device, it can be assembled directly without considering the voltages of the first battery and the first battery, thereby improving production efficiency , reducing production costs. In addition, during the charging and discharging process of the electronic device, the voltage of the first battery and the second battery can be quickly balanced and isolated when the voltage difference between the first battery and the second battery is large, thereby improving the charging and discharging of the battery. performance, thereby improving the safety and reliability of batteries for electronic devices.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。From the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. For the specific working process of the system, apparatus and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Each functional unit in each of the embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不 局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application shall be covered by this within the protection scope of the application examples. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.

Claims (26)

  1. 一种充电电路,其特征在于,包括:电压转换器、控制器、第一开关元件和第二开关元件;A charging circuit, comprising: a voltage converter, a controller, a first switching element and a second switching element;
    所述第一开关元件的第一端与第一电池耦合,所述第二开关元件的第一端与第二电池耦合;所述第一开关元件的第二端和所述第二开关元件的第二端均与所述电压转换器的第一端耦合;所述电压转换电路的第二端与电源适配器耦合;The first end of the first switch element is coupled to the first battery, the first end of the second switch element is coupled to the second battery; the second end of the first switch element and the second end of the second switch element The second ends are all coupled with the first end of the voltage converter; the second end of the voltage converter circuit is coupled with the power adapter;
    所述控制器与第一电池和第二电池耦合,用于检测所述第一电池的电压和所述第二电池的电压,并输出第一控制信号和第二控制信号;所述控制器与所述第一开关元件耦合,用于通过所述第一控制信号控制所述第一开关元件;所述控制器还与所述第二开关元件耦合,用于通过所述第二控制信号控制所述第二开关元件。The controller is coupled with the first battery and the second battery, and is used for detecting the voltage of the first battery and the voltage of the second battery, and outputting a first control signal and a second control signal; the controller is connected to The first switching element is coupled for controlling the first switching element through the first control signal; the controller is also coupled with the second switching element for controlling the first switching element through the second control signal the second switching element.
  2. 根据权利要求1所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于充电状态的情况下,若所述第一电池的电压高于所述第二电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号用于控制所述第一开关元件导通,使所述第一电池充电;所述第二控制信号用于控制所述第二开关元件不完全导通,使所述第二电池调压充电。The charging circuit according to claim 1, wherein when the first battery and the second battery are in a charging state, if the voltage of the first battery is higher than the voltage of the second battery , and the voltage difference between the first battery and the second battery is greater than a preset threshold, the first control signal is used to control the first switching element to be turned on, so that the first battery is charged; the The second control signal is used to control the second switching element to not be fully turned on, so that the second battery can be voltage-regulated and charged.
  3. 根据权利要求1或2所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于充电状态的情况下,若所述第二电池的电压高于所述第一电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号用于控制所述第一开关元件不完全导通,使所述第一电池调压充电;所述第二控制信号用于控制所述第二开关元件导通,使所述第二电池充电。The charging circuit according to claim 1 or 2, wherein when the first battery and the second battery are in a charged state, if the voltage of the second battery is higher than that of the first battery voltage, and the voltage difference between the first battery and the second battery is greater than a preset threshold, the first control signal is used to control the first switching element not to be fully turned on, so that the first battery Voltage regulation charging; the second control signal is used to control the conduction of the second switch element to charge the second battery.
  4. 根据权利要求1至3任一项所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于充电状态的情况下,若所述第一电池与所述第二电池的电压差小于或等于预设阈值,则所述第一控制信号用于控制所述第一开关元件导通,使所述第一电池充电;所述第二控制信号用于控制所述第二开关元件导通,使所述第二电池充电。The charging circuit according to any one of claims 1 to 3, wherein when the first battery and the second battery are in a charged state, if the first battery and the second battery The voltage difference is less than or equal to a preset threshold, the first control signal is used to control the first switching element to be turned on, so that the first battery is charged; the second control signal is used to control the second The switching element is turned on to charge the second battery.
  5. 根据权利要求1至4任一项所述的充电电路,其特征在于,所述第一开关元件的第二端和所述第二开关元件的第二端均还用于与工作电路耦合,以使所述第一电池和所述第二电池放电。The charging circuit according to any one of claims 1 to 4, wherein the second end of the first switching element and the second end of the second switching element are both used for coupling with a working circuit, so as to The first battery and the second battery are discharged.
  6. 根据权利要求5所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于放电状态的情况下,若所述第一电池的电压高于所述第二电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号用于控制所述第一开关元件导通,使所述第一电池向所述工作电路供电;所述第二控制信号用于控制所述第二开关元件关断,使所述第二电池不向所述工作电路供电。The charging circuit according to claim 5, wherein when the first battery and the second battery are in a discharge state, if the voltage of the first battery is higher than the voltage of the second battery , and the voltage difference between the first battery and the second battery is greater than a preset threshold, then the first control signal is used to control the first switching element to be turned on, so that the first battery is turned on to the working The circuit supplies power; the second control signal is used to control the second switch element to be turned off, so that the second battery does not supply power to the working circuit.
  7. 根据权利要求5或6所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于放电状态的情况下,若所述第二电池的电压高于所述第一电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号用于控制所述第一开关元件关断,使所述第一电池不向所述工作电路供电;所述第二控制信号用于控制所述第二开关元件导通,使所述第二电池向所述工作电路供电。The charging circuit according to claim 5 or 6, wherein when the first battery and the second battery are in a discharge state, if the voltage of the second battery is higher than that of the first battery voltage, and the voltage difference between the first battery and the second battery is greater than a preset threshold, then the first control signal is used to control the first switching element to be turned off, so that the first battery is not connected to the The working circuit supplies power; the second control signal is used to control the conduction of the second switching element, so that the second battery supplies power to the working circuit.
  8. 根据权利要求5所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于放电状态的情况下,若所述第一电池的电压高于所述第二电池的电压,且所述 第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号用于控制所述第一开关元件不完全导通,使所述第一电池向所述工作电路供电并调压;所述第一控制信号用于控制所述第二开关元件导通,使所述第二电池向所述工作电路供电。The charging circuit according to claim 5, wherein when the first battery and the second battery are in a discharge state, if the voltage of the first battery is higher than the voltage of the second battery , and the voltage difference between the first battery and the second battery is greater than a preset threshold, then the first control signal is used to control the first switching element to not be fully turned on, so that the first battery is connected to all The working circuit supplies power and regulates the voltage; the first control signal is used to control the conduction of the second switching element, so that the second battery supplies power to the working circuit.
  9. 根据权利要求5或8所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于放电状态的情况下,若所述第二电池的电压高于所述第一电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号用于控制所述第一开关元件导通,使所述第一电池向所述工作电路供电;所述第二控制信号用于控制所述第二开关元件不完全导通,使所述第二电池向所述工作电路供电并调压。The charging circuit according to claim 5 or 8, wherein when the first battery and the second battery are in a discharge state, if the voltage of the second battery is higher than that of the first battery voltage, and the voltage difference between the first battery and the second battery is greater than a preset threshold, the first control signal is used to control the first switching element to be turned on, so that the first battery is connected to the desired voltage. The working circuit supplies power; the second control signal is used to control the second switching element not to be completely turned on, so that the second battery supplies power to the working circuit and regulates the voltage.
  10. 根据权利要求5至9任一项所述的充电电路,其特征在于,在所述第一电池和所述第二电池处于放电状态的情况下,若所述第一电池与所述第二电池的电压差小于或等于预设阈值,则所述第一控制信号用于控制所述第一开关元件导通,使所述第一电池向所述工作电路供电;所述第二控制信号用于控制所述第二开关元件导通,使所述第二电池向所述工作电路供电。The charging circuit according to any one of claims 5 to 9, wherein when the first battery and the second battery are in a discharged state, if the first battery and the second battery The voltage difference is less than or equal to a preset threshold, the first control signal is used to control the first switching element to be turned on, so that the first battery supplies power to the working circuit; the second control signal is used to The second switch element is controlled to be turned on, so that the second battery supplies power to the working circuit.
  11. 根据权利要求1至10任一项所述的充电电路,其特征在于,所述控制器包括驱动电路和电压检测电路;所述电压检测电路用于与所述第一电池耦合,以检测所述第一电池的电压;所述电压检测电路还用于与所述第二电池耦合,以检测所述第二电池的电压;所述驱动电路与所述电压检测电路耦合,用于获取所述第一电池的电压和所述第二电池的电压;所述驱动电路的第一输出端用于输出第一控制信号,并与所述第一开关元件的控制端耦合;所述驱动电路的第二输出端用于输出第二控制信号,并与所述第二开关元件的控制端耦合。The charging circuit according to any one of claims 1 to 10, wherein the controller comprises a driving circuit and a voltage detection circuit; the voltage detection circuit is used for coupling with the first battery to detect the the voltage of the first battery; the voltage detection circuit is further configured to be coupled with the second battery to detect the voltage of the second battery; the drive circuit is coupled to the voltage detection circuit to obtain the first battery The voltage of a battery and the voltage of the second battery; the first output terminal of the driving circuit is used to output a first control signal and is coupled with the control terminal of the first switching element; the second output terminal of the driving circuit The output terminal is used for outputting the second control signal, and is coupled with the control terminal of the second switching element.
  12. 根据权利要求11所述的充电电路,其特征在于,所述控制器还用于连接通信控制总线,所述通信控制总线用于控制所述控制器执行电压检测,以及输出所述第一控制信号和所述第二控制信号。The charging circuit according to claim 11, wherein the controller is further configured to connect to a communication control bus, and the communication control bus is configured to control the controller to perform voltage detection and output the first control signal and the second control signal.
  13. 一种充电芯片,其特征在于,应用于电子设备,所述电子设备包括第一电池、第二电池和工作电路;A charging chip, characterized in that it is applied to an electronic device, the electronic device comprising a first battery, a second battery and a working circuit;
    所述充电芯片包括:第一接口、第二接口、第三接口、第四接口,以及如权利要求1至12任一项所述的充电电路;The charging chip includes: a first interface, a second interface, a third interface, a fourth interface, and the charging circuit according to any one of claims 1 to 12;
    所述第一接口用于耦合电源适配器和所述电压转换电路的第二端;the first interface is used for coupling the power adapter and the second end of the voltage conversion circuit;
    所述第二接口用于耦合所述第一开关元件的第二端、所述第二开关元件的第二端、所述电压转换电路的第一端,以及所述工作电路;the second interface is used for coupling the second end of the first switching element, the second end of the second switching element, the first end of the voltage conversion circuit, and the working circuit;
    所述第三接口用于耦合所述第一电池;所述第四接口用于耦合所述第二电池。The third interface is used for coupling the first battery; the fourth interface is used for coupling the second battery.
  14. 根据权利要求13所述的充电芯片,其特征在于,所述充电芯片还包括通信控制接口,所述通信控制接口用于耦合通信控制总线和所述控制器。The charging chip according to claim 13, wherein the charging chip further comprises a communication control interface, and the communication control interface is used for coupling a communication control bus and the controller.
  15. 一种电子设备,其特征在于,包括第一电池、第二电池、工作电路以及如权利要求13或14所述的充电芯片;所述第一电池与所述充电芯片的第三接口耦合,以向所述工作电路供电;所述第二电池与所述充电芯片的所述第四接口耦合,以向所述工作电路供电。An electronic device, characterized in that it comprises a first battery, a second battery, a working circuit, and a charging chip as claimed in claim 13 or 14; the first battery is coupled with a third interface of the charging chip to supplying power to the working circuit; the second battery is coupled to the fourth interface of the charging chip to supply power to the working circuit.
  16. 一种电子设备,其特征在于,包括供电电池、工作电路以及如权利要求13或14所述的充电芯片;An electronic device, characterized in that it comprises a power supply battery, a working circuit and a charging chip as claimed in claim 13 or 14;
    所述供电电池包括第一正极和第二正极;the power supply battery includes a first positive electrode and a second positive electrode;
    所述第一正极与所述充电芯片的第三接口耦合,以向所述工作电路供电;所述第二正极与所述充电芯片的所述第四接口耦合,以向所述工作电路供电。The first positive electrode is coupled to the third interface of the charging chip to supply power to the working circuit; the second positive electrode is coupled to the fourth interface of the charging chip to supply power to the working circuit.
  17. 一种充电电路的控制方法,其特征在于,适用于如权利要求1至12任一项所述的充电电路;A method for controlling a charging circuit, characterized in that it is applicable to the charging circuit according to any one of claims 1 to 12;
    所述方法包括:The method includes:
    所述控制器检测所述第一电池的电压和所述第二电池的电压;the controller detects the voltage of the first battery and the voltage of the second battery;
    所述控制器根据所述第一电池和所述第二电池的压差,输出第一控制信号和第二控制信号;The controller outputs a first control signal and a second control signal according to the pressure difference between the first battery and the second battery;
    所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态。The first control signal controls the first switching element to be in an on state, not fully on or off, and the second control signal controls the second switch element to be on, not fully on or off state.
  18. 根据权利要求17所述的方法,其特征在于,所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态,包括:The method according to claim 17, wherein the first control signal controls the first switching element to be in an on state, an incomplete turn on state or an off state, and the second control signal controls the second switch element. Switching elements are on, partially on, or off, including:
    在所述第一电池和所述第二电池处于充电状态的情况下,若所述第一电池的电压高于所述第二电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号控制所述第一开关元件导通,使所述第一电池充电;所述第二控制信号控制所述第二开关元件不完全导通,使所述第二电池调压充电。When the first battery and the second battery are in a charged state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage of the first battery and the second battery is When the voltage difference is greater than a preset threshold, the first control signal controls the first switching element to be turned on, so as to charge the first battery; the second control signal controls the second switching element to be not completely turned on, The second battery is regulated and charged.
  19. 根据权利要求17或18所述的方法,其特征在于,所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态,包括:The method according to claim 17 or 18, characterized in that the first control signal controls the first switching element to be in an on state, not fully on or off, and the second control signal controls the The second switching element is in an on, partially on or off state, including:
    在所述第一电池和所述第二电池处于充电状态的情况下,若所述第二电池的电压高于所述第一电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号控制所述第一开关元件不完全导通,使所述第一电池调压充电;所述第二控制信号控制所述第二开关元件导通,使所述第二电池充电。When the first battery and the second battery are in a charged state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage of the first battery and the second battery is If the voltage difference is greater than a preset threshold, the first control signal controls the first switching element to not be fully turned on, so that the first battery is voltage-regulated and charged; the second control signal controls the second switching element to conduct on to charge the second battery.
  20. 根据权利要求17至19任一项所述的方法,其特征在于,在所述第一电池和所述第二电池处于充电状态的情况下,若所述第一电池与所述第二电池的电压差小于或等于预设阈值,则所述第一控制信号控制所述第一开关元件导通,使所述第一电池充电;所述第二控制信号控制所述第二开关元件导通,使所述第二电池充电。The method according to any one of claims 17 to 19, wherein when the first battery and the second battery are in a charged state, if the first battery and the second battery are in a state of charge When the voltage difference is less than or equal to a preset threshold, the first control signal controls the first switch element to be turned on, so that the first battery is charged; the second control signal controls the second switch element to be turned on, The second battery is charged.
  21. 根据权利要求17至20任一项所述的方法,其特征在于,所述第一开关元件的第二端和所述第二开关元件的第二端均还用于与工作电路耦合,以使所述第一电池和所述第二电池放电;所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态,包括:The method according to any one of claims 17 to 20, wherein the second end of the first switching element and the second end of the second switching element are both used for coupling with a working circuit, so that the The first battery and the second battery are discharged; the first control signal controls the first switching element to be in an on, incompletely on or off state, and the second control signal controls the second Switching elements are on, partially on, or off, including:
    在所述第一电池和所述第二电池处于放电状态的情况下,若所述第一电池的电压高于所述第二电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号控制所述第一开关元件导通,使所述第一电池向所述工作电路供电;所述第二控制信号控制所述第二开关元件关断,使所述第二电池不向所述工作电路供电。When the first battery and the second battery are in a discharged state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage of the first battery and the second battery is If the voltage difference is greater than a preset threshold, the first control signal controls the first switching element to be turned on, so that the first battery supplies power to the working circuit; the second control signal controls the second switching element turned off, so that the second battery does not supply power to the working circuit.
  22. 根据权利要求17至21任一项所述的方法,其特征在于,所述第一开关元件的第二端和所述第二开关元件的第二端均还用于与工作电路耦合,以使所述第一电池和所述第二电池放电;所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态,包括:The method according to any one of claims 17 to 21, wherein the second end of the first switching element and the second end of the second switching element are both used for coupling with a working circuit, so that the The first battery and the second battery are discharged; the first control signal controls the first switching element to be in an on, incompletely on or off state, and the second control signal controls the second Switching elements are on, partially on, or off, including:
    在所述第一电池和所述第二电池处于放电状态的情况下,若所述第二电池的电压高于所述第一电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号控制所述第一开关元件关断,使所述第一电池不向所述工作电路供电;所述第二控制信号控制所述第二开关元件导通,使所述第二电池向所述工作电路供电。When the first battery and the second battery are in a discharged state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage of the first battery and the second battery is If the voltage difference is greater than a preset threshold, the first control signal controls the first switch element to turn off, so that the first battery does not supply power to the working circuit; the second control signal controls the second switch The element is turned on, so that the second battery supplies power to the working circuit.
  23. 根据权利要求17至20任一项所述的方法,其特征在于,所述第一开关元件的第二端和所述第二开关元件的第二端均还用于与工作电路耦合,以使所述第一电池和所述第二电池放电;所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态,包括:The method according to any one of claims 17 to 20, wherein the second end of the first switching element and the second end of the second switching element are both used for coupling with a working circuit, so that the The first battery and the second battery are discharged; the first control signal controls the first switching element to be in an on, incompletely on or off state, and the second control signal controls the second Switching elements are on, partially on, or off, including:
    在所述第一电池和所述第二电池处于放电状态的情况下,若所述第一电池的电压高于所述第二电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号控制所述第一开关元件不完全导通,使所述第一电池向所述工作电路供电并调压;所述第一控制信号控制所述第二开关元件导通,使所述第二电池向所述工作电路供电。When the first battery and the second battery are in a discharged state, if the voltage of the first battery is higher than the voltage of the second battery, and the voltage of the first battery and the second battery is If the voltage difference is greater than a preset threshold, the first control signal controls the first switching element to not turn on completely, so that the first battery supplies power to the working circuit and regulates the voltage; the first control signal controls the The second switching element is turned on, so that the second battery supplies power to the working circuit.
  24. 根据权利要求17至20、以及23任一项所述的方法,其特征在于,所述第一开关元件的第二端和所述第二开关元件的第二端均还用于与工作电路耦合,以使所述第一电池和所述第二电池放电;所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态,包括:The method according to any one of claims 17 to 20 and 23, wherein the second end of the first switching element and the second end of the second switching element are both used for coupling with a working circuit , so as to discharge the first battery and the second battery; the first control signal controls the first switching element to be in an on, incompletely on or off state, and the second control signal controls the The second switching element is in a conducting, incompletely conducting or off state, including:
    在所述第一电池和所述第二电池处于放电状态的情况下,若所述第二电池的电压高于所述第一电池的电压,且所述第一电池与所述第二电池的电压差大于预设阈值,则所述第一控制信号控制所述第一开关元件导通,使所述第一电池向所述工作电路供电;所述第二控制信号控制所述第二开关元件不完全导通,使所述第二电池向所述工作电路供电并调压。When the first battery and the second battery are in a discharged state, if the voltage of the second battery is higher than the voltage of the first battery, and the voltage of the first battery and the second battery is If the voltage difference is greater than a preset threshold, the first control signal controls the first switching element to be turned on, so that the first battery supplies power to the working circuit; the second control signal controls the second switching element Not fully conducting, so that the second battery supplies power to the working circuit and regulates the voltage.
  25. 根据权利要求17至24任一项所述的方法,其特征在于,所述第一开关元件的第二端和所述第二开关元件的第二端均还用于与工作电路耦合,以使所述第一电池和所述第二电池放电;所述第一控制信号控制所述第一开关元件处于导通、不完全导通或关断状态,所述第二控制信号控制所述第二开关元件处于导通、不完全导通或关断状态,包括:The method according to any one of claims 17 to 24, wherein the second end of the first switching element and the second end of the second switching element are both used for coupling with a working circuit, so that the The first battery and the second battery are discharged; the first control signal controls the first switching element to be in an on, incompletely on or off state, and the second control signal controls the second Switching elements are on, partially on, or off, including:
    在所述第一电池和所述第二电池处于放电状态的情况下,若所述第一电池与所述第二电池的电压差小于或等于预设阈值,则所述第一控制信号控制所述第一开关元件导通,使所述第一电池向所述工作电路供电;所述第二控制信号控制所述第二开关元件导通,使所述第二电池向所述工作电路供电。When the first battery and the second battery are in a discharge state, if the voltage difference between the first battery and the second battery is less than or equal to a preset threshold, the first control signal controls the The first switching element is turned on, so that the first battery supplies power to the working circuit; the second control signal controls the conduction of the second switching element, so that the second battery supplies power to the working circuit.
  26. 一种电子设备,其特征在于,包括第一电池、第二电池、充电电路和工作电路;所述第一电池和所述第二电池通过所述充电电路与所述工作电路耦合;当所述电子设备运行时,所述充电电路用于执行如权利要求17-25中任一项所述的方法。An electronic device, characterized in that it includes a first battery, a second battery, a charging circuit and a working circuit; the first battery and the second battery are coupled to the working circuit through the charging circuit; When the electronic device is in operation, the charging circuit is adapted to perform the method of any one of claims 17-25.
PCT/CN2022/070378 2021-03-23 2022-01-05 Charging circuit, charging chip, and electronic device WO2022199211A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110310820 2021-03-23
CN202110310820.0 2021-03-23
CN202110875500.XA CN115117951A (en) 2021-03-23 2021-07-30 Charging circuit, charging chip and electronic equipment
CN202110875500.X 2021-07-30

Publications (1)

Publication Number Publication Date
WO2022199211A1 true WO2022199211A1 (en) 2022-09-29

Family

ID=83324578

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/070378 WO2022199211A1 (en) 2021-03-23 2022-01-05 Charging circuit, charging chip, and electronic device

Country Status (2)

Country Link
CN (1) CN115117951A (en)
WO (1) WO2022199211A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115498747A (en) * 2022-11-22 2022-12-20 广州疆海科技有限公司 Energy storage parallel operation equipment and energy storage parallel operation method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116707054A (en) * 2022-12-22 2023-09-05 荣耀终端有限公司 Battery management circuit, battery management method, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6329796B1 (en) * 2000-07-25 2001-12-11 O2 Micro International Limited Power management circuit for battery systems
CN104852439A (en) * 2015-06-10 2015-08-19 联想(北京)有限公司 Electronic equipment and double-battery charging and discharging switching method
CN108461834A (en) * 2018-02-12 2018-08-28 维沃移动通信有限公司 A kind of battery pack structure, mobile terminal and charge/discharge control method
CN211018337U (en) * 2019-12-18 2020-07-14 维沃移动通信有限公司 Charging control device and mobile terminal
CN111835057A (en) * 2020-01-09 2020-10-27 成都万创科技有限责任公司 Double-battery system, double-battery switching and charging method and tablet computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6329796B1 (en) * 2000-07-25 2001-12-11 O2 Micro International Limited Power management circuit for battery systems
CN104852439A (en) * 2015-06-10 2015-08-19 联想(北京)有限公司 Electronic equipment and double-battery charging and discharging switching method
CN108461834A (en) * 2018-02-12 2018-08-28 维沃移动通信有限公司 A kind of battery pack structure, mobile terminal and charge/discharge control method
CN211018337U (en) * 2019-12-18 2020-07-14 维沃移动通信有限公司 Charging control device and mobile terminal
CN111835057A (en) * 2020-01-09 2020-10-27 成都万创科技有限责任公司 Double-battery system, double-battery switching and charging method and tablet computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115498747A (en) * 2022-11-22 2022-12-20 广州疆海科技有限公司 Energy storage parallel operation equipment and energy storage parallel operation method

Also Published As

Publication number Publication date
CN115117951A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US9136724B2 (en) Method for limiting battery discharging current in battery charger and discharger circuit
US9490644B2 (en) Reconfigurable compensator with large-signal stabilizing network
US11677260B2 (en) Managing power in a portable device comprising multiple batteries
US10574073B2 (en) Electronic device and method for controlling power supply
US10714947B2 (en) Systems and methods for controlling battery current
WO2022199211A1 (en) Charging circuit, charging chip, and electronic device
US8427113B2 (en) Voltage converter with combined buck converter and capacitive voltage divider
CN108347089B (en) Electric energy transmission controller, electric energy transmission system and electric energy transmission method
TWI495226B (en) Charger and electronic device
TW201631432A (en) System and method for determining adapter current limit
TW201813235A (en) Hybrid power buck-boost charger
TW201519549A (en) Power supplying circuit, power supplying system and power supplying method
US20230268763A1 (en) Managing power in a portable device comprising multiple batteries
EP3944452A1 (en) Active equalization circuit, battery management system, power source system, and electronic device
US20220140621A1 (en) Charging integrated circuit for charging battery device and electronic device including the same
TW201910967A (en) Electronic machine
WO2022194106A1 (en) Dual-battery charging and discharging circuit and control method, and electronic device
WO2022027264A1 (en) Drive circuit for channel switch, charging control method and charger
TW202101852A (en) Buck-boost battery charger for dual battery application
US9906053B2 (en) Energy storage device and control method thereof
CN106249830B (en) Electric energy transmission system and method
CN113614919B (en) Semiconductor integrated circuit with a high-speed circuit
JP7228790B2 (en) Charge control device and charge control method
US11689042B2 (en) Device and method for charging a battery discharged beyond at least one operating threshold
TWM623543U (en) Switching power supply system and power transmission agreement chip thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22773875

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22773875

Country of ref document: EP

Kind code of ref document: A1