CN113820537A - Detection circuit for detecting output power of USB power supply - Google Patents

Detection circuit for detecting output power of USB power supply Download PDF

Info

Publication number
CN113820537A
CN113820537A CN202111025844.8A CN202111025844A CN113820537A CN 113820537 A CN113820537 A CN 113820537A CN 202111025844 A CN202111025844 A CN 202111025844A CN 113820537 A CN113820537 A CN 113820537A
Authority
CN
China
Prior art keywords
voltage signal
resistor
reference voltage
port
usb
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
CN202111025844.8A
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.)
Shenzhen Fenda Technology Co Ltd
Original Assignee
Shenzhen Fenda 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 Shenzhen Fenda Technology Co Ltd filed Critical Shenzhen Fenda Technology Co Ltd
Priority to CN202111025844.8A priority Critical patent/CN113820537A/en
Publication of CN113820537A publication Critical patent/CN113820537A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • 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/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/068Electronic means for switching from one power supply to another power supply, e.g. to avoid parallel connection

Abstract

The invention discloses a detection circuit for detecting the output power of a USB power supply, which comprises a USB-C interface module, a filter circuit, a dual-channel operational amplifier and an output control circuit, wherein the filter circuit is connected with the USB interface module; the input end of the USB-C interface module is electrically connected with a charger of the USB-C interface or is electrically connected with a charger of the USB-A interface through an interface conversion head; the USB-C interface module is also electrically connected with the output control circuit through a dual-channel operational amplifier; and the dual-channel operational amplifier is used for comparing the first real-time voltage signal input by the charger with a set reference voltage signal respectively and further controlling the power output power of the output control circuit according to a comparison result. The invention can provide different output power for the post-stage circuit according to different chargers, realizes the adjustability of the output power of the power supply and improves the operability of products.

Description

Detection circuit for detecting output power of USB power supply
Technical Field
The present invention relates to power output detection, and more particularly, to a detection circuit for detecting output power of a USB power source.
Background
At present, with the popularization of the USB Type-C technology, in order to be compatible with the new and old technologies, a PD protocol IC is generally configured at a product end to implement management of power input and output by matching with a corresponding software program. However, for medium and low-end products, the cost is too high, the development period is prolonged, and the development of the products is not facilitated. Meanwhile, if the PD protocol IC is not configured, for a user, the charger of the corresponding interface needs to be selected according to actual requirements when the user selects the charger, and then for the currently used charger, the default power input is 5V, and since the charging current capability of the current charger cannot be judged, the product of the load cannot be flexibly adjusted, and the operability of the product itself is reduced.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a detection circuit for output power of a USB power supply, which can solve the problem that the existing detection for the output capability of an external adapter cannot lead to the incapability of adapting a loaded product.
The purpose of the invention is realized by adopting the following technical scheme:
a detection circuit for detecting output power of a USB power supply comprises a USB-C interface module, a filter circuit, a dual-channel operational amplifier and an output control circuit; the input end of the USB-C interface module is electrically connected with a first charger or electrically connected with a second charger through an interface conversion head; the first output end of the USB-C interface module is electrically connected with the first positive phase input end of the dual-channel operational amplifier and is used for providing a first real-time voltage signal for the dual-channel operational amplifier; a second output end of the USB-C interface module is electrically connected with a second negative phase input end of the dual-channel operational amplifier through a filter circuit and is used for providing a second real-time voltage signal for the dual-channel operational amplifier;
the first negative phase input end, the second positive phase input end and the third input end of the dual-channel operational amplifier are respectively used for inputting a first reference voltage signal, a second reference voltage signal and a third reference voltage signal;
the dual-channel operational amplifier is used for controlling the power supply output power of the output control circuit according to a first comparison result of the first real-time voltage signal and the first reference voltage signal and a second comparison result of the second real-time voltage signal and the second reference voltage signal; the charging interface of the first charger is a USB-C interface; and the charging interface of the second charger is a USB-A interface.
Further, the dual channel operational amplifier includes a first comparator; the positive phase input end of the first comparator is connected with a first real-time voltage signal, and the negative phase input end of the first comparator is connected with a first reference voltage signal, and the first real-time voltage signal is compared with the first reference voltage signal; when the first real-time voltage signal is greater than the first reference voltage signal, a first comparison result output by the first comparator is a voltage value of a third reference voltage signal, and a charging interface of a currently accessed charger is a USB-C interface; when the first real-time voltage signal is smaller than the first reference voltage signal, the first comparison result output by the first comparator is 0V, and the charging interface of the currently accessed charger is a USB-A interface.
Further, the dual channel operational amplifier further comprises a second comparator; the negative phase input end of the second comparator is connected with a second real-time voltage signal, and the positive phase input end of the second comparator is connected with a second reference voltage signal and used for comparing the second real-time voltage signal with the second reference voltage signal; when the second real-time voltage signal is greater than the second reference voltage signal, a second comparison result output by the second comparator is 0V, and the current output capacity of the current charger is greater than a second preset value; when the second real-time voltage signal is smaller than the second reference voltage signal, a second comparison result output by the second comparator is a voltage value of a third reference voltage signal, and the current output capacity of the currently accessed charger is smaller than a first preset value; wherein the first preset value is smaller than the second preset value.
Further, if the charging interface of the currently accessed charger is a USB-A interface, the output control circuit outputs a high level;
if the charging interface of the currently accessed charger is a USB-C interface: when the second comparison result is 0V, the output control circuit outputs a low level; and when the second comparison result is the voltage value of the third reference voltage signal, the output control circuit outputs a high level.
Further, the first preset value is 1A, and the second preset value is 1.5A; the first reference voltage signal is less than the second reference voltage signal, and the second reference voltage signal is less than the third reference voltage signal.
Further, the first reference voltage signal is 0.2V, the second reference voltage signal is 0.67V, and the third reference voltage signal is 3.9V.
Further, the dual-channel operational amplifier comprises a chip IC1, a chip U4, a capacitor C35, a capacitor C36, a capacitor C37, a capacitor C38, a resistor R35, a resistor R39, a resistor R40, a resistor R41, a resistor R42, a resistor R47, a resistor R48, a resistor R51 and a resistor R52;
port 1 of the chip IC1 outputs a first comparison result, port 7 outputs a second result, port 2 is connected to a first reference voltage signal, port 5 is connected to a second reference voltage signal, port 8 is connected to a third reference voltage signal, port 3 is connected to a first real-time voltage signal through a resistor R55, port 6 is connected to a second real-time voltage signal, and port 4 is grounded;
port 8 of chip IC1 is also electrically connected to port 3 of chip U4; the port 2 of the chip U4 is grounded, the port 1 is grounded through a resistor R52, the port 1 is also electrically connected with the port 3 of the chip U4 through a resistor R51, and the port 3 is connected with a 5V power supply through a resistor R41;
the port 3 of the chip U4 is also grounded through a capacitor C35, and the port 3 is grounded through a resistor R39, a resistor R47 and a resistor R40 in sequence; one end of the capacitor C36 is grounded, and the other end of the capacitor C36 is electrically connected with the port 3 of the chip U4; one end of the resistor R35 is connected between the resistor R39 and the port 3 of the chip U4, and the other end is grounded through the resistor R48 and the resistor R42 in sequence; one ends of the capacitor C37 and the capacitor C38 are grounded, and the other ends of the capacitor C37 and the capacitor C38 are connected between the resistor R39 and the resistor R47; a second reference voltage signal is connected between the resistor R35 and the resistor R48; the capacitor C38 receives the third reference voltage signal.
Further, the filter circuit is an RC low-pass filter circuit; the RC low-pass filter circuit comprises a resistor R16 and a capacitor C53; one end of the resistor R16 is electrically connected with the port 3 of the chip IC1 through the resistor R55, and the other end is electrically connected with the port 6 of the chip IC 1; one end of the capacitor C53 is grounded, and the other end is connected between the resistor R16 and the port 6 of the chip IC 1; the first real-time voltage signal input from the port 3 of the chip IC1 is filtered by the resistor R16 and the capacitor C53 to form a second real-time voltage signal and input to the port 6 of the chip IC 1.
Further, the output control circuit comprises a resistor R30, a resistor R33, a resistor R14, a triode Q5 and a triode Q6;
one end of the resistor R33 is electrically connected with the port 1 of the chip IC1, and the other end is electrically connected with the base electrode of the triode Q6; the emitter of the triode Q6 is grounded, and the collector of the triode Q6 is electrically connected with the base of the triode Q5 through the resistor R27; one end of the resistor R14 is grounded, and the other end is connected between the resistor R33 and the base electrode of the triode Q6; the emitter of the triode Q5 is electrically connected with the port 7 of the chip IC1, and the collector of the triode Q5 is electrically connected with the rear-stage circuit of the equipment; one end of the resistor R30 is electrically connected with the emitter of the triode Q5, and the other end is connected between the resistor R27 and the base of the triode Q5.
The power supply further comprises a controllable precision power supply, wherein the controllable precision power supply is electrically connected with the dual-channel operational amplifier and is used for providing a first reference voltage signal, a second reference voltage signal and a third reference voltage signal for the dual-channel operational amplifier.
Compared with the prior art, the invention has the beneficial effects that:
the invention realizes two power supply modes of the USB charger by matching the interface conversion head with the USB-C interface module, and simultaneously adjusts the power supply power output to the post-stage circuit according to the current output capability of the charger when the charging interface of the charger is the USB-C interface so as to improve the operability of the product.
Drawings
FIG. 1 is a block diagram of a detection circuit for output power of a USB power source according to the present invention;
FIG. 2 is a circuit schematic of the filter and operational amplifier of FIG. 1;
fig. 3 is a circuit diagram of the output control circuit in fig. 1.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Based on the existing problems, the present invention provides a preferred embodiment, which is a detection circuit for output power of a USB power source, as shown in fig. 1, and includes an interface adapter, a USB-C interface module, a filter circuit, an operational amplifier, and an output control circuit.
The interface conversion head is used for realizing the conversion between the USB-A interface and the USB-C interface.
The input end of the USB-C interface module is electrically connected with the first charger or electrically connected with the second charger through the interface conversion head.
Because the charger of the USB-A interface can not be directly electrically connected with the USB-C interface module. Therefore, when the interface of the charger is the USB-A interface, the interface is electrically connected with the USB-C interface module through the interface conversion head. When the charging interface is a USB-C interface, the charging interface is directly electrically connected with the USB-C interface module. That is, the first charger is a charger of a USB-C interface, and the second charger is a charger of a USB-A interface.
More specifically, in the actual usage process, the USB-C interface module is generally implemented by using a USB-C SINK socket. The USB-C SINK female socket provides a USB-C interface so as to realize connection with a first charger or connection with a second charger through an interface conversion head.
Because the current output capacities of the chargers with different interfaces are different, when the power output power of the rear-stage circuit is adjusted, the type of the interface of the currently connected charger and the current output capacity of the charger need to be judged. Therefore, the present embodiment realizes the above determination by providing an operational amplifier.
Preferably, the operational amplifier of the present embodiment is a dual-channel operational amplifier.
Further, a first positive phase input end of the dual-channel operational amplifier is electrically connected with a first output end of the USB-C interface module and is used for acquiring a first real-time voltage signal.
And the second negative phase input end of the dual-channel operational amplifier is electrically connected with the second input end of the USB-C interface module through the filter circuit and is used for acquiring a second real-time voltage signal.
A first reference voltage signal is input to a first negative phase input end, a second reference voltage signal is input to a second positive phase input end, and a third reference voltage signal is input to a third input end of the dual-channel operational amplifier.
Specifically, the dual-channel operational amplifier is used for comparing the first real-time voltage signal with the first reference voltage signal to obtain a first comparison result so as to judge the interface type of the currently accessed charger.
And the dual-channel operational amplifier is used for comparing the second real-time voltage signal with the second reference voltage signal to obtain a second comparison result so as to judge the current output capacity of the currently accessed charger.
More specifically, the dual channel operational amplifier includes a first comparator a and a second comparator B. The first positive phase input end of the first comparator A is electrically connected with the first input end of the USB-C interface module, and the first real-time voltage signal is input to the first negative phase input end and is used for comparing the first real-time voltage signal with the first reference voltage to obtain a first comparison result.
The second negative phase input end of the second comparator B is electrically connected with the second input end of the USB-C interface module through the filter circuit, and the second positive phase input end inputs the second real-time voltage signal, which is used for comparing the second real-time voltage signal with the second reference voltage signal to obtain a second comparison result.
Namely, the first comparator a is used for judging the interface type of the currently accessed charger; and the second comparator B is used for judging the current output capability of the currently accessed charger.
The input end of the output control circuit is electrically connected with the first output end and the second output end of the dual-channel operational amplifier and used for controlling the power of the power supply provided for the load according to the first comparison result and the second comparison result. Wherein, load such as power amplifier module, motor module etc. accessible are to the detection of the output capacity of external adapter to can realize adjusting the adaptability of load, improve the maneuverability of product. For example, according to the output capacity of the adapter, the power of the sound box and the fan can be adjusted.
More specifically, when the first real-time voltage signal is greater than the first reference voltage signal, the first comparison result output by the first comparator is the voltage value of the third reference voltage signal, and the interface type of the currently connected charger is a USB-C interface.
On the contrary, when the first real-time voltage signal is smaller than the first reference voltage signal, the first comparison result output by the first comparator is 0V, and the charging interface of the currently accessed charger is a USB-a interface.
Because the voltage signals provided by the charger of the USB-A interface and the charger of the USB-C interface are different, the chargers of different interfaces can be distinguished by setting corresponding reference voltages.
Further, the first reference voltage is 0.2V, and the third reference voltage is 3.9V.
More specifically, when the voltage value of the second real-time voltage signal is greater than the second reference voltage signal, the second comparison result output by the second comparator is 0V, and the current output capability of the currently connected charger is greater than the second preset value.
On the contrary, when the voltage value of the second real-time voltage signal is smaller than the voltage value of the second reference voltage signal, the second comparison result output by the second comparator is the voltage value of the third reference voltage signal, and the current output capability of the currently connected charger is smaller than the first preset value.
Specifically, the first preset value is 1A, and the second preset value is 1.5A. The voltage value of the second reference voltage signal is 0.67V.
As can be seen from the foregoing, when the interface of the currently connected charger is the USB-a interface, the voltage value of the first real-time voltage signal is less than 0.2V.
The second real-time voltage signal is a voltage signal filtered by the filter circuit, so that the voltage value of the second real-time voltage signal is inevitably smaller than the voltage value of the second reference voltage signal by 0.67V, the second comparison result output by the second comparator is inevitably the voltage value of the third reference voltage signal, and the current output magnitude of the currently connected charger is inevitably smaller than the first preset value 1A.
On the contrary, when the interface of the currently accessed charger is the USB-C interface, the voltage value of the first real-time voltage signal is greater than the voltage value of the first reference voltage signal by 0.2V. Since the voltage values of the second real-time voltage signal and the second reference voltage signal are not clear, the voltage value of the second real-time voltage signal and the voltage value of the second reference voltage signal are 0.67V, and therefore, the second comparator B is required to perform judgment so as to obtain the current output capability of the currently connected charger.
That is, when the first comparison result output by the first comparator a is 0V, the power supply power supplied to the subsequent stage circuit by the output control circuit is not affected by the output result of the second comparator B.
More preferably, the present embodiment further comprises a controllable precision voltage source. The controllable precision voltage source is used for providing the three reference voltages. Specifically, the controllable precision voltage source is model number TL 431A.
In addition, the second real-time voltage signal is obtained after the first real-time voltage signal is filtered. Since the voltage value of the first reference voltage signal is 0.2V, that is, the threshold voltage of the first comparator a is 0.2V, and the voltage value is small, the first real-time voltage signal can be input to the first comparator a without filtering. Since the voltage value of the second reference voltage signal is 0.67V, that is, the threshold voltage of the second comparator B is 0.67V, the first real-time voltage signal is filtered by adding the filter circuit and then input to the second comparator B, so as to ensure the stability of the signal.
Preferably, the filter circuit is a low-pass filter circuit.
As shown in fig. 2, the dual-channel operational amplifier includes a chip IC1, a chip U4, a capacitor C35, a capacitor C36, a capacitor C37, a capacitor C38, a resistor R35, a resistor R39, a resistor R40, a resistor R41, a resistor R42, a resistor R47, a resistor R48, a resistor R51, and a resistor R52.
The port 1 of the chip IC1 outputs a first comparison result, the port 7 outputs a second comparison result, the port 2 is connected to a first reference voltage signal, the port 5 is connected to a second reference voltage signal, the port 8 is connected to a third reference voltage signal, the port 3 is connected to a first real-time voltage signal through a resistor R55, the port 6 is connected to a second real-time voltage signal, and the port 4 is grounded.
Port 8 of chip IC1 is also electrically connected to port 3 of chip U4.
The port 2 of the chip U4 is grounded, the port 1 is grounded through a resistor R52, the port 1 is electrically connected with the port 3 of the chip U4 through a resistor R51, and the port 3 is connected with a 5V power supply through a resistor R41.
The port 3 of the chip U4 is also grounded through a capacitor C35, and the port 3 is grounded through a resistor R39, a resistor R47, and a resistor R40 in this order. One end of the capacitor C36 is grounded, and the other end is electrically connected to port 3 of the chip U4.
One end of the resistor R35 is connected between the resistor R39 and the port 3 of the chip U4, and the other end is grounded through the resistor R48 and the resistor R42 in sequence.
One ends of the capacitor C37 and the capacitor C38 are grounded, and the other ends of the capacitor C37 and the capacitor C38 are connected between the resistor R39 and the resistor R47.
A second reference voltage signal is connected between the resistor R35 and the resistor R48; the capacitor C38 receives the third reference voltage signal.
More specifically, the low-pass filter circuit is an RC low-pass filter circuit, and includes a resistor R16 and a capacitor C53; one end of the resistor R16 is electrically connected to the port 3 of the chip IC1 through the resistor R55, and the other end is electrically connected to the port 6 of the chip IC 1.
One end of the capacitor C53 is grounded, and the other end is connected between the resistor R16 and the port 6 of the chip IC 1.
The first real-time voltage signal input from the port 3 of the chip IC1 is filtered by the resistor R16 and the capacitor C53 to form a second real-time voltage signal and input to the port 6 of the chip IC 1.
Preferably, the output control circuit includes an and circuit for outputting a logic high level/low level to drive the subsequent stage circuit. Specifically, as shown in fig. 3, the output control circuit includes a resistor R30, a resistor R33, a resistor R14, a transistor Q5, and a transistor Q6.
One end of the resistor R33 is electrically connected to the port 1 of the chip IC1, and the other end is electrically connected to the base of the transistor Q6.
The emitter of the triode Q6 is grounded, and the collector of the triode Q6 is electrically connected with the base of the triode Q5 through the resistor R27; one end of the resistor R14 is grounded, and the other end is connected between the resistor R33 and the base of the triode Q6.
The emitter of the transistor Q5 is electrically connected to the port 7 of the chip IC1, and the collector is electrically connected to the post-stage circuit of the device.
One end of the resistor R30 is electrically connected with the emitter of the triode Q5, and the other end is connected between the resistor R27 and the base of the triode Q5.
That is, the on and off of the transistor Q5 and the transistor Q6 are controlled by the first comparison result output from the port 1 and the second comparison result output from the port 7 of the chip IC1, so as to control whether the output control circuit outputs a high level or a low level.
It can also be seen from fig. 3:
if the first comparison result output by the first comparator a is 3.9V, the transistor Q6 and the transistor Q5 are turned on:
when the second comparison result output by the second comparator B is 0V, the output control circuit outputs a low level (0V);
when the second comparison result output from the second comparator B is 3.9V, the output control circuit outputs a high level (3.9V).
If the first comparison result of the first comparator a is 0V, the transistor Q6 is turned off, and the output control circuit inevitably outputs a high level (3.9V).
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (10)

1. A detection circuit for detecting the output power of a USB power supply is characterized by comprising a USB-C interface module, a filter circuit, a dual-channel operational amplifier and an output control circuit; the input end of the USB-C interface module is electrically connected with a first charger or electrically connected with a second charger through an interface conversion head; the first output end of the USB-C interface module is electrically connected with the first positive phase input end of the dual-channel operational amplifier and is used for providing a first real-time voltage signal for the dual-channel operational amplifier; a second output end of the USB-C interface module is electrically connected with a second negative phase input end of the dual-channel operational amplifier through a filter circuit and is used for providing a second real-time voltage signal for the dual-channel operational amplifier;
the first negative phase input end, the second positive phase input end and the third input end of the dual-channel operational amplifier are respectively used for inputting a first reference voltage signal, a second reference voltage signal and a third reference voltage signal;
the dual-channel operational amplifier is used for controlling the power supply output power of the output control circuit according to a first comparison result of the first real-time voltage signal and the first reference voltage signal and a second comparison result of the second real-time voltage signal and the second reference voltage signal; the charging interface of the first charger is a USB-C interface; and the charging interface of the second charger is a USB-A interface.
2. The detection circuit for detecting USB power source output power of claim 1, wherein the dual channel operational amplifier includes a first comparator; the positive phase input end of the first comparator is connected with a first real-time voltage signal, and the negative phase input end of the first comparator is connected with a first reference voltage signal, and the first real-time voltage signal is compared with the first reference voltage signal; when the first real-time voltage signal is greater than the first reference voltage signal, a first comparison result output by the first comparator is a voltage value of a third reference voltage signal, and a charging interface of a currently accessed charger is a USB-C interface; when the first real-time voltage signal is smaller than the first reference voltage signal, the first comparison result output by the first comparator is 0V, and the charging interface of the currently accessed charger is a USB-A interface.
3. The detection circuit for detecting USB power source output power of claim 2, wherein the dual channel operational amplifier further comprises a second comparator; the negative phase input end of the second comparator is connected with a second real-time voltage signal, and the positive phase input end of the second comparator is connected with a second reference voltage signal and used for comparing the second real-time voltage signal with the second reference voltage signal; when the second real-time voltage signal is greater than the second reference voltage signal, a second comparison result output by the second comparator is 0V, and the current output capacity of the current charger is greater than a second preset value; when the second real-time voltage signal is smaller than the second reference voltage signal, a second comparison result output by the second comparator is a voltage value of a third reference voltage signal, and the current output capacity of the currently accessed charger is smaller than a first preset value; wherein the first preset value is smaller than the second preset value.
4. The detection circuit for detecting the output power of the USB power supply according to claim 3, wherein if the charging interface of the currently accessed charger is a USB-A interface, the output control circuit outputs a high level;
if the charging interface of the currently accessed charger is a USB-C interface: when the second comparison result is 0V, the output control circuit outputs a low level; and when the second comparison result is the voltage value of the third reference voltage signal, the output control circuit outputs a high level.
5. The detection circuit for detecting the output power of the USB power supply according to claim 3, wherein the first preset value is 1A, and the second preset value is 1.5A; the first reference voltage signal is less than the second reference voltage signal, and the second reference voltage signal is less than the third reference voltage signal.
6. The detection circuit of claim 5, wherein the first reference voltage signal is 0.2V, the second reference voltage signal is 0.67V, and the third reference voltage signal is 3.9V.
7. The detection circuit for detecting the output power of the USB power supply as claimed in claim 1, wherein the dual-channel operational amplifier comprises a chip IC1, a chip U4, a capacitor C35, a capacitor C36, a capacitor C37, a capacitor C38, a resistor R35, a resistor R39, a resistor R40, a resistor R41, a resistor R42, a resistor R47, a resistor R48, a resistor R51 and a resistor R52;
port 1 of the chip IC1 outputs a first comparison result, port 7 outputs a second result, port 2 is connected to a first reference voltage signal, port 5 is connected to a second reference voltage signal, port 8 is connected to a third reference voltage signal, port 3 is connected to a first real-time voltage signal through a resistor R55, port 6 is connected to a second real-time voltage signal, and port 4 is grounded;
port 8 of chip IC1 is also electrically connected to port 3 of chip U4; the port 2 of the chip U4 is grounded, the port 1 is grounded through a resistor R52, the port 1 is also electrically connected with the port 3 of the chip U4 through a resistor R51, and the port 3 is connected with a 5V power supply through a resistor R41;
the port 3 of the chip U4 is also grounded through a capacitor C35, and the port 3 is grounded through a resistor R39, a resistor R47 and a resistor R40 in sequence; one end of the capacitor C36 is grounded, and the other end of the capacitor C36 is electrically connected with the port 3 of the chip U4; one end of the resistor R35 is connected between the resistor R39 and the port 3 of the chip U4, and the other end is grounded through the resistor R48 and the resistor R42 in sequence; one ends of the capacitor C37 and the capacitor C38 are grounded, and the other ends of the capacitor C37 and the capacitor C38 are connected between the resistor R39 and the resistor R47; a second reference voltage signal is connected between the resistor R35 and the resistor R48; the capacitor C38 receives the third reference voltage signal.
8. The detection circuit for detecting the output power of a USB power source according to claim 7, wherein the filter circuit is an RC low pass filter circuit; the RC low-pass filter circuit comprises a resistor R16 and a capacitor C53; one end of the resistor R16 is electrically connected with the port 3 of the chip IC1 through the resistor R55, and the other end is electrically connected with the port 6 of the chip IC 1; one end of the capacitor C53 is grounded, and the other end is connected between the resistor R16 and the port 6 of the chip IC 1; the first real-time voltage signal input from the port 3 of the chip IC1 is filtered by the resistor R16 and the capacitor C53 to form a second real-time voltage signal and input to the port 6 of the chip IC 1.
9. The detection circuit for detecting the output power of the USB power supply as claimed in claim 7, wherein the output control circuit comprises a resistor R30, a resistor R33, a resistor R14, a transistor Q5 and a transistor Q6;
one end of the resistor R33 is electrically connected with the port 1 of the chip IC1, and the other end is electrically connected with the base electrode of the triode Q6; the emitter of the triode Q6 is grounded, and the collector of the triode Q6 is electrically connected with the base of the triode Q5 through the resistor R27; one end of the resistor R14 is grounded, and the other end is connected between the resistor R33 and the base electrode of the triode Q6; the emitter of the triode Q5 is electrically connected with the port 7 of the chip IC1, and the collector of the triode Q5 is electrically connected with the rear-stage circuit of the equipment; one end of the resistor R30 is electrically connected with the emitter of the triode Q5, and the other end is connected between the resistor R27 and the base of the triode Q5.
10. The detection circuit of claim 1, further comprising a controllable precision power supply electrically connected to the dual channel operational amplifier for providing the first reference voltage signal, the second reference voltage signal, and the third reference voltage signal to the dual channel operational amplifier.
CN202111025844.8A 2021-09-02 2021-09-02 Detection circuit for detecting output power of USB power supply Pending CN113820537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111025844.8A CN113820537A (en) 2021-09-02 2021-09-02 Detection circuit for detecting output power of USB power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111025844.8A CN113820537A (en) 2021-09-02 2021-09-02 Detection circuit for detecting output power of USB power supply

Publications (1)

Publication Number Publication Date
CN113820537A true CN113820537A (en) 2021-12-21

Family

ID=78923671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111025844.8A Pending CN113820537A (en) 2021-09-02 2021-09-02 Detection circuit for detecting output power of USB power supply

Country Status (1)

Country Link
CN (1) CN113820537A (en)

Cited By (1)

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

Cited By (1)

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

Similar Documents

Publication Publication Date Title
US9866229B2 (en) Power adapter and control method thereof
EP3086433A1 (en) Charging method, alternating current adaptor, charging management device and terminal
US11041889B2 (en) Method for estimating load current of power supply, and USB-type converter
CN105576766A (en) Automatic load detection circuit and mobile power supply applying the circuit
CN103607037A (en) Switching apparatus of UPS power supply
CN210327077U (en) Fast charging circuit and device
US9166478B2 (en) Power supply device, method for managing power supply thereof and wireless communication terminal
US11545846B2 (en) Power supplying system and method
CN113820537A (en) Detection circuit for detecting output power of USB power supply
EP4027160B1 (en) Universal plug status detection circuit
CN216411401U (en) Detection circuit for detecting output power of USB power supply
CN109217407B (en) Electronic device
CN105098890A (en) Charging data line and charger
CN207053394U (en) A kind of overvoltage regulating circuit and pfc circuit
CN109753100A (en) A kind of current limliting output dynamic regulating circuit
CN201282521Y (en) Silent circuit for opening/closing computer and television set with the same
CN203658444U (en) Voltage detection circuit and Bluetooth device
CN203734340U (en) Compatible type mobile power supply
CN215009656U (en) Circuit for detecting power receiving equipment connected to power supply equipment
TWI402668B (en) An electronic device and method for assigning power to usb ports dynamically
CN113525143A (en) CC signal processing system
CN207732636U (en) For electric installation
CN101826069A (en) Communication circuit and method of singlechip
CN2938652Y (en) Detection circuit for port signal
CN105703731A (en) Automatic gain control circuit used for D-class audio power amplifier chip

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