[go: up one dir, main page]

WO2022067701A1 - Charging circuit and electronic device - Google Patents

Charging circuit and electronic device Download PDF

Info

Publication number
WO2022067701A1
WO2022067701A1 PCT/CN2020/119477 CN2020119477W WO2022067701A1 WO 2022067701 A1 WO2022067701 A1 WO 2022067701A1 CN 2020119477 W CN2020119477 W CN 2020119477W WO 2022067701 A1 WO2022067701 A1 WO 2022067701A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch tube
switch
control
charging
charging circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2020/119477
Other languages
French (fr)
Chinese (zh)
Inventor
胡章荣
申朋朋
钱城晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2020/119477 priority Critical patent/WO2022067701A1/en
Priority to CN202080006878.XA priority patent/CN114586268B/en
Publication of WO2022067701A1 publication Critical patent/WO2022067701A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of DC power input into DC power output
    • H02M3/02Conversion of DC power input into DC power output without intermediate conversion into AC
    • H02M3/04Conversion of DC power input into DC power output without intermediate conversion into AC by static converters
    • H02M3/06Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using resistors or capacitors, e.g. potential divider
    • H02M3/07Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using resistors or capacitors, e.g. potential divider using capacitors charged and discharged alternately by semiconductor devices with control electrode, e.g. charge pumps

Definitions

  • the present application relates to the field of electronic technology, and in particular, to a charging circuit and an electronic device.
  • the charging process of electronic devices includes a constant current (CC, Constant Current) charging stage and a constant voltage (CV, Constant Voltage) charging stage.
  • CC Constant Current
  • CV Constant Voltage
  • SC Switch Capacitor
  • FIG. 1 the figure is a schematic diagram of a fast charging system located inside a mobile phone provided in the prior art.
  • the output voltage Vbus of the adapter charges the battery Vbat of the mobile phone through the SC circuit 10 .
  • the output voltage Vbus of the adapter charges the battery through the closed-loop voltage regulator circuit 20 .
  • the closed-loop voltage regulating circuit 20 includes Buck or Boost. When the battery of the mobile phone is a single cell, use the Buck to charge the battery. When the phone's battery is dual, select Boost to charge the battery.
  • Vbat directly supplies power to the system SYS inside the mobile phone through the closed switch BATFET.
  • the current fast charging circuit of electronic devices such as mobile phones includes two independent parallel circuits. Different charging circuits are used to charge the battery in the CC and CV stages.
  • the structure is relatively complex and it is difficult to achieve high integration.
  • the present application provides a charging circuit and electronic equipment, which can realize high integration of the fast charging circuit, and have a simple structure and easy implementation.
  • An embodiment of the present application provides a charging circuit, including the following four switch tubes connected in series in sequence: a first switch tube, a second switch tube, a third switch tube, and a fourth switch tube, and further comprising: a first capacitor, a second capacitor and the first inductance; the first end of the first switch tube is used to connect to the power supply terminal, and the two ends of the first capacitor are respectively connected to the second end of the first switch tube and the first end of the third switch tube Two terminals; the second terminal of the second switch is grounded through the second capacitor; the second terminal of the first switch is connected to the first terminal of the first inductor, and the second terminal of the first inductor is connected to the ground.
  • the terminal is used as the charging output terminal to charge the battery of the electronic device.
  • the charging circuit provided by the embodiment of the present application integrates the advantages of high efficiency of the SC circuit, and also integrates the advantages of the closed-loop control of the Buck circuit that can stabilize voltage, and integrates the functions of the open-loop transformer circuit and the closed-loop transformer circuit.
  • the high integration of the charging circuit is realized, and the structure is simple and easy to realize. Therefore, the charging circuit can improve the charging efficiency, thereby realizing fast charging in the PC scene.
  • the charging circuit further includes: a reverse flow prevention switch, that is, the first end of the first switch is connected to the power supply through the reverse flow prevention switch.
  • a fifth switch tube there is a fifth switch tube; the second end of the first inductor is connected to the system power supply end of the electronic device through the fifth switch tube.
  • the charging circuit can implement a step-down charging mode, and the first end of the first switch tube is connected to the system power supply end of the electronic device; the controller is also used for When using the power terminal to charge the battery, the first switch tube and the third switch tube are controlled to operate synchronously, the second switch tube and the fourth switch tube are controlled to operate synchronously, and the first switch tube and the fourth switch tube are controlled to operate synchronously.
  • the actions of a switch tube and the second switch tube are opposite.
  • the charging circuit further includes: a reverse-flow prevention switch and a charge-discharge control switch; similarly, the reverse-flow prevention switch is to prevent other currents from flowing in the reverse direction to the power supply, so as to achieve shutdown function.
  • the first end of the first switch tube is connected to the power supply terminal through the anti-reverse flow switch tube; the second end of the first inductor is connected to the battery through the charge and discharge control switch tube; the first The second end of the inductor is connected to the system power supply end of the electronic device.
  • the charging circuit can realize the Buck step-down charging mode under the control of the controller, that is, the controller controls the first switch tube and the third switch when charging the battery by using the step-down voltage of the power supply terminal.
  • the switches operate synchronously to control the second switch and the fourth switch to operate synchronously, and the first switch and the second switch operate oppositely.
  • the charging circuit provided in the embodiment of the present application can also implement boost charging, that is, the Boost working mode, and further includes: a sixth switch tube; the first end of the sixth switch tube is connected to the third switch tube of the third switch tube. Two terminals, the second terminal of the sixth switch tube is connected to the second terminal of the first inductor; the controller is further configured to control the battery when the power supply terminal is boosted to charge the battery Both the second switch tube and the third switch tube are disconnected, the first switch tube and the fourth switch tube are controlled to act synchronously, and the actions of the first switch tube and the sixth switch tube are controlled to be opposite.
  • This charging circuit is suitable for the scenario where the battery is two batteries connected in series, and needs to be boosted to charge the batteries connected in series.
  • the embodiment of the present application further provides an electronic device, including: a battery and the charging circuit described above; a first end of the charging circuit is used for connecting to a power source, and a first end of the charging circuit The two ends are connected to the power supply terminal of the battery; the charging circuit is used for converting the electric energy provided by the power supply terminal to charge the battery.
  • the electronic device may be a PC.
  • the embodiment of the present application also provides a charging mode control method, including: obtaining a priority charging mode, and if it is a performance priority charging mode, configuring the voltage of the adapter to a maximum value; if it is a fast charging priority mode, dynamically adjusting according to the voltage of the battery The voltage of the adapter performs.
  • the charging control method provided by the embodiments of the present application can maximize the balance of system performance and charging performance, and the controller can select a control strategy as required.
  • the embodiment of the present application further provides another charging mode control method, which includes: detecting the type of the adapter and the maximum output voltage of the Vbus terminal.
  • the charging mode configured with the charging circuit is a step-down charging mode; when the maximum voltage of the adapter is less than the battery voltage, the charging mode configured with the charging circuit is a boost charging mode.
  • embodiments of the present application further provide a computer-readable storage medium, including instructions or computer programs, which, when executed on a computer, cause the computer to execute the charging control method described above.
  • An embodiment of the present application further provides a charging circuit, including: a first switch tube, a second switch tube, a third switch tube, a fourth switch tube, a first capacitor and a first inductor; a first switch tube of the first switch tube
  • the terminal is used to connect the power terminal, the second end of the first switch tube is connected to the first end of the second switch tube, and the second end of the second switch tube is connected to the first end of the third switch tube , the second end of the third switch tube is connected to the first end of the fourth switch tube, the second end of the fourth switch tube is grounded; the two ends of the first capacitor are respectively connected to the first switch The second end of the second switch tube and the second end of the third switch tube; the second end of the second switch tube is used as the first output end for charging the battery of the first electronic device; the first switch tube The second end of the first inductor is connected to the first end of the first inductor, or the second end of the third switch is connected to the first end of the first inductor, and the second end
  • the charging circuit When the charging circuit has two output terminals, it can be applied to scenarios such as terminal equipment and wearable devices. Since the charging circuit has two output terminals, it can charge two electronic devices at the same time. For example, when the load of the first electronic device is a second electronic device, the second output terminal is used to charge the second electronic device; for example, the first electronic device is an earphone box, the second electronic device is an earphone, and the earphone is located in the earphone When the box is installed, the earphone acts as the load of the earphone box. In the case of the earphone box, the battery of the earphone box charges the earphone.
  • the charging circuit provided in this embodiment can be applied to mobile terminals and wearable devices, realizes high integration of fast charging, and realizes the effective integration of closed-loop transformer circuits and open-loop transformer circuits. High efficiency, and can use the voltage regulation function of the closed-loop transformer circuit, which can be applied to both single-cell batteries and dual-cell batteries, and has a wide range of application scenarios, which improves the universality of the charging circuit. Moreover, when the adapter is not connected, the first electronic device can also use the power of its own battery to charge the second electronic device
  • the charging circuit can realize open-loop charging, that is, open-loop fast charging, and the charging efficiency can be improved at the same time of fast charging.
  • the open-loop fast charging is suitable for mobile phone scenarios and earphone box scenarios.
  • the controller controls the first switch tube and the third switch tube to operate synchronously, and controls the second switch tube and the The four switches operate synchronously, and the actions of the first switch and the second switch are opposite.
  • the charging circuit further includes: a controller and a fifth switch tube; the first end of the fifth switch tube is connected to the second end of the first inductor, and the second end of the fifth switch tube is connected to the the first output terminal; the controller is further configured to control the second switch tube to turn off, control the fifth switch tube to turn on, and control the first switch tube and the first switch tube during the closed-loop charging stage.
  • the three switches operate synchronously, and the actions of the first switch and the fourth switch are controlled to be opposite.
  • the charging mode is a closed-loop step-down charging mode.
  • the controller is further configured to control the second switch tube to turn off, control the fifth switch tube to turn on, and control the first switch tube and the fourth switch tube during the closed-loop charging stage
  • the switch tubes act synchronously, and the first switch tube and the third switch tube are controlled to have opposite actions.
  • the charging mode is a closed-loop boost charging mode.
  • the second output terminal is used for charging the second electronic device; the controller is also used for increasing the voltage of the battery
  • the second switch tube and the fourth switch tube are controlled to operate synchronously, and the second switch tube and the third switch tube are controlled to operate oppositely.
  • the application scenario is an earphone box
  • the first electronic device is an earphone box
  • the second electronic device is an earphone
  • the earphone box uses the voltage of its own battery to charge the earphone.
  • the following describes the Buck+ switched capacitor SC charging mode.
  • the second end of the first switch When the second end of the first switch is connected to the first end of the first inductor, it further includes: a reverse-flow prevention switch and an eighth switch; The first end of the first switch tube is connected to the power supply terminal through the anti-reflux switch tube; the first end of the eighth switch tube is used to connect to the power supply terminal, and the second end of the eighth switch tube is used to connect to the power supply terminal. The terminal is connected to the second output terminal.
  • the controller is configured to control the anti-reverse flow switch to be turned on and to control the eighth switch to be turned off in the open-loop charging stage; in the closed-loop charging stage, control all The eighth switch tube is turned on, and the backflow prevention switch tube is controlled to be disconnected.
  • the controller is further configured to control the synchronous action of the first switch tube and the third switch tube during the open-loop charging stage, and control the synchronous action of the second switch tube and the fourth switch tube, so that the The actions of the first switch tube and the second switch tube are opposite.
  • the controller is further configured to control the second switch transistor and the fourth switch transistor to operate synchronously, and control the second switch transistor and the third switch transistor during the closed-loop charging stage action is the opposite.
  • the second output terminal is used to charge the battery of the second electronic device; the controller is further configured to use the When the battery is charging the second electronic device, the second switch tube and the fourth switch tube are controlled to operate synchronously, and the second switch tube and the third switch tube are controlled to operate oppositely.
  • This scenario is applicable when the battery of the first electronic device charges the second electronic device when the power supply terminal is not connected to the adapter, for example, the earphone box charges the earphone, and the charging mode is a boost charging mode.
  • the reverse flow prevention switch tube when used, it also includes: a reverse flow prevention switch tube and a ninth switch tube; the first end of the first switch tube is used for connecting the power supply terminal through the reverse flow prevention switch tube; the second switch tube of the first inductor The terminal is connected to the power terminal through the ninth switch tube.
  • the power supply terminal directly supplies power to the second output terminal, that is, charging, without any power conversion, so that the charging efficiency can be improved.
  • the method further includes: a controller; the controller is configured to control the conduction of the reverse-flow prevention switch tube and control the ninth switch tube to be turned off in the open-loop charging stage; and in the closed-loop charging stage, control all The ninth switch tube is turned on or periodically turned on, and the anti-reverse flow switch tube is controlled to be turned off.
  • an open-loop step-down charging mode suitable for earphone boxes and mobile phones is described below.
  • the controller is further configured to control the first switch transistor and the third switch transistor to operate synchronously, and control the second switch transistor and the fourth switch transistor to operate synchronously during the open-loop charging stage , the actions of the first switch tube and the second switch tube are opposite.
  • a closed-loop boost charging mode suitable for the earphone box is introduced below.
  • the controller is further configured to control the first switch tube and the third switch tube to act synchronously during the closed-loop charging stage, and control the The second switch tube and the fourth switch tube act synchronously, and the actions of the first switch tube and the second switch tube are controlled to be opposite.
  • the mode in which the earphone box reduces the voltage to charge the earphone is described below.
  • the controller is further configured to use the battery to charge the second electronic device, and control the first switch tube and the third electronic device
  • the switches operate synchronously, control the synchronous operations of the second switch and the fourth switch, and control the first switch and the second switch to operate oppositely.
  • the charging circuit can work in the charging mode of BuckBoost+SC, and further includes: a tenth switch; the first end of the tenth switch is connected to the second end of the first inductor; The second end of the ten switch tubes is grounded.
  • the controller is further configured to control the ninth switch transistor to be periodically turned on during the closed-loop step-down charging stage, and control the controller to turn on the ninth switch transistor and the tenth switch transistor alternately,
  • the fourth switch tube is controlled to be turned off, and the third switch tube is controlled to be turned on.
  • the controller is further configured to control the ninth switch transistor to be periodically turned on, and control the first switch transistor, the third switch transistor, and the tenth switch transistor in the closed-loop buck-boost charging stage Synchronous action controls the synchronous action of the second switch tube, the fourth switch tube and the ninth switch tube.
  • the charging scenario of forward and reverse BuckBoost+SC is described below, and further includes: an eleventh switch tube; the first end of the eleventh switch tube is connected to the second end of the first inductor, and the tenth switch tube is connected to the second end of the first inductor.
  • the second end of a switch tube is used as the second output end; the controller is further configured to control the eleventh switch tube and the fourth switch tube to act synchronously.
  • the controller is further configured to control the synchronous action of the first switch tube and the third switch tube, control the synchronous action of the second switch tube and the fourth switch tube, the first switch tube
  • the actions of the tube and the second switch tube are opposite, and the tenth switch tube is controlled to act synchronously with the third switch tube, and the eleventh switch tube is controlled to be synchronized with the fourth switch tube.
  • a simplified control strategy is introduced below.
  • the step-down charging control in the simplified control strategy is introduced.
  • the tenth switch tube is turned off, and the eleventh switch tube is controlled to be turned on; the first switch tube and the third switch tube are controlled to operate synchronously, and the second switch tube and the fourth switch tube are controlled Synchronous action, controlling the actions of the first switch tube and the second switch tube to be opposite.
  • the boost charging control in the simplified control strategy is described below.
  • the controller is further configured to control the first switch tube, all The second switch tube and the fourth switch tube are both turned off, the third switch tube is controlled to be turned on, and the tenth switch tube and the eleventh switch tube are controlled to be turned on alternately.
  • An embodiment of the present application further provides an electronic device, including: a battery and the charging circuit described above; a first end of the charging circuit is used to connect to a power supply end, and a first output end of the charging circuit is used to connect to the battery ; the second output terminal of the charging circuit is used to connect the load of the electronic device; the charging circuit is used to convert the electric energy provided by the power supply terminal to charge the battery, and is used for charging the battery of the electronic device. load power supply.
  • the electronic device is a mobile terminal such as a mobile phone, or for example, the electronic device is a wearable device such as an earphone box.
  • controller in the above embodiments to control the actions of each switch tube means that the controller sends a control signal, such as a pulse width modulated PWM signal, to the control terminal of each switch tube.
  • the embodiments of the present application have the following advantages:
  • the charging circuit When the charging circuit has one output terminal, that is, the second terminal of the first switch tube is used as the output terminal, the charging circuit integrates the advantages of high efficiency of the SC circuit and the advantages of the closed-loop control of the Buck circuit that can stabilize voltage.
  • the functions of the open-loop transformer circuit and the closed-loop transformer circuit are integrated into one, which realizes the high integration of the charging circuit, and has a simple structure and is easy to implement. Therefore, the charging circuit provided in this embodiment can improve the charging efficiency, thereby realizing fast charging in a PC scenario.
  • the charging circuit When the charging circuit has two output terminals, it can be applied to scenarios such as terminal equipment and wearable devices. Since the charging circuit has two output terminals, it can charge two electronic devices at the same time. For example, when the load of the first electronic device is the second electronic device, the second output terminal is used to charge the second electronic device; the charging circuit provided in this embodiment can be applied to mobile terminals and wearable devices, and realizes fast
  • the high integration of the charger realizes the effective integration of the closed-loop transformer circuit and the open-loop transformer circuit. It can not only use the high efficiency of the open-loop transformer circuit, but also use the voltage regulation function of the closed-loop transformer circuit. It can also be applied to two-cell batteries, and has a wide range of application scenarios, that is, the universality of the charging circuit is improved.
  • FIG. 1 is a schematic diagram of a fast charging system located inside a mobile phone provided by the prior art
  • FIG. 2 is a structural diagram of an HPB provided by an embodiment of the present application.
  • FIG. 3 is an NVDC architecture diagram provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of Embodiment 1 of the charging circuit provided by the embodiment of the present application.
  • FIG. 5 is a schematic diagram of an HPB fast charging architecture provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a path corresponding to FIG. 5;
  • Fig. 7 is another kind of route schematic diagram corresponding to Fig. 5;
  • FIG. 8 is a schematic diagram of an NVDC fast charging architecture provided by an embodiment of the present application.
  • FIG. 9 is a path diagram of NVDC fast charging and boosting provided by an embodiment of the present application.
  • Fig. 10 is another route diagram corresponding to Fig. 9;
  • FIG. 11 is a flowchart of a control method in an HPB mode provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of Embodiment 1 of an electronic device provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of another charging circuit provided by an embodiment of the present application.
  • 15 is a schematic diagram of the first electronic device provided by an embodiment of the application being an earphone box;
  • 16 is a schematic diagram of the interior of an earphone box provided by an embodiment of the application.
  • FIG. 17 is a schematic diagram of another charging circuit provided by an embodiment of the present application.
  • FIG. 18 is a path diagram of the open-loop charging stage corresponding to FIG. 17;
  • FIG. 19 is a path diagram of step-down in the CV charging stage corresponding to FIG. 17;
  • FIG. 20 is another path diagram of step-down in the CV charging stage corresponding to FIG. 17;
  • FIG. 21 is a path diagram of boosting voltage in the CV charging stage corresponding to FIG. 17;
  • FIG. 22 is another path diagram of boosting voltage in the CV charging stage corresponding to FIG. 17;
  • FIG. 23 is a schematic diagram of another charging circuit provided by an embodiment of the present application.
  • FIG. 24 is a schematic diagram of yet another charging circuit provided by an embodiment of the present application.
  • 25A is a schematic diagram of still another charging circuit provided by an embodiment of the present application.
  • FIG. 25B is a schematic diagram of another charging circuit based on FIG. 25A provided by an embodiment of the present application.
  • Figure 26 is a schematic diagram of a working mode corresponding to Figure 25B;
  • Fig. 27 is another working mode schematic diagram corresponding to Fig. 25B;
  • FIG. 28 is a path diagram when the Vbus corresponding to FIG. 25B is not connected to a power supply;
  • FIG. 29 is a modal diagram when Q1 and Q3 corresponding to FIG. 25B are turned on;
  • FIG. 30 is a modal diagram when Q1 and Q3 corresponding to FIG. 25B are turned off;
  • FIG. 31 is a schematic diagram showing that Q11 corresponding to FIG. 25B is turned off and Q10 is turned on;
  • FIG. 32 is a schematic diagram showing that Q11 corresponding to FIG. 25B is turned on and Q10 is turned off;
  • FIG. 33 is a schematic diagram of Embodiment 2 of an electronic device provided by an embodiment of the present application.
  • directional terms such as “upper” and “lower” may include, but are not limited to, definitions relative to the schematic placement of components in the drawings. It should be understood that these directional terms may be relative concepts, They are used for relative description and clarification, which may vary accordingly depending on 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 integral body, indicating a communication connection or an electrical connection ; It can be directly connected by wire or indirectly connected through an intermediate medium.
  • the term “coupled” may be a manner of electrical connection that enables signal transmission. "Coupling” can be a direct electrical connection or an indirect electrical connection through an intermediate medium.
  • the following first takes the scenario of fast charging of the battery of a computer PC as an example for introduction.
  • the structure of the charging circuit inside the computer is different.
  • it mainly includes the following two categories: the first category: Hybrid Power Boost (HPB, Hybrid Power Boost) mode; the second category: narrow voltage DC charging (NVDC, Narrow Voltage Direct Current) mode;
  • Vin is the input voltage of the charging circuit, that is, the output voltage of the adapter, and the battery Vbat is charged through the charging circuit 30 .
  • Vin can directly supply power to the computer's system.
  • NVDC is suitable for the adjustable output voltage of the adapter, that is, the output voltage is a wide range of voltage.
  • Vin charges the battery Vbat through the charging circuit 30 and supplies power to the computer system.
  • the charging circuit needs to improve the conversion efficiency of electric energy.
  • the technical solutions provided by the embodiments of the present application are described below with reference to the schematic diagrams of the specific charging circuits, which can truly realize fast charging in PC scenarios and meet the system power supply requirements of the PCs.
  • the embodiments of the present application provide a high-efficiency and suitable for PCs.
  • the charging circuit provided by the embodiment of the present application is used to charge the battery of the PC, and the charging voltage of the battery of the PC can be satisfied when the charging circuit works at the best efficiency point
  • the charging voltage range of the PC battery is about 15V, for example, between 12V-20V.
  • the voltage transformation ratio corresponding to the optimum efficiency point of the charging circuit provided by the embodiment of the present application is 4:3, that is, the input voltage of 20V is stepped down to about 15V.
  • FIG. 4 this figure is a schematic diagram of a charging circuit provided by an embodiment of the present application.
  • the charging circuit provided in this embodiment includes: a first switch transistor Q1, a second switch transistor Q2, a third switch transistor Q3, a fourth switch transistor Q4, a first capacitor Cfly, a second capacitor Cmid, and a first inductor L1;
  • the first end of a switch tube Q1 is used to connect to the adapter, namely the Vbus end in the figure, the second end of the first switch tube Q1 is connected to the first end of the second switch tube Q2, and the second end of the second switch tube Q2 is connected to The first end of the third switch tube Q3, the second end of the third switch tube Q3 is connected to the first end of the fourth switch tube Q4, and the second end of the fourth switch tube Q4 is grounded;
  • the first capacitor Two ends of Cfly are respectively connected to the second end of the first switch tube Q1 and the second end of the third switch tube Q3; the second end of the second switch tube Q2 is grounded through the
  • the controller outputs driving signals to Q1-Q4, which can output four channels, or use the same driving signal for switches in the same conduction state.
  • the charging circuit works in the step-down charging mode, in each switching cycle, the conduction states of Q1 and Q2 are opposite and complementary conduction, the conduction states of Q1 and Q3 are the same, and the conduction states of Q2 and Q4 are the same.
  • the voltage ratio of Vbus/Vbat of the charging circuit is about 4:3, therefore,
  • the input of the PC-compliant adapter is about 20V, it can achieve the purpose of reducing the voltage by about 15V, which can not only meet the voltage requirements of the PC, but also achieve the maximum efficiency of the charging circuit.
  • the charging circuit integrates the advantages of high efficiency of the open-loop SC circuit, and integrates the advantages of the Buck circuit closed-loop control and fast voltage regulation.
  • the charging circuit is highly integrated, and the structure is simple and easy to implement. Therefore, the charging circuit provided in this embodiment can improve the charging efficiency, thereby realizing fast charging in a PC scenario.
  • FIG. 5 this figure is a schematic diagram of an HPB fast charging architecture provided by an embodiment of the present application.
  • the charging circuit provided in this embodiment may further include: a backflow prevention switch RBFET and a fifth switch Q5; the first end of the first switch Q1 is connected to an adapter through the backflow prevention switch RBFET, that is, connected to Vbus ;
  • the role of the anti-reverse switch RBFET is mainly to prevent the current from the SYS side of the system power supply from flowing to the Vbus side when it is turned off.
  • the anti-reverse flow switch RBFET can be implemented by a switch to prevent unidirectional reverse flow. It should be noted that, when the anti-reflux switch RBFET is specifically implemented, it can also be implemented by using two back-to-back switches. In Figure 5, the anti-reflux switch RBFET is realized by connecting two switches in series, that is, in preventing When the reverse flow switch RBFET is turned off, the function of complete shutdown is realized, that is, no current flows in both directions.
  • the second end of the first inductor L1 is connected to the system power supply end SYS of the electronic device through the fifth switch transistor Q5.
  • the electronic device takes a PC as an example, that is, the first end of Q5 is connected to the second end of L1, and the second end of Q5 is connected to the system power supply end SYS of the PC.
  • the first end of the first switch tube Q1 is directly connected to the system power supply terminal SYS, that is, SYS is directly connected to Vbus through the anti-reflux switch tube RBFET, that is, when the adapter is inserted into the PC, the adapter can directly supply power to the system power supply terminal SYS of the PC, improving the power supply. efficiency.
  • the charging circuit provided in this embodiment further includes: a controller (not shown in the figure); the controller is specifically configured to control the fifth switch tube Q5 when the adapter is connected, that is, when an external power source is connected to the Vbus Disconnected, that is, Vbat is disconnected from SYS at this time, and not connected together; when the adapter is not connected, that is, when Vbus is not connected to an external power supply, the controller controls the fifth switch tube Q5 to close, that is, Vbat is connected to SYS Together, for example, a battery in a PC powers the system power supply side of the PC.
  • a controller (not shown in the figure); the controller is specifically configured to control the fifth switch tube Q5 when the adapter is connected, that is, when an external power source is connected to the Vbus Disconnected, that is, Vbat is disconnected from SYS at this time, and not connected together; when the adapter is not connected, that is, when Vbus is not connected to an external power supply, the controller controls the fifth switch tube Q5 to close, that is, Vbat is connected to
  • Q5 when Q5 is turned off, it can work in a unidirectional conduction mode, because Q5 includes a parallel diode, that is, it can be turned on from Vbat to SYS.
  • Q1-Q4 can be integrated in one chip to implement, or can be implemented independently, which is not specifically limited in the embodiment of this application.
  • Vbus When the battery is fully charged, when Vbus continues to connect to the adapter, it can control Q1-Q4 to be disconnected, RBFET to be closed, Q5 to be disconnected, and Vbus to directly supply power to SYS.
  • the diagrams are the path diagrams corresponding to FIG. 5 .
  • Figure 6 corresponds to the path diagram when Q1 and Q3 are turned on, and Q2 and Q4 are turned off.
  • Figure 7 corresponds to the path diagram when Q1 and Q3 are turned off, and Q2 and Q4 are turned on. It can be called path 1, and path 1 is the step-down path.
  • each switch tube can be a controllable switch tube, that is, in addition to the first terminal and the second terminal, each switch tube also includes a third terminal, that is, the control terminal.
  • the control terminal is the gate.
  • the controller can output a drive signal to control the switching state of each switch, that is, turn on or off (turn off), and control the first switch Q1 and the third switch Q3 to act synchronously when using the adapter to charge the battery, that is, Q1
  • the driving signal of Q3 and Q3 can be in the same phase, and the second switch Q2 and the fourth switch Q4 can be controlled to operate synchronously.
  • the driving signals of Q2 and Q4 can be in the same phase.
  • the first switch Q1 and the second switch Q2 The action is reversed, that is, the drive signals of Q1 and Q2 are complementary.
  • the synchronous action of the above switches refers to turning on and turning off at the same time.
  • the opposite action of the switch means that when one switch is turned on, the other switch is turned off, and the two switches will not be turned on at the same time.
  • Vbus directly supplies power to SYS
  • Vbus charges Vbat through Q1 and L1
  • Vbus passes through the path formed by Q1 and Q3 to Cfly, Cmid charge.
  • Q1 and Q3 are both turned off and Q2 and Q4 are both turned on
  • Vbus directly supplies power to SYS, and Cfly and Cmid charge Vbat through L1. If the duty cycle of Q1's drive signal is D, the transfer gain from Vbus to Vbat is:
  • the charging circuit is a step-down charging circuit.
  • the above describes the implementation process of the charging circuit provided by the embodiment of the present application in the HPB mode in the PC scenario.
  • the following describes the implementation process of the charging circuit provided by the embodiment of the present application in the NVDC mode in the PC scenario.
  • this figure is a schematic diagram of an NVDC fast charging architecture provided by an embodiment of the present application.
  • the charging circuit provided by the embodiment of the present application when applied to the NVDC fast charging architecture, in addition to the device shown in FIG. 4 , it also includes: a reverse-flow prevention switch RBFET and a charge-discharge control switch BATFET1; wherein the reverse-flow prevention switch
  • the RBFET may be the same as the anti-backflow switch RBFET in FIG. 5 , which is not repeated here, that is, the first end of the first switch Q1 is connected to the power supply terminal Vbus through the anti-backflow switch RBFET.
  • the second end of the first inductor L1 is connected to the battery through the charge-discharge control switch BATFET1, that is, connected to the charging end Vbat.
  • the second end of the first inductor L1 is connected to the system power supply end SYS of the electronic device.
  • SYS system power supply end
  • the charging circuit provided in this embodiment further includes: a controller (not shown in the figure); the controller is used to control the charging and discharging control switch BATFET1 to be turned on when the adapter is connected, that is, when the battery is charged by the power supply terminal Vbus ; When the battery is fully charged, the charge-discharge control switch BATFET1 is controlled to be disconnected.
  • Vbus can also supply power to SYS through Q1 and L1.
  • the controller is also used to control the first switch tube Q1 and the third switch tube Q3 to act synchronously when the battery is charged by the power supply terminal Vbus, that is, when the battery is charged after the voltage provided by the adapter is stepped down, to control the
  • the second switch Q2 and the fourth switch Q4 operate synchronously, and the first switch Q1 and the second switch Q2 operate oppositely.
  • the synchronization action and the opposite action here are the same as in the HPB mode, and are not repeated here. This mode is suitable when the voltage of the adapter is greater than the voltage of the battery, and the voltage of the adapter is stepped down to charge the battery.
  • the working principle is similar to that of FIG.
  • FIG. 9 this figure is a path diagram of the NVDC fast charging and boosting provided by the embodiment of the present application.
  • Figure 9 is the corresponding path diagram when Q1 and Q4 are closed
  • Figure 10 is the corresponding path diagram when Q1 and Q4 are turned off.
  • the charging circuit further includes: a sixth switch tube Q6; the first end of the sixth switch tube Q6 is connected to the second end of the third switch tube Q3, and the sixth switch tube Q6 is connected to the second end of the third switch tube Q3.
  • the second end of the switch tube Q6 is connected to the second end of the first inductor L1; the battery is charged after boosting the voltage of the power supply terminal Vbus, that is, the voltage of the adapter is boosted to charge the battery, which is suitable for the voltage of the adapter lower than that of the battery.
  • Voltage, such as the output voltage of the adapter is 5V, not 20V.
  • the charging circuit provided in this embodiment can be compatible with the low-voltage adapter and charge the battery of the PC.
  • Q6 remains disconnected, that is, Q6 is equivalent to being stripped from the charging circuit and has no effect.
  • the controller is also used to control both the second switch tube Q2 and the third switch tube Q3 to be disconnected when the battery Vbat is charged after Vbus is boosted, and control the first switch tube Q1 and the fourth switch tube Q4 to operate synchronously, The actions of controlling the first switch transistor Q1 and the sixth switch transistor Q6 are opposite.
  • Control strategy 2 refers to: Q2 and Q3 remain disconnected, Q1 and Q4 act synchronously, the driving pulses of Q1 and Q6 are inverted, and the duty cycle of Q1 conduction is D. As shown in Figure 9, Q1 and Q4 are turned on, Q6 is opposite to Q1, Q6 is turned off, Vbus charges Vbat through Q1 and L1, and at the same time supplies power to SYS and charges Cfly. The current path iL can see the direction of the current.
  • Vbat voltage range of Vbat is (Vin, + ⁇ ), which realizes closed-loop boost conversion.
  • the charging circuit can also work in reverse, that is, when the power supply terminal Vbus is not connected to an adapter, the battery is used as the power supply to supply power, that is, Vbat is used as the input terminal of the power supply, and Vbus is used as the output terminal.
  • the reverse gain of the charging circuit is:
  • the output voltage range of Vbus is (0, Vbat), which realizes closed-loop step-down conversion.
  • Vbus can be used as a power output end of the computer.
  • the battery of the PC can be used to power the mouse, that is, Vbat outputs power to Vbus. .
  • the HPB fast charging architecture provided by the above embodiments is generally applicable to the adapter whose output is a fixed voltage, that is, the fixed voltage of the adapter is greater than the battery voltage. Therefore, the charging circuit operates in a step-down mode to fast charge the battery.
  • the NVDC fast charging architecture provided in this embodiment is compatible with different situations of the adapter, and can work in both the buck mode and the boost mode.
  • the control method corresponding to the charging circuit provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
  • the above charging circuit provided by the embodiment of the present application can also select its charging control strategy, and can work in a performance priority charging mode or a fast charging priority mode.
  • FIG. 11 is a flowchart of a charging control method provided by an embodiment of the present application.
  • the control method provided by this embodiment includes: S1101: obtain the priority charging mode, if it is the performance priority charging mode, execute S1102; if it is the fast charging priority mode, execute S1103; S1102: configure the voltage of the adapter to the maximum value; S1103: according to The voltage of the battery dynamically adjusts the voltage of the adapter. Therefore, the control method provided by the embodiments of the present application can maximize the balance of system performance and charging performance, and the controller can select a control strategy as required.
  • the controller may be implemented by an application processor (AP, Application Processor), other processors, or a logic control circuit, which is not specifically limited in the embodiments of the present application, as long as the above charging process can be completed. control of the circuit.
  • the controller may comprise hardware or a combination of hardware and software.
  • control strategy ie, the control method, of the NVDC fast charging architecture of the PC.
  • FIG. 12 this figure is a flowchart of the control method in the NVDC mode provided by the embodiment of the present application.
  • S1201 Detect the type of the adapter and the maximum output voltage of the Vbus terminal.
  • the PC can communicate with the adapter through handshake communication through a communication protocol, and learn the type of the adapter and the maximum voltage that the adapter can output.
  • the charging mode of the charging circuit is set to step-down charging mode; for example, the output voltage of the adapter is about 20V, which is greater than the voltage of the battery. Therefore, the charging circuit is configured as Buck step-down mode. Charge the battery.
  • each switch tube in the charging circuit provided by the above embodiments of the present application is not specifically limited, for example, it may be implemented by a MOS tube, for example, Q1-Q4 may be an NMOS tube.
  • the gate of the MOS tube is used to receive the control signal of the controller, such as the PWM signal output by the controller.
  • the controller may include a processor and a memory.
  • the memory is a computer-readable storage medium, so the embodiments of the present application also provide a computer-readable storage medium, including instructions or computer programs that, when executed on a computer or a controller, cause the computer or the controller to execute the above descriptions
  • the charging control method of FIG. 11 and FIG. 12 that is, the method steps introduced in FIG. 11 and FIG. 12 will not be repeated here.
  • the computer instructions are also a computer program product.
  • the processor includes but is not limited to CPU (Central Processing Unit, Central Processing Unit), GPU (Graphics Processing Unit, Graphics Processing Unit) or DSP (Digital Signal Processor, Digital Signal Processing) and the like.
  • an embodiment of the present application further provides an apparatus, including a plurality of units, each unit is configured to perform the corresponding steps of the previous embodiments, such as the method steps introduced in FIG. 11 and FIG. 12 .
  • the multiple units are functional units, and may be implemented in software, hardware, or a combination of hardware and software, which is not limited in this embodiment.
  • the embodiment of the present application further provides an electronic device, the electronic device includes the charging circuit provided by the above embodiment, and also includes a battery.
  • FIG. 13 this figure is a schematic diagram of Embodiment 1 of the electronic device provided by the embodiment of the present application.
  • the electronic device provided in this embodiment may be, for example, a PC, and the electronic device may include the charging circuit 1000 described in the above embodiment, which may be either a charging circuit in an HPB fast charging mode or a charging circuit in an NVDC fast charging mode.
  • the first end of the charging circuit 1000 is connected to an adapter, and the second end of the charging circuit 1000 is connected to the power end of the battery 2000; when the electronic device is a PC, the battery is the battery of the PC.
  • the charging circuit 1000 is used for charging the battery 2000 after converting the electrical energy provided by the adapter.
  • the charging circuit can realize closed-loop fast charging, and because the charging circuit includes the SC circuit, the charging efficiency can be improved, and the efficient and fast closed-loop charging can be realized. control.
  • the charging circuit introduced in the above embodiment is applied to the fast charging scenario of PC.
  • the following describes the fast charging scenario applied to smart terminals and wearable devices.
  • the smart terminal is a mobile terminal.
  • the smart terminal can be a mobile phone, a tablet computer, etc.
  • the wearable device may be a Bluetooth headset, a watch, a VR, etc., and the specific types of the smart terminal and the wearable device are not specifically limited in the embodiments of the present application.
  • FIG. 14 this figure is a schematic diagram of another charging circuit provided by an embodiment of the present application.
  • the charging circuit provided in this embodiment includes: a first switch transistor Q1, a second switch transistor Q2, a third switch transistor Q3, a fourth switch transistor Q4, a first capacitor Cfly and a first inductor L1; the first switch transistor
  • the first end of Q1 is used to connect to the power supply end, the second end of the first switch tube Q1 is connected to the first end of the second switch tube Q2, and the second end of the second switch tube Q2 is connected to the first end of the second switch tube Q2.
  • the first end of the three switch tube Q3, the second end of the third switch tube Q3 is connected to the first end of the fourth switch tube Q4, and the second end of the fourth switch tube Q4 is grounded; the first capacitor Cfly
  • the two ends of the first switch tube Q1 are respectively connected to the second end of the first switch tube Q1 and the second end of the third switch tube Q3; the second end of the second switch tube Q2 is used as the first output terminal Vout2 for the first
  • the battery of the electronic device is charged; the charging circuit is located inside the first electronic device.
  • the second end of the first switch Q1 is connected to the first end of the first inductor L1, or the second end of the third switch Q3 is connected to the first end of the first inductor L1, and the first The second end of the inductor L1 is used as the second output end, that is, the load power supply end of the first electronic device.
  • the charging circuit includes two output terminals, which can be Vout1 and Vout2, or Vout2 and Vout3, and the two output terminals can supply power to two different loads at the same time. That is, the first output terminal is Vout2, and the second output terminal can be Vout1 or Vout3.
  • the load of the first electronic device may be an electrical circuit inside the mobile phone.
  • the load of the first electronic device can be the Bluetooth earphone in the earphone box, that is, the adapter can not only charge the battery of the earphone box, but also charge the battery of the earphone in the earphone box, that is, at this time
  • the Bluetooth headset can simultaneously charge the headset box and the headset through the charging circuit adapter, that is, simultaneously charge the first electronic device and the second electronic device.
  • this figure is a schematic diagram of the first electronic device provided by the embodiment of the present application being an earphone box.
  • the shell of the earphone box 401 is provided with a power supply terminal (not shown in the figure), that is, a charging interface.
  • the earphone box 401 can be connected to the adapter 402 through the power supply terminal. After the adapter 402 is connected to the power supply, it can be the battery of the earphone box 401. Charge. At the same time, the earphone 403 inside the earphone box 401 can be charged.
  • FIG. 16 is a schematic diagram of the interior of the earphone box provided by the embodiment of the present application.
  • Two independent earphones can be placed in the earphone box, namely the left earphone and the right earphone.
  • the charging terminal 301 of the earphone box will be connected with the power receiving terminal 302 of the earphone, and then the charging of the earphone is completed.
  • the earphone box, which is the first electronic device is charged
  • the earphone, which is the second electronic device is charged at the same time.
  • FIG. 17 is a schematic diagram of another charging circuit provided by an embodiment of the present application.
  • the charging circuit provided in this embodiment can be applied not only to smart terminals such as mobile phones, but also to wearable devices such as Bluetooth headsets.
  • Vout1 is directly connected to SYS , and also include: a reverse flow prevention switch tube RBFET, a fifth switch tube Q5 and a seventh switch tube Q7; the first end of the first switch tube Q1 is connected to the power supply terminal Vbus through the reverse flow prevention switch tube RBFET;
  • the seventh switch tube Q7 is an optional device, and Q7 is connected in series between the second end of the first switch tube Q1 and the first end of the second switch tube Q2, and Q7 and Q2 form a back-to-back structure.
  • Q2 and Q7 are drawn as two independent switch tubes.
  • Q2 and Q7 can be a physical switch, and the physical switch can be composed of two tubes.
  • the reverse series can also be realized by the substrate switching scheme, similar to Q5 in Figure 17, the purpose is to realize the function of bidirectional shutdown when it is turned off.
  • the first end of the fifth switch transistor Q5 is connected to the second end of the first inductor L1, and the second end of the fifth switch transistor Q5 is connected to the first output end.
  • the charging circuit provided in this embodiment may include a controller (not shown in the figure), and the controller is used to control the seventh switch Q7 and the second switch Q2 to act synchronously, that is, to turn on or turn off at the same time;
  • the fifth switch Q5 is controlled to be disconnected; that is, during the open-loop charging stage, Q5 disconnects the connection between SYS and Vout2.
  • the fifth switch transistor Q5 is controlled to be turned on, that is, during the closed-loop charging stage, Vout1 and Vout2 are connected together through Q5.
  • the controller is further configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch transistor Q2 and the fourth switch transistor Q4 to operate synchronously during the open-loop charging stage , the actions of the first switch Q1 and the second switch Q2 are opposite; so that the first output terminal Vout2 charges the battery Vbat, and the second output terminal Vout1 supplies power to the load of the first electronic device, that is, to SYS.
  • control strategy 1 refers to: Q1 and Q3 act synchronously, Q2 and Q4 act synchronously, and Q1 and Q3 are inverted. ratio is D.
  • FIG. 18 is a path diagram of the open-loop charging phase corresponding to FIG. 17 .
  • the power supply path of SYS is from Vbus-SYS, which is the same as the forward operation of path 1 in the first embodiment of the charging circuit, and will not be repeated here.
  • the power supply path for Vout2 is from Vbus-Vout2, which is the same as that in the first embodiment of the charging circuit, that is, the forward operation of path 2; for the above open-loop charging stage, the charging path is also suitable for mobile phones and headphones and other application scenarios .
  • FIG. 19 and FIG. 20 are the path diagrams of step-down in the closed-loop charging stage corresponding to FIG. 17 .
  • FIG. 19 is a schematic diagram showing that Q1 and Q3 are both turned on and Q4 is turned off.
  • Figure 20 is a schematic diagram showing that Q1 and Q3 are both turned off and Q4 is turned on.
  • the controller is further configured to control both the second switch tube Q2 and the optional seventh switch tube Q7 to turn off, control the fifth switch tube Q5 to turn on, and control the
  • the first switch transistor Q1 and the third switch transistor Q3 operate synchronously, and the first switch transistor Q1 and the fourth switch transistor Q4 are controlled to operate in opposite directions.
  • the specific path please refer to the direction of the current iL in the figure.
  • the gain of the charging circuit is:
  • Vsys is the voltage of SYS, that is, the output voltage range of Vsys is (0.5Vbus, Vbus). At this time, Vbat and Vsys are equal, and the proportional relationship between Vbat and Vbus is also the same as the above formula, which will not be repeated here.
  • the control strategy is defined as control strategy 3: Q2 and Q7 are turned off, Q1 and Q3 are synchronized, and Q1 and Q4 are inverted.
  • the mobile phone and the earphone box are introduced with two batteries, that is, the voltage of the adapter is lower than the battery voltage of the mobile phone, and the voltage of the adapter needs to be boosted to charge the battery of the terminal equipment such as the mobile phone.
  • the figures are the path diagrams of boosting in the closed-loop charging stage corresponding to FIG. 17 .
  • Fig. 21 is a schematic diagram showing that Q1 and Q4 are both turned on and Q3 is turned off.
  • Figure 22 is a schematic diagram showing that Q1 and Q4 are both turned off and Q3 is turned on.
  • Q2 and Q7 remain disconnected.
  • the controller is further configured to control both the second switch tube Q2 and the optional seventh switch tube Q7 to turn off, control the fifth switch tube Q5 to turn on, and control the
  • the first switch transistor Q1 and the fourth switch transistor Q4 operate synchronously, and the first switch transistor Q1 and the third switch transistor Q3 are controlled to operate in opposite directions.
  • the gain of the charging circuit corresponding to Figure 21 and Figure 22 is:
  • control strategy 4 Q2 and Q7 are turned off, Q1 and Q4 are synchronized, and Q1 and Q3 are inverted.
  • the output voltage of the adapter is generally about 5V.
  • the second output terminal is used to charge the second electronic device; for example, the first electronic device is an earphone box, and the second electronic device is an earphone, When the earphone is located in the earphone box, the earphone acts as the load of the earphone box.
  • the controller is also used to control the charging circuit to boost the voltage of the battery to charge the second electronic device, to control the second switch Q2 to operate synchronously with the fourth switch Q4, and to control the second switch Q2 Contrary to the action of the third switch tube Q3, at this time, Q5 is closed and turned on, Q2 and Q7 act simultaneously, and Q2 and Q7 can be regarded as a switch tube, that is, tied together. That is to charge SYS after Vbat is boosted. In the case of the earphone box, the battery of the earphone box charges the earphone.
  • the charging circuit provided in this embodiment can be applied to mobile terminals and wearable devices, realizes high integration of fast charging, and realizes the effective integration of closed-loop transformer circuits and open-loop transformer circuits. High efficiency, and can use the voltage regulation function of the closed-loop transformer circuit, which can be applied to both single-cell batteries and dual-cell batteries, and has a wide range of application scenarios, which improves the universality of the charging circuit.
  • the first electronic device can also use the power of its own battery to charge the second electronic device.
  • the adapter can simultaneously charge the first electronic device and the second electronic device by using the charging circuit.
  • the charging circuit is implemented three:
  • this figure is a schematic diagram of another charging circuit provided by an embodiment of the present application.
  • the two output terminals in this embodiment are the same as those in the second embodiment of the charging circuit, that is, the first output terminal of the two output terminals in this embodiment is Vout2, and the second output terminal is Vout1.
  • the difference between this embodiment and the second embodiment of the charging circuit is that the connection relationship between the two output ends is different. As can be seen from FIG.
  • the second end of the first switch tube Q1 when the second end of the first switch tube Q1 is connected to the first end of the first inductor L1, and the second end of the first inductor L1 is used as the second output end Vout1, it also includes: The flow switch tube RBFET and the eighth switch tube Q8; the first end of the first switch tube Q1 is connected to the power supply terminal Vbus through the anti-backflow switch tube RBFET; the first end of the eighth switch tube Q8 is used to connect the power supply terminal Vbus, The second end of the eighth switch transistor Q8 is connected to the second output end Vout1.
  • Vout1 and Vout2 that is, Vout1 and Vbat are not directly connected together through a switch. It is prevented that only one of the reverse flow switch RBFET and the eighth switch Q8 is turned on at the same time, and will not be turned on at the same time.
  • the charging circuit provided by the embodiment of the present application further includes: a controller (not shown in the figure); the controller is configured to control the reverse flow prevention switch RBFET to be turned on during the open-loop charging stage, and control the eighth switch Q8 is turned off; in the constant voltage closed-loop charging stage, the eighth switch tube Q8 is controlled to be turned on, and the control prevents the reverse flow switch tube RBFET from being turned off.
  • a controller not shown in the figure
  • the controller is configured to control the reverse flow prevention switch RBFET to be turned on during the open-loop charging stage, and control the eighth switch Q8 is turned off; in the constant voltage closed-loop charging stage, the eighth switch tube Q8 is controlled to be turned on, and the control prevents the reverse flow switch tube RBFET from being turned off.
  • the paths are the same during the open-loop charging phase. That is, the controller is further configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch transistor Q2 and the fourth switch transistor during the open-loop charging stage Q4 operates synchronously, and the first switch Q1 and the second switch Q2 operate in opposite directions.
  • the actions of Q1-Q4 are similar to those in the first embodiment of the charging circuit, and are not repeated here.
  • the open-loop charging stage is an open-loop fast charging stage
  • the closed-loop charging stage is a closed-loop fast charging stage.
  • the controller is further configured to control the second switch transistor Q2 and the fourth switch transistor Q4 to act synchronously, and control the second switch transistor Q2 and the third switch transistor Q3 to act in opposite directions .
  • the adapter is not connected, that is, when the Vbus is not connected to an external power supply, when the load of the electronic device is the second electronic device, the second output terminal is used to charge the battery of the second electronic device; the controller , is also used to control the second switch tube Q2 and the fourth switch tube Q4 to operate synchronously when the battery is used to charge the second electronic device, and to control the second switch tube Q2 and the fourth switch tube Q2 to operate synchronously.
  • the action of the three-switch Q3 is opposite. That is, Vbat outputs power in the reverse direction to Vout1.
  • Vout2 is used as input, Vout1 is used as output, it is closed-loop boost conversion, and the output voltage range of Vout1 is (Vout2, 2*Vout2), which realizes boost conversion.
  • Vout1 is used as input and Vout2 is used as output, it is closed-loop step-down conversion, and the output voltage range of Vout2 is (0.5*Vout1, Vout1), which realizes step-down conversion.
  • This embodiment is also applicable to the scenario where the adapter outputs a voltage of about 5V.
  • This solution can be applied to mobile terminals and wearable devices, realizes high integration of fast charging, and realizes the effective integration of closed-loop transformer circuit and open-loop transformer circuit.
  • the voltage regulation function of the closed-loop transformer circuit can be applied to a wide range of single-cell battery application scenarios of various devices, that is, the universality of the charging circuit is improved.
  • the first electronic device can also use the power of its own battery to charge the second electronic device.
  • the adapter can simultaneously charge the first electronic device and the second electronic device by using the charging circuit.
  • the charging circuit provided in this embodiment is simpler to implement and easy to implement in control. Especially when Vout1 is powered, it can supply power directly without power conversion, so the charging efficiency is higher.
  • this figure is a schematic diagram of another charging circuit provided by an embodiment of the present application.
  • the two output terminals in this embodiment are different from the second and third embodiments of the charging circuit.
  • the first output terminal of the two output terminals in this embodiment is Vout2
  • the second output terminal is Vout3
  • the charging circuit implements The two output terminals in Example 2 and Example 3 are Vout1 and Vout2 respectively.
  • the charging circuit provided in this embodiment can realize the function of boosting, that is, it can be applied to the scenario where the battery is two batteries connected in series. To meet the charging requirements of the batteries, the charging circuit needs to boost the voltage of the 5V battery to charge the two batteries.
  • the output voltage of the adapter is not specifically limited in this embodiment, and the above is only a specific schematic description.
  • This embodiment is the same as the third embodiment of the charging circuit in that the two output ends are not connected together through a switch.
  • the second end of the third switch tube Q3 when the second end of the third switch tube Q3 is connected to the first end of the first inductor L1 and the second end of L1 is used as the second output end Vout3, it also includes: the anti-reverse flow switch tube RBFET and The ninth switch transistor Q9; when the second end of the third switch transistor Q3 is connected to the first end of the first inductor L1, the first end of the first switch transistor Q1 is used to connect through the backflow prevention switch transistor RBFET the power supply terminal; the second terminal of the first inductor L1 is connected to the power supply terminal through the ninth switch transistor Q9. Similarly, in this embodiment, only one of the reverse flow switch RBFET and the ninth switch Q9 is prevented from being turned on at the same time in the fast charging scenario, that is, the two will not be turned on at the same time.
  • the charging circuit provided in this embodiment may further include: a controller (not shown in the figure); the controller realizes the control of each working mode of the charging circuit.
  • the controller is used to control the conduction of the reverse current switch tube RBFET in the open-loop charging stage, and control the ninth switch tube Q9 to be turned off; in the constant voltage closed-loop charging stage, control the ninth switch tube Q9 to be turned on,
  • the anti-reverse flow switch RBFET is controlled to be turned off. That is to say, in the closed-loop charging stage, Vbus directly provides power to Vout3 through the closed Q9, without going through the conversion of the switch tube and the inductor, which can improve the power supply efficiency of Vout3 and reduce power loss, that is, improve the charging efficiency of Vout3.
  • the charging path belongs to the cascaded structure of SC circuit and Buck circuit, and the transmission gain is
  • Vbus-Vout3 is a closed-loop buck mode
  • reverse direction from Vout3-Vbus is a closed-loop boost mode
  • Vout2-Vout3 the control strategy of this charging path is: Q1 and Q3 act synchronously, Q2 and Q4 act synchronously, Q1 and Q2 work in reverse phase, the duty cycle of Q1 conduction is D, then Vout2->Vout3 is Buck structure, From Vout3->Vout2 is the Boost structure.
  • the controller is further configured to control the first switching transistor Q1 and the third switching transistor Q3 to operate synchronously, and control the second switching transistor Q2 and the fourth switching transistor Q4 to operate synchronously during the open-loop charging stage , the actions of the first switch transistor Q1 and the second switch transistor Q2 are opposite.
  • the controller is further configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch transistor Q2 and the fourth switch transistor Q4 to synchronize during the closed-loop charging stage
  • the actions of controlling the first switch transistor Q1 and the second switch transistor Q2 are opposite. It can be seen from the above analysis that, in the charging circuit provided in this embodiment, the control strategies of Q1-Q4 are exactly the same in the open-loop charging stage and the closed-loop charging stage, only the duty ratios are different.
  • the RBFET In the open-loop charging stage of the mobile phone, the RBFET is turned on and Q9 is turned off, and the forward operation is performed in the same way as the path 2 described in the above embodiment. In the closed-loop charging stage of the mobile phone, or when the 5V adapter is connected, the RBFET is turned off and Q9 is turned on, that is, boost charging is performed according to the reverse Boost structure of path 5 above.
  • the battery of the earphone box is connected to Vout2, and the earphone is connected to Vout3.
  • SC voltage regulation is supported, and the earphone box and earphone are charged at the same time, RBFET is turned on, and Q9 is turned off, that is, forward work is performed according to path 2 and path 4 at the same time, that is, the step-down charging mode.
  • the battery of the earphone box charges the earphone, and the forward Buck working mode is performed according to the path 5 introduced above, that is, the step-down charging mode. That is, when the load of the first electronic device is the second electronic device; the controller is further configured to use the battery to charge the second electronic device, and control the first switch tube Q1 and the third electronic device.
  • the switch Q3 operates synchronously, controls the second switch Q2 and the fourth switch Q4 to operate synchronously, and controls the first switch Q1 and the second switch Q2 to operate oppositely.
  • the charging circuit provided in this embodiment can work in both an open-loop charging mode and a closed-loop charging mode, and can work in both a buck charging mode and a boost charging mode.
  • the second output terminal is connected to the power supply terminal through the controllable switch tube.
  • the controllable switch tube When the controllable switch tube is turned on, the power supply terminal can directly supply power to the second output terminal without going through an intermediate power conversion link, thereby reducing power consumption and increasing the power consumption. charging efficiency.
  • the charging circuit can work in the reverse boost mode, it can be applied to the scenario where multiple batteries are connected in series in mobile terminals such as mobile phones, for example, the charging scenario when two batteries are connected in series, so that it can be compatible with different adapters to meet different mobile needs. Charging requirements for terminals and wearable devices.
  • Embodiment 5 of the charging circuit is a
  • this figure is a schematic diagram of still another charging circuit provided by an embodiment of the present application.
  • the difference between this embodiment and the fourth embodiment of the charging circuit is that one switch tube is added, that is, a controllable switch tube. By changing the working state of the controllable switch tube, more working modes can be realized.
  • the charging circuit provided in this embodiment is suitable for both a single-cell battery scenario and a dual-cell battery scenario, and is suitable for charging the battery of a mobile terminal, and is located inside the mobile terminal, for example, charging the battery of a mobile phone.
  • the first output terminal of the charging circuit provided in this embodiment is Vout2, and the second output terminal is Vout3.
  • the charging circuit provided by this embodiment adds: a tenth switch Q10; the first end of the tenth switch Q10 is connected to the second end of the first inductor L1, and the second end of the tenth switch Q10 is connected to the second end of the first inductor L1. terminal to ground.
  • the controller in the open-loop charging stage and the closed-loop boost charging stage, is configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch The transistor Q2 and the fourth switch transistor Q4 operate synchronously, and the first switch transistor Q1 and the second switch transistor Q2 are controlled to operate in opposite directions.
  • control of the ninth switch Q9 and the anti-reverse flow switch RBFET is specifically: a controller for controlling the anti-reverse switch RBFET to conduct during the open-loop charging stage, and controlling the first
  • the ninth switch Q9 is turned off; in the closed-loop charging stage, the ninth switch Q9 is controlled to be turned on or periodically turned on, and the reverse-flow prevention switch RBFET is controlled to be turned off.
  • the closed-loop charging stage in this embodiment includes a closed-loop boost charging stage, a closed-loop step-down charging stage, and a closed-loop buck-boost charging stage.
  • the controller's control strategy for Q9 is as follows: in the closed-loop boost charging stage, control Q9 to be turned on all the time; in the closed-loop step-down charging stage and the closed-loop buck-boost charging stage, control Q9 to be turned on periodically.
  • the control strategy of the closed-loop boost charging stage is:
  • the controller is further configured to control the ninth switch tube Q9 to be turned on all the time, control the tenth switch tube Q10 to be always off, and control the first switch tube Q1 and the third switch tube in the closed-loop boost charging stage Q3 operates synchronously, and controls the second switch transistor Q2 and the fourth switch transistor Q4 to operate synchronously.
  • the control strategy in the closed-loop step-down charging stage is: the controller is also used to control the ninth switch Q9 to be turned on periodically, and the controller is controlled to turn on the ninth switch Q9 and the tenth switch Q10 alternately , the fourth switch transistor Q4 is controlled to be turned off, and the third switch transistor Q3 is controlled to be turned on.
  • the control strategy of the closed-loop buck-boost charging stage is:
  • the controller is further configured to control the ninth switch transistor Q9 to be periodically turned on, and control the first switch transistor Q1, the third switch transistor Q3 and the tenth switch transistor Q10 to be synchronized in the closed-loop boost-boost charging stage operation, the second switch transistor Q2, the fourth switch transistor Q4 and the ninth switch transistor Q9 are controlled to operate synchronously.
  • FIG. 25B this figure is another schematic diagram based on FIG. 25A provided by the embodiment of the present application.
  • the difference between this embodiment and the fourth embodiment of the charging circuit is that two switch tubes are added, that is, two controllable switch tubes. By changing the working state of the controllable switch tubes, more working modes can be realized.
  • FIG. 25B adds a controllable switch tube, that is, Q11.
  • the charging circuit provided in this embodiment is suitable for both a single-cell battery scenario and a dual-cell battery scenario, and is suitable for charging a wearable device, such as charging an earphone box.
  • a wearable device such as charging an earphone box.
  • Q11 is not required in a mobile phone charging scenario, that is, Q11 can be removed, including Q10.
  • Q11 can be controlled to be turned on all the time, that is, it does not participate in the role of electric energy conversion.
  • the first output terminal of the charging circuit provided in this embodiment is Vout2, and the second output terminal is Vout3.
  • the two added switch transistors in this embodiment are the tenth switch transistor Q10 and the eleventh switch transistor Q11 respectively.
  • Q10 and Q11 are required in the charging scene of the earphone box.
  • the function of BuckBoost can be realized in the charging scene of the earphone box to the earphone.
  • the charging circuit provided in this embodiment works in path 4 + control strategy 1, that is, from Vbus to Vout3, RBFET is turned on and Q9 is turned off; in control strategy 1, Q10 operates synchronously with Q1 and Q3, and Q11 operates synchronously with Q2 and Q4 , the gain is:
  • FIG. 26 is a schematic diagram of a working mode corresponding to FIG. 25B .
  • Figure 26 corresponds to the path diagram in which the controller controls Q1 and Q3 to be turned on and Q2 and Q4 to be turned off, wherein Q10 and Q3 act synchronously, and Q11 and Q4 act synchronously.
  • FIG. 27 this figure is a schematic diagram of another working mode corresponding to FIG. 25B .
  • Figure 27 corresponds to the path diagram in which the controller controls Q1 and Q3 to be turned off and Q2 and Q4 to be turned on, wherein Q10 and Q3 act synchronously, and Q11 and Q4 act synchronously.
  • the charging circuit provided in this embodiment can also work in path 5 + control strategy 1:
  • Vout2-Vout3 the path is the same as the above control strategy;
  • the topology is a variant BuckBoost structure, and the gain is:
  • Vout2 when the application scenario is an earphone box, when the earphone box is charging the earphone, Vout2 outputs power to Vout3, as shown in Figure 28, which is the path diagram corresponding to Figure 25 when Vbus is not connected to the power supply. At this point, the Vbus is not connected to external power, that is, the adapter is not connected to the headphone box.
  • the control strategy corresponding to Figure 28 is basically the same as Figure 26, except that the RBFET switch in this figure should be kept off, and other control strategies are the same, that is, the controller controls Q1 and Q3 to be turned on, Q2 and Q4 are turned off, and Q10 and Q3 are synchronized
  • the controller controls Q1 and Q3 to be turned on, Q2 and Q4 are turned off, and Q10 and Q3 are synchronized
  • the path when both Q2 and Q4 are turned on is basically the same as that in Figure 27, the difference is also that the RBFET switch should be kept off.
  • control strategy can be further simplified to improve the power conversion efficiency.
  • the charging circuit provided in this embodiment can work in a variant Buck mode.
  • Q10 is controlled to be always off, and Q11 is always turned on; the gain is:
  • the charging circuit can realize the forward closed-loop step-down mode.
  • the modal diagram when the controller controls Q1 and Q3 to turn on is shown in Figure 29, and the modal diagram when the controller controls Q1 and Q3 to turn off is shown in Figure 30.
  • Q10 is always off and Q11 is always on.
  • the charging circuit provided in this embodiment can work in the traditional Boost mode.
  • Q1, Q2 and Q4 are controlled to be always off, Q3 is always turned on, and Q10 and Q11 are controlled to be turned on alternately.
  • the duty cycle of Q10 is D, then the gain is:
  • the charging circuit can realize a closed-loop boosting working mode.
  • the corresponding working mode diagrams are shown in FIG. 31 and FIG. 32 , wherein in FIG. 31 , Q11 is turned off and Q10 is turned on.
  • Figure 32 is a schematic diagram showing that Q11 is turned on and Q10 is turned off, and the current path in it can refer to the direction of current iL.
  • At most one RBFET and Q9 can be turned on at the same time; in the fast charging scenario of mobile phones, Q11 is not required. If there is Q11, it can be controlled to be turned on all the time.
  • the RBFET When the fast charging of the mobile phone is in the open-loop fast charging state, that is, the open-loop charging stage, the RBFET is turned on, Q9 is turned off, and the same path 2 works forward.
  • the RBFET When the mobile phone fast charging works in the closed-loop charging stage, or when the 5V adapter is plugged in for charging, the RBFET is turned off and Q9 replaces the function of Q11, which is the same as the working mode of path 5 + control strategy 1 in the above figure, that is, the reverse BuckBoost working mode.
  • the simplified control strategy for improving the power conversion efficiency is also applicable to the closed-loop charging stage of the mobile phone, which will not be repeated here.
  • the battery of the earphone box charges the earphone.
  • the charging circuit works in the forward BuckBoost working mode.
  • the corresponding simplified control strategy for improving the power conversion efficiency is also applicable, which will not be repeated here.
  • the charging circuit provided in this embodiment has the advantages of the second embodiment of the charging circuit to the fourth embodiment of the charging circuit, and can work in the open-loop charging mode, the closed-loop charging mode, and the step-down charging mode. , and can work in boost charging mode.
  • the second output terminal is connected to the power supply terminal through the controllable switch tube. When the controllable switch tube is turned on, the power supply terminal can directly supply power to the second output terminal without going through an intermediate power conversion link, thereby reducing power consumption and increasing the power consumption. charging efficiency.
  • the charging circuit can work in the reverse boost mode, it can be applied to the multi-battery series connection scenario of mobile terminals such as mobile phones, such as the charging scenario when two batteries are connected in series, so that it can be compatible with different adapters to meet the needs of different mobile terminals. and the charging needs of wearable devices.
  • the charging circuit provided in this embodiment also has the following advantages, that is, the charging circuit can work in the boost mode and the step-down mode.
  • the voltage of the battery is boosted to charge the earphones, and the voltage of its own battery can be reduced to charge the earphones. It can be flexibly controlled to charge the earphones when the batteries of the earphone box have different power levels.
  • the above embodiments of the charging circuit from the second embodiment to the fifth embodiment of the charging circuit are all applicable to the charging of mobile terminals and wearable devices.
  • the charging circuit provided by the embodiment of the present application is not the open-loop charging circuit that includes two parallel circuits as shown in FIG.
  • the closed-loop charging circuit integrates the open-loop charging circuit and the closed-loop charging circuit organically.
  • the controller can realize different charging paths by controlling the different working modes of the switch tube.
  • open-loop charging When open-loop charging is required, the open-loop charging can be used. Fast charging with high efficiency.
  • closed-loop charging stable fast charging can be achieved by using the working stability of the closed-loop.
  • the above charging circuits are also suitable for boost charging, so that they can be compatible with scenarios where the input voltage of the adapter is low, or compatible with scenarios where the electronic device to be charged includes two series-connected batteries. Therefore, the charging circuit provided by the above embodiments of the present application improves the integration of various charging circuits, reduces the circuit size, and can meet different application scenarios, thereby improving the universality of the charging circuit.
  • each switch in the charging circuit is not specifically limited.
  • it can be implemented by a MOS transistor, or by a triode or a transistor.
  • Q1-Q4 can be NMOS transistors.
  • the embodiment of the present application further provides an electronic device, which will be described in detail below with reference to the accompanying drawings.
  • An embodiment of the present application further provides an electronic device, including: a battery and the charging circuit provided by any one of the foregoing charging circuit embodiment 2 to charging circuit embodiment 5.
  • FIG. 33 this figure is a schematic diagram of another electronic device provided by an embodiment of the present application.
  • the first end of the charging circuit 100A is used to connect to the power supply end Vbus, and the first output end Vout2 of the charging circuit 100A is used to connect to the battery, that is, Vbat is not shown in the figure; the second output end of the charging circuit 100A Vout1 or Vout3 is used to connect the load of the first electronic device.
  • the load of the first electronic device may be a power circuit or a second electronic device; for example, for the application scenario of a mobile phone, the first electronic device For the mobile phone, the battery of the first electronic device is the battery of the mobile phone, and the load of the first electronic device may be the power consumption circuit inside the mobile phone.
  • the first electronic device is an earphone box, and the load of the first electronic device is an earphone.
  • the charging circuit 100A is used for converting the electric energy provided by the power supply terminal Vbus to charge the battery and supply power to the load of the electronic device. That is, in FIG. 33 , the battery of the first electronic device is 200A, and the load of the first electronic device is 300A.
  • the load of the first electronic device is another battery with a smaller capacity as an example.
  • the load of the headphone box is the headphone battery, which is 300A.
  • the charging circuit since the charging circuit includes two output terminals, two charging paths can be implemented, respectively, to perform fast charging for two different charged batteries or charged loads. Because the charging circuit included in the electronic device can work in both an open-loop charging mode and a closed-loop charging mode, and can work in both a step-down charging mode and a boost charging mode.
  • the second output terminal is connected to the power supply terminal through the controllable switch tube. When the controllable switch tube is turned on, the power supply terminal can directly supply power to the second output terminal without going through an intermediate power conversion link, thereby reducing power consumption and increasing the power consumption. charging efficiency.
  • the charging circuit can work in the reverse boost mode, it can be applied to scenarios where the battery capacity of mobile terminals such as mobile phones is relatively large, such as the charging scenario when two batteries are connected in series, so that it can be compatible with different adapters to meet different requirements. Charging requirements for mobile terminals and wearable devices.
  • At least one (item) refers to one or more, and "a plurality” refers to two or more.
  • “And/or” is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, “A and/or B” can mean: only A, only B, and both A and B exist , where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one (a) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c" ", where a, b, c can be single or multiple.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Disclosed in the present application are a charging circuit and an electronic device. The charging circuit comprises: four switch tubes connected in series, i.e., a first switch tube, a second switch tube, a third switch tube, and a fourth switch tube, a first capacitor, a second capacitor, and a first inductor; a first end of the first switch tube is connected to a power supply end, and both ends of the first capacitor are connected to a second end of the first switch tube and a second end of the third switch tube; a second end of the second switch tube is grounded by means of the second capacitor; the second end of the first switch tube is connected to a first end of the first inductor, and a second end of the first inductor serves as a charging output end to charge a battery of the electronic device. The charging circuit increases the integration level, and the area and volume occupied by the circuit can be reduced after the integration level is increased, thereby improving the charging efficiency. When the electronic device is a PC, fast charging performance is improved. When the electronic device is a terminal, the organic combination of open-loop fast charging and closed-loop fast charging is achieved, and the organic combination of boost and buck is also achieved, thereby improving universality and allowing for compatibility with different adapters.

Description

一种充电电路及电子设备A charging circuit and electronic equipment 技术领域technical field

本申请涉及电子技术领域,尤其涉及一种充电电路及电子设备。The present application relates to the field of electronic technology, and in particular, to a charging circuit and an electronic device.

背景技术Background technique

目前,越来越多的电子设备需要快速充电,即快充,尤其对于手机等移动终端,随着使用频率的增加,快充成为手机的标配。目前电子设备的充电过程包括恒流(CC,Constant Current)充电阶段和恒压(CV,Constant Voltage)充电阶段。手机内部的快充电路大部分采用开关电容(SC,Switch Capacitor)电路,由于SC电路属于开环调节,因此,充电效率较高。因为SC电路没有闭环调节能力,因此,需要适配器调节自身输出电压来获得合适的充电电流提供给SC电路。SC电路目前只能在CC充电阶段工作,在CV充电阶段还需要使用闭环电压调节电路。At present, more and more electronic devices require fast charging, that is, fast charging, especially for mobile terminals such as mobile phones. With the increase in the frequency of use, fast charging has become a standard configuration for mobile phones. At present, the charging process of electronic devices includes a constant current (CC, Constant Current) charging stage and a constant voltage (CV, Constant Voltage) charging stage. Most of the fast charging circuits inside the mobile phone use switched capacitor (SC, Switch Capacitor) circuits. Since the SC circuit is an open-loop regulation, the charging efficiency is high. Because the SC circuit has no closed-loop regulation capability, the adapter needs to regulate its own output voltage to obtain a suitable charging current for the SC circuit. The SC circuit can only work in the CC charging stage at present, and a closed-loop voltage regulation circuit needs to be used in the CV charging stage.

下面以手机为例进行介绍,参见图1,该图为现有技术提供的位于手机内部的快充系统示意图。在CC充电阶段,适配器的输出电压Vbus通过SC电路10为手机的电池Vbat充电。在CV充电阶段,适配器的输出电压Vbus通过闭环调压电路20为电池充电。闭环调压电路20包括Buck或Boost。当手机的电池为单节时,利用Buck为电池充电。当手机的电池为双节时,选择Boost为电池充电。当适配器不在线时,即Vbus没有输入电源时,Vbat直接通过闭合的开关管BATFET给手机内部的系统SYS供电。In the following, a mobile phone is used as an example for introduction. Referring to FIG. 1 , the figure is a schematic diagram of a fast charging system located inside a mobile phone provided in the prior art. In the CC charging stage, the output voltage Vbus of the adapter charges the battery Vbat of the mobile phone through the SC circuit 10 . In the CV charging stage, the output voltage Vbus of the adapter charges the battery through the closed-loop voltage regulator circuit 20 . The closed-loop voltage regulating circuit 20 includes Buck or Boost. When the battery of the mobile phone is a single cell, use the Buck to charge the battery. When the phone's battery is dual, select Boost to charge the battery. When the adapter is not online, that is, when Vbus has no input power, Vbat directly supplies power to the system SYS inside the mobile phone through the closed switch BATFET.

从图1可以看出,目前手机等电子设备的快充电路包括两路独立并联的电路,在CC和CV阶段采用不同的充电电路为电池进行充电,架构比较复杂,难于实现高度集成化。As can be seen from Figure 1, the current fast charging circuit of electronic devices such as mobile phones includes two independent parallel circuits. Different charging circuits are used to charge the battery in the CC and CV stages. The structure is relatively complex and it is difficult to achieve high integration.

申请内容Application content

本申请提供了一种充电电路及电子设备,可以实现快充电路的高度集成化,结构简单、易于实现。The present application provides a charging circuit and electronic equipment, which can realize high integration of the fast charging circuit, and have a simple structure and easy implementation.

本申请实施例提供一种充电电路,包括以下四个依次串联的开关管:第一开关管、第二开关管、第三开关管、第四开关管,还包括:第一电容、第二电容和第一电感;所述第一开关管的第一端用于连接电源端,所述第一电容的两端分别连接所述第一开关管的第二端和所述第三开关管的第二端;所述第二开关管的第二端通过所述第二电容接地;所述第一开关管的第二端连接所述第一电感的第一端,所述第一电感的第二端作为充电输出端,用于为电子设备的电池进行充电。An embodiment of the present application provides a charging circuit, including the following four switch tubes connected in series in sequence: a first switch tube, a second switch tube, a third switch tube, and a fourth switch tube, and further comprising: a first capacitor, a second capacitor and the first inductance; the first end of the first switch tube is used to connect to the power supply terminal, and the two ends of the first capacitor are respectively connected to the second end of the first switch tube and the first end of the third switch tube Two terminals; the second terminal of the second switch is grounded through the second capacitor; the second terminal of the first switch is connected to the first terminal of the first inductor, and the second terminal of the first inductor is connected to the ground. The terminal is used as the charging output terminal to charge the battery of the electronic device.

本申请实施例提供的充电电路集成了SC电路效率高的优点,又集成了Buck电路闭环控制可以稳压的优点,将开环变压电路和闭环变压电路的功能集成在一起,合二为一,实现了充电电路的高度集成化,而且结构简单、易于实现。因此,该充电电路可以提高充电效率,从而实现PC场景的快充。The charging circuit provided by the embodiment of the present application integrates the advantages of high efficiency of the SC circuit, and also integrates the advantages of the closed-loop control of the Buck circuit that can stabilize voltage, and integrates the functions of the open-loop transformer circuit and the closed-loop transformer circuit. First, the high integration of the charging circuit is realized, and the structure is simple and easy to realize. Therefore, the charging circuit can improve the charging efficiency, thereby realizing fast charging in the PC scene.

优选地,为了防止系统供电端的电流流向电源端,因此该充电电路还包括:防止反流开关管,即所述第一开关管的第一端通过所述防止反流开关管连接所述电源端;另外,还第五开关管;所述第一电感的第二端通过所述第五开关管连接所述电子设备的系统供电端。Preferably, in order to prevent the current of the power supply end of the system from flowing to the power supply end, the charging circuit further includes: a reverse flow prevention switch, that is, the first end of the first switch is connected to the power supply through the reverse flow prevention switch. In addition, there is a fifth switch tube; the second end of the first inductor is connected to the system power supply end of the electronic device through the fifth switch tube.

优选地,对于混合电源升压的充电场景,该充电电路可以实现降压充电模式,所述第一开关管的第一端连接所述电子设备的系统供电端;所述控制器,还用于在利用所述电源 端给所述电池充电时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。Preferably, for a charging scenario where the hybrid power supply is boosted, the charging circuit can implement a step-down charging mode, and the first end of the first switch tube is connected to the system power supply end of the electronic device; the controller is also used for When using the power terminal to charge the battery, the first switch tube and the third switch tube are controlled to operate synchronously, the second switch tube and the fourth switch tube are controlled to operate synchronously, and the first switch tube and the fourth switch tube are controlled to operate synchronously. The actions of a switch tube and the second switch tube are opposite.

优选地,对于窄电压直流充电的场景,该充电电路还包括:防止反流开关管和充放电控制开关管;同理,防止反流开关管是为了防止其他的电流反向流向电源端,实现关断的功能。所述第一开关管的第一端通过所述防止反流开关管连接所述电源端;所述第一电感的第二端通过所述充放电控制开关管连接所述电池;所述第一电感的第二端连接所述电子设备的系统供电端。Preferably, for the narrow-voltage DC charging scenario, the charging circuit further includes: a reverse-flow prevention switch and a charge-discharge control switch; similarly, the reverse-flow prevention switch is to prevent other currents from flowing in the reverse direction to the power supply, so as to achieve shutdown function. The first end of the first switch tube is connected to the power supply terminal through the anti-reverse flow switch tube; the second end of the first inductor is connected to the battery through the charge and discharge control switch tube; the first The second end of the inductor is connected to the system power supply end of the electronic device.

优选地,该充电电路可以在控制器的控制下实现Buck降压充电模式,即控制器在利用所述电源端降压给所述电池充电时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。Preferably, the charging circuit can realize the Buck step-down charging mode under the control of the controller, that is, the controller controls the first switch tube and the third switch when charging the battery by using the step-down voltage of the power supply terminal. The switches operate synchronously to control the second switch and the fourth switch to operate synchronously, and the first switch and the second switch operate oppositely.

优选地,本申请实施例提供的充电电路还可以实现升压充电,即Boost工作模式,还包括:第六开关管;所述第六开关管的第一端连接所述第三开关管的第二端,所述第六开关管的第二端连接所述第一电感的第二端;所述控制器,还用于在所述电源端升压后给所述电池充电时,控制所述第二开关管和所述第三开关管均断开,控制所述第一开关管和所述第四开关管同步动作,控制所述第一开关管和所述第六开关管的动作相反。该充电电路适用于电池为两节串联电池的场景,需要升压为串联的电池充电。Preferably, the charging circuit provided in the embodiment of the present application can also implement boost charging, that is, the Boost working mode, and further includes: a sixth switch tube; the first end of the sixth switch tube is connected to the third switch tube of the third switch tube. Two terminals, the second terminal of the sixth switch tube is connected to the second terminal of the first inductor; the controller is further configured to control the battery when the power supply terminal is boosted to charge the battery Both the second switch tube and the third switch tube are disconnected, the first switch tube and the fourth switch tube are controlled to act synchronously, and the actions of the first switch tube and the sixth switch tube are controlled to be opposite. This charging circuit is suitable for the scenario where the battery is two batteries connected in series, and needs to be boosted to charge the batteries connected in series.

基于以上实施例提供的充电电路,本申请实施例还提供一种电子设备,包括:电池和以上介绍的充电电路;所述充电电路的第一端用于连接电源端,所述充电电路的第二端连接所述电池的电源端;所述充电电路,用于将所述电源端提供的电能转换后为所述电池充电。例如,该电子设备可以为PC。Based on the charging circuit provided by the above embodiment, the embodiment of the present application further provides an electronic device, including: a battery and the charging circuit described above; a first end of the charging circuit is used for connecting to a power source, and a first end of the charging circuit The two ends are connected to the power supply terminal of the battery; the charging circuit is used for converting the electric energy provided by the power supply terminal to charge the battery. For example, the electronic device may be a PC.

本申请实施例还提供一种充电模式控制方法,包括:获得优先级充电模式,如果是性能优先充电模式,配置适配器的电压为最大值;如果是快速充电优先模式,则根据电池的电压动态调节适配器的电压执行。The embodiment of the present application also provides a charging mode control method, including: obtaining a priority charging mode, and if it is a performance priority charging mode, configuring the voltage of the adapter to a maximum value; if it is a fast charging priority mode, dynamically adjusting according to the voltage of the battery The voltage of the adapter performs.

因此,本申请实施例提供的充电控制方法,可以实现最大化平衡系统性能和充电性能,控制器可以根据需要进行控制策略的选择。Therefore, the charging control method provided by the embodiments of the present application can maximize the balance of system performance and charging performance, and the controller can select a control strategy as required.

另外,本申请实施例还提供另一种充电模式控制方法,包括:检测适配器的类型和Vbus端的最大输出电压。当适配器的最大电压大于电池电压时,配置充电电路的充电模式为降压充电模式;当适配器的最大电压小于电池电压时,配置充电电路的充电模式为升压充电模式。In addition, the embodiment of the present application further provides another charging mode control method, which includes: detecting the type of the adapter and the maximum output voltage of the Vbus terminal. When the maximum voltage of the adapter is greater than the battery voltage, the charging mode configured with the charging circuit is a step-down charging mode; when the maximum voltage of the adapter is less than the battery voltage, the charging mode configured with the charging circuit is a boost charging mode.

另外,本申请实施例还提供一种计算机可读存储介质,包括指令或计算机程序,当其在计算机上运行时,使得计算机执行以上介绍的充电控制方法。In addition, the embodiments of the present application further provide a computer-readable storage medium, including instructions or computer programs, which, when executed on a computer, cause the computer to execute the charging control method described above.

通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到上述实施例方法中的全部或部分步骤可借助软件加通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如只读存储器(英文:read-only memory,ROM)/RAM、磁碟、光盘等,包括若干程序代码或指令用以使得一台计算机设备(可以是个人计算机,服务器,或者诸如路由器等网络 通信设备)执行本申请各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as read-only memory (English: read-only memory, ROM)/RAM, magnetic disk, An optical disc, etc., includes several program codes or instructions for making a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of the present application.

本申请实施例还提供一种充电电路,包括:第一开关管、第二开关管、第三开关管、第四开关管、第一电容和第一电感;所述第一开关管的第一端用于连接电源端,所述第一开关管的第二端连接所述第二开关管的第一端,所述第二开关管的第二端连接所述第三开关管的第一端,所述第三开关管的第二端连接所述第四开关管的第一端,所述第四开关管的第二端接地;所述第一电容的两端分别连接所述第一开关管的第二端和所述第三开关管的第二端;所述第二开关管的第二端作为第一输出端,用于为第一电子设备的电池充电;所述第一开关管的第二端连接所述第一电感的第一端,或,所述第三开关管的第二端连接所述第一电感的第一端,所述第一电感的第二端作为第二输出端为所述第一电子设备的负载供电。An embodiment of the present application further provides a charging circuit, including: a first switch tube, a second switch tube, a third switch tube, a fourth switch tube, a first capacitor and a first inductor; a first switch tube of the first switch tube The terminal is used to connect the power terminal, the second end of the first switch tube is connected to the first end of the second switch tube, and the second end of the second switch tube is connected to the first end of the third switch tube , the second end of the third switch tube is connected to the first end of the fourth switch tube, the second end of the fourth switch tube is grounded; the two ends of the first capacitor are respectively connected to the first switch The second end of the second switch tube and the second end of the third switch tube; the second end of the second switch tube is used as the first output end for charging the battery of the first electronic device; the first switch tube The second end of the first inductor is connected to the first end of the first inductor, or the second end of the third switch is connected to the first end of the first inductor, and the second end of the first inductor is used as the second The output terminal supplies power to the load of the first electronic device.

当该充电电路具有两个输出端时,可以应用于终端设备和可穿戴设备等场景,由于该充电电路具备两个输出端,因此可以同时给两个电子设备进行充电。例如当第一电子设备的负载为第二电子设备时,第二输出端用于为所述第二电子设备充电;例如,第一电子设备为耳机盒,第二电子设备为耳机,耳机位于耳机盒时,耳机作为耳机盒的负载。对应耳机盒的场景时,耳机盒的电池为耳机进行充电。本实施例提供的充电电路,可以适用于移动终端和可穿戴设备,实现快充的高度集成,实现了闭环变压电路和开环变压电路的有效融合,既可以利用开环变压电路的高效率,又可以利用闭环变压电路的稳压功能,既可以适用于单节电池,又可以适用于双节电池,应用场景广泛,即提高了该充电电路的普适性。并且,当适配器未接入时,第一电子设备还可以利用自身电池的电能为第二电子设备充电When the charging circuit has two output terminals, it can be applied to scenarios such as terminal equipment and wearable devices. Since the charging circuit has two output terminals, it can charge two electronic devices at the same time. For example, when the load of the first electronic device is a second electronic device, the second output terminal is used to charge the second electronic device; for example, the first electronic device is an earphone box, the second electronic device is an earphone, and the earphone is located in the earphone When the box is installed, the earphone acts as the load of the earphone box. In the case of the earphone box, the battery of the earphone box charges the earphone. The charging circuit provided in this embodiment can be applied to mobile terminals and wearable devices, realizes high integration of fast charging, and realizes the effective integration of closed-loop transformer circuits and open-loop transformer circuits. High efficiency, and can use the voltage regulation function of the closed-loop transformer circuit, which can be applied to both single-cell batteries and dual-cell batteries, and has a wide range of application scenarios, which improves the universality of the charging circuit. Moreover, when the adapter is not connected, the first electronic device can also use the power of its own battery to charge the second electronic device

优选地,该充电电路可以实现开环充电,即开环快充,快速充电的同时可以提高充电效率。该开环快充适用于手机场景和耳机盒场景。控制器,在利用所述电源端为所述电池进行所述开环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。Preferably, the charging circuit can realize open-loop charging, that is, open-loop fast charging, and the charging efficiency can be improved at the same time of fast charging. The open-loop fast charging is suitable for mobile phone scenarios and earphone box scenarios. The controller controls the first switch tube and the third switch tube to operate synchronously, and controls the second switch tube and the The four switches operate synchronously, and the actions of the first switch and the second switch are opposite.

优选地,该充电电路还包括:控制器和第五开关管;所述第五开关管的第一端连接所述第一电感的第二端,所述第五开关管的第二端连接所述第一输出端;所述控制器,还用于在所述闭环充电阶段时,控制所述第二开关管断开,控制所述第五开关管闭合,控制所述第一开关管和第三开关管同步动作,控制所述第一开关管和所述第四开关管的动作相反。该充电模式为闭环降压充电模式。Preferably, the charging circuit further includes: a controller and a fifth switch tube; the first end of the fifth switch tube is connected to the second end of the first inductor, and the second end of the fifth switch tube is connected to the the first output terminal; the controller is further configured to control the second switch tube to turn off, control the fifth switch tube to turn on, and control the first switch tube and the first switch tube during the closed-loop charging stage. The three switches operate synchronously, and the actions of the first switch and the fourth switch are controlled to be opposite. The charging mode is a closed-loop step-down charging mode.

优选地,还包括:控制器和第五开关管;所述第五开关管的第一端连接所述第一电感的第二端,所述第五开关管的第二端连接所述第一输出端;所述控制器,还用于在所述闭环充电阶段时,控制所述第二开关管断开,控制所述第五开关管闭合,控制所述第一开关管和所述第四开关管同步动作,控制所述第一开关管和所述第三开关管的动作相反。该充电模式为闭环升压充电模式。Preferably, it also includes: a controller and a fifth switch; the first end of the fifth switch is connected to the second end of the first inductor, and the second end of the fifth switch is connected to the first an output end; the controller is further configured to control the second switch tube to turn off, control the fifth switch tube to turn on, and control the first switch tube and the fourth switch tube during the closed-loop charging stage The switch tubes act synchronously, and the first switch tube and the third switch tube are controlled to have opposite actions. The charging mode is a closed-loop boost charging mode.

优选地,当所述第一电子设备的负载为第二电子设备时,所述第二输出端用于为所述第二电子设备充电;所述控制器,还用于在所述电池的电压升压后为所述第二电子设备充电时,控制所述第二开关管与所述第四开关管同步动作,控制所述第二开关管与所述第三开关管的动作相反。例如,应用场景为耳机盒时,第一电子设备为耳机盒,第二电子设备 为耳机,耳机盒利用自身电池的电压为耳机进行充电。Preferably, when the load of the first electronic device is the second electronic device, the second output terminal is used for charging the second electronic device; the controller is also used for increasing the voltage of the battery When charging the second electronic device after boosting, the second switch tube and the fourth switch tube are controlled to operate synchronously, and the second switch tube and the third switch tube are controlled to operate oppositely. For example, when the application scenario is an earphone box, the first electronic device is an earphone box, the second electronic device is an earphone, and the earphone box uses the voltage of its own battery to charge the earphone.

优选地,下面介绍Buck+开关电容SC充电模式,当所述第一开关管的第二端连接所述第一电感的第一端时,还包括:防止反流开关管和第八开关管;所述第一开关管的第一端通过所述防止反流开关管连接所述电源端;所述第八开关管的第一端用于连接所述电源端,所述第八开关管的第二端连接所述第二输出端。Preferably, the following describes the Buck+ switched capacitor SC charging mode. When the second end of the first switch is connected to the first end of the first inductor, it further includes: a reverse-flow prevention switch and an eighth switch; The first end of the first switch tube is connected to the power supply terminal through the anti-reflux switch tube; the first end of the eighth switch tube is used to connect to the power supply terminal, and the second end of the eighth switch tube is used to connect to the power supply terminal. The terminal is connected to the second output terminal.

优选地,还包括:控制器;所述控制器,用于在开环充电阶段,控制所述防止反流开关管导通,控制所述第八开关管断开;在闭环充电阶段,控制所述第八开关管导通,控制所述防止反流开关管断开。Preferably, it further includes: a controller; the controller is configured to control the anti-reverse flow switch to be turned on and to control the eighth switch to be turned off in the open-loop charging stage; in the closed-loop charging stage, control all The eighth switch tube is turned on, and the backflow prevention switch tube is controlled to be disconnected.

优选地,下面介绍手机和耳机均适用的开环充电场景,单电池充电场景。控制器,还用于在所述开环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。Preferably, open-loop charging scenarios applicable to both mobile phones and earphones, and single-battery charging scenarios are described below. The controller is further configured to control the synchronous action of the first switch tube and the third switch tube during the open-loop charging stage, and control the synchronous action of the second switch tube and the fourth switch tube, so that the The actions of the first switch tube and the second switch tube are opposite.

优选地,所述控制器,还用于在所述闭环充电阶段时,控制所述第二开关管和所述第四开关管同步动作,控制所述第二开关管和所述第三开关管的动作相反。Preferably, the controller is further configured to control the second switch transistor and the fourth switch transistor to operate synchronously, and control the second switch transistor and the third switch transistor during the closed-loop charging stage action is the opposite.

优选地,当所述第一电子设备的负载为第二电子设备时,所述第二输出端用于为所述第二电子设备的电池充电;所述控制器,还用于在利用所述电池为所述第二电子设备充电时,控制所述第二开关管与所述第四开关管同步动作,控制所述第二开关管与所述第三开关管的动作相反。该场景适用于电源端没有连接适配器时,第一电子设备的电池为第二电子设备进行充电,例如耳机盒为耳机充电,该充电模式为升压充电模式。Preferably, when the load of the first electronic device is the second electronic device, the second output terminal is used to charge the battery of the second electronic device; the controller is further configured to use the When the battery is charging the second electronic device, the second switch tube and the fourth switch tube are controlled to operate synchronously, and the second switch tube and the third switch tube are controlled to operate oppositely. This scenario is applicable when the battery of the first electronic device charges the second electronic device when the power supply terminal is not connected to the adapter, for example, the earphone box charges the earphone, and the charging mode is a boost charging mode.

优选地,下面介绍两个输出端为第二开关管的第二端和第三开关管的第二端的情况,当所述第三开关管的第二端连接所述第一电感的第一端时,还包括:防止反流开关管和第九开关管;所述第一开关管的第一端用于通过所述防止反流开关管连接所述电源端;所述第一电感的第二端通过所述第九开关管连接所述电源端。该充电场景时,电源端直通给第二输出端直接供电,即充电,不必经过任何功率转换,从而可以提高充电效率。Preferably, the following describes the case where the two output ends are the second end of the second switch tube and the second end of the third switch tube, when the second end of the third switch tube is connected to the first end of the first inductor When the reverse flow prevention switch tube is used, it also includes: a reverse flow prevention switch tube and a ninth switch tube; the first end of the first switch tube is used for connecting the power supply terminal through the reverse flow prevention switch tube; the second switch tube of the first inductor The terminal is connected to the power terminal through the ninth switch tube. In this charging scenario, the power supply terminal directly supplies power to the second output terminal, that is, charging, without any power conversion, so that the charging efficiency can be improved.

优选地,还包括:控制器;所述控制器,用于在开环充电阶段,控制所述防止反流开关管导通,控制所述第九开关管断开;在闭环充电阶段,控制所述第九开关管导通或周期性导通,控制所述防止反流开关管断开。Preferably, the method further includes: a controller; the controller is configured to control the conduction of the reverse-flow prevention switch tube and control the ninth switch tube to be turned off in the open-loop charging stage; and in the closed-loop charging stage, control all The ninth switch tube is turned on or periodically turned on, and the anti-reverse flow switch tube is controlled to be turned off.

优选地,下面介绍适用于耳机盒和手机的开环降压充电模式。所述控制器,还用于在所述开环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。Preferably, an open-loop step-down charging mode suitable for earphone boxes and mobile phones is described below. The controller is further configured to control the first switch transistor and the third switch transistor to operate synchronously, and control the second switch transistor and the fourth switch transistor to operate synchronously during the open-loop charging stage , the actions of the first switch tube and the second switch tube are opposite.

优选地,下面介绍适用于耳机盒的闭环升压充电模式,所述控制器,还用于在所述闭环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,控制所述第一开关管和所述第二开关管的动作相反。Preferably, a closed-loop boost charging mode suitable for the earphone box is introduced below. The controller is further configured to control the first switch tube and the third switch tube to act synchronously during the closed-loop charging stage, and control the The second switch tube and the fourth switch tube act synchronously, and the actions of the first switch tube and the second switch tube are controlled to be opposite.

优选地,下面介绍电源端没有连接适配器时,例如应用于耳机盒的充电场景,耳机盒降压给耳机充电的模式。当所述第一电子设备的负载为第二电子设备时;所述控制器,还用于在利用所述电池为所述第二电子设备充电,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管的同步动作,控制所述第一开关管和所述第二开关管的动作相反。Preferably, when the power supply terminal is not connected to the adapter, for example, in the charging scenario of the earphone box, the mode in which the earphone box reduces the voltage to charge the earphone is described below. When the load of the first electronic device is the second electronic device; the controller is further configured to use the battery to charge the second electronic device, and control the first switch tube and the third electronic device The switches operate synchronously, control the synchronous operations of the second switch and the fourth switch, and control the first switch and the second switch to operate oppositely.

优选地,下面介绍该充电电路可以工作在BuckBoost+SC的充电模式,还包括:第十开关管;所述第十开关管的第一端连接所述第一电感的第二端,所述第十开关管的第二端接地。Preferably, it is described below that the charging circuit can work in the charging mode of BuckBoost+SC, and further includes: a tenth switch; the first end of the tenth switch is connected to the second end of the first inductor; The second end of the ten switch tubes is grounded.

优选地,所述控制器,还用于在闭环降压充电阶段,控制所述第九开关管周期性导通,控制控制器所述第九开关管和所述第十开关管交替导通,控制所述第四开关管断开,控制所述第三开关管导通。Preferably, the controller is further configured to control the ninth switch transistor to be periodically turned on during the closed-loop step-down charging stage, and control the controller to turn on the ninth switch transistor and the tenth switch transistor alternately, The fourth switch tube is controlled to be turned off, and the third switch tube is controlled to be turned on.

优选地,所述控制器,还用于在闭环升降压充电阶段,控制所述第九开关管周期性导通,控制所述第一开关管、第三开关管和所述第十开关管同步动作,控制所述第二开关管、所述第四开关管和所述第九开关管同步动作。Preferably, the controller is further configured to control the ninth switch transistor to be periodically turned on, and control the first switch transistor, the third switch transistor, and the tenth switch transistor in the closed-loop buck-boost charging stage Synchronous action controls the synchronous action of the second switch tube, the fourth switch tube and the ninth switch tube.

优选地,下面介绍正反向BuckBoost+SC的充电场景,还包括:第十一开关管;所述第十一开关管的第一端连接所述第一电感的第二端,所述第十一开关管的第二端作为所述第二输出端;所述控制器,还用于控制所述第十一开关管与所述第四开关管同步动作。Preferably, the charging scenario of forward and reverse BuckBoost+SC is described below, and further includes: an eleventh switch tube; the first end of the eleventh switch tube is connected to the second end of the first inductor, and the tenth switch tube is connected to the second end of the first inductor. The second end of a switch tube is used as the second output end; the controller is further configured to control the eleventh switch tube and the fourth switch tube to act synchronously.

优选地,所述控制器,还用于控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反,控制所述第十开关管与所述第三开关管同步动作,控制所述第十一开关管与所述第四开关管同步动作。Preferably, the controller is further configured to control the synchronous action of the first switch tube and the third switch tube, control the synchronous action of the second switch tube and the fourth switch tube, the first switch tube The actions of the tube and the second switch tube are opposite, and the tenth switch tube is controlled to act synchronously with the third switch tube, and the eleventh switch tube is controlled to be synchronized with the fourth switch tube.

优选地,下面介绍简化的控制策略,首先介绍简化控制策略中的降压充电控制,所述控制器,还用于在所述第二输出端的电压小于所述第一输出端的电压时,控制所述第十开关管关断,控制所述第十一开关管导通;控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,控制所述第一开关管和所述第二开关管的动作相反。Preferably, a simplified control strategy is introduced below. First, the step-down charging control in the simplified control strategy is introduced. The tenth switch tube is turned off, and the eleventh switch tube is controlled to be turned on; the first switch tube and the third switch tube are controlled to operate synchronously, and the second switch tube and the fourth switch tube are controlled Synchronous action, controlling the actions of the first switch tube and the second switch tube to be opposite.

优选地,下面介绍简化控制策略中的升压充电控制,所述控制器,还用于在所述第二输出端的电压大于所述第一输出端的电压时,控制所述第一开关管、所述第二开关管和所述第四开关管均关断,控制所述第三开关管导通,控制所述第十开关管和所述第十一开关管交替导通。Preferably, the boost charging control in the simplified control strategy is described below. The controller is further configured to control the first switch tube, all The second switch tube and the fourth switch tube are both turned off, the third switch tube is controlled to be turned on, and the tenth switch tube and the eleventh switch tube are controlled to be turned on alternately.

本申请实施例还提供一种电子设备,包括:电池和以上介绍的充电电路;所述充电电路的第一端用于连接电源端,所述充电电路的第一输出端用于连接所述电池;所述充电电路的第二输出端用于连接所述电子设备的负载;所述充电电路,用于将所述电源端提供的电能转换后为所述电池充电,且为所述电子设备的负载供电。例如该电子设备为手机等移动终端或例如该电子设备为耳机盒等穿戴设备。An embodiment of the present application further provides an electronic device, including: a battery and the charging circuit described above; a first end of the charging circuit is used to connect to a power supply end, and a first output end of the charging circuit is used to connect to the battery ; the second output terminal of the charging circuit is used to connect the load of the electronic device; the charging circuit is used to convert the electric energy provided by the power supply terminal to charge the battery, and is used for charging the battery of the electronic device. load power supply. For example, the electronic device is a mobile terminal such as a mobile phone, or for example, the electronic device is a wearable device such as an earphone box.

需要说明的是,以上实施例中提及的控制器控制各个开关管的动作,均是指控制器向各个开关管的控制端发送控制信号,例如脉冲宽度调制PWM信号。It should be noted that the controller in the above embodiments to control the actions of each switch tube means that the controller sends a control signal, such as a pulse width modulated PWM signal, to the control terminal of each switch tube.

从以上技术方案可以看出,本申请实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present application have the following advantages:

当该充电电路具有一个输出端,即从第一开关管的第二端作为输出端时,该充电电路集成了SC电路效率高的优点,又集成了Buck电路闭环控制可以稳压的优点,将开环变压电路和闭环变压电路的功能集成在一起,合二为一,实现了充电电路的高度集成化,而且结构简单、易于实现。因此,本实施例提供的充电电路可以提高充电效率,从而实现PC 场景的快充。When the charging circuit has one output terminal, that is, the second terminal of the first switch tube is used as the output terminal, the charging circuit integrates the advantages of high efficiency of the SC circuit and the advantages of the closed-loop control of the Buck circuit that can stabilize voltage. The functions of the open-loop transformer circuit and the closed-loop transformer circuit are integrated into one, which realizes the high integration of the charging circuit, and has a simple structure and is easy to implement. Therefore, the charging circuit provided in this embodiment can improve the charging efficiency, thereby realizing fast charging in a PC scenario.

当该充电电路具有两个输出端时,可以应用于终端设备和可穿戴设备等场景,由于该充电电路具备两个输出端,可以同时给两个电子设备进行充电。例如当第一电子设备的负载为第二电子设备时,第二输出端用于为所述第二电子设备充电;本实施例提供的充电电路,可以适用于移动终端和可穿戴设备,实现快充的高度集成,实现了闭环变压电路和开环变压电路的有效融合,既可以利用开环变压电路的高效率,又可以利用闭环变压电路的稳压功能,既可以适用于单节电池,又可以适用于双节电池,应用场景广泛,即提高了该充电电路的普适性。When the charging circuit has two output terminals, it can be applied to scenarios such as terminal equipment and wearable devices. Since the charging circuit has two output terminals, it can charge two electronic devices at the same time. For example, when the load of the first electronic device is the second electronic device, the second output terminal is used to charge the second electronic device; the charging circuit provided in this embodiment can be applied to mobile terminals and wearable devices, and realizes fast The high integration of the charger realizes the effective integration of the closed-loop transformer circuit and the open-loop transformer circuit. It can not only use the high efficiency of the open-loop transformer circuit, but also use the voltage regulation function of the closed-loop transformer circuit. It can also be applied to two-cell batteries, and has a wide range of application scenarios, that is, the universality of the charging circuit is improved.

附图说明Description of drawings

图1为现有技术提供的位于手机内部的快充系统示意图;1 is a schematic diagram of a fast charging system located inside a mobile phone provided by the prior art;

图2为本申请实施例提供的HPB结构图;2 is a structural diagram of an HPB provided by an embodiment of the present application;

图3为本申请实施例提供的NVDC架构图;FIG. 3 is an NVDC architecture diagram provided by an embodiment of the present application;

图4为本申请实施例提供的充电电路的实施例一示意图;FIG. 4 is a schematic diagram of Embodiment 1 of the charging circuit provided by the embodiment of the present application;

图5为本申请实施例提供的HPB快充架构示意图;FIG. 5 is a schematic diagram of an HPB fast charging architecture provided by an embodiment of the present application;

图6为与图5对应一种路径示意图;6 is a schematic diagram of a path corresponding to FIG. 5;

图7为与图5对应的另一种路径示意图;Fig. 7 is another kind of route schematic diagram corresponding to Fig. 5;

图8为本申请实施例提供的NVDC快充架构示意图;FIG. 8 is a schematic diagram of an NVDC fast charging architecture provided by an embodiment of the present application;

图9为本申请实施例提供的NVDC快充升压时的路径图;FIG. 9 is a path diagram of NVDC fast charging and boosting provided by an embodiment of the present application;

图10为与图9对应的另一种路径图;Fig. 10 is another route diagram corresponding to Fig. 9;

图11为本申请实施例提供的HPB模式下的控制方法流程图;11 is a flowchart of a control method in an HPB mode provided by an embodiment of the present application;

图12为本申请实施例提供的NVDC模式下的控制方法流程图;12 is a flowchart of a control method in an NVDC mode provided by an embodiment of the present application;

图13为本申请实施例提供的电子设备实施例一的示意图;FIG. 13 is a schematic diagram of Embodiment 1 of an electronic device provided by an embodiment of the present application;

图14为本申请实施例提供的另一种充电电路的示意图;14 is a schematic diagram of another charging circuit provided by an embodiment of the present application;

图15为本申请实施例提供的第一电子设备为耳机盒的示意图;15 is a schematic diagram of the first electronic device provided by an embodiment of the application being an earphone box;

图16为本申请实施例提供的耳机盒内部示意图;16 is a schematic diagram of the interior of an earphone box provided by an embodiment of the application;

图17为本申请实施例提供的另一种充电电路的示意图;FIG. 17 is a schematic diagram of another charging circuit provided by an embodiment of the present application;

图18为图17对应的开环充电阶段的路径图;FIG. 18 is a path diagram of the open-loop charging stage corresponding to FIG. 17;

图19为图17对应的CV充电阶段降压的一种路径图;FIG. 19 is a path diagram of step-down in the CV charging stage corresponding to FIG. 17;

图20为图17对应的CV充电阶段降压的另一种路径图;FIG. 20 is another path diagram of step-down in the CV charging stage corresponding to FIG. 17;

图21为图17对应的CV充电阶段升压的一种路径图;FIG. 21 is a path diagram of boosting voltage in the CV charging stage corresponding to FIG. 17;

图22为图17对应的CV充电阶段升压的另一种路径图;FIG. 22 is another path diagram of boosting voltage in the CV charging stage corresponding to FIG. 17;

图23为本申请实施例提供的另一种充电电路的示意图;23 is a schematic diagram of another charging circuit provided by an embodiment of the present application;

图24为本申请实施例提供的又一种充电电路的示意图;FIG. 24 is a schematic diagram of yet another charging circuit provided by an embodiment of the present application;

图25A为本申请实施例提供的再一种充电电路的示意图;25A is a schematic diagram of still another charging circuit provided by an embodiment of the present application;

图25B为本申请实施例提供的在图25A基础上的又一种充电电路示意图;FIG. 25B is a schematic diagram of another charging circuit based on FIG. 25A provided by an embodiment of the present application;

图26为图25B对应的一种工作模态示意图;Figure 26 is a schematic diagram of a working mode corresponding to Figure 25B;

图27为图25B对应的另一种工作模态示意图;Fig. 27 is another working mode schematic diagram corresponding to Fig. 25B;

图28为图25B对应的Vbus未连接电源时的路径图;FIG. 28 is a path diagram when the Vbus corresponding to FIG. 25B is not connected to a power supply;

图29为图25B对应的Q1和Q3导通时的模态图;FIG. 29 is a modal diagram when Q1 and Q3 corresponding to FIG. 25B are turned on;

图30为图25B对应的Q1和Q3关断时的模态图;FIG. 30 is a modal diagram when Q1 and Q3 corresponding to FIG. 25B are turned off;

图31为图25B对应的Q11关断,Q10导通的示意图;FIG. 31 is a schematic diagram showing that Q11 corresponding to FIG. 25B is turned off and Q10 is turned on;

图32为图25B对应的Q11导通,Q10关断的示意图;FIG. 32 is a schematic diagram showing that Q11 corresponding to FIG. 25B is turned on and Q10 is turned off;

图33为本申请实施例提供的电子设备实施例二的示意图。FIG. 33 is a schematic diagram of Embodiment 2 of an electronic device provided by 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. Words such as "first" and "second" in the following description are only used for descriptive purposes, and should not be construed 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, directional terms such as "upper" and "lower" may include, but are not limited to, definitions relative to the schematic placement of components in the drawings. It should be understood that these directional terms may be relative concepts, They are used for relative description and clarification, which may vary accordingly depending on 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 integral body, indicating a communication connection or an electrical connection ; It can be directly connected by wire or indirectly connected through an intermediate medium. Furthermore, the term "coupled" may be a manner of electrical connection that enables signal transmission. "Coupling" can be a direct electrical connection or an indirect electrical connection through an intermediate medium.

为了使本领域技术人员更好地理解本申请实施例提供的技术方案,下面先以电脑PC的电池进行快速充电场景为例进行介绍。根据电脑的适配器不同,电脑内部的充电电路的架构有所区别,目前主要包括以下两大类:第一类:混合电源升压(HPB,Hybrid Power Boost)模式;第二类:窄电压直流充电(NVDC,Narrow Voltage Direct Current)模式;In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application, the following first takes the scenario of fast charging of the battery of a computer PC as an example for introduction. According to the different adapters of the computer, the structure of the charging circuit inside the computer is different. At present, it mainly includes the following two categories: the first category: Hybrid Power Boost (HPB, Hybrid Power Boost) mode; the second category: narrow voltage DC charging (NVDC, Narrow Voltage Direct Current) mode;

下面先介绍第一类HPB的工作原理。如图2所示,该图为本申请实施例提供的HPB架构图。Vin是该充电电路的输入电压,即适配器的输出电压,经过充电电路30为电池Vbat进行充电。同时,Vin可以直接给电脑的系统供电。The working principle of the first type of HPB is described below. As shown in FIG. 2 , the figure is an HPB architecture diagram provided by an embodiment of the present application. Vin is the input voltage of the charging circuit, that is, the output voltage of the adapter, and the battery Vbat is charged through the charging circuit 30 . At the same time, Vin can directly supply power to the computer's system.

下面介绍第二类NVDC的工作原理。参见图3,该图为本申请实施例提供的NVDC架构图。NVDC适用于适配器的输出电压可调,即输出的电压为宽范围电压。Vin经过充电电路30为电池Vbat充电,且为电脑的系统供电。The working principle of the second type of NVDC is described below. Referring to FIG. 3 , this figure is an NVDC architecture diagram provided by an embodiment of the present application. NVDC is suitable for the adjustable output voltage of the adapter, that is, the output voltage is a wide range of voltage. Vin charges the battery Vbat through the charging circuit 30 and supplies power to the computer system.

从图2和图3可以看出,无论是HPB还是NVDC,充电电路均需要提升电能的转换效率。下面结合具体的充电电路的示意图介绍本申请实施例提供的技术方案,可以真正实现PC场景的快充,且满足PC的系统供电需求,本申请实施例提供了一种效率较高且适用于PC应用场景的充电电路,以适配器的输出电压为20V为例,利用本申请实施例提供的充电电路为PC的电池充电,在该充电电路的最佳效率点工作时可以满足PC的电池的充电电压的需求,PC的电池的充电电压范围在15V左右,例如12V-20V之间。而本申请实施例提供的充电电路的最佳效率点对应的电压变比为4:3,即将20V的输入电压降压为15V左右。下面结合附图对本申请实施例提供的充电电路进行详细介绍。As can be seen from Figure 2 and Figure 3, whether it is HPB or NVDC, the charging circuit needs to improve the conversion efficiency of electric energy. The technical solutions provided by the embodiments of the present application are described below with reference to the schematic diagrams of the specific charging circuits, which can truly realize fast charging in PC scenarios and meet the system power supply requirements of the PCs. The embodiments of the present application provide a high-efficiency and suitable for PCs. In the charging circuit of the application scenario, taking the output voltage of the adapter as 20V as an example, the charging circuit provided by the embodiment of the present application is used to charge the battery of the PC, and the charging voltage of the battery of the PC can be satisfied when the charging circuit works at the best efficiency point According to the requirements of the battery, the charging voltage range of the PC battery is about 15V, for example, between 12V-20V. The voltage transformation ratio corresponding to the optimum efficiency point of the charging circuit provided by the embodiment of the present application is 4:3, that is, the input voltage of 20V is stepped down to about 15V. The charging circuit provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

充电电路实施例一:The first embodiment of the charging circuit:

参见图4,该图为本申请实施例提供的一种充电电路的示意图。本实施例提供的充电电路,包括:第一开关管Q1、第二开关管Q2、第三开关管Q3、第四开关管Q4、第一电容Cfly、第二电容Cmid和第一电感L1;第一开关管Q1的第一端用于连接适配器,即图中的Vbus端,第一开关管Q1的第二端连接第二开关管Q2的第一端,第二开关管Q2的第二端连接第三开关管Q3的第一端,所述第三开关管Q3的第二端连接所述第四开关管Q4的第一端,所述第四开关管Q4的第二端接地;第一电容Cfly的两端分别连接所述第一开关管Q1的第二端和所述第三开关管Q3的第二端;第二开关管Q2的第二端通过第二电容Cmid接地;第一开关管Q1的第二端连接所述第一电感L1的第一端,所述第一电感L1的第二端作为充电输出端Vout,用于为电子设备的电池进行充电。实际实现时,控制器输出驱动信号给Q1-Q4,可以输出四路,也可以对于相同导通状态的开关管使用同一路驱动信号。该充电电路工作于降压充电模式时,每个开关周期内,Q1和Q2的导通状态相反,互补导通,Q1和Q3的导通状态相同,Q2和Q4的导通状态相同。Referring to FIG. 4 , this figure is a schematic diagram of a charging circuit provided by an embodiment of the present application. The charging circuit provided in this embodiment includes: a first switch transistor Q1, a second switch transistor Q2, a third switch transistor Q3, a fourth switch transistor Q4, a first capacitor Cfly, a second capacitor Cmid, and a first inductor L1; The first end of a switch tube Q1 is used to connect to the adapter, namely the Vbus end in the figure, the second end of the first switch tube Q1 is connected to the first end of the second switch tube Q2, and the second end of the second switch tube Q2 is connected to The first end of the third switch tube Q3, the second end of the third switch tube Q3 is connected to the first end of the fourth switch tube Q4, and the second end of the fourth switch tube Q4 is grounded; the first capacitor Two ends of Cfly are respectively connected to the second end of the first switch tube Q1 and the second end of the third switch tube Q3; the second end of the second switch tube Q2 is grounded through the second capacitor Cmid; the first switch tube The second end of Q1 is connected to the first end of the first inductance L1, and the second end of the first inductance L1 serves as a charging output end Vout for charging the battery of the electronic device. In actual implementation, the controller outputs driving signals to Q1-Q4, which can output four channels, or use the same driving signal for switches in the same conduction state. When the charging circuit works in the step-down charging mode, in each switching cycle, the conduction states of Q1 and Q2 are opposite and complementary conduction, the conduction states of Q1 and Q3 are the same, and the conduction states of Q2 and Q4 are the same.

具体地,当Q1的第二端连接第一电感L1的第一端,第二电感L1的第二端作为输出端时,该充电电路的Vbus/Vbat的电压比大约为4:3,因此,符合PC的适配器输入20V左右时,实现15V左右降压的目的,既可以满足PC的电压需求,又实现了该充电电路的最大效率。而且该充电电路集成了开环SC电路效率高的优点,又集成了Buck电路闭环控制快速稳压的优点,将开环变压电路和闭环变压电路融合在一起,合二为一,实现了充电电路的高度集成化,而且结构简单、易于实现。因此,本实施例提供的充电电路可以提高充电效率,从而实现PC场景的快充。Specifically, when the second end of Q1 is connected to the first end of the first inductor L1, and the second end of the second inductor L1 is used as the output end, the voltage ratio of Vbus/Vbat of the charging circuit is about 4:3, therefore, When the input of the PC-compliant adapter is about 20V, it can achieve the purpose of reducing the voltage by about 15V, which can not only meet the voltage requirements of the PC, but also achieve the maximum efficiency of the charging circuit. Moreover, the charging circuit integrates the advantages of high efficiency of the open-loop SC circuit, and integrates the advantages of the Buck circuit closed-loop control and fast voltage regulation. The charging circuit is highly integrated, and the structure is simple and easy to implement. Therefore, the charging circuit provided in this embodiment can improve the charging efficiency, thereby realizing fast charging in a PC scenario.

下面结合附图,分别介绍PC场景下的混合电源升压(HPB,Hybrid Power Boost)模式和窄电压直流充电(NVDC,Narrow Voltage Direct Current)模式的工作原理。参见图5,该图为本申请实施例提供的HPB快充架构示意图。本实施例提供的充电电路还可以包括:防止反流开关管RBFET和第五开关管Q5;所述第一开关管Q1的第一端通过所述防止反流开关管RBFET连接适配器,即连接Vbus;防止反流开关管RBFET的作用主要是为了实现在关断时,避免系统供电SYS一侧的电流流向Vbus一侧。防止反流开关管RBFET可以由一个开关管来实现,防止单向的反流。需要说明的是,防止反流开关管RBFET具体实现时,也可以利用两个背靠背的开关管来实现,图5中是以两个开关管串联来实现的防止反流开关管RBFET,即在防止反流开关管RBFET关断时,实现完全关断的功能,即双向均没有电流流过。The following describes the working principles of the Hybrid Power Boost (HPB, Hybrid Power Boost) mode and the Narrow Voltage Direct Current (NVDC, Narrow Voltage Direct Current) mode in the PC scenario. Referring to FIG. 5 , this figure is a schematic diagram of an HPB fast charging architecture provided by an embodiment of the present application. The charging circuit provided in this embodiment may further include: a backflow prevention switch RBFET and a fifth switch Q5; the first end of the first switch Q1 is connected to an adapter through the backflow prevention switch RBFET, that is, connected to Vbus ; The role of the anti-reverse switch RBFET is mainly to prevent the current from the SYS side of the system power supply from flowing to the Vbus side when it is turned off. The anti-reverse flow switch RBFET can be implemented by a switch to prevent unidirectional reverse flow. It should be noted that, when the anti-reflux switch RBFET is specifically implemented, it can also be implemented by using two back-to-back switches. In Figure 5, the anti-reflux switch RBFET is realized by connecting two switches in series, that is, in preventing When the reverse flow switch RBFET is turned off, the function of complete shutdown is realized, that is, no current flows in both directions.

第一电感L1的第二端通过第五开关管Q5连接电子设备的系统供电端SYS。电子设备以PC为例,即Q5的第一端连接L1的第二端,Q5的第二端连接PC的系统供电端SYS。第一开关管Q1的第一端直接连接系统供电端SYS,即SYS直接通过防止反流开关管RBFET连接Vbus,即当适配器插入PC时,适配器可以直接给PC的系统供电端SYS供电,提高供电效率。本实施例提供的充电电路,还包括:控制器(图中未示出);控制器,具体用于在适配器接入时,即Vbus有外部电源接入时,控制所述第五开关管Q5断开,即此时Vbat与SYS断开,没有连接在一起;在所述适配器未接入时,即Vbus没有外部电源接入 时,控制器控制第五开关管Q5闭合,即Vbat与SYS连接在一起,例如PC中的电池为PC的系统供电端供电。需要说明的是,当Q5断开时,可以工作于单向导通模式,因为Q5包括并联的二极管,即从Vbat向SYS可以导通。产品实现时,Q1-Q4可以集成在一个芯片中来实现,也可以独立来实现,本申请实施例中不作具体限定。当电池的电量充满时,Vbus继续连接适配器时,可以控制Q1-Q4均断开,RBFET闭合,Q5断开,Vbus直接给SYS供电。The second end of the first inductor L1 is connected to the system power supply end SYS of the electronic device through the fifth switch transistor Q5. The electronic device takes a PC as an example, that is, the first end of Q5 is connected to the second end of L1, and the second end of Q5 is connected to the system power supply end SYS of the PC. The first end of the first switch tube Q1 is directly connected to the system power supply terminal SYS, that is, SYS is directly connected to Vbus through the anti-reflux switch tube RBFET, that is, when the adapter is inserted into the PC, the adapter can directly supply power to the system power supply terminal SYS of the PC, improving the power supply. efficiency. The charging circuit provided in this embodiment further includes: a controller (not shown in the figure); the controller is specifically configured to control the fifth switch tube Q5 when the adapter is connected, that is, when an external power source is connected to the Vbus Disconnected, that is, Vbat is disconnected from SYS at this time, and not connected together; when the adapter is not connected, that is, when Vbus is not connected to an external power supply, the controller controls the fifth switch tube Q5 to close, that is, Vbat is connected to SYS Together, for example, a battery in a PC powers the system power supply side of the PC. It should be noted that when Q5 is turned off, it can work in a unidirectional conduction mode, because Q5 includes a parallel diode, that is, it can be turned on from Vbat to SYS. When the product is implemented, Q1-Q4 can be integrated in one chip to implement, or can be implemented independently, which is not specifically limited in the embodiment of this application. When the battery is fully charged, when Vbus continues to connect to the adapter, it can control Q1-Q4 to be disconnected, RBFET to be closed, Q5 to be disconnected, and Vbus to directly supply power to SYS.

下面结合路径图介绍本申请实施例的工作原理。参见图6和图7,该图为与图5对应的路径图。其中图6对应的是Q1和Q3导通,Q2和Q4关断时的路径图,图7对应的是Q1和Q3关断,Q2和Q4导通时的路径图。可以称为路径1,路径1为降压路径。The working principles of the embodiments of the present application are described below with reference to the road diagram. Referring to FIG. 6 and FIG. 7 , the diagrams are the path diagrams corresponding to FIG. 5 . Among them, Figure 6 corresponds to the path diagram when Q1 and Q3 are turned on, and Q2 and Q4 are turned off. Figure 7 corresponds to the path diagram when Q1 and Q3 are turned off, and Q2 and Q4 are turned on. It can be called path 1, and path 1 is the step-down path.

控制器控制该充电电路工作于降压模式,各个开关管均可以为可控开关管,即各个开关管除了第一端和第二端以外,还包括第三端,即控制端,例如对于MOS管来说,控制端即为栅极。控制器可以输出驱动信号控制各个开关管的开关状态,即导通或断开(关断),在利用适配器给电池充电时,控制第一开关管Q1和第三开关管Q3同步动作,即Q1和Q3的驱动信号可以同相位,控制所述第二开关管Q2和所述第四开关管Q4同步动作,Q2和Q4的驱动信号可以同相位,第一开关管Q1和第二开关管Q2的动作相反,即Q1和Q2的驱动信号互补。以上开关管的同步动作是指同时导通,同时断开。开关管的动作相反是指一个开关管导通时,另一个开关管断开,两个开关管不会同时导通。The controller controls the charging circuit to work in the step-down mode, and each switch tube can be a controllable switch tube, that is, in addition to the first terminal and the second terminal, each switch tube also includes a third terminal, that is, the control terminal. For example, for MOS For the tube, the control terminal is the gate. The controller can output a drive signal to control the switching state of each switch, that is, turn on or off (turn off), and control the first switch Q1 and the third switch Q3 to act synchronously when using the adapter to charge the battery, that is, Q1 The driving signal of Q3 and Q3 can be in the same phase, and the second switch Q2 and the fourth switch Q4 can be controlled to operate synchronously. The driving signals of Q2 and Q4 can be in the same phase. The first switch Q1 and the second switch Q2 The action is reversed, that is, the drive signals of Q1 and Q2 are complementary. The synchronous action of the above switches refers to turning on and turning off at the same time. The opposite action of the switch means that when one switch is turned on, the other switch is turned off, and the two switches will not be turned on at the same time.

从图6可以看出,当Q1和Q3均导通,Q2和Q4均关断时,Vbus直接给SYS供电,Vbus经过Q1和L1给Vbat充电,同时Vbus经过Q1和Q3形成的通路给Cfly、Cmid充电。从图7可以看出,当Q1和Q3均关断,Q2和Q4均导通时,Vbus直接给SYS供电,Cfly和Cmid经过L1给Vbat充电。如果Q1的驱动信号的占空比为D,则从Vbus至Vbat的传输增益为:As can be seen from Figure 6, when both Q1 and Q3 are turned on, and Q2 and Q4 are both turned off, Vbus directly supplies power to SYS, Vbus charges Vbat through Q1 and L1, and Vbus passes through the path formed by Q1 and Q3 to Cfly, Cmid charge. As can be seen from Figure 7, when Q1 and Q3 are both turned off and Q2 and Q4 are both turned on, Vbus directly supplies power to SYS, and Cfly and Cmid charge Vbat through L1. If the duty cycle of Q1's drive signal is D, the transfer gain from Vbus to Vbat is:

Figure PCTCN2020119477-appb-000001
Figure PCTCN2020119477-appb-000001

由于D小于1,因此,Vbus>Vbat,该充电电路为降压充电电路。以上介绍的是本申请实施例提供的充电电路应用于PC场景的HPB模式的实现过程,下面介绍本申请实施例提供的充电电路应用于PC场景的NVDC模式的实现过程。Since D is less than 1, therefore, Vbus>Vbat, the charging circuit is a step-down charging circuit. The above describes the implementation process of the charging circuit provided by the embodiment of the present application in the HPB mode in the PC scenario. The following describes the implementation process of the charging circuit provided by the embodiment of the present application in the NVDC mode in the PC scenario.

参见图8,该图为本申请实施例提供的NVDC快充架构示意图。本申请实施例提供的充电电路应用于NVDC快充架构时,除了包括图4所示的器件以外,还包括:防止反流开关管RBFET和充放电控制开关管BATFET1;其中,防止反流开关管RBFET可以与图5中的防止反流开关管RBFET相同,在此不再赘述,即第一开关管Q1的第一端通过防止反流开关管RBFET连接电源端Vbus。Referring to FIG. 8 , this figure is a schematic diagram of an NVDC fast charging architecture provided by an embodiment of the present application. When the charging circuit provided by the embodiment of the present application is applied to the NVDC fast charging architecture, in addition to the device shown in FIG. 4 , it also includes: a reverse-flow prevention switch RBFET and a charge-discharge control switch BATFET1; wherein the reverse-flow prevention switch The RBFET may be the same as the anti-backflow switch RBFET in FIG. 5 , which is not repeated here, that is, the first end of the first switch Q1 is connected to the power supply terminal Vbus through the anti-backflow switch RBFET.

第一电感L1的第二端通过充放电控制开关管BATFET1连接所述电池,即连接充电端Vbat。第一电感L1的第二端连接电子设备的系统供电端SYS。需要说明的是,NVDC模式与HPB模式有所区别,对比图5和图8可以发现,SYS的连接关系不同。The second end of the first inductor L1 is connected to the battery through the charge-discharge control switch BATFET1, that is, connected to the charging end Vbat. The second end of the first inductor L1 is connected to the system power supply end SYS of the electronic device. It should be noted that the NVDC mode is different from the HPB mode. Comparing Figure 5 and Figure 8, it can be found that the connection relationship of SYS is different.

本实施例提供的充电电路还包括:控制器(图中未示出);控制器,用于在适配器接入时,即利用电源端Vbus给电池充电时,控制充放电控制开关管BATFET1导通;在所述电池充满电时,控制所述充放电控制开关管BATFET1断开。本实施例中,Vbus也可以通过 Q1和L1为SYS供电。The charging circuit provided in this embodiment further includes: a controller (not shown in the figure); the controller is used to control the charging and discharging control switch BATFET1 to be turned on when the adapter is connected, that is, when the battery is charged by the power supply terminal Vbus ; When the battery is fully charged, the charge-discharge control switch BATFET1 is controlled to be disconnected. In this embodiment, Vbus can also supply power to SYS through Q1 and L1.

控制器,还用于在利用电源端Vbus给所述电池充电时,即利用适配器提供的电压降压后给电池充电时,控制第一开关管Q1和所述第三开关管Q3同步动作,控制第二开关管Q2和所述第四开关管Q4同步动作,所述第一开关管Q1和所述第二开关管Q2的动作相反。此处的同步动作和动作相反与HPB模式相同,在此不再赘述。该种模式适用于适配器的电压大于电池的电压,将适配器的电压降压给电池进行充电,工作原理与图5对应的类似,在此不再赘述。The controller is also used to control the first switch tube Q1 and the third switch tube Q3 to act synchronously when the battery is charged by the power supply terminal Vbus, that is, when the battery is charged after the voltage provided by the adapter is stepped down, to control the The second switch Q2 and the fourth switch Q4 operate synchronously, and the first switch Q1 and the second switch Q2 operate oppositely. The synchronization action and the opposite action here are the same as in the HPB mode, and are not repeated here. This mode is suitable when the voltage of the adapter is greater than the voltage of the battery, and the voltage of the adapter is stepped down to charge the battery. The working principle is similar to that of FIG.

下面继续结合图8、图9和图10主要介绍NVDC快充架构下升压充电的工作原理。参见图9,该图为本申请实施例提供的NVDC快充升压时的路径图。其中,图9为Q1和Q4闭合时对应的路径图,图10为Q1和Q4关断时对应的路径图。In the following, the working principle of boost charging under the NVDC fast charging architecture will be mainly introduced in conjunction with FIG. 8 , FIG. 9 and FIG. 10 . Referring to FIG. 9 , this figure is a path diagram of the NVDC fast charging and boosting provided by the embodiment of the present application. Among them, Figure 9 is the corresponding path diagram when Q1 and Q4 are closed, and Figure 10 is the corresponding path diagram when Q1 and Q4 are turned off.

NVDC快充利用升压电路实现充电时,充电电路还包括:第六开关管Q6;所述第六开关管Q6的第一端连接所述第三开关管Q3的第二端,所述第六开关管Q6的第二端连接所述第一电感L1的第二端;利用电源端Vbus升压后给电池充电,即将适配器的电压升压后给电池充电,适用于适配器的电压低于电池的电压,例如适配器输出的电压是5V,而不是20V。即该实施例提供的充电电路可以兼容低压适配器并为PC的电池进行充电。降压充电时,Q6保持断开状态,即Q6相当于从充电电路剥离,没有起作用。所述控制器,还用于在Vbus升压后给电池Vbat充电时,控制第二开关管Q2和第三开关管Q3均断开,控制第一开关管Q1和第四开关管Q4同步动作,控制第一开关管Q1和第六开关管Q6的动作相反。When NVDC fast charging is implemented by a booster circuit, the charging circuit further includes: a sixth switch tube Q6; the first end of the sixth switch tube Q6 is connected to the second end of the third switch tube Q3, and the sixth switch tube Q6 is connected to the second end of the third switch tube Q3. The second end of the switch tube Q6 is connected to the second end of the first inductor L1; the battery is charged after boosting the voltage of the power supply terminal Vbus, that is, the voltage of the adapter is boosted to charge the battery, which is suitable for the voltage of the adapter lower than that of the battery. Voltage, such as the output voltage of the adapter is 5V, not 20V. That is, the charging circuit provided in this embodiment can be compatible with the low-voltage adapter and charge the battery of the PC. During step-down charging, Q6 remains disconnected, that is, Q6 is equivalent to being stripped from the charging circuit and has no effect. The controller is also used to control both the second switch tube Q2 and the third switch tube Q3 to be disconnected when the battery Vbat is charged after Vbus is boosted, and control the first switch tube Q1 and the fourth switch tube Q4 to operate synchronously, The actions of controlling the first switch transistor Q1 and the sixth switch transistor Q6 are opposite.

为了后续方便描述,引入控制策略2,控制策略2是指:Q2和Q3保持断开,Q1和Q4同步动作,Q1和Q6的驱动脉冲反相,Q1导通的占空比为D。如图9所示,Q1和Q4导通,Q6与Q1动作相反,Q6关断,Vbus通过Q1、L1给Vbat充电,同时给SYS供电,给Cfly充电,电流路径iL可以看出电流方向。For the convenience of subsequent description, control strategy 2 is introduced. Control strategy 2 refers to: Q2 and Q3 remain disconnected, Q1 and Q4 act synchronously, the driving pulses of Q1 and Q6 are inverted, and the duty cycle of Q1 conduction is D. As shown in Figure 9, Q1 and Q4 are turned on, Q6 is opposite to Q1, Q6 is turned off, Vbus charges Vbat through Q1 and L1, and at the same time supplies power to SYS and charges Cfly. The current path iL can see the direction of the current.

如图10所示,Q1和Q4关断,Cfly放电给Vbat充电,同时给SYS供电,电流路径iL可以看出电流方向。Q1的驱动信号的占空比为D时,该充电电路的增益如下:As shown in Figure 10, Q1 and Q4 are turned off, Cfly discharges to charge Vbat, and supplies power to SYS at the same time, the current path iL can see the direction of the current. When the duty cycle of the driving signal of Q1 is D, the gain of the charging circuit is as follows:

Figure PCTCN2020119477-appb-000002
Figure PCTCN2020119477-appb-000002

即Vbat的电压范围为(Vin,+∞),实现闭环升压转换。That is, the voltage range of Vbat is (Vin, +∞), which realizes closed-loop boost conversion.

另外,该充电电路也可以反向工作,即当电源端Vbus没有适配器接入时,电池作为电源来供电,即Vbat作为电源的输入端,Vbus作为输出端,该充电电路反向的增益为:In addition, the charging circuit can also work in reverse, that is, when the power supply terminal Vbus is not connected to an adapter, the battery is used as the power supply to supply power, that is, Vbat is used as the input terminal of the power supply, and Vbus is used as the output terminal. The reverse gain of the charging circuit is:

Figure PCTCN2020119477-appb-000003
Figure PCTCN2020119477-appb-000003

即Vbus的输出电压范围为(0,Vbat),实现闭环降压转换。That is, the output voltage range of Vbus is (0, Vbat), which realizes closed-loop step-down conversion.

需要说明的是,当适配器未接入,即适配器不在位时,Vbus端没有外来电源输入,Vbus可以作为电脑的一个电源输出端,例如可以利用PC的电池为鼠标供电,即Vbat对Vbus输出电能。It should be noted that when the adapter is not connected, that is, when the adapter is not in place, there is no external power input at the Vbus end. Vbus can be used as a power output end of the computer. For example, the battery of the PC can be used to power the mouse, that is, Vbat outputs power to Vbus. .

以上实施例提供的HPB快充架构,一般可以适用于适配器的输出为固定电压,即适配器的固定电压大于电池电压,因此,充电电路工作于降压模式给电池进行快速充电。而本 实施例提供的NVDC快充架构,可以兼容适配器的不同情况,既可以工作于降压模式,又可以工作于升压模式。下面结合附图详细介绍本申请实施例提供的充电电路对应的控制方法。本申请实施例提供的以上充电电路也可以选择其充电控制策略,可以工作于性能优先充电模式或快速充电优先模式。The HPB fast charging architecture provided by the above embodiments is generally applicable to the adapter whose output is a fixed voltage, that is, the fixed voltage of the adapter is greater than the battery voltage. Therefore, the charging circuit operates in a step-down mode to fast charge the battery. The NVDC fast charging architecture provided in this embodiment is compatible with different situations of the adapter, and can work in both the buck mode and the boost mode. The control method corresponding to the charging circuit provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The above charging circuit provided by the embodiment of the present application can also select its charging control strategy, and can work in a performance priority charging mode or a fast charging priority mode.

参见图11,该图为本申请实施例提供的充电控制方法流程图。本实施例提供的控制方法包括:S1101:获得优先级充电模式,如果是性能优先充电模式,执行S1102;如果是快速充电优先模式,执行S1103;S1102:配置适配器的电压为最大值;S1103:根据电池的电压动态调节适配器的电压。因此,本申请实施例提供的控制方法,可以实现最大化平衡系统性能和充电性能,控制器可以根据需要进行控制策略的选择。Referring to FIG. 11 , which is a flowchart of a charging control method provided by an embodiment of the present application. The control method provided by this embodiment includes: S1101: obtain the priority charging mode, if it is the performance priority charging mode, execute S1102; if it is the fast charging priority mode, execute S1103; S1102: configure the voltage of the adapter to the maximum value; S1103: according to The voltage of the battery dynamically adjusts the voltage of the adapter. Therefore, the control method provided by the embodiments of the present application can maximize the balance of system performance and charging performance, and the controller can select a control strategy as required.

其中,控制器可以由应用处理器(AP,Application Processer)来实现,也可以由其他处理器来实现,或者由逻辑控制电路实现,本申请实施例中均不作具体限定,只要可以完成以上对于充电电路的控制即可。控制器可包括硬件或硬件与软件的结合。The controller may be implemented by an application processor (AP, Application Processor), other processors, or a logic control circuit, which is not specifically limited in the embodiments of the present application, as long as the above charging process can be completed. control of the circuit. The controller may comprise hardware or a combination of hardware and software.

下面介绍PC的NVDC快充架构的控制策略,即控制方法,参见图12,该图为本申请实施例提供的NVDC模式下的控制方法流程图。S1201:检测适配器的类型和Vbus端的最大输出电压。具体实现时,PC可以通过通讯协议与适配器进行握手通信,获知适配器的类型,以及适配器可以输出的最大电压。The following describes the control strategy, ie, the control method, of the NVDC fast charging architecture of the PC. Referring to FIG. 12 , this figure is a flowchart of the control method in the NVDC mode provided by the embodiment of the present application. S1201: Detect the type of the adapter and the maximum output voltage of the Vbus terminal. During specific implementation, the PC can communicate with the adapter through handshake communication through a communication protocol, and learn the type of the adapter and the maximum voltage that the adapter can output.

S1202:当适配器的最大电压大于电池电压时,配置充电电路的充电模式为降压充电模式;例如,适配器输出的电压为20V左右,大于电池的电压,因此,将充电电路配置为Buck降压模式为电池充电。S1202: When the maximum voltage of the adapter is greater than the battery voltage, the charging mode of the charging circuit is set to step-down charging mode; for example, the output voltage of the adapter is about 20V, which is greater than the voltage of the battery. Therefore, the charging circuit is configured as Buck step-down mode. Charge the battery.

S1203:当适配器的最大电压小于电池电压时,配置充电电路的充电模式为升压充电模式。例如,适配器输出的电压为5V左右,小于电池的电压,因此,将充电电路配置为Boost升压模式为电池充电。本申请以上实施例提供的充电电路中的各个开关管的类型,不做具体限定,例如可以为MOS管来实现,例如Q1-Q4可以为NMOS管。MOS管的栅极用于接收控制器的控制信号,例如可以为控制器输出的PWM信号。S1203: When the maximum voltage of the adapter is less than the battery voltage, configure the charging mode of the charging circuit as a boost charging mode. For example, the output voltage of the adapter is about 5V, which is less than the voltage of the battery. Therefore, the charging circuit is configured to Boost boost mode to charge the battery. The type of each switch tube in the charging circuit provided by the above embodiments of the present application is not specifically limited, for example, it may be implemented by a MOS tube, for example, Q1-Q4 may be an NMOS tube. The gate of the MOS tube is used to receive the control signal of the controller, such as the PWM signal output by the controller.

具体地,控制器可包括处理器和存储器。存储器是一种计算机可读存储介质,因此本申请实施例还提供一种计算机可读存储介质,包括指令或计算机程序,当其在计算机或控制器上运行时,使得计算机或控制器执行以上介绍的充电控制方法,即图11和图12介绍的方法步骤,在此不再赘述。该计算机指令也即是一种计算机程序产品。。处理器包括但不限于CPU(中央处理器,Central Processing Unit)、GPU(图形处理器,Graphics Processing Unit)或者DSP(数字信号处理器,Digital Signal Processing)等。Specifically, the controller may include a processor and a memory. The memory is a computer-readable storage medium, so the embodiments of the present application also provide a computer-readable storage medium, including instructions or computer programs that, when executed on a computer or a controller, cause the computer or the controller to execute the above descriptions The charging control method of FIG. 11 and FIG. 12 , that is, the method steps introduced in FIG. 11 and FIG. 12 will not be repeated here. The computer instructions are also a computer program product. . The processor includes but is not limited to CPU (Central Processing Unit, Central Processing Unit), GPU (Graphics Processing Unit, Graphics Processing Unit) or DSP (Digital Signal Processor, Digital Signal Processing) and the like.

通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到上述实施例方法中的全部或部分步骤可借助软件加通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如只读存储器(英文:read-only memory,ROM)/RAM、磁碟、光盘等,包括若干程序代码或指令用以使得一台计算机设备(可以是个人计算机,服务器,或者诸如路由器等网络通信设备)执行本申请各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general hardware platform. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as read-only memory (English: read-only memory, ROM)/RAM, magnetic disk, An optical disc, etc., includes several program codes or instructions for making a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of the present application.

另外,本申请实施例还提供一种装置,包括多个单元,每个单元用于执行之前实施例 的对应步骤,例如图11和图12介绍的方法步骤。所述多个单元是一种功能单元,可以软件、硬件或硬件和软件的结合形式来实现,本实施例对此不限定。In addition, an embodiment of the present application further provides an apparatus, including a plurality of units, each unit is configured to perform the corresponding steps of the previous embodiments, such as the method steps introduced in FIG. 11 and FIG. 12 . The multiple units are functional units, and may be implemented in software, hardware, or a combination of hardware and software, which is not limited in this embodiment.

电子设备实施例一:Electronic device embodiment 1:

基于以上实施例提供的一种充电电路,本申请实施例还提供一种电子设备,该电子设备包括以上实施例提供的充电电路,还包括电池。参见图13,该图为本申请实施例提供的电子设备实施例一的示意图。本实施例提供的电子设备,例如可以为PC,该电子设备可以包括以上实施例介绍的充电电路1000,既可以为HPB快充模式的充电电路,也可以为NVDC快充模式的充电电路。Based on the charging circuit provided by the above embodiment, the embodiment of the present application further provides an electronic device, the electronic device includes the charging circuit provided by the above embodiment, and also includes a battery. Referring to FIG. 13 , this figure is a schematic diagram of Embodiment 1 of the electronic device provided by the embodiment of the present application. The electronic device provided in this embodiment may be, for example, a PC, and the electronic device may include the charging circuit 1000 described in the above embodiment, which may be either a charging circuit in an HPB fast charging mode or a charging circuit in an NVDC fast charging mode.

该充电电路1000的第一端用于连接适配器,所述充电电路1000的第二端连接所述电池2000的电源端;当电子设备为PC时,该电池为PC的电池。充电电路1000,用于将所述适配器提供的电能转换后为所述电池2000充电。当该电子设备为PC时,由于PC包括以上实施例提供的充电电路,该充电电路可以实现闭环快速充电,而且由于该充电电路包括SC电路,因此可以提高充电效率,真正实现高效快速闭环充电的控制。The first end of the charging circuit 1000 is connected to an adapter, and the second end of the charging circuit 1000 is connected to the power end of the battery 2000; when the electronic device is a PC, the battery is the battery of the PC. The charging circuit 1000 is used for charging the battery 2000 after converting the electrical energy provided by the adapter. When the electronic device is a PC, since the PC includes the charging circuit provided in the above embodiment, the charging circuit can realize closed-loop fast charging, and because the charging circuit includes the SC circuit, the charging efficiency can be improved, and the efficient and fast closed-loop charging can be realized. control.

以上实施例介绍的充电电路应用于PC的快充充电场景,下面介绍应用于智能终端和可穿戴设备的快充的场景,智能终端为移动终端,例如智能终端可以为手机、平板电脑等,可穿戴设备可以为蓝牙耳机、手表或VR等,本申请实施例中不具体限定智能终端和可穿戴设备的具体类型。The charging circuit introduced in the above embodiment is applied to the fast charging scenario of PC. The following describes the fast charging scenario applied to smart terminals and wearable devices. The smart terminal is a mobile terminal. For example, the smart terminal can be a mobile phone, a tablet computer, etc. The wearable device may be a Bluetooth headset, a watch, a VR, etc., and the specific types of the smart terminal and the wearable device are not specifically limited in the embodiments of the present application.

充电电路实施例二:The second embodiment of the charging circuit:

参见图14,该图为本申请实施例提供的另一种充电电路的示意图。本实施例提供的充电电路,包括:第一开关管Q1、第二开关管Q2、第三开关管Q3、第四开关管Q4、第一电容Cfly和第一电感L1;所述第一开关管Q1的第一端用于连接电源端,所述第一开关管Q1的第二端连接所述第二开关管Q2的第一端,所述第二开关管Q2的第二端连接所述第三开关管Q3的第一端,所述第三开关管Q3的第二端连接所述第四开关管Q4的第一端,所述第四开关管Q4的第二端接地;第一电容Cfly的两端分别连接所述第一开关管Q1的第二端和所述第三开关管Q3的第二端;第二开关管Q2的第二端作为第一输出端Vout2,用于为第一电子设备的电池充电;该充电电路位于第一电子设备的内部。第一开关管Q1的第二端连接所述第一电感L1的第一端,或,所述第三开关管Q3的第二端连接所述第一电感L1的第一端,所述第一电感L1的第二端作为第二输出端,即为所述第一电子设备的负载供电端。Referring to FIG. 14 , this figure is a schematic diagram of another charging circuit provided by an embodiment of the present application. The charging circuit provided in this embodiment includes: a first switch transistor Q1, a second switch transistor Q2, a third switch transistor Q3, a fourth switch transistor Q4, a first capacitor Cfly and a first inductor L1; the first switch transistor The first end of Q1 is used to connect to the power supply end, the second end of the first switch tube Q1 is connected to the first end of the second switch tube Q2, and the second end of the second switch tube Q2 is connected to the first end of the second switch tube Q2. The first end of the three switch tube Q3, the second end of the third switch tube Q3 is connected to the first end of the fourth switch tube Q4, and the second end of the fourth switch tube Q4 is grounded; the first capacitor Cfly The two ends of the first switch tube Q1 are respectively connected to the second end of the first switch tube Q1 and the second end of the third switch tube Q3; the second end of the second switch tube Q2 is used as the first output terminal Vout2 for the first The battery of the electronic device is charged; the charging circuit is located inside the first electronic device. The second end of the first switch Q1 is connected to the first end of the first inductor L1, or the second end of the third switch Q3 is connected to the first end of the first inductor L1, and the first The second end of the inductor L1 is used as the second output end, that is, the load power supply end of the first electronic device.

需要说明的是,该充电电路包括两个输出端,该两个输出端可以为Vout1和Vout2,也可以为Vout2和Vout3,两个输出端可以同时给两个不同的负载供电。即第一输出端是Vout2,第二输出端可以为Vout1或Vout3。It should be noted that the charging circuit includes two output terminals, which can be Vout1 and Vout2, or Vout2 and Vout3, and the two output terminals can supply power to two different loads at the same time. That is, the first output terminal is Vout2, and the second output terminal can be Vout1 or Vout3.

当第一电子设备为手机时,第一电子设备的负载可以为手机内部的用电电路。当第一电子设备为耳机盒时,第一电子设备的负载可以为耳机盒内的蓝牙耳机,即适配器既给耳机盒的电池充电,又可以为耳机盒内的耳机的电池充电,即此时蓝牙耳机作为第二电子设备,通过该充电电路适配器可以同时给耳机盒充电和耳机充电,即同时为第一电子设备和第二电子设备充电。When the first electronic device is a mobile phone, the load of the first electronic device may be an electrical circuit inside the mobile phone. When the first electronic device is an earphone box, the load of the first electronic device can be the Bluetooth earphone in the earphone box, that is, the adapter can not only charge the battery of the earphone box, but also charge the battery of the earphone in the earphone box, that is, at this time As the second electronic device, the Bluetooth headset can simultaneously charge the headset box and the headset through the charging circuit adapter, that is, simultaneously charge the first electronic device and the second electronic device.

参见图15,该图为本申请实施例提供的第一电子设备为耳机盒的示意图。耳机盒401的壳体上设置电源端(图中未示出),即充电接口,耳机盒401通过该电源端可以连接适配器402,适配器402与电源接通后,即可为耳机盒401的电池充电。同时可以给耳机盒401内部的耳机403充电。Referring to FIG. 15 , this figure is a schematic diagram of the first electronic device provided by the embodiment of the present application being an earphone box. The shell of the earphone box 401 is provided with a power supply terminal (not shown in the figure), that is, a charging interface. The earphone box 401 can be connected to the adapter 402 through the power supply terminal. After the adapter 402 is connected to the power supply, it can be the battery of the earphone box 401. Charge. At the same time, the earphone 403 inside the earphone box 401 can be charged.

参见图16,该图为本申请实施例提供的耳机盒内部示意图。耳机盒内可以放置两个独立的耳机,即左耳机和右耳机。耳机放入耳机盒时,耳机盒的充电端子301将与耳机的受电端子302连接,进而完成对耳机的充电,此时耳机作为耳机盒的负载,即作为第二电子设备,通过适配器可以为作为第一电子设备的耳机盒充电,同时为作为第二电子设备的耳机充电。Referring to FIG. 16 , which is a schematic diagram of the interior of the earphone box provided by the embodiment of the present application. Two independent earphones can be placed in the earphone box, namely the left earphone and the right earphone. When the earphone is put into the earphone box, the charging terminal 301 of the earphone box will be connected with the power receiving terminal 302 of the earphone, and then the charging of the earphone is completed. The earphone box, which is the first electronic device, is charged, and the earphone, which is the second electronic device, is charged at the same time.

下面以Vout1和Vout2为该充电电路的两个输出端为例进行介绍。参见图17,该图为本申请实施例提供的另一种充电电路的示意图。本实施例提供的充电电路既可以应用于手机等智能终端,又可以应用蓝牙耳机等穿戴设备。本实施例提供的充电电路,当所述第一开关管Q1的第二端连接第一电感L1的第一端,第一电感L1的第二端作为第二输出端Vout1时;Vout1直接连接SYS,还包括:防止反流开关管RBFET、第五开关管Q5和第七开关管Q7;所述第一开关管Q1的第一端通过所述防止反流开关管RBFET连接所述电源端Vbus;所述第七开关管Q7是可选器件,Q7串联在所述第一开关管Q1的第二端和所述第二开关管Q2的第一端之间,Q7和Q2组成背靠背的结构形式,保证可以实现双向关断功能;需要说明的是,图17中是将Q2和Q7画为独立的两个开关管,实际实现时,Q2和Q7可以为一个物理开关,物理开关可以由两个管子反向串联实现,也可以通过衬底切换的方案实现,类似图17中的Q5,目的是在关断时,可以实现双向关断的功能。所述第五开关管Q5的第一端连接所述第一电感L1的第二端,所述第五开关管Q5的第二端连接所述第一输出端。The following description will be given by taking Vout1 and Vout2 as two output terminals of the charging circuit as an example. Referring to FIG. 17 , this figure is a schematic diagram of another charging circuit provided by an embodiment of the present application. The charging circuit provided in this embodiment can be applied not only to smart terminals such as mobile phones, but also to wearable devices such as Bluetooth headsets. In the charging circuit provided in this embodiment, when the second end of the first switch tube Q1 is connected to the first end of the first inductor L1, and the second end of the first inductor L1 is used as the second output end Vout1; Vout1 is directly connected to SYS , and also include: a reverse flow prevention switch tube RBFET, a fifth switch tube Q5 and a seventh switch tube Q7; the first end of the first switch tube Q1 is connected to the power supply terminal Vbus through the reverse flow prevention switch tube RBFET; The seventh switch tube Q7 is an optional device, and Q7 is connected in series between the second end of the first switch tube Q1 and the first end of the second switch tube Q2, and Q7 and Q2 form a back-to-back structure. It is guaranteed that the bidirectional turn-off function can be realized; it should be noted that in Figure 17, Q2 and Q7 are drawn as two independent switch tubes. In actual implementation, Q2 and Q7 can be a physical switch, and the physical switch can be composed of two tubes. The reverse series can also be realized by the substrate switching scheme, similar to Q5 in Figure 17, the purpose is to realize the function of bidirectional shutdown when it is turned off. The first end of the fifth switch transistor Q5 is connected to the second end of the first inductor L1, and the second end of the fifth switch transistor Q5 is connected to the first output end.

本实施例提供的充电电路可以包括控制器(图中未示出),控制器用于控制第七开关管Q7和第二开关管Q2同步动作,即同时导通或同时关断;在开环充电阶段时,控制第五开关管Q5断开;即在开环充电阶段时,Q5断开SYS与Vout2的连接。在恒压闭环充电阶段时,控制第五开关管Q5导通,即在闭环充电阶段时,Vout1和Vout2通过Q5连接在一起。The charging circuit provided in this embodiment may include a controller (not shown in the figure), and the controller is used to control the seventh switch Q7 and the second switch Q2 to act synchronously, that is, to turn on or turn off at the same time; During the stage, the fifth switch Q5 is controlled to be disconnected; that is, during the open-loop charging stage, Q5 disconnects the connection between SYS and Vout2. During the constant voltage closed-loop charging stage, the fifth switch transistor Q5 is controlled to be turned on, that is, during the closed-loop charging stage, Vout1 and Vout2 are connected together through Q5.

控制器,还用于在所述开环充电阶段时,控制所述第一开关管Q1和所述第三开关管Q3同步动作,控制第二开关管Q2和所述第四开关管Q4同步动作,第一开关管Q1和第二开关管Q2的动作相反;以使第一输出端Vout2为电池Vbat充电,第二输出端Vout1为第一电子设备的负载供电,即为SYS供电。为了后续方便描述,引入控制策略的概念,其中控制策略1是指:Q1和Q3同步动作,Q2和Q4同步动作,Q1和Q3反相,共2种工作模态,其中Q1导通的占空比为D。The controller is further configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch transistor Q2 and the fourth switch transistor Q4 to operate synchronously during the open-loop charging stage , the actions of the first switch Q1 and the second switch Q2 are opposite; so that the first output terminal Vout2 charges the battery Vbat, and the second output terminal Vout1 supplies power to the load of the first electronic device, that is, to SYS. In order to facilitate the subsequent description, the concept of control strategy is introduced, in which control strategy 1 refers to: Q1 and Q3 act synchronously, Q2 and Q4 act synchronously, and Q1 and Q3 are inverted. ratio is D.

参见图18,该图为图17对应的开环充电阶段的路径图。在开环充电阶段,对于Vout1,即SYS的供电路径为从Vbus-SYS,该路径与充电电路实施例一中的路径1的正向工作相同,在此不再赘述。对于Vout2的供电路径为从Vbus-Vout2,该路径与充电电路实施例一中的相同,即路径2的正向工作;对于以上的开环充电阶段,充电路径同样适用于手机和耳机等应用场景。Refer to FIG. 18 , which is a path diagram of the open-loop charging phase corresponding to FIG. 17 . In the open-loop charging stage, for Vout1, that is, the power supply path of SYS is from Vbus-SYS, which is the same as the forward operation of path 1 in the first embodiment of the charging circuit, and will not be repeated here. The power supply path for Vout2 is from Vbus-Vout2, which is the same as that in the first embodiment of the charging circuit, that is, the forward operation of path 2; for the above open-loop charging stage, the charging path is also suitable for mobile phones and headphones and other application scenarios .

下面结合附图详细介绍闭环充电阶段的工作原理。首先结合图19和图20介绍手机和耳机盒为单节电池的情况,即适配器电压大于手机的电池电压,需要将适配器的电压降压后给手机的电池充电。闭环充电阶段,Q5导通,即SYS与Vout2连接在一起。The working principle of the closed-loop charging stage is described in detail below with reference to the accompanying drawings. First, referring to Figure 19 and Figure 20, the case where the mobile phone and the earphone box are single-cell batteries, that is, the voltage of the adapter is greater than the battery voltage of the mobile phone, needs to be reduced to charge the battery of the mobile phone after the voltage of the adapter is lowered. In the closed-loop charging stage, Q5 is turned on, that is, SYS and Vout2 are connected together.

参见图19和图20,该图为图17对应的闭环充电阶段降压的路径图。其中,图19为Q1和Q3均导通,Q4断开的示意图。图20为Q1和Q3均关断,Q4导通的示意图。在闭环充电阶段,Q2和Q7一直保持断开状态。控制器,还用于在所述闭环充电阶段时,控制所述第二开关管Q2和所述可选的第七开关管Q7均断开,控制所述第五开关管Q5闭合,控制所述第一开关管Q1和第三开关管Q3同步动作,控制所述第一开关管Q1和所述第四开关管Q4的动作相反。具体的路径可以参见图中电流iL的方向。Referring to FIG. 19 and FIG. 20 , the figures are the path diagrams of step-down in the closed-loop charging stage corresponding to FIG. 17 . Among them, FIG. 19 is a schematic diagram showing that Q1 and Q3 are both turned on and Q4 is turned off. Figure 20 is a schematic diagram showing that Q1 and Q3 are both turned off and Q4 is turned on. During the closed-loop charging phase, Q2 and Q7 remain disconnected. The controller is further configured to control both the second switch tube Q2 and the optional seventh switch tube Q7 to turn off, control the fifth switch tube Q5 to turn on, and control the The first switch transistor Q1 and the third switch transistor Q3 operate synchronously, and the first switch transistor Q1 and the fourth switch transistor Q4 are controlled to operate in opposite directions. For the specific path, please refer to the direction of the current iL in the figure.

从图19可以看出,Q1和Q3闭合时,Vbus通过Q1和L1给SYS供电,同时给Vbat充电,同时给Cfly充电。从图20可以看出,当Q1和Q3关断时,Cfly给SYS和Vbat供电,即充电。此时,Q1的驱动信号的占空比为D;It can be seen from Figure 19 that when Q1 and Q3 are closed, Vbus supplies power to SYS through Q1 and L1, and simultaneously charges Vbat and Cfly. As can be seen from Figure 20, when Q1 and Q3 are turned off, Cfly supplies power to SYS and Vbat, that is, charges. At this time, the duty cycle of the driving signal of Q1 is D;

充电电路的增益为:The gain of the charging circuit is:

Figure PCTCN2020119477-appb-000004
Figure PCTCN2020119477-appb-000004

Vsys为SYS的电压,即Vsys输出电压范围为(0.5Vbus,Vbus),由于此时,Vbat与Vsys相等,Vbat与Vbus的比例关系也如上公式,在此不再赘述。为了方便后续描述,该控制策略定义为控制策略3:Q2和Q7关断,Q1和Q3同步,Q1和Q4反相。Vsys is the voltage of SYS, that is, the output voltage range of Vsys is (0.5Vbus, Vbus). At this time, Vbat and Vsys are equal, and the proportional relationship between Vbat and Vbus is also the same as the above formula, which will not be repeated here. In order to facilitate the subsequent description, the control strategy is defined as control strategy 3: Q2 and Q7 are turned off, Q1 and Q3 are synchronized, and Q1 and Q4 are inverted.

首先结合图21和图22介绍手机和耳机盒为两节电池的情况,即适配器电压小于手机的电池电压,需要将适配器的电压升压后给手机等终端设备的电池充电。参见图21和图22,该图为图17对应的闭环充电阶段升压的路径图。其中,图21为Q1和Q4均导通,Q3断开的示意图。图22为Q1和Q4均关断,Q3导通的示意图。在闭环充电阶段,Q2和Q7一直保持断开状态。控制器,还用于在所述闭环充电阶段时,控制所述第二开关管Q2和所述可选的第七开关管Q7均断开,控制所述第五开关管Q5闭合,控制所述第一开关管Q1和所述第四开关管Q4同步动作,控制所述第一开关管Q1和所述第三开关管Q3的动作相反。First, referring to Figure 21 and Figure 22, the mobile phone and the earphone box are introduced with two batteries, that is, the voltage of the adapter is lower than the battery voltage of the mobile phone, and the voltage of the adapter needs to be boosted to charge the battery of the terminal equipment such as the mobile phone. Referring to FIG. 21 and FIG. 22 , the figures are the path diagrams of boosting in the closed-loop charging stage corresponding to FIG. 17 . Among them, Fig. 21 is a schematic diagram showing that Q1 and Q4 are both turned on and Q3 is turned off. Figure 22 is a schematic diagram showing that Q1 and Q4 are both turned off and Q3 is turned on. During the closed-loop charging phase, Q2 and Q7 remain disconnected. The controller is further configured to control both the second switch tube Q2 and the optional seventh switch tube Q7 to turn off, control the fifth switch tube Q5 to turn on, and control the The first switch transistor Q1 and the fourth switch transistor Q4 operate synchronously, and the first switch transistor Q1 and the third switch transistor Q3 are controlled to operate in opposite directions.

图21和图22对应的充电电路的增益为:The gain of the charging circuit corresponding to Figure 21 and Figure 22 is:

Figure PCTCN2020119477-appb-000005
Figure PCTCN2020119477-appb-000005

即Vsys输出电压范围理论上为(Vbus,+∞),即该充电电路实现升压转换。为了方便后续描述,定义该控制为控制策略4:Q2和Q7关断,Q1和Q4同步,Q1和Q3反相。That is, the output voltage range of Vsys is theoretically (Vbus, +∞), that is, the charging circuit realizes boost conversion. For the convenience of subsequent description, this control is defined as control strategy 4: Q2 and Q7 are turned off, Q1 and Q4 are synchronized, and Q1 and Q3 are inverted.

以上对于手机和耳机盒的充电场景,适配器的输出电压一般为5V左右。当所述第一电子设备的负载为第二电子设备时,所述第二输出端用于为所述第二电子设备充电;例如,第一电子设备为耳机盒,第二电子设备为耳机,耳机位于耳机盒时,耳机作为耳机盒的负载。For the above charging scenarios of mobile phones and earphone boxes, the output voltage of the adapter is generally about 5V. When the load of the first electronic device is the second electronic device, the second output terminal is used to charge the second electronic device; for example, the first electronic device is an earphone box, and the second electronic device is an earphone, When the earphone is located in the earphone box, the earphone acts as the load of the earphone box.

下面介绍当充电电路的电源端没有连接适配器时,即Vbus没有外来电源接入时,第一电子设备的电池可以为第二电子设备进行充电。即控制器,还用于控制充电电路将电池的电压升压后为第二电子设备充电时,控制第二开关管Q2与所述第四开关管Q4同步动作,控制所述第二开关管Q2与第三开关管Q3的动作相反,此时,Q5闭合导通,Q2与Q7同 时动作,Q2和Q7可以看作一个开关管,即捆绑在一起。即Vbat升压后给SYS充电。对应耳机盒的场景时,耳机盒的电池为耳机进行充电。The following describes that when the power supply end of the charging circuit is not connected to an adapter, that is, when there is no external power supply connected to the Vbus, the battery of the first electronic device can charge the second electronic device. That is, the controller is also used to control the charging circuit to boost the voltage of the battery to charge the second electronic device, to control the second switch Q2 to operate synchronously with the fourth switch Q4, and to control the second switch Q2 Contrary to the action of the third switch tube Q3, at this time, Q5 is closed and turned on, Q2 and Q7 act simultaneously, and Q2 and Q7 can be regarded as a switch tube, that is, tied together. That is to charge SYS after Vbat is boosted. In the case of the earphone box, the battery of the earphone box charges the earphone.

本实施例提供的充电电路,可以适用于移动终端和可穿戴设备,实现快充的高度集成,实现了闭环变压电路和开环变压电路的有效融合,既可以利用开环变压电路的高效率,又可以利用闭环变压电路的稳压功能,既可以适用于单节电池,又可以适用于双节电池,应用场景广泛,即提高了该充电电路的普适性。并且,当适配器未接入时,第一电子设备还可以利用自身电池的电能为第二电子设备充电。当适配器接入时,适配器利用该充电电路可以同时为第一电子设备和第二电子设备充电。The charging circuit provided in this embodiment can be applied to mobile terminals and wearable devices, realizes high integration of fast charging, and realizes the effective integration of closed-loop transformer circuits and open-loop transformer circuits. High efficiency, and can use the voltage regulation function of the closed-loop transformer circuit, which can be applied to both single-cell batteries and dual-cell batteries, and has a wide range of application scenarios, which improves the universality of the charging circuit. Moreover, when the adapter is not connected, the first electronic device can also use the power of its own battery to charge the second electronic device. When the adapter is connected, the adapter can simultaneously charge the first electronic device and the second electronic device by using the charging circuit.

充电电路实施三:The charging circuit is implemented three:

参见图23,该图为本申请实施例提供的另一种充电电路的示意图。本实施例中的两个输出端与充电电路实施例二相同,即本实施例中的两个输出端中的第一输出端为Vout2,第二输出端为Vout1。本实施例与充电电路实施例二的区别是,两个输出端之间的连接关系有所区别。从图23可以看出,当所述第一开关管Q1的第二端连接第一电感L1的第一端,第一电感L1的第二端作为第二输出端Vout1时,还包括:防止反流开关管RBFET和第八开关管Q8;第一开关管Q1的第一端通过所述防止反流开关管RBFET连接电源端Vbus;第八开关管Q8的第一端用于连接电源端Vbus,第八开关管Q8的第二端连接所述第二输出端Vout1。本实施例中Vout1与Vout2,即Vout1与Vbat之间并没有经过开关管直接连接在一起。防止反流开关管RBFET和第八开关管Q8同时只有一个导通,不会同时导通。Referring to FIG. 23 , this figure is a schematic diagram of another charging circuit provided by an embodiment of the present application. The two output terminals in this embodiment are the same as those in the second embodiment of the charging circuit, that is, the first output terminal of the two output terminals in this embodiment is Vout2, and the second output terminal is Vout1. The difference between this embodiment and the second embodiment of the charging circuit is that the connection relationship between the two output ends is different. As can be seen from FIG. 23, when the second end of the first switch tube Q1 is connected to the first end of the first inductor L1, and the second end of the first inductor L1 is used as the second output end Vout1, it also includes: The flow switch tube RBFET and the eighth switch tube Q8; the first end of the first switch tube Q1 is connected to the power supply terminal Vbus through the anti-backflow switch tube RBFET; the first end of the eighth switch tube Q8 is used to connect the power supply terminal Vbus, The second end of the eighth switch transistor Q8 is connected to the second output end Vout1. In this embodiment, Vout1 and Vout2, that is, Vout1 and Vbat are not directly connected together through a switch. It is prevented that only one of the reverse flow switch RBFET and the eighth switch Q8 is turned on at the same time, and will not be turned on at the same time.

本申请实施例提供的充电电路,还包括:控制器(图中未示出);控制器,用于在开环充电阶段,控制所述防止反流开关管RBFET导通,控制第八开关管Q8断开;在恒压闭环充电阶段,控制所述第八开关管Q8导通,控制防止反流开关管RBFET断开。The charging circuit provided by the embodiment of the present application further includes: a controller (not shown in the figure); the controller is configured to control the reverse flow prevention switch RBFET to be turned on during the open-loop charging stage, and control the eighth switch Q8 is turned off; in the constant voltage closed-loop charging stage, the eighth switch tube Q8 is controlled to be turned on, and the control prevents the reverse flow switch tube RBFET from being turned off.

对于手机和耳机的场景,在开环充电阶段时,路径相同。即控制器,还用于在所述开环充电阶段时,控制所述第一开关管Q1和所述第三开关管Q3同步动作,控制所述第二开关管Q2和所述第四开关管Q4同步动作,所述第一开关管Q1和所述第二开关管Q2的动作相反。Q1-Q4的动作与充电电路实施例一中的类似,在此不再赘述。需要说明的是,开环充电阶段为开环快充阶段,闭环充电阶段为闭环快充阶段。For the mobile phone and headset scenarios, the paths are the same during the open-loop charging phase. That is, the controller is further configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch transistor Q2 and the fourth switch transistor during the open-loop charging stage Q4 operates synchronously, and the first switch Q1 and the second switch Q2 operate in opposite directions. The actions of Q1-Q4 are similar to those in the first embodiment of the charging circuit, and are not repeated here. It should be noted that the open-loop charging stage is an open-loop fast charging stage, and the closed-loop charging stage is a closed-loop fast charging stage.

在闭环充电阶段时,控制器,还用于控制所述第二开关管Q2和所述第四开关管Q4同步动作,控制所述第二开关管Q2和所述第三开关管Q3的动作相反。当适配器未接入时,即Vbus没有连接外来电源时,当所述电子设备的负载为第二电子设备时,所述第二输出端用于为所述第二电子设备的电池充电;控制器,还用于在利用所述电池为所述第二电子设备充电时,控制所述第二开关管Q2与所述第四开关管Q4同步动作,控制所述第二开关管Q2与所述第三开关管Q3的动作相反。即Vbat向Vout1反向输出电能。During the closed-loop charging stage, the controller is further configured to control the second switch transistor Q2 and the fourth switch transistor Q4 to act synchronously, and control the second switch transistor Q2 and the third switch transistor Q3 to act in opposite directions . When the adapter is not connected, that is, when the Vbus is not connected to an external power supply, when the load of the electronic device is the second electronic device, the second output terminal is used to charge the battery of the second electronic device; the controller , is also used to control the second switch tube Q2 and the fourth switch tube Q4 to operate synchronously when the battery is used to charge the second electronic device, and to control the second switch tube Q2 and the fourth switch tube Q2 to operate synchronously. The action of the three-switch Q3 is opposite. That is, Vbat outputs power in the reverse direction to Vout1.

当充电路径为Vbat向Vout1反向输出电能时,增益为:When the charging path is Vbat to reversely output power to Vout1, the gain is:

Figure PCTCN2020119477-appb-000006
Figure PCTCN2020119477-appb-000006

Vout2作为输入,Vout1作为输出,为闭环升压转换,Vout1输出电压范围为(Vout2,2*Vout2),实现升压转换。相反地,当Vout1作为输入,Vout2作为输出,为闭环降压转换,Vout2输出电压范围为(0.5*Vout1,Vout1),实现降压转换。本实施例也适用于适配器输出 5V左右电压的场景。Vout2 is used as input, Vout1 is used as output, it is closed-loop boost conversion, and the output voltage range of Vout1 is (Vout2, 2*Vout2), which realizes boost conversion. On the contrary, when Vout1 is used as input and Vout2 is used as output, it is closed-loop step-down conversion, and the output voltage range of Vout2 is (0.5*Vout1, Vout1), which realizes step-down conversion. This embodiment is also applicable to the scenario where the adapter outputs a voltage of about 5V.

本方案可以适用于移动终端和可穿戴设备,实现快充的高度集成,实现了闭环变压电路和开环变压电路的有效融合,既可以利用开环变压电路的高效率,又可以利用闭环变压电路的稳压功能,既可以适用于多种设备的单节电池应用场景广泛,即提高了该充电电路的普适性。并且,当适配器未接入时,第一电子设备还可以利用自身电池的电能为第二电子设备充电。当适配器接入时,适配器利用该充电电路可以同时为第一电子设备和第二电子设备充电。本实施例提供的充电电路相对于充电电路实施例二,实现更简单,控制容易实现,尤其对于Vout1供电时,可以直接供电,不需要经过功率变换,因此,充电效率更高。This solution can be applied to mobile terminals and wearable devices, realizes high integration of fast charging, and realizes the effective integration of closed-loop transformer circuit and open-loop transformer circuit. The voltage regulation function of the closed-loop transformer circuit can be applied to a wide range of single-cell battery application scenarios of various devices, that is, the universality of the charging circuit is improved. Moreover, when the adapter is not connected, the first electronic device can also use the power of its own battery to charge the second electronic device. When the adapter is connected, the adapter can simultaneously charge the first electronic device and the second electronic device by using the charging circuit. Compared with the second embodiment of the charging circuit, the charging circuit provided in this embodiment is simpler to implement and easy to implement in control. Especially when Vout1 is powered, it can supply power directly without power conversion, so the charging efficiency is higher.

充电电路实施例四:The fourth embodiment of the charging circuit:

参见图24,该图为本申请实施例提供的又一种充电电路的示意图。本实施例中的两个输出端与充电电路实施例二和实施例三不同,本实施例中的两个输出端中的第一输出端为Vout2,第二输出端为Vout3,而充电电路实施例二和实施例三中的两个输出端分别为Vout1和Vout2。并且,本实施例提供的充电电路可以实现升压的功能,即可以适用于当电池为两节串联的电池的场景,例如手机包括两节电池串联在一起,适配器的输出电压5V不足以满足两节电池的充电需求,则需要充电电路将5V电池升压后给两节电池充电。本实施例中不具体限定适配器的输出电压,以上仅是具体示意说明。本实施例与充电电路实施例三相同的是,两个输出端之间均没有经过一个开关管连接在一起。Referring to FIG. 24 , this figure is a schematic diagram of another charging circuit provided by an embodiment of the present application. The two output terminals in this embodiment are different from the second and third embodiments of the charging circuit. The first output terminal of the two output terminals in this embodiment is Vout2, the second output terminal is Vout3, and the charging circuit implements The two output terminals in Example 2 and Example 3 are Vout1 and Vout2 respectively. In addition, the charging circuit provided in this embodiment can realize the function of boosting, that is, it can be applied to the scenario where the battery is two batteries connected in series. To meet the charging requirements of the batteries, the charging circuit needs to boost the voltage of the 5V battery to charge the two batteries. The output voltage of the adapter is not specifically limited in this embodiment, and the above is only a specific schematic description. This embodiment is the same as the third embodiment of the charging circuit in that the two output ends are not connected together through a switch.

从图24可以看出,当第三开关管Q3的第二端连接第一电感L1的第一端,L1的第二端作为第二输出端Vout3时,还包括:防止反流开关管RBFET和第九开关管Q9;当第三开关管Q3的第二端连接所述第一电感L1的第一端时,第一开关管Q1的第一端用于通过所述防止反流开关管RBFET连接所述电源端;第一电感L1的第二端通过第九开关管Q9连接所述电源端。同理,本实施例中防止反流开关管RBFET和第九开关管Q9在快充场景时,同时只有一个导通,即两者不会同时导通。It can be seen from FIG. 24 that when the second end of the third switch tube Q3 is connected to the first end of the first inductor L1 and the second end of L1 is used as the second output end Vout3, it also includes: the anti-reverse flow switch tube RBFET and The ninth switch transistor Q9; when the second end of the third switch transistor Q3 is connected to the first end of the first inductor L1, the first end of the first switch transistor Q1 is used to connect through the backflow prevention switch transistor RBFET the power supply terminal; the second terminal of the first inductor L1 is connected to the power supply terminal through the ninth switch transistor Q9. Similarly, in this embodiment, only one of the reverse flow switch RBFET and the ninth switch Q9 is prevented from being turned on at the same time in the fast charging scenario, that is, the two will not be turned on at the same time.

本实施例提供的充电电路还可以包括:控制器(图中未示出);通过控制器实现对充电电路各工作模式的控制。控制器,用于在开环充电阶段,控制防止反流开关管RBFET导通,控制所述第九开关管Q9断开;在恒压闭环充电阶段,控制所述第九开关管Q9导通,控制所述防止反流开关管RBFET断开。即在闭环充电阶段,Vbus通过闭合的Q9直接给Vout3提供电能,不必经过开关管和电感的转换,这样可以提高Vout3的供电效率,降低功率损耗,即提高Vout3的充电效率。The charging circuit provided in this embodiment may further include: a controller (not shown in the figure); the controller realizes the control of each working mode of the charging circuit. The controller is used to control the conduction of the reverse current switch tube RBFET in the open-loop charging stage, and control the ninth switch tube Q9 to be turned off; in the constant voltage closed-loop charging stage, control the ninth switch tube Q9 to be turned on, The anti-reverse flow switch RBFET is controlled to be turned off. That is to say, in the closed-loop charging stage, Vbus directly provides power to Vout3 through the closed Q9, without going through the conversion of the switch tube and the inductor, which can improve the power supply efficiency of Vout3 and reduce power loss, that is, improve the charging efficiency of Vout3.

下面介绍图24可以实现的充电路径。The charging paths that can be implemented in Figure 24 are described below.

路径四:Path four:

Vbus到Vout3,该充电路径属于SC电路和Buck电路级联的架构,传输增益为Vbus to Vout3, the charging path belongs to the cascaded structure of SC circuit and Buck circuit, and the transmission gain is

Figure PCTCN2020119477-appb-000007
Figure PCTCN2020119477-appb-000007

即从Vbus-Vout3的正向为闭环降压模式,从Vout3-Vbus的反向为闭环升压模式。That is, the forward direction from Vbus-Vout3 is a closed-loop buck mode, and the reverse direction from Vout3-Vbus is a closed-loop boost mode.

路径五:Path five:

Vout2-Vout3,该充电路径的控制策略为:Q1和Q3同步动作,Q2和Q4同步动作,Q1和Q2反相工作,Q1导通的占空比为D,则Vout2->Vout3为Buck结构,从Vout3->Vout2为Boost结构。控制器,还用于在开环充电阶段时,控制所述第一开关管Q1和所述第三开关管Q3同步动作,控制所述第二开关管Q2和所述第四开关管Q4同步动作,所述第一开关管Q1和所述第二开关管Q2的动作相反。控制器,还用于在所述闭环充电阶段时,控制所述第一开关管Q1和所述第三开关管Q3同步动作,控制所述第二开关管Q2和所述第四开关管Q4同步动作,控制所述第一开关管Q1和所述第二开关管Q2的动作相反。从以上分析可知,本实施例提供的充电电路,在开环充电阶段和闭环充电阶段,Q1-Q4的控制策略完全相同,仅是占空比有所区别。Vout2-Vout3, the control strategy of this charging path is: Q1 and Q3 act synchronously, Q2 and Q4 act synchronously, Q1 and Q2 work in reverse phase, the duty cycle of Q1 conduction is D, then Vout2->Vout3 is Buck structure, From Vout3->Vout2 is the Boost structure. The controller is further configured to control the first switching transistor Q1 and the third switching transistor Q3 to operate synchronously, and control the second switching transistor Q2 and the fourth switching transistor Q4 to operate synchronously during the open-loop charging stage , the actions of the first switch transistor Q1 and the second switch transistor Q2 are opposite. The controller is further configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch transistor Q2 and the fourth switch transistor Q4 to synchronize during the closed-loop charging stage The actions of controlling the first switch transistor Q1 and the second switch transistor Q2 are opposite. It can be seen from the above analysis that, in the charging circuit provided in this embodiment, the control strategies of Q1-Q4 are exactly the same in the open-loop charging stage and the closed-loop charging stage, only the duty ratios are different.

下面分别分析以手机为例的场景和以耳机盒为例的场景。在手机开环充电阶段,RBFET导通、Q9关断,同以上实施例介绍的路径2进行正向工作。在手机的闭环充电阶段,或者5V适配器接入时,RBFET关断、Q9导通,即按照以上路径5的反向Boost结构进行升压充电。The following is a separate analysis of the mobile phone as an example of the scene and the headset box as an example of the scene. In the open-loop charging stage of the mobile phone, the RBFET is turned on and Q9 is turned off, and the forward operation is performed in the same way as the path 2 described in the above embodiment. In the closed-loop charging stage of the mobile phone, or when the 5V adapter is connected, the RBFET is turned off and Q9 is turned on, that is, boost charging is performed according to the reverse Boost structure of path 5 above.

在耳机盒的应用场景,耳机盒的电池连接Vout2,耳机连接Vout3。在开环充电阶段,支持SC调压,同时给耳机盒和耳机充电,RBFET导通、Q9关断,即按照路径2和路径4同时进行正向工作,即降压充电模式。在闭环充电阶段,或者5V适配器接入时,配置Vbus为5V,RBFET关断、Q9导通,Vbus=5V直接给耳机充电,耳机盒充电可以参照以上的路径5的反向Boost工作模式,即升压充电模式。In the application scenario of the earphone box, the battery of the earphone box is connected to Vout2, and the earphone is connected to Vout3. In the open-loop charging stage, SC voltage regulation is supported, and the earphone box and earphone are charged at the same time, RBFET is turned on, and Q9 is turned off, that is, forward work is performed according to path 2 and path 4 at the same time, that is, the step-down charging mode. In the closed-loop charging stage, or when the 5V adapter is connected, configure Vbus to be 5V, RBFET is turned off, Q9 is turned on, Vbus=5V to directly charge the earphone, and the earphone box can be charged by referring to the reverse Boost working mode of path 5 above, that is, Boost charging mode.

在适配器未接入,即Vbus不在位时,耳机盒的电池给耳机充电,按照以上介绍的路径5进行正向Buck工作模式,即降压充电模式。即当第一电子设备的负载为第二电子设备时;所述控制器,还用于在利用所述电池为所述第二电子设备充电,控制所述第一开关管Q1和所述第三开关管Q3同步动作,控制所述第二开关管Q2和所述第四开关管Q4同步动作,控制所述第一开关管Q1和所述第二开关管Q2的动作相反。When the adapter is not connected, that is, when the Vbus is not in place, the battery of the earphone box charges the earphone, and the forward Buck working mode is performed according to the path 5 introduced above, that is, the step-down charging mode. That is, when the load of the first electronic device is the second electronic device; the controller is further configured to use the battery to charge the second electronic device, and control the first switch tube Q1 and the third electronic device The switch Q3 operates synchronously, controls the second switch Q2 and the fourth switch Q4 to operate synchronously, and controls the first switch Q1 and the second switch Q2 to operate oppositely.

本实施例提供的充电电路,既可以工作于开环充电模式,又可以工作于闭环充电模式,而且既可以工作于降压充电模式,又可以工作于升压充电模式。并且,第二输出端通过可控开关管连接电源端,当可控开关管导通时,电源端可以直接给第二输出端供电,不必经过中间的电能转换环节,进而可以降低功耗,提高充电效率。由于该充电电路可以工作在反向升压模式,因此,可以适用于手机等移动终端的多电池串联的场景,例如两节电池串联时的充电场景,从而可以兼容不同的适配器来满足不同的移动终端和可穿戴设备的充电需求。The charging circuit provided in this embodiment can work in both an open-loop charging mode and a closed-loop charging mode, and can work in both a buck charging mode and a boost charging mode. In addition, the second output terminal is connected to the power supply terminal through the controllable switch tube. When the controllable switch tube is turned on, the power supply terminal can directly supply power to the second output terminal without going through an intermediate power conversion link, thereby reducing power consumption and increasing the power consumption. charging efficiency. Since the charging circuit can work in the reverse boost mode, it can be applied to the scenario where multiple batteries are connected in series in mobile terminals such as mobile phones, for example, the charging scenario when two batteries are connected in series, so that it can be compatible with different adapters to meet different mobile needs. Charging requirements for terminals and wearable devices.

充电电路实施例五:Embodiment 5 of the charging circuit:

参见图25A,该图为本申请实施例提供的再一种充电电路的示意图。本实施例与充电电路实施例四的区别是增加一个开关管,即一可控开关管,通过改变可控开关管的工作状态,可以实现更多的工作模式。本实施例提供的充电电路既适用于单节电池的场景,又适用于双节电池的场景,适用于为移动终端的电池进行充电,位于移动终端内部,例如为手机的电池进行充电。本实施例提供的充电电路的第一输出端为Vout2,第二输出端为Vout3。即本实施例提供的充电电路增加了:第十开关管Q10;所述第十开关管Q10的第一端连接 所述第一电感L1的第二端,所述第十开关管Q10的第二端接地。Referring to FIG. 25A , this figure is a schematic diagram of still another charging circuit provided by an embodiment of the present application. The difference between this embodiment and the fourth embodiment of the charging circuit is that one switch tube is added, that is, a controllable switch tube. By changing the working state of the controllable switch tube, more working modes can be realized. The charging circuit provided in this embodiment is suitable for both a single-cell battery scenario and a dual-cell battery scenario, and is suitable for charging the battery of a mobile terminal, and is located inside the mobile terminal, for example, charging the battery of a mobile phone. The first output terminal of the charging circuit provided in this embodiment is Vout2, and the second output terminal is Vout3. That is, the charging circuit provided by this embodiment adds: a tenth switch Q10; the first end of the tenth switch Q10 is connected to the second end of the first inductor L1, and the second end of the tenth switch Q10 is connected to the second end of the first inductor L1. terminal to ground.

本实施例提供的充电电路,在开环充电阶段和闭环升压充电阶段,控制器,用于控制所述第一开关管Q1和所述第三开关管Q3同步动作,控制所述第二开关管Q2和所述第四开关管Q4同步动作,控制所述第一开关管Q1和所述第二开关管Q2的动作相反。In the charging circuit provided by this embodiment, in the open-loop charging stage and the closed-loop boost charging stage, the controller is configured to control the first switch transistor Q1 and the third switch transistor Q3 to operate synchronously, and control the second switch The transistor Q2 and the fourth switch transistor Q4 operate synchronously, and the first switch transistor Q1 and the second switch transistor Q2 are controlled to operate in opposite directions.

需要说明的是,对于第九开关管Q9和防止反流开关管RBFET的控制具体为:控制器,用于在开环充电阶段,控制所述防止反流开关管RBFET导通,控制所述第九开关管Q9断开;在闭环充电阶段,控制所述第九开关管Q9导通或周期性导通,控制所述防止反流开关管RBFET断开。It should be noted that the control of the ninth switch Q9 and the anti-reverse flow switch RBFET is specifically: a controller for controlling the anti-reverse switch RBFET to conduct during the open-loop charging stage, and controlling the first The ninth switch Q9 is turned off; in the closed-loop charging stage, the ninth switch Q9 is controlled to be turned on or periodically turned on, and the reverse-flow prevention switch RBFET is controlled to be turned off.

需要说明的是,闭环充电阶段本实施例中包括闭环升压充电阶段、闭环降压充电阶段和闭环升降压充电阶段。控制器对于Q9的控制策略具体为:在闭环升压充电阶段,控制Q9一直导通;在闭环降压充电阶段和闭环升降压充电阶段,控制Q9周期性导通。It should be noted that the closed-loop charging stage in this embodiment includes a closed-loop boost charging stage, a closed-loop step-down charging stage, and a closed-loop buck-boost charging stage. The controller's control strategy for Q9 is as follows: in the closed-loop boost charging stage, control Q9 to be turned on all the time; in the closed-loop step-down charging stage and the closed-loop buck-boost charging stage, control Q9 to be turned on periodically.

闭环升压充电阶段的控制策略为:The control strategy of the closed-loop boost charging stage is:

控制器,还用于在闭环升压充电阶段,控制所述第九开关管Q9一直导通,控制所述第十开关管Q10一直断开,控制所述第一开关管Q1、第三开关管Q3同步动作,控制所述第二开关管Q2、所述第四开关管Q4同步动作。The controller is further configured to control the ninth switch tube Q9 to be turned on all the time, control the tenth switch tube Q10 to be always off, and control the first switch tube Q1 and the third switch tube in the closed-loop boost charging stage Q3 operates synchronously, and controls the second switch transistor Q2 and the fourth switch transistor Q4 to operate synchronously.

闭环降压充电阶段的控制策略为:控制器,还用于控制所述第九开关管Q9周期性导通,控制控制器所述第九开关管Q9和所述第十开关管Q10交替导通,控制所述第四开关管Q4断开,控制所述第三开关管Q3导通。The control strategy in the closed-loop step-down charging stage is: the controller is also used to control the ninth switch Q9 to be turned on periodically, and the controller is controlled to turn on the ninth switch Q9 and the tenth switch Q10 alternately , the fourth switch transistor Q4 is controlled to be turned off, and the third switch transistor Q3 is controlled to be turned on.

闭环升降压充电阶段的控制策略为:The control strategy of the closed-loop buck-boost charging stage is:

控制器,还用于在闭环升降压充电阶段,控制所述第九开关管Q9周期性导通,控制所述第一开关管Q1、第三开关管Q3和所述第十开关管Q10同步动作,控制所述第二开关管Q2、所述第四开关管Q4和所述第九开关管Q9同步动作。The controller is further configured to control the ninth switch transistor Q9 to be periodically turned on, and control the first switch transistor Q1, the third switch transistor Q3 and the tenth switch transistor Q10 to be synchronized in the closed-loop boost-boost charging stage operation, the second switch transistor Q2, the fourth switch transistor Q4 and the ninth switch transistor Q9 are controlled to operate synchronously.

参见图25B,该图为本申请实施例提供的在图25A的基础上的另一种示意图。本实施例与充电电路实施例四的区别是增加两个开关管,即两个可控开关管,通过改变可控开关管的工作状态,可以实现更多的工作模式。图25B与图25A相比,增加了一个可控开关管,即Q11。Referring to FIG. 25B , this figure is another schematic diagram based on FIG. 25A provided by the embodiment of the present application. The difference between this embodiment and the fourth embodiment of the charging circuit is that two switch tubes are added, that is, two controllable switch tubes. By changing the working state of the controllable switch tubes, more working modes can be realized. Compared with FIG. 25A, FIG. 25B adds a controllable switch tube, that is, Q11.

本实施例提供的充电电路既适用于单节电池的场景,又适用于双节电池的场景,适用于为穿戴设备进行充电,例如为耳机盒进行充电。另外,也可以适用于以上为手机充电的场景,其中,在手机充电场景不需要Q11,即可以去掉Q11,包括Q10即可。当包括Q11时,可以控制Q11一直导通,即不参与电能变换的作用。本实施例提供的充电电路的第一输出端为Vout2,第二输出端为Vout3。The charging circuit provided in this embodiment is suitable for both a single-cell battery scenario and a dual-cell battery scenario, and is suitable for charging a wearable device, such as charging an earphone box. In addition, it can also be applied to the above scenarios of charging a mobile phone, wherein Q11 is not required in a mobile phone charging scenario, that is, Q11 can be removed, including Q10. When Q11 is included, Q11 can be controlled to be turned on all the time, that is, it does not participate in the role of electric energy conversion. The first output terminal of the charging circuit provided in this embodiment is Vout2, and the second output terminal is Vout3.

如图25B所示,本实施例增加的两个开关管分别为第十开关管Q10和第十一开关管Q11。在耳机盒充电场景需要Q10和Q11。而且在耳机盒给耳机的充电场景中,可以实现BuckBoost的功能。本实施例提供的充电电路工作于路径四+控制策略1时,即从Vbus至Vout3,RBFET导通、Q9断开;控制策略1时Q10与Q1、Q3同步动作,Q11与Q2、Q4同步动作,增益为:As shown in FIG. 25B , the two added switch transistors in this embodiment are the tenth switch transistor Q10 and the eleventh switch transistor Q11 respectively. Q10 and Q11 are required in the charging scene of the earphone box. And in the charging scene of the earphone box to the earphone, the function of BuckBoost can be realized. The charging circuit provided in this embodiment works in path 4 + control strategy 1, that is, from Vbus to Vout3, RBFET is turned on and Q9 is turned off; in control strategy 1, Q10 operates synchronously with Q1 and Q3, and Q11 operates synchronously with Q2 and Q4 , the gain is:

Figure PCTCN2020119477-appb-000008
Figure PCTCN2020119477-appb-000008

既可以实现正向闭环降压模式,又可以实现闭环升压模式。具体可以参见图26,该图为图25B对应的一种工作模态示意图。图26对应的是,控制器控制Q1和Q3导通,Q2和Q4关断的路径图,其中Q10与Q3同步动作,Q11与Q4同步动作。Both forward closed-loop buck mode and closed-loop boost mode can be implemented. For details, please refer to FIG. 26 , which is a schematic diagram of a working mode corresponding to FIG. 25B . Figure 26 corresponds to the path diagram in which the controller controls Q1 and Q3 to be turned on and Q2 and Q4 to be turned off, wherein Q10 and Q3 act synchronously, and Q11 and Q4 act synchronously.

参见图27,该图为图25B对应的另一种工作模态示意图。图27对应的是,控制器控制Q1和Q3关断,Q2和Q4导通的路径图,其中Q10与Q3同步动作,Q11与Q4同步动作。Referring to FIG. 27 , this figure is a schematic diagram of another working mode corresponding to FIG. 25B . Figure 27 corresponds to the path diagram in which the controller controls Q1 and Q3 to be turned off and Q2 and Q4 to be turned on, wherein Q10 and Q3 act synchronously, and Q11 and Q4 act synchronously.

本实施例提供的充电电路还可以工作于路径五+控制策略1:The charging circuit provided in this embodiment can also work in path 5 + control strategy 1:

Vout2-Vout3,该路径同上控制策略;则拓扑为变种BuckBoost结构,增益为:Vout2-Vout3, the path is the same as the above control strategy; the topology is a variant BuckBoost structure, and the gain is:

Figure PCTCN2020119477-appb-000009
Figure PCTCN2020119477-appb-000009

既可以实现正向闭环降压模式,又可以实现闭环升压模式。例如,应用场景为耳机盒时,耳机盒为耳机充电时对应的便是Vout2向Vout3输出电能,参见图28所示,该图为图25对应的Vbus未连接电源时的路径图。此时,Vbus没有连接外部电源,即适配器未连接耳机盒。图28对应的控制策略与图26基本相同,只是本图中RBFET开关管要保持断开,其他控制策略一致,即控制器控制Q1和Q3导通,Q2和Q4关断,其中Q10与Q3同步动作,Q11与Q4同步动作;当Q1和Q3均关断时,Q2和Q4均导通时的路径与图27基本相同,区别同样在于RBFET开关管要保持断开。Both forward closed-loop buck mode and closed-loop boost mode can be implemented. For example, when the application scenario is an earphone box, when the earphone box is charging the earphone, Vout2 outputs power to Vout3, as shown in Figure 28, which is the path diagram corresponding to Figure 25 when Vbus is not connected to the power supply. At this point, the Vbus is not connected to external power, that is, the adapter is not connected to the headphone box. The control strategy corresponding to Figure 28 is basically the same as Figure 26, except that the RBFET switch in this figure should be kept off, and other control strategies are the same, that is, the controller controls Q1 and Q3 to be turned on, Q2 and Q4 are turned off, and Q10 and Q3 are synchronized When Q1 and Q3 are both turned off, the path when both Q2 and Q4 are turned on is basically the same as that in Figure 27, the difference is also that the RBFET switch should be kept off.

另外,以上控制策略可以进一步简化,用于提升功率转换效率。例如当Vout3的输出电压低于Vout2时,本实施例提供的充电电路可以工作于变种Buck模式,此时在控制策略1的基础上,控制Q10常断开,Q11常导通;增益为:In addition, the above control strategy can be further simplified to improve the power conversion efficiency. For example, when the output voltage of Vout3 is lower than Vout2, the charging circuit provided in this embodiment can work in a variant Buck mode. At this time, on the basis of control strategy 1, Q10 is controlled to be always off, and Q11 is always turned on; the gain is:

Figure PCTCN2020119477-appb-000010
Figure PCTCN2020119477-appb-000010

此时该充电电路可以实现正向闭环降压模式。控制器控制Q1和Q3导通时的模态如图29所示,控制器控制Q1和Q3关断时的模态图如图30所示。从图29和图30可以看出,Q10一直关断,Q11一直导通。At this time, the charging circuit can realize the forward closed-loop step-down mode. The modal diagram when the controller controls Q1 and Q3 to turn on is shown in Figure 29, and the modal diagram when the controller controls Q1 and Q3 to turn off is shown in Figure 30. As can be seen from Figure 29 and Figure 30, Q10 is always off and Q11 is always on.

另外,当Vout3的输出电压高于Vout2时,本实施例提供的充电电路可以工作于传统Boost模式,此时控制Q1、Q2和Q4常关断,Q3常导通,控制Q10和Q11交替导通。Q10的占空比为D,则增益为:In addition, when the output voltage of Vout3 is higher than Vout2, the charging circuit provided in this embodiment can work in the traditional Boost mode. At this time, Q1, Q2 and Q4 are controlled to be always off, Q3 is always turned on, and Q10 and Q11 are controlled to be turned on alternately. . The duty cycle of Q10 is D, then the gain is:

Figure PCTCN2020119477-appb-000011
Figure PCTCN2020119477-appb-000011

此时该充电电路可以实现闭环升压工作模式。对应的工作模态图参见图31和图32,其中图31中时Q11关断,Q10导通的示意图。图32中是Q11导通,Q10关断的示意图,其中的电流路径可以参见电流iL的方向。RBFET、Q9同时最多只有一个导通;在手机快充场景,可以不需要Q11,如果有Q11,则控制Q11一直导通即可。At this time, the charging circuit can realize a closed-loop boosting working mode. The corresponding working mode diagrams are shown in FIG. 31 and FIG. 32 , wherein in FIG. 31 , Q11 is turned off and Q10 is turned on. Figure 32 is a schematic diagram showing that Q11 is turned on and Q10 is turned off, and the current path in it can refer to the direction of current iL. At most one RBFET and Q9 can be turned on at the same time; in the fast charging scenario of mobile phones, Q11 is not required. If there is Q11, it can be controlled to be turned on all the time.

当手机快充工作于开环快充状态,即开环充电阶段时,RBFET导通、Q9关断,同路径2正向工作。当手机快充工作于闭环充电阶段时,或者5V适配器插入充电时,RBFET关断、Q9取代Q11的功能,同上图中路径5+控制策略1的工作模式,即反向BuckBoost 工作模式。另外,提升功率转换效率的简化控制策略同样适用于手机的闭环充电阶段,在此不再赘述。When the fast charging of the mobile phone is in the open-loop fast charging state, that is, the open-loop charging stage, the RBFET is turned on, Q9 is turned off, and the same path 2 works forward. When the mobile phone fast charging works in the closed-loop charging stage, or when the 5V adapter is plugged in for charging, the RBFET is turned off and Q9 replaces the function of Q11, which is the same as the working mode of path 5 + control strategy 1 in the above figure, that is, the reverse BuckBoost working mode. In addition, the simplified control strategy for improving the power conversion efficiency is also applicable to the closed-loop charging stage of the mobile phone, which will not be repeated here.

在耳机盒快充场景,此时需要Q11。耳机可以连接Vout3,耳机盒的电池连接至Vout2。Vbus连接适配器的开环充电阶段,即开环快充阶段,支持SC调压,同时给耳机、耳机盒进行快充;RBFET导通、Q9关断,同以上介绍的路径2和路径4+控制策略1同时工作于正向工作;Vbus=5V插入或者耳机盒充电进入闭环充电阶段(配置Vbus=5V),RBFET关断、Q9导通,Vbus=5V直接给耳机充电,耳机盒充电按照以上介绍的路径5+控制策略1,此时充电电路工作于反向BuckBoost工作模式;另外对应的提升功率转换效率的简化控制策略同样适用,在此不再赘述。In the fast charging scenario of the earphone box, Q11 is required at this time. Headphones can be connected to Vout3, and the battery of the headphone box is connected to Vout2. The open-loop charging stage of the Vbus connection adapter, that is, the open-loop fast charging stage, supports SC voltage regulation, and performs fast charging for headphones and headphone boxes at the same time; RBFET is turned on and Q9 is turned off, which is the same as the above-mentioned path 2 and path 4+ control Strategy 1 works in the forward direction at the same time; Vbus=5V is inserted or the earphone box is charged and enters the closed-loop charging stage (configured with Vbus=5V), RBFET is turned off, Q9 is turned on, Vbus=5V directly charges the earphone, and the earphone box is charged according to the above introduction Path 5 + control strategy 1, at this time, the charging circuit works in the reverse BuckBoost working mode; in addition, the corresponding simplified control strategy for improving the power conversion efficiency is also applicable, and will not be repeated here.

Vbus没有连接外来电源时,即适配器不在位时,耳机盒的电池给耳机充电,按照以上介绍的路径5+控制策略1,充电电路工作于正向BuckBoost工作模式。另外耳机盒给耳机充电时对应的提升功率转换效率的简化控制策略同样适用,在此不再赘述。When the Vbus is not connected to an external power source, that is, when the adapter is not in place, the battery of the earphone box charges the earphone. According to the path 5 + control strategy 1 introduced above, the charging circuit works in the forward BuckBoost working mode. In addition, when the earphone box charges the earphone, the corresponding simplified control strategy for improving the power conversion efficiency is also applicable, which will not be repeated here.

本实施例提供的充电电路,具有充电电路实施例二至充电电路实施例四具有的优点,既可以工作于开环充电模式,又可以工作于闭环充电模式,而且既可以工作于降压充电模式,又可以工作于升压充电模式。并且,第二输出端通过可控开关管连接电源端,当可控开关管导通时,电源端可以直接给第二输出端供电,不必经过中间的电能转换环节,进而可以降低功耗,提高充电效率。由于该充电电路可以工作在反向升压模式,因此,可以适用于手机等移动终端的多电池串联场景,例如两节电池串联时的充电场景,从而可以兼容不同的适配器来满足不同的移动终端和可穿戴设备的充电需求。除此以外,本实施例提供的充电电路还具有以下优点,即该充电电路可以工作在升压模式又可以工作于降压模式,例如耳机盒给耳机充电的场景,耳机盒既可以将自身的电池的电压升压后给耳机进行充电,又可以将自身的电池的电压降压后给耳机充电,对于耳机盒的电池不同的电量时可以灵活控制,以使其对耳机进行充电。The charging circuit provided in this embodiment has the advantages of the second embodiment of the charging circuit to the fourth embodiment of the charging circuit, and can work in the open-loop charging mode, the closed-loop charging mode, and the step-down charging mode. , and can work in boost charging mode. In addition, the second output terminal is connected to the power supply terminal through the controllable switch tube. When the controllable switch tube is turned on, the power supply terminal can directly supply power to the second output terminal without going through an intermediate power conversion link, thereby reducing power consumption and increasing the power consumption. charging efficiency. Since the charging circuit can work in the reverse boost mode, it can be applied to the multi-battery series connection scenario of mobile terminals such as mobile phones, such as the charging scenario when two batteries are connected in series, so that it can be compatible with different adapters to meet the needs of different mobile terminals. and the charging needs of wearable devices. In addition, the charging circuit provided in this embodiment also has the following advantages, that is, the charging circuit can work in the boost mode and the step-down mode. The voltage of the battery is boosted to charge the earphones, and the voltage of its own battery can be reduced to charge the earphones. It can be flexibly controlled to charge the earphones when the batteries of the earphone box have different power levels.

以上充电电路实施例二至充电电路实施例五均适用于移动终端和可穿戴设备的充电,本申请实施例提供的充电电路并不是像图1所示的包括两路并联的开环充电电路和闭环充电电路,而是将开环充电电路和闭环充电电路有机融合在一起,控制器通过控制开关管的不同工作模式可以实现不同的充电路径,在需要开环充电时,可以利用开环充电的高效率实现快充。在需要闭环充电时,可以利用闭环的工作稳定性实现稳定性快充。而且,以上充电电路有的还适用于升压充电,这样可以兼容适配器的输入电压较低的场景,或者兼容被充电的电子设备包括两节串联电池的场景。因此,本申请以上实施例提供的充电电路,提升了各种充电电路的集成度,降低了电路尺寸,而且可以满足不同的应用场景,提高了该充电电路的普适性。The above embodiments of the charging circuit from the second embodiment to the fifth embodiment of the charging circuit are all applicable to the charging of mobile terminals and wearable devices. The charging circuit provided by the embodiment of the present application is not the open-loop charging circuit that includes two parallel circuits as shown in FIG. The closed-loop charging circuit integrates the open-loop charging circuit and the closed-loop charging circuit organically. The controller can realize different charging paths by controlling the different working modes of the switch tube. When open-loop charging is required, the open-loop charging can be used. Fast charging with high efficiency. When closed-loop charging is required, stable fast charging can be achieved by using the working stability of the closed-loop. Moreover, some of the above charging circuits are also suitable for boost charging, so that they can be compatible with scenarios where the input voltage of the adapter is low, or compatible with scenarios where the electronic device to be charged includes two series-connected batteries. Therefore, the charging circuit provided by the above embodiments of the present application improves the integration of various charging circuits, reduces the circuit size, and can meet different application scenarios, thereby improving the universality of the charging circuit.

本申请以上实施例提供的充电电路中的各个开关管的类型,不做具体限定,例如可以为MOS管来实现,也可以利用三极管或者晶体管来实现,例如Q1-Q4可以为NMOS管。The type of each switch in the charging circuit provided by the above embodiments of the present application is not specifically limited. For example, it can be implemented by a MOS transistor, or by a triode or a transistor. For example, Q1-Q4 can be NMOS transistors.

基于以上充电电路实施例二至充电电路实施例五,本申请实施例还提供一种电子设备,下面结合附图对其进行详细介绍。Based on the second embodiment of the charging circuit to the fifth embodiment of the charging circuit, the embodiment of the present application further provides an electronic device, which will be described in detail below with reference to the accompanying drawings.

电子设备实施例二:Second embodiment of electronic equipment:

本申请实施例还提供一种电子设备,包括:电池和以上充电电路实施例二至充电电路实施例五任意一个实施例提供的充电电路。参见图33,该图为本申请实施例提供的另一种电子设备的示意图。充电电路100A的第一端用于连接电源端Vbus,充电电路100A的第一输出端Vout2用于连接所述电池,即Vbat图中未示出;所述充电电路100A的第二输出端Vout1或Vout3用于连接所述第一电子设备的负载,需要说明的是,第一电子设备的负载可以为用电电路,也可以为第二电子设备;例如,对于手机的应用场景,第一电子设备为手机,第一电子设备的电池便为手机的电池,第一电子设备的负载可以为手机内部的用电电路。对于耳机盒的应用场景,第一电子设备为耳机盒,第一电子设备的负载为耳机。An embodiment of the present application further provides an electronic device, including: a battery and the charging circuit provided by any one of the foregoing charging circuit embodiment 2 to charging circuit embodiment 5. Referring to FIG. 33 , this figure is a schematic diagram of another electronic device provided by an embodiment of the present application. The first end of the charging circuit 100A is used to connect to the power supply end Vbus, and the first output end Vout2 of the charging circuit 100A is used to connect to the battery, that is, Vbat is not shown in the figure; the second output end of the charging circuit 100A Vout1 or Vout3 is used to connect the load of the first electronic device. It should be noted that the load of the first electronic device may be a power circuit or a second electronic device; for example, for the application scenario of a mobile phone, the first electronic device For the mobile phone, the battery of the first electronic device is the battery of the mobile phone, and the load of the first electronic device may be the power consumption circuit inside the mobile phone. For an application scenario of an earphone box, the first electronic device is an earphone box, and the load of the first electronic device is an earphone.

充电电路100A,用于将所述电源端Vbus提供的电能转换后为所述电池充电,且为所述电子设备的负载供电。即图33中第一电子设备的电池为200A,第一电子设备的负载为300A,以第一电子设备的负载为另一个容量较小的电池为例进行介绍,例如对于耳机盒的应用场景,耳机盒的负载为耳机电池,即300A。The charging circuit 100A is used for converting the electric energy provided by the power supply terminal Vbus to charge the battery and supply power to the load of the electronic device. That is, in FIG. 33 , the battery of the first electronic device is 200A, and the load of the first electronic device is 300A. The load of the first electronic device is another battery with a smaller capacity as an example. For example, for the application scenario of the earphone box, The load of the headphone box is the headphone battery, which is 300A.

本申请实施例提供的电子设备,由于其中的充电电路包括两个输出端,即可以实现两种充电路径,分别为两个不同的被充电池或者被充负载进行快速充电。由于该电子设备包括的充电电路既可以工作于开环充电模式,又可以工作于闭环充电模式,而且既可以工作于降压充电模式,又可以工作于升压充电模式。并且,第二输出端通过可控开关管连接电源端,当可控开关管导通时,电源端可以直接给第二输出端供电,不必经过中间的电能转换环节,进而可以降低功耗,提高充电效率。由于该充电电路可以工作在反向升压模式,因此,可以适用于手机等移动终端的电池容量比较大的场景,例如两节电池串联时的充电场景,从而可以兼容不同的适配器来满足不同的移动终端和可穿戴设备的充电需求。In the electronic device provided by the embodiments of the present application, since the charging circuit includes two output terminals, two charging paths can be implemented, respectively, to perform fast charging for two different charged batteries or charged loads. Because the charging circuit included in the electronic device can work in both an open-loop charging mode and a closed-loop charging mode, and can work in both a step-down charging mode and a boost charging mode. In addition, the second output terminal is connected to the power supply terminal through the controllable switch tube. When the controllable switch tube is turned on, the power supply terminal can directly supply power to the second output terminal without going through an intermediate power conversion link, thereby reducing power consumption and increasing the power consumption. charging efficiency. Since the charging circuit can work in the reverse boost mode, it can be applied to scenarios where the battery capacity of mobile terminals such as mobile phones is relatively large, such as the charging scenario when two batteries are connected in series, so that it can be compatible with different adapters to meet different requirements. Charging requirements for mobile terminals and wearable devices.

应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that, in this application, "at least one (item)" refers to one or more, and "a plurality" refers to two or more. "And/or" is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, "A and/or B" can mean: only A, only B, and both A and B exist , where A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c" ", where a, b, c can be single or multiple.

以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (30)

一种充电电路,其特征在于,包括:第一开关管、第二开关管、第三开关管、第四开关管、第一电容、第二电容和第一电感;A charging circuit, comprising: a first switch tube, a second switch tube, a third switch tube, a fourth switch tube, a first capacitor, a second capacitor and a first inductor; 所述第一开关管的第一端用于连接电源端,所述第一开关管的第二端连接所述第二开关管的第一端,所述第二开关管的第二端连接所述第三开关管的第一端,所述第三开关管的第二端连接所述第四开关管的第一端,所述第四开关管的第二端接地;The first end of the first switch tube is used to connect to the power supply terminal, the second end of the first switch tube is connected to the first end of the second switch tube, and the second end of the second switch tube is connected to the the first end of the third switch tube, the second end of the third switch tube is connected to the first end of the fourth switch tube, and the second end of the fourth switch tube is grounded; 所述第一电容的两端分别连接所述第一开关管的第二端和所述第三开关管的第二端;Two ends of the first capacitor are respectively connected to the second end of the first switch tube and the second end of the third switch tube; 所述第二开关管的第二端通过所述第二电容接地;The second end of the second switch tube is grounded through the second capacitor; 所述第一开关管的第二端连接所述第一电感的第一端,所述第一电感的第二端作为充电输出端,用于为电子设备的电池进行充电。The second end of the first switch tube is connected to the first end of the first inductor, and the second end of the first inductor serves as a charging output end for charging the battery of the electronic device. 根据权利要求1所述的充电电路,其特征在于,还包括:防止反流开关管和第五开关管;The charging circuit according to claim 1, further comprising: a reverse-flow prevention switch tube and a fifth switch tube; 所述第一开关管的第一端通过所述防止反流开关管连接所述电源端;所述第一电感的第二端通过所述第五开关管连接所述电子设备的系统供电端。The first end of the first switch tube is connected to the power supply terminal through the reverse-flow prevention switch tube; the second end of the first inductor is connected to the system power supply terminal of the electronic device through the fifth switch tube. 根据权利要求1或2所述的充电电路,其特征在于,所述第一开关管的第一端连接所述电子设备的系统供电端;The charging circuit according to claim 1 or 2, wherein the first end of the first switch tube is connected to a system power supply end of the electronic device; 所述控制器,还用于在利用所述电源端给所述电池充电时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。The controller is further configured to control the first switch tube and the third switch tube to operate synchronously, and control the second switch tube and the fourth switch tube when the battery is charged by the power supply terminal. The switches operate synchronously, and the actions of the first switch and the second switch are opposite. 根据权利要求1所述的充电电路,其特征在于,还包括:防止反流开关管和充放电控制开关管;The charging circuit according to claim 1, further comprising: a reverse-flow prevention switch and a charge-discharge control switch; 所述第一开关管的第一端通过所述防止反流开关管连接所述电源端;The first end of the first switch tube is connected to the power supply terminal through the anti-reverse flow switch tube; 所述第一电感的第二端通过所述充放电控制开关管连接所述电池;The second end of the first inductor is connected to the battery through the charge-discharge control switch; 所述第一电感的第二端连接所述电子设备的系统供电端。The second end of the first inductor is connected to the system power supply end of the electronic device. 根据权利要求1或4所述的充电电路,其特征在于,所述控制器,还用于在利用所述电源端降压给所述电池充电时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。The charging circuit according to claim 1 or 4, wherein the controller is further configured to control the first switch tube and the first switch when the battery is charged by reducing the voltage of the power supply terminal. The three switches operate synchronously to control the second switch and the fourth switch to operate synchronously, and the first switch and the second switch operate oppositely. 根据权利要求4或5所述的充电电路,其特征在于,还包括:第六开关管;The charging circuit according to claim 4 or 5, further comprising: a sixth switch; 所述第六开关管的第一端连接所述第三开关管的第二端,所述第六开关管的第二端连接所述第一电感的第二端;The first end of the sixth switch tube is connected to the second end of the third switch tube, and the second end of the sixth switch tube is connected to the second end of the first inductor; 所述控制器,还用于在所述电源端升压后给所述电池充电时,控制所述第二开关管和所述第三开关管均断开,控制所述第一开关管和所述第四开关管同步动作,控制所述第一开关管和所述第六开关管的动作相反。The controller is further configured to control both the second switch tube and the third switch tube to be disconnected, and control the first switch tube and all The fourth switch tube operates synchronously, and controls the first switch tube and the sixth switch tube to operate oppositely. 一种电子设备,其特征在于,包括:电池和权利要求1-6任一项所述的充电电路;An electronic device, comprising: a battery and the charging circuit according to any one of claims 1-6; 所述充电电路的第一端用于连接电源端,所述充电电路的第二端连接所述电池的电源端;The first end of the charging circuit is used to connect to the power end, and the second end of the charging circuit is connected to the power end of the battery; 所述充电电路,用于将所述电源端提供的电能转换后为所述电池充电。The charging circuit is used for charging the battery after converting the electric energy provided by the power supply terminal. 一种充电电路,其特征在于,包括:第一开关管、第二开关管、第三开关管、第四开关管、第一电容和第一电感;A charging circuit, comprising: a first switch tube, a second switch tube, a third switch tube, a fourth switch tube, a first capacitor and a first inductor; 所述第一开关管的第一端用于连接电源端,所述第一开关管的第二端连接所述第二开关管的第一端,所述第二开关管的第二端连接所述第三开关管的第一端,所述第三开关管的第二端连接所述第四开关管的第一端,所述第四开关管的第二端接地;The first end of the first switch tube is used to connect to the power supply terminal, the second end of the first switch tube is connected to the first end of the second switch tube, and the second end of the second switch tube is connected to the the first end of the third switch tube, the second end of the third switch tube is connected to the first end of the fourth switch tube, and the second end of the fourth switch tube is grounded; 所述第一电容的两端分别连接所述第一开关管的第二端和所述第三开关管的第二端;Two ends of the first capacitor are respectively connected to the second end of the first switch tube and the second end of the third switch tube; 所述第二开关管的第二端作为第一输出端,用于为第一电子设备的电池充电;The second end of the second switch tube is used as the first output end for charging the battery of the first electronic device; 所述第一开关管的第二端连接所述第一电感的第一端,或,所述第三开关管的第二端连接所述第一电感的第一端,所述第一电感的第二端作为第二输出端为所述第一电子设备的负载供电。The second end of the first switch tube is connected to the first end of the first inductor, or the second end of the third switch tube is connected to the first end of the first inductor, and the first end of the first inductor is The second terminal serves as a second output terminal to supply power to the load of the first electronic device. 根据权利要求8所述的充电电路,其特征在于,还包括:控制器;The charging circuit according to claim 8, further comprising: a controller; 所述控制器,还用于在利用所述电源端为所述电池进行所述开环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。The controller is further configured to control the first switch tube and the third switch tube to operate synchronously, and control the second switch when the power supply terminal is used to perform the open-loop charging phase for the battery The tube and the fourth switch tube act synchronously, and the actions of the first switch tube and the second switch tube are opposite. 根据权利要求8或9所述的充电电路,其特征在于,还包括:控制器和第五开关管;所述第五开关管的第一端连接所述第一电感的第二端,所述第五开关管的第二端连接所述第一输出端;The charging circuit according to claim 8 or 9, further comprising: a controller and a fifth switch tube; the first end of the fifth switch tube is connected to the second end of the first inductor, and the The second end of the fifth switch tube is connected to the first output end; 所述控制器,还用于在所述闭环充电阶段时,控制所述第二开关管断开,控制所述第五开关管闭合,控制所述第一开关管和第三开关管同步动作,控制所述第一开关管和所述第四开关管的动作相反。The controller is further configured to control the second switch tube to open, control the fifth switch tube to close, and control the first switch tube and the third switch tube to act synchronously during the closed-loop charging stage, The actions of controlling the first switch tube and the fourth switch tube are opposite. 根据权利要求8或9所述的充电电路,其特征在于,还包括:控制器和第五开关管;所述第五开关管的第一端连接所述第一电感的第二端,所述第五开关管的第二端连接所述第一输出端;The charging circuit according to claim 8 or 9, further comprising: a controller and a fifth switch tube; the first end of the fifth switch tube is connected to the second end of the first inductor, and the The second end of the fifth switch tube is connected to the first output end; 所述控制器,还用于在所述闭环充电阶段时,控制所述第二开关管断开,控制所述第五开关管闭合,控制所述第一开关管和所述第四开关管同步动作,控制所述第一开关管和所述第三开关管的动作相反。The controller is further configured to control the second switch tube to be disconnected, control the fifth switch tube to be closed, and control the first switch tube and the fourth switch tube to synchronize during the closed-loop charging stage Action, the actions of controlling the first switch tube and the third switch tube are opposite. 根据权利要求10或11所述的充电电路,其特征在于,当所述第一电子设备的负载为第二电子设备时,所述第二输出端用于为所述第二电子设备充电;The charging circuit according to claim 10 or 11, wherein when the load of the first electronic device is the second electronic device, the second output terminal is used to charge the second electronic device; 所述控制器,还用于在所述电池的电压升压后为所述第二电子设备充电时,控制所述第二开关管与所述第四开关管同步动作,控制所述第二开关管与所述第三开关管的动作相反。The controller is further configured to control the second switch to operate synchronously with the fourth switch to control the second switch when charging the second electronic device after the voltage of the battery is boosted The action of the tube is opposite to that of the third switch tube. 根据权利要求8所述的充电电路,其特征在于,所述第一开关管的第二端连接所述第一电感的第一端,还包括:防止反流开关管和第八开关管;The charging circuit according to claim 8, wherein the second end of the first switch is connected to the first end of the first inductor, further comprising: a reverse flow prevention switch and an eighth switch; 所述第一开关管的第一端通过所述防止反流开关管连接所述电源端;The first end of the first switch tube is connected to the power supply terminal through the anti-reverse flow switch tube; 所述第八开关管的第一端用于连接所述电源端,所述第八开关管的第二端连接所述第二输出端。The first end of the eighth switch tube is used to connect to the power supply end, and the second end of the eighth switch tube is connected to the second output end. 根据权利要求13所述的充电电路,其特征在于,还包括:控制器;The charging circuit of claim 13, further comprising: a controller; 所述控制器,用于在开环充电阶段,控制所述防止反流开关管导通,控制所述第八开关管断开;在闭环充电阶段,控制所述第八开关管导通,控制所述防止反流开关管断开。The controller is used to control the conduction of the anti-reverse flow switch in the open-loop charging stage, and control the eighth switch to be turned off; in the closed-loop charging stage, control the eighth switch to be turned on, and control the The backflow prevention switch tube is disconnected. 根据权利要求14所述的充电电路,其特征在于,所述控制器,还用于在所述开环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。The charging circuit according to claim 14, wherein the controller is further configured to control the first switch transistor and the third switch transistor to operate synchronously during the open-loop charging stage, and control all The second switch tube and the fourth switch tube act synchronously, and the first switch tube and the second switch tube act in opposite directions. 根据权利要求14或15所述的充电电路,其特征在于,所述控制器,还用于在所述闭环充电阶段时,控制所述第二开关管和所述第四开关管同步动作,控制所述第二开关管和所述第三开关管的动作相反。The charging circuit according to claim 14 or 15, wherein the controller is further configured to control the second switch tube and the fourth switch tube to operate synchronously during the closed-loop charging stage, and control the The actions of the second switch tube and the third switch tube are opposite. 根据权利要求14-16任一项所述的充电电路,其特征在于,当所述第一电子设备的负载为第二电子设备时,所述第二输出端用于为所述第二电子设备的电池充电;The charging circuit according to any one of claims 14-16, wherein when the load of the first electronic device is a second electronic device, the second output terminal is used for the second electronic device battery charge; 所述控制器,还用于在利用所述电池为所述第二电子设备充电时,控制所述第二开关管与所述第四开关管同步动作,控制所述第二开关管与所述第三开关管的动作相反。The controller is further configured to control the second switch tube and the fourth switch tube to act synchronously when the battery is used to charge the second electronic device, and to control the second switch tube and the fourth switch tube to act synchronously. The action of the third switch tube is opposite. 根据权利要求8所述的充电电路,其特征在于,所述第三开关管的第二端连接所述第一电感的第一端,还包括:防止反流开关管和第九开关管;The charging circuit according to claim 8, wherein the second end of the third switch is connected to the first end of the first inductor, further comprising: a reverse-flow prevention switch and a ninth switch; 所述第一开关管的第一端用于通过所述防止反流开关管连接所述电源端;The first end of the first switch tube is used for connecting to the power supply terminal through the anti-reverse flow switch tube; 所述第一电感的第二端通过所述第九开关管连接所述电源端。The second end of the first inductor is connected to the power end through the ninth switch. 根据权利要求18所述的充电电路,其特征在于,还包括:控制器;The charging circuit of claim 18, further comprising: a controller; 所述控制器,用于在开环充电阶段,控制所述防止反流开关管导通,控制所述第九开关管断开;在闭环充电阶段,控制所述第九开关管导通或周期性导通,控制所述防止反流开关管断开。The controller is configured to control the conduction of the reverse-flow prevention switch tube and control the ninth switch tube to be turned off in the open-loop charging stage; and control the ninth switch tube to be turned on or cycled in the closed-loop charging stage Sexual conduction, control the anti-reverse flow switch tube to disconnect. 根据权利要求19所述的充电电路,其特征在于,所述控制器,还用于在所述开环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反。The charging circuit according to claim 19, wherein the controller is further configured to control the first switch tube and the third switch tube to operate synchronously during the open-loop charging stage, and control all The second switch tube and the fourth switch tube act synchronously, and the first switch tube and the second switch tube act in opposite directions. 根据权利要求19或20所述的充电电路,其特征在于,所述控制器,还用于在所述闭环充电阶段时,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,控制所述第一开关管和所述第二开关管的动作相反。The charging circuit according to claim 19 or 20, wherein the controller is further configured to control the first switch tube and the third switch tube to operate synchronously during the closed-loop charging stage, and control the The second switch tube and the fourth switch tube act synchronously, and the actions of the first switch tube and the second switch tube are controlled to be opposite. 根据权利要求19-21任一项所述的充电电路,其特征在于,当所述第一电子设备的负载为第二电子设备时;The charging circuit according to any one of claims 19-21, wherein when the load of the first electronic device is a second electronic device; 所述控制器,还用于在利用所述电池为所述第二电子设备充电,控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管的同步动作,控制所述第一开关管和所述第二开关管的动作相反。The controller is further configured to use the battery to charge the second electronic device, control the first switch tube and the third switch tube to act synchronously, and control the second switch tube and the third switch tube to operate synchronously. The synchronous action of the four switch tubes controls the actions of the first switch tube and the second switch tube to be opposite. 根据权利要求19所述的充电电路,其特征在于,还包括:第十开关管;The charging circuit according to claim 19, further comprising: a tenth switch; 所述第十开关管的第一端连接所述第一电感的第二端,所述第十开关管的第二端接地。The first end of the tenth switch tube is connected to the second end of the first inductor, and the second end of the tenth switch tube is grounded. 根据权利要求23所述的充电电路,其特征在于,所述控制器,还用于在闭环降压充电阶段,控制所述第九开关管周期性导通,控制控制器所述第九开关管和所述第十开关管交替导通,控制所述第四开关管断开,控制所述第三开关管导通。The charging circuit according to claim 23, wherein the controller is further configured to control the ninth switch tube to be periodically turned on during the closed-loop step-down charging stage, and control the ninth switch tube of the controller It is alternately turned on with the tenth switch tube, the fourth switch tube is controlled to be turned off, and the third switch tube is controlled to be turned on. 根据权利要求23或24所述充电电路,其特征在于,所述控制器,还用于在闭环升降压充电阶段,控制所述第九开关管周期性导通,控制所述第一开关管、第三开关管和所述第十开关管同步动作,控制所述第二开关管、所述第四开关管和所述第九开关管同步动作。The charging circuit according to claim 23 or 24, wherein the controller is further configured to control the ninth switch transistor to be periodically turned on, and control the first switch transistor in a closed-loop buck-boost charging stage , the third switch tube and the tenth switch tube act synchronously, and control the second switch tube, the fourth switch tube and the ninth switch tube to act synchronously. 根据权利要求23-25任一项所述的充电电路,其特征在于,还包括:第十一开关管;The charging circuit according to any one of claims 23-25, further comprising: an eleventh switch; 所述第十一开关管的第一端连接所述第一电感的第二端,所述第十一开关管的第二端作为所述第二输出端;所述控制器,还用于控制所述第十一开关管与所述第四开关管同步动作。The first end of the eleventh switch tube is connected to the second end of the first inductor, and the second end of the eleventh switch tube is used as the second output end; the controller is also used to control The eleventh switch tube and the fourth switch tube act synchronously. 根据权利要求26所述的充电电路,其特征在于,所述控制器,还用于控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,所述第一开关管和所述第二开关管的动作相反,控制所述第十开关管与所述第三开关管同步动作,控制所述第十一开关管与所述第四开关管同步动作。The charging circuit according to claim 26, wherein the controller is further configured to control the first switch transistor and the third switch transistor to operate synchronously, and control the second switch transistor and the first switch transistor to operate synchronously. The four switches operate synchronously, the first switch and the second switch operate oppositely, the tenth switch and the third switch are controlled to operate synchronously, and the eleventh switch is controlled to be connected to the third switch. The fourth switch tube acts synchronously. 根据权利要求26所述的充电电路,其特征在于,所述控制器,还用于在所述第二输出端的电压小于所述第一输出端的电压时,控制所述第十开关管关断,控制所述第十一开关管导通;控制所述第一开关管和所述第三开关管同步动作,控制所述第二开关管和所述第四开关管同步动作,控制所述第一开关管和所述第二开关管的动作相反。The charging circuit according to claim 26, wherein the controller is further configured to control the tenth switch to turn off when the voltage of the second output terminal is lower than the voltage of the first output terminal, Control the eleventh switch tube to be turned on; control the first switch tube and the third switch tube to operate synchronously, control the second switch tube and the fourth switch tube to operate synchronously, and control the first switch tube The actions of the switch tube and the second switch tube are opposite. 根据权利要求26所述的充电电路,其特征在于,所述控制器,还用于在所述第二输出端的电压大于所述第一输出端的电压时,控制所述第一开关管、所述第二开关管和所述第四开关管均关断,控制所述第三开关管导通,控制所述第十开关管和所述第十一开关管交替导通。The charging circuit according to claim 26, wherein the controller is further configured to control the first switch, the first switch when the voltage of the second output terminal is greater than the voltage of the first output terminal Both the second switch tube and the fourth switch tube are turned off, the third switch tube is controlled to be turned on, and the tenth switch tube and the eleventh switch tube are controlled to be turned on alternately. 一种电子设备,其特征在于,包括:电池和权利要求8-29任一项所述的充电电路;An electronic device, comprising: a battery and the charging circuit according to any one of claims 8-29; 所述充电电路的第一端用于连接电源端,所述充电电路的第一输出端用于连接所述电池;所述充电电路的第二输出端用于连接所述电子设备的负载;The first end of the charging circuit is used to connect to the power supply end, the first output end of the charging circuit is used to connect to the battery; the second output end of the charging circuit is used to connect the load of the electronic device; 所述充电电路,用于将所述电源端提供的电能转换后为所述电池充电,且为所述电子设备的负载供电。The charging circuit is used for converting the electric energy provided by the power supply terminal to charge the battery and supply power to the load of the electronic device.
PCT/CN2020/119477 2020-09-30 2020-09-30 Charging circuit and electronic device Ceased WO2022067701A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/119477 WO2022067701A1 (en) 2020-09-30 2020-09-30 Charging circuit and electronic device
CN202080006878.XA CN114586268B (en) 2020-09-30 2020-09-30 Charging circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/119477 WO2022067701A1 (en) 2020-09-30 2020-09-30 Charging circuit and electronic device

Publications (1)

Publication Number Publication Date
WO2022067701A1 true WO2022067701A1 (en) 2022-04-07

Family

ID=80949319

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119477 Ceased WO2022067701A1 (en) 2020-09-30 2020-09-30 Charging circuit and electronic device

Country Status (2)

Country Link
CN (1) CN114586268B (en)
WO (1) WO2022067701A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226452A1 (en) * 2022-05-27 2023-11-30 华为技术有限公司 Direct-current-direct-current converter and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765962A (en) * 2007-08-01 2010-06-30 英特赛尔美国股份有限公司 Voltage converter with combined capacitive voltage divider, buck converter and battery charger
US20190181757A1 (en) * 2017-12-08 2019-06-13 Texas Instruments Incorporated Timer for power converter controller
CN110401344A (en) * 2018-04-25 2019-11-01 株洲中车时代电气股份有限公司 A kind of striding capacitance charging unit and three level chopper circuit of striding capacitance
US20190348913A1 (en) * 2018-05-14 2019-11-14 Analog Devices, Inc. High conversion-ratio hybrid switched power converter
CN110994977A (en) * 2019-12-22 2020-04-10 苏州浪潮智能科技有限公司 Power conversion device applied to 48V power supply system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11101674B2 (en) * 2016-08-05 2021-08-24 Avago Technologies International Sales Pte. Limited Battery charging architectures
JP6898447B2 (en) * 2016-12-01 2021-07-07 インテグレーテッド・デバイス・テクノロジー・インコーポレーテッド Battery charging system
CN108092513B (en) * 2017-12-26 2020-03-06 矽力杰半导体技术(杭州)有限公司 DC-DC converter
DE102019003177A1 (en) * 2018-05-14 2019-11-14 Linear Technology Holding Llc HYBRID SWITCHING CONVERTERS WITH HIGH CONVERSION RATIO
KR102606238B1 (en) * 2018-11-05 2023-11-24 삼성전자주식회사 Switching regulator generating continuous output delibery current and operating method thereof
CN109787318B (en) * 2019-02-23 2021-09-03 华为技术有限公司 Discharge circuit and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765962A (en) * 2007-08-01 2010-06-30 英特赛尔美国股份有限公司 Voltage converter with combined capacitive voltage divider, buck converter and battery charger
US20190181757A1 (en) * 2017-12-08 2019-06-13 Texas Instruments Incorporated Timer for power converter controller
CN110401344A (en) * 2018-04-25 2019-11-01 株洲中车时代电气股份有限公司 A kind of striding capacitance charging unit and three level chopper circuit of striding capacitance
US20190348913A1 (en) * 2018-05-14 2019-11-14 Analog Devices, Inc. High conversion-ratio hybrid switched power converter
CN110994977A (en) * 2019-12-22 2020-04-10 苏州浪潮智能科技有限公司 Power conversion device applied to 48V power supply system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226452A1 (en) * 2022-05-27 2023-11-30 华为技术有限公司 Direct-current-direct-current converter and electronic device

Also Published As

Publication number Publication date
CN114586268A (en) 2022-06-03
CN114586268B (en) 2025-09-05

Similar Documents

Publication Publication Date Title
TWI895345B (en) Apparatus for multi-mode dc-to-dc power conversion
TWI587602B (en) Charger circuit, electronic device and method for charging a battery
WO2023000732A1 (en) Charging/discharging circuit and electronic device
WO2020192377A1 (en) Earphone charging circuit, and earphone charging case
TW201815009A (en) Device to be charged and charging method
WO2020124588A1 (en) Battery power supply circuit, device to be charged and charging control method
US12362586B2 (en) Charging apparatus, charging method, and electronic device
EP4187748A1 (en) Circuit for controlling cell, and electronic device
CN114914964A (en) Charging box and circuit thereof, wireless earphone and circuit thereof, and charging method
CN110138217A (en) Three port DC-DC converters of one kind and its control method
WO2020087284A1 (en) Battery control circuit, battery and unmanned aerial vehicle
WO2022067701A1 (en) Charging circuit and electronic device
WO2025185440A1 (en) Power supply circuit and electronic device
WO2025002190A1 (en) Charging circuit and power supply device
CN112332498A (en) Multi-battery charging and discharging management circuit for switch type voltage stabilizer
CN216929876U (en) Power supply circuit and electronic device
CN111987756A (en) Charging circuit
CN117614088A (en) Power processing circuits, methods and electronic devices
CN116566008A (en) Battery circuit and power supply method
CN113725957A (en) Multi-charge pump control circuit, control method and electronic equipment
WO2022178856A1 (en) Charging circuit and electronic device
CN223436215U (en) Power output distribution device of power supply circuit
WO2025102811A1 (en) Power supply circuit and power supply method
CN120196163A (en) Voltage regulating circuit, chip and electronic device
WO2022188048A1 (en) Charge/discharge control device

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: 20955726

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: 20955726

Country of ref document: EP

Kind code of ref document: A1

WWG Wipo information: grant in national office

Ref document number: 202080006878.X

Country of ref document: CN