CN112117810A - Charging circuit and charging method suitable for hybrid charger - Google Patents

Charging circuit and charging method suitable for hybrid charger Download PDF

Info

Publication number
CN112117810A
CN112117810A CN202011040310.8A CN202011040310A CN112117810A CN 112117810 A CN112117810 A CN 112117810A CN 202011040310 A CN202011040310 A CN 202011040310A CN 112117810 A CN112117810 A CN 112117810A
Authority
CN
China
Prior art keywords
charging
type
interface
load switch
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.)
Granted
Application number
CN202011040310.8A
Other languages
Chinese (zh)
Other versions
CN112117810B (en
Inventor
朱检兵
吴志宏
蔡棣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Ruiqin Technology Co Ltd
Original Assignee
Wuxi Ruiqin Technology 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 Wuxi Ruiqin Technology Co Ltd filed Critical Wuxi Ruiqin Technology Co Ltd
Priority to CN202011040310.8A priority Critical patent/CN112117810B/en
Publication of CN112117810A publication Critical patent/CN112117810A/en
Application granted granted Critical
Publication of CN112117810B publication Critical patent/CN112117810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits

Abstract

The invention provides a charging circuit and a charging method suitable for a hybrid charger, wherein the charging circuit comprises a first charging interface, a second charging interface, a power transmission controller, an embedded controller, a first load switch, a NAND gate circuit and a second load switch; the embedded controller determines whether the second charging interface is connected with the second specified type of charging equipment or not, and determines whether the first charging interface is connected with the first specified type of charging equipment or not based on the power transmission controller; if the first charging interface is connected with the first specified type of charging equipment and the second charging interface is connected with the second specified type of charging equipment, the embedded controller utilizes the NAND gate circuit to disconnect the first load switch and supplies power to the system power supply interface only through the second specified type of charging equipment. When different types of charging equipment are simultaneously connected with the notebook computer, only the charging equipment with high priority is used for independently supplying power to the notebook computer, so that the charging safety of the notebook computer is protected.

Description

Charging circuit and charging method suitable for hybrid charger
Technical Field
The invention relates to the technical field of charging of hardware circuits of notebook computers, in particular to a charging circuit and a charging method suitable for a hybrid charger.
Background
A notebook computer is one of the most widely used electronic devices, and in order to meet the requirements of different user countries and regions on the types of chargers for notebook computers, the notebook computer is usually designed to support chargers with various interface types.
Under the above background, when a user uses a notebook computer, the user may mistakenly access chargers with different interface types to the notebook computer for charging, and such misoperation may damage the notebook computer. Therefore, when the chargers with different interface types charge the notebook computer at the same time, how to protect the charging safety of the notebook computer becomes an urgent problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention provide a charging circuit and a charging method suitable for a hybrid charger, so as to protect the charging safety of a notebook computer when different chargers are used for charging the notebook computer at the same time.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the first aspect of the embodiments of the present invention discloses a charging circuit suitable for a hybrid charger, where the charging circuit includes: the power transmission system comprises a first charging interface, a second charging interface, a power transmission controller, an embedded controller, a first load switch, a NAND gate circuit and a second load switch;
the input end of the first charging interface is connected with a first appointed type of charging equipment, the first output end of the first charging interface is connected with the first end of the power transmission controller, and the second output end of the first charging interface is connected with the first end of the first load switch;
the second end of the power transmission controller is connected with the first end of the NAND gate circuit, and the second end of the NAND gate circuit is connected with the second end of the first load switch;
the input end of the second charging interface is connected with a second specified type of charging equipment, and the output end of the second charging interface is respectively connected with the first end of the embedded controller and the first end of the second load switch;
the second end of the embedded controller is connected with the third end of the NAND gate circuit;
the third end of the embedded controller is connected with the third end of the power transmission controller;
and the third end of the first load switch and the second end of the second load switch are respectively connected with a system power supply interface.
Preferably, the second charging interface includes: an NMOS transistor and related circuits;
the grid electrode of the NMOS tube is connected with the second specified type of charging equipment, the drain electrode of the NMOS tube is connected with the POWER end of the embedded controller, and the source electrode of the NMOS tube is connected with a specified pin of the embedded controller.
Preferably, the CC pin of the first charging interface is connected to the CC pin of the power transmission controller, and the system power supply control pin of the power transmission controller is connected to the first end of the nand gate circuit.
Preferably, a system power supply control pin of the embedded controller is connected with a third end of the nand gate circuit.
Preferably, the second terminal of the nand gate circuit is connected to the enable terminal of the first load switch.
Preferably, the output end of the second charging interface is connected with the input end and the enable end of the second load switch respectively.
Preferably, the input end of the first charging interface is connected with a TYPE _ C adapter or a TYPE _ C charging device.
Preferably, the input end of the second charging interface is connected to a JACK-type adapter.
Preferably, the nand gate circuit includes: a chip of a specified type and a MOS tube.
The second aspect of the embodiment of the present invention discloses a charging method suitable for a hybrid charger, which is suitable for a charging circuit suitable for a hybrid charger disclosed in the first aspect of the embodiment of the present invention, and the charging method includes:
the embedded controller determines whether the second charging interface is connected with the second specified type of charging equipment or not, and determines whether the first charging interface is connected with the first specified type of charging equipment or not based on the power transmission controller;
if the first charging interface is connected with the first specified type of charging equipment and the second charging interface is connected with the second specified type of charging equipment, the embedded controller disconnects the first load switch by using the NAND gate circuit, stops supplying power to the system power supply interface by using the first specified type of charging equipment and supplies power to the system power supply interface by using the second specified type of charging equipment.
Based on the charging circuit and the charging method provided by the embodiment of the invention, the charging circuit comprises a first charging interface, a second charging interface, a power transmission controller, an embedded controller, a first load switch, a NAND gate circuit and a second load switch; the embedded controller determines whether the second charging interface is connected with the second specified type of charging equipment or not, and determines whether the first charging interface is connected with the first specified type of charging equipment or not based on the power transmission controller; if the first charging interface is connected with the first specified type of charging equipment and the second charging interface is connected with the second specified type of charging equipment, the embedded controller disconnects the first load switch by using the NAND gate circuit, so that the first specified type of charging equipment stops supplying power to the system power supply interface, and the second specified type of charging equipment supplies power to the system power supply interface. When different types of charging equipment are simultaneously connected with the notebook computer, only the charging equipment with high priority is used for independently supplying power to the notebook computer, so that the charging safety of the notebook computer is protected.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a block diagram of a charging circuit suitable for a hybrid charger according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a charging circuit suitable for a hybrid charger according to an embodiment of the present invention;
fig. 3 is a flowchart of a charging method suitable for a hybrid charger according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As known from the background art, when using a notebook computer, a user may mistakenly connect chargers with different interface types to the notebook computer for charging, thereby damaging the notebook computer.
Therefore, the embodiment of the invention provides a charging circuit and a charging method suitable for a hybrid charger, wherein the charging circuit comprises a first charging interface, a second charging interface, a power transmission controller, an embedded controller, a first load switch, a nand gate circuit and a second load switch; when different types of charging equipment are connected to the notebook computer at the same time, the first load switch is switched off, and only the charging equipment with high priority is enabled to supply power to the notebook computer independently, so that the charging safety of the notebook computer is protected.
Referring to fig. 1, a block diagram of a charging circuit suitable for a hybrid charger according to an embodiment of the present invention is shown, where the charging circuit includes: the first charging interface 100, the second charging interface 200, the power delivery Controller 300(power delivery Controller, PD), the Embedded Controller 400 (EC), the first Load Switch 500(Load Switch), the nand gate circuit 600, and the second Load Switch 700;
the input end of the first charging interface 100 is connected to a first designated type of charging device, the first output end of the first charging interface 100 is connected to the first end of the power transmission controller 300, and the second output end of the first charging interface 100 is connected to the first end of the first load switch 500.
In a specific implementation, the input terminal of the first charging interface is connected to an adapter of TYPE _ C TYPE (TYPE _ C interface) or a charging device of TYPE _ C TYPE, that is, the charging device of the first specified TYPE is the adapter of TYPE _ C TYPE or the charging device of TYPE _ C TYPE.
It should be noted that the TYPE _ C TYPE charging device refers to a charging device having a TYPE _ C TYPE interface charging function and other functions.
It should be further noted that the power transmission controller includes a chip of a specific type, such as: the power delivery controller includes a CYPD5126 chip from septoria. The first load switch includes a chip of a designated type and external circuitry, such as: the first load switch comprises a Kinetic KTS1667 chip and an external circuit.
The second end of the power transmission controller 300 is connected to the first end of the nand gate circuit 600, and the second end of the nand gate circuit 600 is connected to the second end of the first load switch 500.
In a specific implementation, a CC pin of the first charging interface is connected to a CC pin of the power transmission controller, and a system power control pin of the power transmission controller is connected to the first end of the nand gate circuit.
It is understood that the system power supply control pin of the power transmission controller is a pin for controlling the system power supply.
In a specific implementation, the second end of the nand gate circuit is connected with the enable end of the first load switch.
The NAND gate circuit includes: the chip and the MOS tube of the specified type, such as an NAND gate circuit, are composed of an SGM (SGM) 7SZ08YC5G chip and an MOS tube.
The input end of the second charging interface 200 is connected to a second designated type of charging device, and the output end of the second charging interface 200 is connected to the first end of the embedded controller 400 and the first end of the second load switch 700, respectively.
It should be noted that the embedded controller includes a chip of a specific type, such as: the embedded controller includes an IT5571E chip, ITE. The second load switch contains a chip of a specified type and external circuitry, such as: the second load switch contains the RT6226C chip from RichTek and external circuitry.
In a specific implementation, the second charging interface includes: and the grid electrode of the NMOS tube is connected with a second specified type of charging equipment, the drain electrode of the NMOS tube is connected with the POWER end of the embedded controller, and the source electrode of the NMOS tube is connected with a specified pin of the embedded controller.
It can be understood that the embedded controller may detect whether the second charging interface is connected to the second specified type of charging device through the source of the NMOS transistor.
In a specific implementation, the input of the second charging interface is connected to a JACK-type adapter, i.e. the second specified type of charging device is a JACK-type adapter. It should be noted that the JACK TYPE adaptor is an adaptor that has a different TYPE of interface with TYPE _ C and is voltage-independent.
In another specific implementation, the output end of the second charging interface is connected with the input end and the enable end of the second load switch respectively. That is to say, the output of second interface that charges is connected with second load switch's input to enable end connection through partial pressure and second load switch.
The second terminal of the embedded controller 400 is connected to the third terminal of the nand gate circuit 600.
In a specific implementation, a system power control pin of the embedded controller is connected to a third end of the nand gate circuit, and the system power control pin of the embedded controller is: the embedded controller controls the pins of the system power supply.
The third terminal of the embedded controller 400 is connected to the third terminal of the power transmission controller 300.
In a specific implementation, an I2C pin (a third end) of the embedded controller is connected with an I2C pin (a third end) of the power transmission controller, and the embedded controller communicates with the power transmission controller through an I2C pin.
The third terminal of the first load switch 500 and the second terminal of the second load switch 700 are respectively connected to a system power supply interface.
It can be understood that the charging circuit outputs the system voltage through the system power supply interface, so as to supply power to the notebook computer.
When the first load switch is controlled to be turned on or off by the nand gate circuit, the embedded controller and the power transmission controller are controlled by the nor gate circuit formed by the and gate IC and the NCOMS.
Through the specific content of the charging circuit shown above, when different types of charging devices are simultaneously connected to the charging circuit to supply power to the notebook computer, the states of the components in the charging circuit are controlled, only one charging device is reserved to supply power to the notebook computer independently, and for better explaining the process of how only one charging device is reserved to supply power to the notebook computer independently, explanation is made through the following content.
When the second charging interface is connected with the JACK type adapter, namely when the JACK type adapter is currently used for supplying power to the notebook computer (the second load switch is in a closed state), the embedded controller determines that the JACK type adapter is connected with the second charging interface by using corresponding pin detection, and sends control signals to the NAND gate circuit, such as: and pulling down (low level) the third end (the end connected with the embedded controller) of the NAND gate circuit, and enabling the first load switch to be in an off state through the NAND gate circuit.
That is, when the notebook computer is currently powered by the JACK type adapter, the first load switch is in an off state. During the period of supplying power to the notebook computer by using the JACK TYPE adapter, no matter whether the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging device is connected to the first charging interface or not, the first load switch is always in an off state, at the moment, the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging device cannot charge the notebook computer, and the notebook computer is supplied with power only by the JACK TYPE adapter alone.
It can be understood that, when the embedded controller detects that the JACK type adapter is not connected to the second charging interface, that is, the JACK type adapter is not used to supply power to the notebook computer, the embedded controller sends a control signal to the nand gate circuit, for example: and pulling up (high level) the third end (the end connected with the embedded controller) of the NAND gate circuit, and enabling the first load switch to be in a closed state through the NAND gate circuit.
When the first charging interface is connected to the TYPE _ C adapter or the TYPE _ C charging device, and the second charging interface is not connected to the JACK TYPE adapter temporarily, that is, when the notebook computer is powered by the TYPE _ C adapter or the TYPE _ C charging device, the TYPE _ C adapter or the TYPE _ C charging device performs protocol communication with the power transmission controller through the CC protocol. After the protocol communication is successful, the power transmission controller sends a control signal to the nand gate circuit, for example, the first end (the end connected with the power transmission controller) of the nand gate circuit is pulled high (at this time, the end connected with the embedded circuit in the nand gate circuit is defaulted to be high level), and the nand gate circuit controls the first load switch to be in a closed state, so that the TYPE _ C adapter or the TYPE _ C charging device independently supplies power to the notebook computer.
During the period that the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging device independently supplies power to the notebook computer, the embedded controller reads corresponding information from the power transmission controller through the I2C pin, and determines that the first charging interface is connected to the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging device. If the embedded controller detects that the JACK TYPE adapter is connected to the second charging interface, namely the user supplies power to the notebook computer by using the JACK TYPE adapter, the embedded controller disconnects the first load switch through the NAND gate circuit, namely the notebook computer is stopped to be supplied with power by using the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging equipment alone, and only the JACK TYPE adapter is reserved for supplying power to the notebook computer (at the moment, the second load switch is in a closed state).
As can be understood from the above description, the first specified TYPE of charging device (TYPE _ C TYPE adapter or TYPE _ C TYPE charging device) and the second specified TYPE of charging device (JACK TYPE adapter) have a relationship in which the priority is higher than the first specified TYPE of charging device.
That is, during the period of supplying power to the notebook computer by using only the second specified type of charging device, the notebook computer is supplied with power by using only the second specified type of charging device regardless of whether the notebook computer is connected to the first specified type of charging device.
And during the period of supplying power to the notebook computer only by using the first specified type of charging equipment, if the notebook computer is accessed to the second specified type of charging equipment at the moment, the first specified type of charging equipment is stopped to supply power to the notebook computer, and the charging equipment is switched to supply power to the notebook computer independently by the second specified type of charging equipment.
That is, if the notebook computer is simultaneously connected to the first specified type of charging device and the second specified type of charging device, only the second specified type of charging device alone supplies power to the notebook computer.
In the embodiment of the invention, the embedded controller determines whether the second charging interface is connected with the second specified type of charging equipment, and determines whether the first charging interface is connected with the first specified type of charging equipment based on the power transmission controller. If the first charging interface is connected with the first specified type of charging equipment and the second charging interface is connected with the second specified type of charging equipment, the embedded controller disconnects the first load switch by using the NAND gate circuit, so that the first specified type of charging equipment stops supplying power to the system power supply interface, and the second specified type of charging equipment supplies power to the system power supply interface. When different types of charging equipment are simultaneously connected with the notebook computer, only the charging equipment with high priority is used for independently supplying power to the notebook computer, so that the charging safety of the notebook computer is protected.
In the embodiment of the present invention, in order to better explain the specific contents of the charging circuit in the embodiment of the present invention shown in fig. 1, the contents of the power transmission controller, the embedded controller, the first load switch, the second load switch, and the nand gate circuit mentioned in fig. 1 are illustrated by way of example through the contents shown in fig. 2, and it should be noted that fig. 2 is merely used for illustration.
Referring to fig. 2, a schematic block diagram of a charging circuit suitable for a hybrid charger according to an embodiment of the present invention is shown.
The power transmission controller (PD in fig. 2) comprises a CYPD5126 chip of the sepium, the embedded controller (EC in fig. 2) comprises an IT5571E chip of ITE, the first load switch (UT 6 in fig. 2) comprises a KTS1667 chip of Kinetic and an external circuit, the second load switch (U13 in fig. 2) comprises an RT62 6226C chip of Richtek and an external circuit, the NAND gate (U2901 in fig. 2) is composed of an SGM7SZ08YC5G chip of SGM and MOS tubes, and the second charging interface comprises NMOS tubes and related circuits. It should be noted that the first charging interface is TYPE _ C CONN in fig. 2, and the second charging interface is JACK CONN in fig. 2.
The circuit related to the second charging interface is composed of a resistor and a capacitor, the circuit related to the first load switch is composed of a resistor, a capacitor and an inductor, and the circuit related to the second load switch is composed of a diode.
The connection relationship of the components in the charging circuit is as follows.
A 7 th pin (CC pin) and a9 th pin (CC pin) of the power transmission controller (PD) are connected to a B5 pin (CC pin) and an a5 pin (CC pin) of the first charging interface, respectively.
The 3 rd pin (I2C pin) and the 4 th pin (I2C pin) of the power transmission controller are connected to the C1 pin and the B1 pin of the Embedded Controller (EC), respectively.
And a 25 th pin of the Embedded Controller (EC) is connected with a detection pin of the second charging interface.
The 12 th pin of the power transmission controller is connected to the first end of the nand gate (the 1 st pin of the chip U2901), the 85 th pin of the embedded controller is connected to the third end of the nand gate (the 2 nd pin of the chip U2901), and the second end (output end) of the nand gate is connected to the a3 pin of the first load switch. The 3 rd pin of the chip U2901 in the NAND gate circuit is grounded, the 5 th pin of the chip U2901 is connected with the interface + V1P8A, the 4 th pin of the chip U2901 is connected with the 1 st end of the MOS tube Q6, the 2 nd end of the MOS tube Q6 is grounded, the 3 rd end of the MOS tube Q6 is connected with the A3 pin of the first load switch, and the 3 rd end of the MOS tube Q6 is connected with the interface +3P3A _ VDDD _ PD through a resistor R6.
The pin A4/A9B4/B9 of the first charging interface is connected with the pin B2 of the first load switch, the pin C2, the pin D2, the pin E1 and the pin E2 of the first load switch are connected with the pin B2 of the first load switch, and the pin C3, the pin D3 and the pin E3 of the first load switch are grounded.
The D1 pin, the C1 pin, the B1 pin and the A1 pin of the first load switch are respectively connected with the 2 nd ends of a diode DT2 and a diode DT3, the 1 st ends of a diode DT2 and a diode DT3 are respectively connected with a system voltage interface and the first end of an inductor L16, and the second end of an inductor L16 is connected with the 2 nd pin of the second load switch.
The 10 th pin of the second load switch is connected to the first end of the resistor R135 and the first end of the resistor R132, respectively, the second end of the resistor R132 is grounded, the second end of the resistor R135 is connected to the first end of the capacitor C176 through the resistor R176, the second end of the capacitor C176 is connected to the 1 st pin of the second load switch through the resistor R118, and the 4 th pin and the 8 th pin of the second load switch are grounded.
The 11 th pin of the second load switch is grounded through the capacitor C156, and the 9 th pin of the second load switch is grounded through the capacitor C164.
The 6 th pin of the second load switch is connected with the first end of the capacitor C165, the first end of the resistor R92 and the first end of the resistor R71 respectively, the second end of the capacitor C165 is grounded, the second end of the resistor R92 is grounded, and the second end of the resistor R71 is connected with the 5 th pin of the second load switch and the VCC pin of the second charging interface respectively.
The VCC pin of the second charging interface is connected to the 1 st end of the NMOS transistor Q1, the 3 rd end of the NMOS transistor Q1 is connected to the interface + V3P3A _ EC, the 2 nd end of the NMOS transistor Q1 is connected to the 25 th pin of the embedded controller, the 1 st end of the resistor R1 and the 1 st end of the capacitor C180, that is, the above mentioned "the 25 th pin of the embedded controller is connected to the detection pin of the second charging interface", and the 2 nd end of the resistor R1 and the 2 nd end of the capacitor C189 are grounded.
It should be noted that, the connection relationship of each component in the charging circuit may specifically refer to the content shown in fig. 2.
The operation principle of the charging circuit is explained in the following with reference to the schematic diagram of the charging circuit shown in fig. 2.
When the notebook computer is not connected with any charging equipment, when the notebook computer is firstly connected with the JACK TYPE adapter for charging, the embedded controller detects that the JACK TYPE adapter is connected with the notebook computer, the embedded controller pulls down (pulls down the level) the 85 th pin corresponding to the embedded controller, and the first load switch is switched off, namely, no matter whether the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging equipment is connected with the notebook computer or not, the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging equipment cannot supply power to the notebook computer subsequently. When the embedded controller detects that the JACK type adapter is not connected to the notebook computer, the embedded controller pulls up the 85 th pin corresponding to the embedded controller by default (pulling up level).
When the notebook computer is not connected with any charging equipment, when the notebook computer is firstly connected with a TYPE _ C TYPE adapter or a TYPE _ C TYPE charging equipment for charging, the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging equipment is in protocol communication with the power transmission controller through a CC protocol. After the protocol communication is successful, the power transmission controller pulls up the 12 th pin corresponding to the power transmission controller (at this time, the 85 th pin of the embedded controller defaults to a high level), so that the first load switch is closed, and the TYPE _ C adapter or the TYPE _ C charging device supplies power to the notebook computer.
During the power supply period of the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging device for the notebook computer, if the notebook computer is subsequently connected with the JACK TYPE adapter, the embedded controller immediately pulls down the 85 th pin corresponding to the embedded controller, disconnects the first load switch, cuts off the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging device to supply power for the notebook computer, namely, stops supplying power for the notebook computer by using the TYPE _ C TYPE adapter or the TYPE _ C TYPE charging device, and switches to independently supply power for the notebook computer by using the JACK TYPE adapter. In the process of cutting off the TYPE _ C TYPE adapter or TYPE _ C TYPE charging equipment to supply power to the notebook computer, the enabling signal of the second load switch is delayed through the capacitor C165, so that the on-time of the JACK TYPE adapter for supplying power to the notebook computer is delayed, and the second load switch can be rapidly closed after the embedded controller disconnects the first load switch.
Note that the diode DT2 and the diode DT3 in fig. 2 function as: when the notebook computer is firstly connected with the JACK TYPE adapter for charging, if the subsequent notebook computer is connected with TYPE _ C TYPE charging equipment, the output voltage of the JACK TYPE adapter can be prevented from being directly input into TYPE _ C TYPE charging equipment to cause damage to TYPE _ C TYPE charging equipment.
Corresponding to the charging circuit suitable for the hybrid charger provided in the embodiment of the present invention, referring to fig. 3, an embodiment of the present invention further provides a flowchart of a charging method suitable for a hybrid charger, where the charging method is suitable for the charging circuit suitable for the hybrid charger provided in the embodiment of the present invention, and the charging method includes:
step S301: the embedded controller determines whether the second charging interface is connected with the second specified type of charging equipment, and determines whether the first charging interface is connected with the first specified type of charging equipment based on the power transmission controller. If the first charging interface is connected to the first specified type of charging device and the second charging interface is not connected to the second specified type of charging device, step S302 is executed. If the second charging interface is connected to the second specified type of charging device and the first charging interface is not connected to the first specified type of charging device, step S303 is executed. If the first charging interface is connected to the first specified type of charging device and the second charging interface is connected to the second specified type of charging device, step S304 is executed.
Step S302: the embedded controller closes the first load switch by using the NAND gate circuit and supplies power to the system power supply interface by using the first specified type of charging equipment.
Step S303: the embedded controller utilizes the NAND gate circuit to disconnect the first load switch and utilizes a second specified type of charging equipment to supply power to the system power supply interface.
Step S304: the embedded controller utilizes the NAND gate circuit to disconnect the first load switch, stops utilizing the first specified type of charging equipment to stop supplying power to the system power supply interface, and utilizes the second specified type of charging equipment to supply power to the system power supply interface.
It should be noted that, the execution principle of step S301 to step S304 refers to the content in fig. 1 and fig. 2 of the above embodiment of the present invention, and is not described again here.
In summary, the embodiments of the present invention provide a charging circuit and a charging method for a hybrid charger, in which an embedded controller determines whether a second charging interface is connected to a second specified type of charging device, and determines whether a first charging interface is connected to a first specified type of charging device based on a power transmission controller. If the first charging interface is connected with the first specified type of charging equipment and the second charging interface is connected with the second specified type of charging equipment, the embedded controller disconnects the first load switch by using the NAND gate circuit, so that the first specified type of charging equipment stops supplying power to the system power supply interface, and the second specified type of charging equipment supplies power to the system power supply interface. When different types of charging equipment are simultaneously connected with the notebook computer, only the charging equipment with high priority is used for independently supplying power to the notebook computer, so that the charging safety of the notebook computer is protected.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A charging circuit adapted for use with a hybrid charger, the charging circuit comprising: the power transmission system comprises a first charging interface, a second charging interface, a power transmission controller, an embedded controller, a first load switch, a NAND gate circuit and a second load switch;
the input end of the first charging interface is connected with a first appointed type of charging equipment, the first output end of the first charging interface is connected with the first end of the power transmission controller, and the second output end of the first charging interface is connected with the first end of the first load switch;
the second end of the power transmission controller is connected with the first end of the NAND gate circuit, and the second end of the NAND gate circuit is connected with the second end of the first load switch;
the input end of the second charging interface is connected with a second specified type of charging equipment, and the output end of the second charging interface is respectively connected with the first end of the embedded controller and the first end of the second load switch;
the second end of the embedded controller is connected with the third end of the NAND gate circuit;
the third end of the embedded controller is connected with the third end of the power transmission controller;
and the third end of the first load switch and the second end of the second load switch are respectively connected with a system power supply interface.
2. The charging circuit of claim 1, wherein the second charging interface comprises: an NMOS transistor and related circuits;
the grid electrode of the NMOS tube is connected with the second specified type of charging equipment, the drain electrode of the NMOS tube is connected with the POWER end of the embedded controller, and the source electrode of the NMOS tube is connected with a specified pin of the embedded controller.
3. The charging circuit of claim 1, wherein a CC pin of the first charging interface is connected to a CC pin of the power transmission controller, and a system power control pin of the power transmission controller is connected to the first end of the nand gate circuit.
4. The charging circuit of claim 1, wherein a system power control pin of the embedded controller is connected to a third terminal of the nand gate circuit.
5. The charging circuit of claim 1, wherein a second terminal of the nand gate is connected to an enable terminal of the first load switch.
6. The charging circuit of claim 1, wherein the output terminal of the second charging interface is connected to the input terminal and the enable terminal of the second load switch, respectively.
7. The charging circuit of claim 1, wherein the input of the first charging interface is connected to an adapter of TYPE _ C TYPE or a charging device of TYPE _ C TYPE.
8. The charging circuit of claim 1, wherein the input of the second charging interface is connected to a JACK-type adapter.
9. The charging circuit of claim 1, wherein the nand gate comprises: a chip of a specified type and a MOS tube.
10. A charging method applied to a hybrid charger, wherein the charging method is applied to the charging circuit applied to the hybrid charger of any one of claims 1 to 9, and the charging method comprises:
the embedded controller determines whether the second charging interface is connected with the second specified type of charging equipment or not, and determines whether the first charging interface is connected with the first specified type of charging equipment or not based on the power transmission controller;
if the first charging interface is connected with the first specified type of charging equipment and the second charging interface is connected with the second specified type of charging equipment, the embedded controller disconnects the first load switch by using the NAND gate circuit, stops supplying power to the system power supply interface by using the first specified type of charging equipment and supplies power to the system power supply interface by using the second specified type of charging equipment.
CN202011040310.8A 2020-09-28 2020-09-28 Charging circuit and charging method suitable for hybrid charger Active CN112117810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011040310.8A CN112117810B (en) 2020-09-28 2020-09-28 Charging circuit and charging method suitable for hybrid charger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011040310.8A CN112117810B (en) 2020-09-28 2020-09-28 Charging circuit and charging method suitable for hybrid charger

Publications (2)

Publication Number Publication Date
CN112117810A true CN112117810A (en) 2020-12-22
CN112117810B CN112117810B (en) 2022-05-10

Family

ID=73798262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011040310.8A Active CN112117810B (en) 2020-09-28 2020-09-28 Charging circuit and charging method suitable for hybrid charger

Country Status (1)

Country Link
CN (1) CN112117810B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120153747A1 (en) * 2009-09-11 2012-06-21 New Focus Lighting & Power Technology (Shanghai) Co. Ltd. Usb charger, its switch control system and method, and a usb interface charger for a laptop
CN204243832U (en) * 2014-12-05 2015-04-01 重庆蓝岸通讯技术有限公司 A kind of charging and output compatible multiplex roles charging circuit
US20150162762A1 (en) * 2013-12-05 2015-06-11 Wei Yuan Method and apparatus for controling charging process
CN105490336A (en) * 2015-12-23 2016-04-13 武西湖 Wearable device and charging circuit thereof
CN106160033A (en) * 2015-03-27 2016-11-23 青岛海信移动通信技术股份有限公司 A kind for the treatment of method and apparatus of terminal charger
CN110771001A (en) * 2018-11-22 2020-02-07 深圳市大疆创新科技有限公司 Charger and charging control circuit
CN110797950A (en) * 2020-01-06 2020-02-14 深圳微步信息股份有限公司 Automatic switching method based on Type-C and AC charging and mobile terminal thereof
CN110912239A (en) * 2019-12-28 2020-03-24 江苏紫米电子技术有限公司 Multi-port charging equipment
CN111463872A (en) * 2020-06-02 2020-07-28 无锡睿勤科技有限公司 Charging protection circuit and method for multiple charging interfaces and terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120153747A1 (en) * 2009-09-11 2012-06-21 New Focus Lighting & Power Technology (Shanghai) Co. Ltd. Usb charger, its switch control system and method, and a usb interface charger for a laptop
US20150162762A1 (en) * 2013-12-05 2015-06-11 Wei Yuan Method and apparatus for controling charging process
CN204243832U (en) * 2014-12-05 2015-04-01 重庆蓝岸通讯技术有限公司 A kind of charging and output compatible multiplex roles charging circuit
CN106160033A (en) * 2015-03-27 2016-11-23 青岛海信移动通信技术股份有限公司 A kind for the treatment of method and apparatus of terminal charger
CN110970970A (en) * 2015-03-27 2020-04-07 青岛海信移动通信技术股份有限公司 Processing method and device of terminal charger
CN105490336A (en) * 2015-12-23 2016-04-13 武西湖 Wearable device and charging circuit thereof
CN110771001A (en) * 2018-11-22 2020-02-07 深圳市大疆创新科技有限公司 Charger and charging control circuit
CN110912239A (en) * 2019-12-28 2020-03-24 江苏紫米电子技术有限公司 Multi-port charging equipment
CN110797950A (en) * 2020-01-06 2020-02-14 深圳微步信息股份有限公司 Automatic switching method based on Type-C and AC charging and mobile terminal thereof
CN111463872A (en) * 2020-06-02 2020-07-28 无锡睿勤科技有限公司 Charging protection circuit and method for multiple charging interfaces and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
庄建华等: "基于SMBus的便携式设备智能电池系统的实现", 《计算机工程》 *

Also Published As

Publication number Publication date
CN112117810B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
KR101720398B1 (en) Power distribution inside cable
CN103618356B (en) The charging system of a kind of mobile terminal and charging method thereof
US20120200265A1 (en) Electronic equipment and charging controlling method
US9696778B2 (en) Power delivery device and control method of the same
US20020005707A1 (en) Battery charging
US9110650B2 (en) Electronic device having USB interface and method for starting USB communication with such device
CN105453372A (en) Method and apparatus for fast battery charging with universal high power input source
CN104882941A (en) Electronic equipment, and control method therefor
US20040232768A1 (en) Portable electronic device for receiving power over a network
WO2023280095A1 (en) Electronic device assembly and terminal device
CN111246199B (en) Control method and device for camera test, terminal equipment and storage medium
CN114498831A (en) Electronic device and charging control method
CN111525630B (en) Charging control device and charging control method
CN112117810B (en) Charging circuit and charging method suitable for hybrid charger
JP3063838U (en) PC card with automatic power saving sleep function
KR101343581B1 (en) Portable terminal and it's charging apparatus
CN106412245A (en) Waterproof method for USB interface and mobile terminal
US10481576B2 (en) Method and device for implementing connection control
CN114389246A (en) Method for reducing surge voltage and power supply equipment
CN102692539B (en) Tolerance to overvoltage level sensitive circuit, its method of operating and system
CN110676913A (en) Charging method, terminal, conversion device and storage medium
US20140042826A1 (en) Power adaptor system
CN205901363U (en) Apparatus for controlling charge
CN215647304U (en) External sound card and audio system
CN219304500U (en) Mobile phone charging circuit and mobile phone equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant