CN112134324A - USB port insertion detection circuit, quick charging chip, power supply circuit and equipment - Google Patents

USB port insertion detection circuit, quick charging chip, power supply circuit and equipment Download PDF

Info

Publication number
CN112134324A
CN112134324A CN202010951087.6A CN202010951087A CN112134324A CN 112134324 A CN112134324 A CN 112134324A CN 202010951087 A CN202010951087 A CN 202010951087A CN 112134324 A CN112134324 A CN 112134324A
Authority
CN
China
Prior art keywords
port
amplifier
power supply
resistor
logic controller
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.)
Pending
Application number
CN202010951087.6A
Other languages
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.)
Zhuhai Amicro Semiconductor Co Ltd
Original Assignee
Zhuhai Amicro Semiconductor 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 Zhuhai Amicro Semiconductor Co Ltd filed Critical Zhuhai Amicro Semiconductor Co Ltd
Priority to CN202010951087.6A priority Critical patent/CN112134324A/en
Publication of CN112134324A publication Critical patent/CN112134324A/en
Pending legal-status Critical Current

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
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/10Control circuit supply, e.g. means for supplying power to the control circuit
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/20Charging or discharging characterised by the power electronics converter
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer

Abstract

The invention provides a USB port detection circuit, a quick charging chip, a power supply circuit and equipment, wherein the USB port insertion detection circuit comprises a first amplifier F1, a first resistor R1, a diode, a current source and a power supply end VDD; one end of the current source is connected with one end of a first resistor R1, the other end of the first resistor R1 is connected with the non-inverting input end of the first amplifier, the connecting point of the other end of the first resistor R1 and the non-inverting input end of the first amplifier is connected with the anode of the diode, the inverting input end of the first amplifier is inputted with a reference voltage Vref, and the other end of the current source is connected with the power supply end. The USB insertion detection circuit can rapidly detect the insertion state of the USB port, and improves the working efficiency of the quick charging equipment. Compared with the prior art, the circuit is simplified, and the USB port insertion detection efficiency of the quick charging equipment is improved.

Description

USB port insertion detection circuit, quick charging chip, power supply circuit and equipment
Technical Field
The invention relates to the technical field of integrated circuits, in particular to a USB port insertion detection circuit, a quick charging chip, a power supply circuit and equipment.
Background
Along with the increasing demand of mobile quick charging equipment, the design of a quick charging chip is continuously updated, in order to better meet the charging demand of a user, at present, many power supply equipment support an ACDC to support double-port power supply for equipment to be charged, and simultaneously meet the charging of double equipment, and the respective independent insertion of the double-port equipment needs to be designed into a quick and effective detection circuit for USB port insertion detection. The existing USB power supply technology generally controls the switch of an MOS tube through one I/O port of a main chip to control a transmission electric signal to supply power to a USB.
Disclosure of Invention
In order to solve the problems, the invention provides a USB port insertion detection circuit, a quick charging chip, a power supply circuit and equipment, which greatly improve the USB port insertion detection efficiency, simplify the circuit and reduce the design cost. The specific technical scheme of the invention is as follows:
a USB port insertion detection circuit includes a first amplifier F1, a first resistor R1, a diode, a current source, and a power source terminal VDD; one end of the current source is connected with one end of a first resistor R1, the other end of the first resistor R1 is connected with the non-inverting input end of a first amplifier F1, the connection point of the other end of the first resistor R1 and the non-inverting input end of the first amplifier F1 is connected with the anode of a diode, the inverting input end of the first amplifier F1 is used for inputting a reference voltage Vref, and the other end of the current source is connected with a power supply terminal VDD. The USB port insertion detection circuit realizes USB port insertion detection by comparing the voltage of the non-inverting input end of the first amplifier F1 with the reference voltage Vref of the inverting input end of the first amplifier F1, the port function of the USB is multiplexed, multiple functions can be realized by using a single element, the circuit is simplified, discrete elements are reduced, and the design cost is reduced.
The invention also discloses a quick charging chip, which comprises a logic controller, a power supply control switch circuit, a USB port pull-out detection circuit and the USB port insertion detection circuit of claim 1; the logic controller is provided with a first port A1, a second port A2 and a third port A3, the power supply control switch circuit is connected with the first port A1 of the logic controller, the output end of a first amplifier F1 of the USB port plug-in detection circuit is connected with the second port A2 of the logic controller, and the USB port plug-out detection circuit is connected with the third port A3 of the logic controller. The quick charging chip has high integration level, can quickly detect the insertion or extraction state of the USB port and quickly control the power supply equipment to supply power or stop supplying power for the equipment to be charged, and improves the power supply efficiency of the power supply equipment.
Further, the power supply control switch circuit comprises an NMOS tube and a charge pump; the charge pump is provided with a first second port B1, a second port B2 and a third second port B3, the first second port B1 of the charge pump is connected with the grid electrode of the NMOS tube, the second port B2 of the charge pump is connected with the source electrode of the NMOS tube, and the third second port B3 of the charge pump is connected with the first port A1 of the logic controller. The power supply control switch circuit receives the logic indication signal transmitted by the logic controller through the charge pump, and controls the NMOS tube to be switched on or off by utilizing the charge pump, so that the power supply switch is flexibly controlled, and the manufacturing cost of the quick charging chip is reduced.
Further, the USB port pull-out detection circuit includes a second amplifier F2 and a second resistor R2; the second resistor R2 is coupled between the non-inverting input terminal of the second amplifier F2 and the inverting input terminal of the second amplifier F2, the connection node between the second resistor R2 and the inverting input terminal of the second amplifier F2 is connected to ground, and the output terminal of the second amplifier F2 is connected to the third port a3 of the logic controller. The USB port extraction detection circuit utilizes the second resistor R2 to realize the extraction detection of the USB port, can quickly detect the extraction of the USB port and transmit signals to the logic controller, and is favorable for efficiently realizing the extraction detection of the USB port and improving the working efficiency of the quick charging chip.
The invention also discloses a power supply device, which comprises a USB interface and the quick charging chip as claimed in any one of claims 2 to 4; the VBUS end of the USB interface is connected with the drain electrode of an NMOS tube in the power supply control switch circuit, and a connecting node of the drain electrode of the NMOS tube and the VBUS end of the USB interface is connected with the cathode of a diode in the USB port insertion detection circuit; the VBUS end is a power supply end of the USB interface. The USB power supply equipment can quickly detect the pulling-out or the insertion of the USB port and control the power supply of the power supply according to the pulling-in or pulling-out state of the USB port.
The invention also discloses a quick charge chip, which comprises a charge pump, a logic controller, a second amplifier F2 and the USB port insertion detection circuit of claim 1; the logic controller is provided with a first port A1, a second port A2 and a third port A3, the charge pump is provided with a first two-port B1, a second two-port B2 and a third two-port B3, and a third two-port B3 of the charge pump is connected with the first port A1 of the logic controller; the output end of a first amplifier F1 of the USB port insertion detection circuit is connected with a second port A2 of the logic controller; the output of the second amplifier F2 is connected to the third port A3 of the logic controller. The insertion detection and extraction detection circuit is added in the chip, so that the accuracy of the insertion or extraction detection of the quick-charging chip on the USB port is improved, the quick-charging chip can be used for quickly identifying and detecting the insertion or extraction of the USB port, and the quick power supply is realized.
Further, the first two-port B1 and the second two-port B2 of the charge pump in the fast charging chip are coupled between the gate and the source of the NMOS transistor outside the fast charging chip to form a power supply control switch circuit. The power supply control switch circuit controls the switch of the power supply by using the combination of the charge pump and the NMOS tube, reduces the design cost of the quick charging chip, and is favorable for quickly controlling the power supply state of the power supply equipment to the equipment to be charged.
Further, a non-inverting input terminal of a second amplifier F2 and an inverting input terminal of a second amplifier F2 in the fast charging chip are coupled with a second resistor R2 outside the fast charging chip to form a USB port pull-out detection circuit; the node connecting the inverting input terminal of the second amplifier F2 and the second resistor R2 is connected to ground. The USB port pull-out detection circuit can quickly detect the pull-out of the USB port, and can improve the power supply efficiency of the power supply equipment when being applied to the power supply equipment.
The invention also discloses a power supply device, which comprises a USB interface and the quick charging chip as claimed in any one of claims 6 to 8; the VBUS end of the USB interface is connected with the drain electrode of an NMOS tube in the power supply control switch circuit, and a connecting node of the drain electrode of the NMOS tube and the VBUS end of the USB interface is connected with the cathode of a diode in the USB port insertion detection circuit. The power supply equipment flexibly and efficiently controls the power supply control switch according to the insertion or extraction state of the USB port, so that the power supply equipment can efficiently and accurately supply power.
The invention also discloses a power supply circuit, which comprises an NMOS tube, a charge pump, a logic controller, a first amplifier F1, a second amplifier F2, a first resistor R1, a second resistor R2, a diode, a current source, a power supply end VDD, a USB interface and a power supply; wherein the logic controller has a first port a1, a second port a2 and a third port A3, the charge pump has a first two-port B1, a second two-port B2 and a third two-port B3, the first two-port B1 and the second two-port B2 of the charge pump are coupled between the gate and the source of the NMOS transistor, the connection node of the first two-port B1 of the charge pump and the gate of the NMOS transistor is connected with the power supply, the third two-port B3 of the charge pump is connected with the first one-port a1 of the logic controller, the drain of the NMOS transistor is connected with the VBUS terminal of the USB port, the output terminal of the first amplifier F1 is connected with the second one-port a2 of the logic controller, the non-inverting input terminal of the first amplifier F1 is connected with one end of a first resistor R1, the other end of the first resistor R1 is connected with one end of the current source, the other end of the current source is connected with the VDD, the input terminal of the first amplifier F1 is connected with the anode node of the resistor R1 of the first one-port VDD, the cathode of the diode is connected with the VBUS end of the USB port, the third port a3 of the logic controller is connected with the output end of the second amplifier F2, the second resistor R2 is coupled between the non-inverting input end of the second amplifier F2 and the inverting input end of the second amplifier F2, the connection node between the second resistor R2 and the inverting input end of the second amplifier F2 is connected with the ground, and the connection node between the second resistor R2 and the non-inverting input end of the second amplifier F2 is connected with the ground port of the USB port. The power supply circuit can quickly detect the insertion or extraction state of the USB port and control the power supply switch to realize high-efficiency power supply according to the state of the USB port, and compared with the prior art, the power supply circuit has the advantages that the circuit is simplified, the production cost is reduced, and the power supply efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of a USB port insertion detection circuit according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a fast charging chip according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a power supply device according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a fast charging chip according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a power supply device according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a power supply circuit according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings in the embodiments of the present invention. It should be understood that the following specific examples are illustrative only and are not intended to limit the invention.
Referring to fig. 1, a USB port insertion detection circuit according to an embodiment of the present invention includes a first amplifier F1, a first resistor R1, a diode, a current source, and a power supply terminal VDD; one end of the current source is connected with one end of a first resistor R1, the other end of the first resistor R1 is connected with the non-inverting input end of the first amplifier, the connection point of the other end of the first resistor R1 and the non-inverting input end of the first amplifier is connected with the anode of the diode, the inverting input end of the first amplifier is connected with the reference voltage Vref, and the other end of the current source is connected with the power supply terminal VDD. In the embodiment, the insertion state of the USB port is determined by comparing the voltages of the non-inverting input end and the inverting input end of the first amplifier, so that the insertion detection of the USB port is realized.
Specifically, the cathode of the diode is connected to the USB port, and when the USB port is inserted, the anode of the diode is pulled low so that the voltage at the non-inverting input terminal of the second amplifier F2 is lower than the reference voltage Vref at the inverting input terminal of the second amplifier F2, and the output terminal of the second amplifier F2 outputs a low level, and therefore, when it is detected that the output terminal of the second amplifier F2 outputs a low level, it is determined that the USB port has been inserted into the device to be charged.
The second embodiment of the present invention provides a fast charging chip, as shown in fig. 2, the fast charging chip includes a logic controller, a power supply control switch circuit, a USB port insertion detection circuit, and a USB port extraction detection circuit; the power supply control switch circuit comprises an NMOS (N-channel metal oxide semiconductor) tube and a charge pump, the USB port insertion detection circuit comprises a first amplifier F1, a first resistor R1, a current source and a diode, and the USB port extraction detection circuit comprises a second amplifier F2 and a second resistor R2. Wherein, the logic controller has a first port a1, a second port a2 and a third port A3, the charge pump has a first two-port B1, a second two-port B2 and a third two-port B3, the first two-port B1 and the second two-port B2 of the charge pump are coupled between the gate and the source of the NMOS transistor, the third two-port B3 of the charge pump is connected with the first one-port a1 of the logic controller, the second one-port a2 of the logic controller is connected with the output terminal of the first amplifier F1, the non-inverting input terminal of the first amplifier F1 is connected with one end of the first resistor R1, the connecting node of the non-inverting input terminal of the first amplifier F1 and one end of the first resistor R1 is connected with the anode of the diode, the other end of the first resistor R1 is connected with one end of the current source, the third one-port A3 of the logic controller is connected with the output terminal of the second amplifier F2, the second resistor R2 is coupled between the non-inverting input terminal of the second amplifier F2 and the non-inverting, a connection node of the second resistor R2 and the inverting input terminal of the second amplifier F2 is connected to ground.
Specifically, the fast charging chip provided by the second embodiment of the present invention has a higher integration level, and can be applied to a single-port fast charging power supply device or a multi-port fast charging power supply device, and the purpose of quickly identifying the insertion or extraction state of the USB port is achieved through the USB port insertion detection circuit and the USB port extraction detection circuit, and the logic controller controls the conduction state of the power supply control switch circuit according to the insertion or extraction state of the USB port. The logic controller is used for receiving logic level signals output by the first amplifier F1 and the second amplifier F2 and controlling the power supply control switch circuit according to the received logic level signals, specifically, a first port a1 of the logic controller is used for controlling the conducting state of the power supply control switch according to the received logic level signals, a second port a2 of the logic controller is used for receiving the logic level signals output by the output end of the first amplifier F1 of the insertion detection circuit, and a third port A3 of the logic controller is used for receiving the logic level signals output by the output end of the second amplifier F2 of the extraction detection circuit; the USB port insertion detection circuit is used for detecting the insertion state of the USB port and transmitting a logic level signal of the corresponding state to the second port A2 of the logic controller by the first amplifier F1; the pull-out detection circuit is used for detecting the pull-out state of the USB port and a second amplifier F2 transmits a logic level signal of a corresponding state to a third port A3 of the logic controller; the power supply control switch circuit is used for receiving a logic level indicating signal output by a first port A1 of the logic controller, controlling the conduction state of the charge pump and the NMOS tube according to the logic level signal and further controlling the conduction state of the power supply.
A third embodiment of the present invention provides a USB port power supply device, which is shown in fig. 3 and includes a USB port and the fast charging chip provided in the second embodiment; the connection node of the first two-port B1 of the charge pump and the grid of the NMOS tube is connected with the power supply, the drain of the NMOS tube is connected with the VBUS end of the USB port, the connection node of the drain of the NMOS tube and the VBUS end of the USB port is connected with the cathode of the diode, and the connection node of the second resistor R2 and the non-inverting input end of the second amplifier F2 is connected with the grounding end of the USB port.
Specifically, in a default state, the power supply control switch circuit is in an off state, that is, the USB port power supply device is in a non-power supply state, the VBUS terminal of the USB port is weakly powered by the power supply terminal VDD connected to the current source of the insertion detection circuit, when the USB port is inserted into the device to be charged, the device to be charged pumps the USB port power supply device, the insertion detection circuit is enabled, the diode bias voltage is pulled low, so that the voltage at the non-inverting input terminal of the first amplifier F1 is lower than the reference voltage at the inverting input terminal, the output terminal of the first amplifier F1 outputs a logic low level signal to the logic controller, the logic controller outputs a logic indication signal to the power supply control switch circuit according to the logic low level signal received by the second port a2, controls the charge pump to be turned on, and the voltage difference between the gate and the source of the NMOS transistor is greater than or equal to the conduction threshold, the NMOS tube is conducted, and the power supply supplies power to the equipment to be charged through the VBUS end of the USB port; when the device to be charged is pulled out from the USB port, the second amplifier F2 of the pull-out detection circuit detects that no current passes through the second resistor R2, the output end of the second amplifier F2 outputs a low level to the logic controller, the logic controller outputs a logic indication signal to the power supply control switch circuit according to a set logic according to a logic low level signal received by the third port A3, the charge pump is controlled to be turned off, further, the voltage difference between the grid electrode and the source electrode of the NMOS tube is smaller than a conduction threshold value, the NMOS tube is not conducted, and the power supply stops supplying power to the device to be charged; when the device to be charged is overloaded, the second amplifier F2 of the pull-out detection circuit detects that the circuit current is too large, the output end of the second amplifier F2 outputs a logic low level to the third port A3 of the logic controller, the logic controller outputs a logic indication signal to the power supply control switch circuit according to the set logic according to the logic low level signal received by the third port A3, the charge pump is controlled to be turned off, the NMOS transistor is further controlled to stop being turned on, and the power supply source stops supplying power to the device to be charged. The power supply equipment with the USB port provided by the third embodiment of the invention uses the quick charging chip with higher integration level to quickly identify the insertion or extraction detection of the USB port, efficiently control the power supply state of the power supply equipment according to the insertion or extraction state of the USB port, improve the working reliability of the power supply equipment, have the function of automatically stopping power supply when the equipment to be charged is overloaded, and protect the safety of the power supply equipment and the equipment to be charged.
Referring to fig. 4, the fast charging chip according to the fourth embodiment of the present invention includes a charge pump, a logic controller, a first amplifier F1, a second amplifier F2, a first resistor R1, a current source, a power supply terminal, and a diode, where the first amplifier F1, the first resistor, the current source, the power supply terminal, and the diode form a USB port insertion detection circuit. The logic controller is provided with a first port A1, a second port A2 and a third port A3, the charge pump is provided with a first two-port B1, a second two-port B2 and a third two-port B3, a third two-port B3 of the charge pump is connected with the first port A1 of the logic controller, the output end of a first amplifier F1 is connected with the second port A2 of the logic controller, the non-inverting input end of the first amplifier F1 is connected with one end of a first resistor R1, the connecting node of the non-inverting input end of the first amplifier F1 and one end of a first resistor R1 is connected with the anode of a diode, the other end of the first resistor R1 is connected with one end of a current source, the other end of the current source is connected with a power supply end, and the output end of the second amplifier F2 is connected with the third port A3 of the logic controller. Specifically, the first port a1 of the logic controller is configured to output a logic indication level signal to control the charge pump to be turned on or off, the second port a2 of the logic controller is configured to receive the logic level signal output by the first amplifier F1 and output a corresponding logic indication level signal from the first port a1 of the logic controller according to a set logic, and the third port A3 of the logic controller is configured to receive the logic level signal output by the second amplifier F2 and output a corresponding logic indication level signal from the first port a1 of the logic controller according to the set logic. The quick charging chip provided by the embodiment can be used for detecting the plugging or unplugging state of the USB port in the quick charging power supply equipment, and the power supply efficiency of the power supply equipment is improved.
Fifth embodiment of the present invention provides a power supply device, and as shown in fig. 5, the power supply device includes an NMOS transistor, a USB port, a second resistor R2, a power supply, and the fast charging chip described in the fourth embodiment. The source and the gate of the NMOS transistor are coupled between the first second port B1 and the second port B2 of the charge pump in the fast charging chip, the connection node between the source of the NMOS transistor and the first second port B1 of the charge pump is connected to the power supply, the drain of the NMOS transistor is connected to the VBUS terminal of the USB port, and the non-inverting input terminal and the inverting input terminal of the second amplifier F2 are coupled to two ends of the second resistor R2. Specifically, in a default state, the charge pump and the NMOS tube are in a closed state, that is, the power supply device is in a non-power supply state, the VBUS terminal of the USB port is weakly powered by a power supply terminal VDD connected to a current source of the USB port inserted into the detection circuit, when the USB port is inserted into the device to be charged, the device to be charged pumps the power supply device, the insertion detection circuit becomes effective, the diode bias voltage is pulled low, so that the voltage of the non-inverting input terminal of the first amplifier F1 is lower than the reference voltage of the inverting input terminal, the output terminal of the first amplifier F1 outputs a logic low level signal to the logic controller, the logic controller outputs a logic indication signal to the charge pump according to the logic low level signal received by the second port a2, controls the charge pump to be turned on, further controls the NMOS tube to be turned on, and the power supply power to the device to be charged through the VBUS terminal of; when the device to be charged is pulled out of the USB port, the second amplifier F2 detects that no current passes through the second resistor R2, the output end of the second amplifier F2 outputs a low level to the logic controller, the logic controller outputs a logic indication signal to the charge pump according to a set logic according to a logic low level signal received by the third port A3, the charge pump is controlled to be turned off, the NMOS tube is controlled to be turned off, and the power supply source stops supplying power to the device to be charged; when the device to be charged is overloaded, the second amplifier F2 detects that the current passing through the second resistor R2 is too large, the output end of the second amplifier F2 outputs a logic low level to the third port A3 of the logic controller, the logic controller outputs a logic indication signal to the charge pump according to the set logic according to the logic low level signal received by the third port A3, the charge pump is controlled to be turned off, the NMOS transistor is controlled to stop being turned on, and the power supply stops supplying power to the device to be charged. The power supply equipment can be used for single-port quick charging equipment or multi-port quick charging equipment, can quickly detect the plug-in or plug-out state of a USB port, improves the power supply efficiency of the power supply equipment, achieves the purpose of quick charging, can quickly stop power supply when the equipment to be charged is overloaded, and protects the safety of the power supply equipment and the equipment to be charged.
Referring to fig. 6, the power supply circuit according to a sixth embodiment of the present invention includes an NMOS transistor, a charge pump, a logic controller, a first amplifier F1, a second amplifier F2, a first resistor R1, a second resistor R2, a diode, a current source, a USB interface, and a power supply; wherein the first two-port B1 and the second two-port B2 of the charge pump are coupled between the gate and the source of the NMOS transistor, the connection node of the first two-port B1 of the charge pump and the gate of the NMOS transistor is connected to the power supply, the third two-port B3 of the charge pump is connected to the first one-port a1 of the logic controller, the drain of the NMOS transistor is connected to the VBUS terminal of the USB port, the output terminal of the first amplifier F1 is connected to the second one-port a2 of the logic controller, the non-inverting input terminal of the first amplifier F1 is connected to one end of the first resistor R1, the other end of the first resistor R1 is connected to one end of the current source, the other end of the current source is connected to the power supply terminal VDD, the connection node of the non-inverting input terminal of the first amplifier F2 and one end of the first resistor R1 is connected to the anode of the diode, the cathode of the diode is connected to the VBUS terminal of the USB port, the third one-port a3, the second resistor R2 is coupled between the non-inverting input terminal of the second amplifier F2 and the inverting input terminal of the second amplifier F2, the connection node between the second resistor R2 and the inverting input terminal of the second amplifier F2 is connected to ground, and the connection node between the second resistor R2 and the non-inverting input terminal of the second amplifier F2 is connected to the ground port of the USB port.
Specifically, in a default state, the charge pump and the NMOS tube are in a closed state, that is, the power supply circuit is in a non-power supply state, the VBUS terminal of the USB port is weakly powered by the power supply terminal VDD connected to the current source inserted into the detection circuit, when the USB port is inserted into the device to be charged, the device to be charged pumps the power supply circuit, the insertion detection function of the circuit becomes effective, the diode bias voltage is pulled low, so that the voltage of the non-inverting input terminal of the first amplifier F1 is lower than the reference voltage of the inverting input terminal, the output terminal of the first amplifier F1 outputs a logic low level signal to the logic controller, the logic controller outputs a logic indication signal to the charge pump according to the logic low level signal received by the second port, controls the charge pump to be turned on, further controls the NMOS tube to be turned on, and the power supply power to the device to be charged through the VBUS terminal of; when the device to be charged is pulled out of the USB port, the second amplifier F2 detects that no current passes through the second resistor R2, the output end of the second amplifier F2 outputs a low level to the logic controller, the logic controller outputs a logic indication signal to the charge pump according to a set logic according to a logic low level signal received by the third port A3, the charge pump is controlled to be turned off, the NMOS tube is controlled to be turned off, and the power supply source stops supplying power to the device to be charged; when the device to be charged is overloaded, the second amplifier F2 detects that the current passing through the second resistor is too large, the output end of the second amplifier F2 outputs a logic low level to the third port A3 of the logic controller, the logic controller outputs a logic indication signal to the charge pump according to a set logic according to a logic low level signal received by the third port A3, the charge pump is controlled to be turned off, the NMOS transistor is controlled to stop being turned on, and the power supply source stops supplying power to the device to be charged. The power supply circuit can be used for single-port quick charging equipment or multi-port quick charging equipment, can quickly detect the plugging or unplugging state of the USB port and adjust the power supply state, and improves the working efficiency of the quick charging power supply equipment.
It is understood that, in the above embodiments, the logic controller may be a fixed logic controller or a programmable logic controller, and stores a preset logic instruction therein, and executes and outputs the preset logic instruction according to an input logic level signal.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents, which are to be considered as merely preferred embodiments of the invention, and not intended to be limiting of the invention, and that various changes and modifications may be effected therein by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A USB port insertion detection circuit, comprising a first amplifier (F1), a first resistor (R1), a diode, a current source, and a power supply terminal (VDD); one end of the current source is connected with one end of a first resistor (R1), the other end of the first resistor (R1) is connected with a non-inverting input end of a first amplifier (F1), a connecting point of the other end of the first resistor (R1) and the non-inverting input end of the first amplifier (F1) is connected with the anode of the diode, the inverting input end of the first amplifier (F1) is used for inputting a reference voltage (Vref), and the other end of the current source is connected with a power supply end (VDD).
2. A quick charging chip is characterized in that the quick charging chip comprises a logic controller, a power supply control switch circuit, a USB port pull-out detection circuit and the USB port insertion detection circuit of claim 1; the logic controller is provided with a first port (A1), a second port (A2) and a third port (A3), the power supply control switch circuit is connected with the first port (A1) of the logic controller, the output end of a first amplifier (F1) of the USB port insertion detection circuit is connected with the second port (A2) of the logic controller, and the USB port extraction detection circuit is connected with the third port (A3) of the logic controller.
3. The fast charging chip of claim 2, wherein the power supply control switch circuit comprises an NMOS transistor and a charge pump; the charge pump is provided with a first two-port (B1), a second two-port (B2) and a third two-port (B3), the first two-port (B1) of the charge pump is connected with the grid electrode of the NMOS pipe, the second two-port (B2) of the charge pump is connected with the source electrode of the NMOS pipe, and the third two-port (B3) of the charge pump is connected with the first one-port (A1) of the logic controller.
4. The fast charging chip of claim 3, wherein the USB port pull-out detection circuit comprises a second amplifier (F2) and a second resistor (R2); wherein the second resistor (R2) is coupled between the non-inverting input terminal of the second amplifier (F2) and the inverting input terminal of the second amplifier (F2), the connection node of the second resistor (R2) and the inverting input terminal of the second amplifier (F2) is connected to the ground, and the output terminal of the second amplifier (F2) is connected to the third port (A3) of the logic controller.
5. A power supply device, characterized in that the power supply device comprises a USB interface and a quick charging chip according to any one of claims 2-4; the VBUS end of the USB interface is connected with the drain electrode of an NMOS tube in the power supply control switch circuit, and a connecting node of the drain electrode of the NMOS tube and the VBUS end of the USB interface is connected with the cathode of a diode in the USB port insertion detection circuit; the VBUS end is a power supply end of the USB interface.
6. A fast charging chip, characterized in that, the fast charging chip comprises a charge pump, a logic controller, a second amplifier (F2) and the USB port insertion detection circuit of claim 1; wherein the logic controller is provided with a first one-port (A1), a second one-port (A2) and a third one-port (A3), the charge pump is provided with a first two-port (B1), a second two-port (B2) and a third two-port (B3), and the third two-port (B3) of the charge pump is connected with the first one-port (A1) of the logic controller; the output end of a first amplifier (F1) of the USB port insertion detection circuit is connected with a second port (A2) of the logic controller; the output of the second amplifier (F2) is connected to the third port (A3) of the logic controller.
7. The fast charging chip of claim 6, wherein the first and second ports (B1, B2) of the charge pump in the fast charging chip are coupled between the gate and the source of the NMOS transistor outside the fast charging chip.
8. The fast charging chip of claim 7, wherein a non-inverting input of a second amplifier (F2) and an inverting input of a second amplifier (F2) in the fast charging chip are coupled with a second resistor (R2) external to the fast charging chip; wherein, the connecting node of the inverting input terminal of the second amplifier (F2) and the second resistor (R2) is connected with the ground.
9. A power supply device, characterized in that the power supply device comprises a USB interface and a fast charging chip according to any one of claims 6 to 8; the VBUS end of the USB interface is connected with the drain electrode of an NMOS tube in the power supply control switch circuit, and a connecting node of the drain electrode of the NMOS tube and the VBUS end of the USB interface is connected with the cathode of a diode in the USB port insertion detection circuit.
10. A power supply circuit is characterized by comprising an NMOS tube, a charge pump, a logic controller, a first amplifier (F1), a second amplifier (F2), a first resistor (R1), a second resistor (R2), a diode, a current source, a power supply end (VDD), a USB interface and a power supply source; wherein, the logic controller has a first port (A1), a second port (A2) and a third port (A3), the charge pump has a first second port (B1), a second port (B2) and a third second port (B3), the first second port (B1) and the second port (B2) of the charge pump are coupled between the grid and the source of the NMOS tube, the connection node of the first second port (B1) and the grid of the NMOS tube of the charge pump is connected with the power supply, the third second port (B3) of the charge pump is connected with the first port (A1) of the logic controller, the drain of the NMOS tube is connected with the VBUS end of the USB port, the output end of the first amplifier (F1) is connected with the second port (A2) of the logic controller, the non-inverting input end of the first amplifier (F1) is connected with one end of the first resistor (R1), the other end of the first amplifier (F1) is connected with one end of the current source, the other end of the current source is connected with a power supply terminal (VDD), a non-inverting input end of a first amplifier (F1) is connected with a connecting node at one end of a first resistor (R1) and an anode of a diode, a cathode of the diode is connected with a VBUS end of a USB port, a third port (A3) of the logic controller is connected with an output end of a second amplifier (F2), a second resistor (R2) is coupled between the non-inverting input end of the second amplifier (F2) and an inverting input end of the second amplifier (F2), a connecting node of the second resistor (R2) and the inverting input end of the second amplifier (F2) is connected with a ground wire, and a connecting node of the second resistor (R2) and the non-inverting input end of the second amplifier (F2) is connected with a ground port of the USB port.
CN202010951087.6A 2020-09-11 2020-09-11 USB port insertion detection circuit, quick charging chip, power supply circuit and equipment Pending CN112134324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010951087.6A CN112134324A (en) 2020-09-11 2020-09-11 USB port insertion detection circuit, quick charging chip, power supply circuit and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010951087.6A CN112134324A (en) 2020-09-11 2020-09-11 USB port insertion detection circuit, quick charging chip, power supply circuit and equipment

Publications (1)

Publication Number Publication Date
CN112134324A true CN112134324A (en) 2020-12-25

Family

ID=73845528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010951087.6A Pending CN112134324A (en) 2020-09-11 2020-09-11 USB port insertion detection circuit, quick charging chip, power supply circuit and equipment

Country Status (1)

Country Link
CN (1) CN112134324A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107946A (en) * 2023-04-14 2023-05-12 苏州水芯电子科技有限公司 USB device insertion detection circuit and USB chip
CN116148586A (en) * 2023-04-21 2023-05-23 苏州水芯电子科技有限公司 USB equipment pull-out detection circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107946A (en) * 2023-04-14 2023-05-12 苏州水芯电子科技有限公司 USB device insertion detection circuit and USB chip
CN116148586A (en) * 2023-04-21 2023-05-23 苏州水芯电子科技有限公司 USB equipment pull-out detection circuit

Similar Documents

Publication Publication Date Title
US9201832B2 (en) Electronic device with USB interface and method for starting USB communication therefor
CN103490389B (en) Battery protecting circuit and system
US20170358891A1 (en) Usb signal switching circuit, usb data line, usb signal switching method and storage medium
CN104239240A (en) Electronic device with universal serial bus (USB) interface with integration function
US20070278999A1 (en) USB mini B power supply system for quickly charging USB mini B devices
CN112134324A (en) USB port insertion detection circuit, quick charging chip, power supply circuit and equipment
CN104253459A (en) USB device with power supply mode switching function
US9977475B2 (en) Over voltage protection for a communication line of a bus
CN107643998B (en) System for realizing OTG and charging dual functions based on intelligent module
CN109066888B (en) Charging control circuit with temperature protection function and electronic product
CN108336810B (en) Control circuit compatible with battery and external power supply for power supply
CN101316044B (en) Charging device capable of providing backward current and inrush current protection
CN203759164U (en) Circuit for detecting access state of USB load equipment
US9948094B1 (en) Power level switching circuit for a dual port adapter
CN104184116A (en) Protection circuit and electronic device provided with protection circuit
CN203368616U (en) Automatic power supply system based on HDMI interfaces
CN103457302A (en) Charge circuit and electronic device with same
CN102403741A (en) Battery leakage protection circuit
CN106021161A (en) Anti-corrosion circuit for Type-C interface, Type-C interface and Type-C data line
CN106253455B (en) A kind of power supply circuit
CN213093913U (en) USB port insertion detection circuit, quick charging chip, power supply circuit and equipment
CN209930507U (en) A double-circuit plug detection circuitry for TWS bluetooth headset storehouse of charging
CN107733413B (en) Intelligent switch circuit and intelligent terminal of pre-installation battery system
CN112086830B (en) Data line circuit communicating with iOS device
CN204462295U (en) Auxiliary circuit is detected from equipment and insertion thereof

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
CB02 Change of applicant information

Address after: 519000 2706, No. 3000, Huandao East Road, Hengqin new area, Zhuhai, Guangdong

Applicant after: Zhuhai Yiwei Semiconductor Co.,Ltd.

Address before: Room 105-514, No.6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant before: AMICRO SEMICONDUCTOR Co.,Ltd.

CB02 Change of applicant information