USB interface power supply protection circuit
By using the AND gate U1 and the switching power supply module U2 in the USB interface power protection circuit, and using the enable control signal and the stability of the input power supply VCC to enable the switching power supply module, the problem of surge current caused by hot plugging and unplugging is solved, and the USB device protection and power supply stability, simplifying the circuit structure and reducing costs.
Patent Information
- Application Number
- CN202323196654.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2033-11-22
AI Technical Summary
USB interfaces are prone to overcurrent and surge current during power-on plugging and unplugging, which can cause damage to the device and make it difficult to effectively protect it with existing technology.
Design a USB interface power supply protection circuit. It uses AND gate U1 and switching power supply module U2 to enable the switching power supply module by enabling the control signal and the stability of the input power supply VCC to achieve delayed and stable output of the power supply and reduce initial power-on. influence of surge current.
The circuit structure is simplified, the cost is reduced, damage to USB devices during hot plugging is effectively avoided, and the stability of the power supply and overcurrent protection are ensured.
Smart Images

Figure CN221633629U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic circuits, in particular to a USB interface power protection circuit. Background Art
[0002] During the control and use of the USB interface, it is often encountered that the USB interface is plugged and unplugged while powered. In this case, the USB interface power supply may have overcurrent problems. At the same time, surge current may also occur during the plugging and unplugging process. These problems may cause damage to the USB interface.
[0003] CN201711463810.0 discloses an overcurrent protection device and method for USB devices, which controls a variable load circuit through the MCU of a current detection module to gradually increase its load, and a power supply voltage detection circuit detects the power supply voltage of a USB power supply. When the power supply voltage is less than a voltage threshold, the power supply voltage detection circuit sends a signal to the MCU to notify it that the USB power supply is about to be current-limited; after receiving the signal, the MCU obtains the maximum output current of the USB power supply, and controls the power consumption of the rear-stage module of the USB slave device according to the maximum output current, so as to avoid the power consumption of the rear-stage module exceeding the current limit value of the USB power supply. Although this scheme can provide overcurrent protection for the USB interface, it also requires the setting of a current / voltage sampling circuit, etc., and the overall implementation is relatively complicated.
[0004] CN202110099906.3 discloses a fault protection circuit for a USB cable and its USB cable, the fault protection circuit comprising: an overcurrent fault detection module, wherein the first voltage comparison unit is used to output an overcurrent fault signal when the level of the detection node is higher than the first reference voltage; the second voltage comparison unit is used to output the overcurrent fault signal when the level of the detection node is lower than the second reference voltage; the reference voltage and the preset overcurrent detection threshold are added to form the first reference voltage, and the reference voltage and the preset overcurrent detection threshold are subtracted to form the second reference voltage; a circuit protection module is used to cut off the power supply in response to the overcurrent fault signal. Although the fault protection circuit of the scheme uses the wire voltage drop generated by the impedance of the ground wire itself to collect current information, and does not need to set up additional current sampling devices to achieve accurate detection of overcurrent faults, it mainly relies on the logic operation of the MCU to achieve overcurrent protection, and it is often difficult to protect the instantaneous surge current caused by the hot plug process. Utility Model Content
[0005] The utility model aims to provide a USB interface power protection circuit, which can prevent the surge current from damaging the USB device when the USB is plugged in and out with power on, and has a simple circuit structure and logic, and can greatly reduce the cost.
[0006] To achieve the above object, the technical solution adopted by the utility model is: a USB interface power protection circuit, including an AND gate U1 and a switch power module U2;
[0007] The AND gate U1 is connected to the enable control signal and the power input status signal of the input power supply VCC respectively, and its output end is connected to the enable end of the switching power supply module U2;
[0008] The enable end of the switching power supply module U2 is in an enabled state after receiving the enable signal, and in the enabled state, the input power VCC is converted into an output power VCC_Out with a set current, and outputted to the power input end of the USB interface.
[0009] When the protection circuit of the utility model is used, the enabling control signal can be designed to be output to the AND gate U1 after the input power supply VCC is powered on and stabilized. When the enabling control signal is valid and the input power supply VCC is input at the same time, the AND gate can enable the switching power supply module U2 to realize the conversion of the input power supply VCC to the output power supply VCC_Out. On the basis of the overcurrent protection function of the switching power supply module itself, the influence of the surge current when the input power supply is initially powered on on the output power supply is reduced or even eliminated, thereby reducing damage to the USB device.
[0010] Optionally, in the present invention, one input end of the AND gate U1 is connected to the input power supply VCC via the loop resistor R1, and the other input end is used as the enable control signal input end, and the AND gate U1 is provided with working power by the input power supply VCC. Then, when the input power supply VCC is powered on, the AND gate U1 starts to operate, and the power input status signal connected to one of its input ends becomes a high-level signal. When the enable control signal is a high-level signal, the AND gate U1 can output an enable signal to control the switch power supply module U2 to work, thereby realizing the delayed stabilization and overcurrent protection of the USB interface input power supply.
[0011] Optionally, in the present invention, the switching power supply module U2 includes an enable signal input terminal, a power input terminal and a power output terminal; the enable signal input terminal is connected to the output terminal of the AND gate U1 as the enable terminal, the power input terminal is connected to the input power supply VCC, and the output power supply VCC_Out is output from the power output terminal to the power input terminal of the USB interface. The switching power supply module can use an existing switching power supply chip with overcurrent protection function.
[0012] Optionally, the switching power supply module U2 uses an ultra-low on-resistance switching power supply chip, the fifth pin of which is connected to the input power supply VCC, the fourth pin is used as the enable signal input terminal, and the first pin is used as the USB power output terminal, connected to the power input pin of the USB interface terminal. The ultra-low on-resistance switching power supply chip, such as the SY6280 chip, has a programmable current limit to protect the line from overcurrent and short circuit; and it has built-in over-temperature protection and reverse lockout functions, which can automatically discharge the output capacitor during shutdown.
[0013] Optionally, the third pin of the switching power module U2 is connected to GND via a programming resistor R2, the first pin is connected in series with an inductor L1, and the connection point between the switching power module U2 and the inductor L1 is connected to GND via a filter capacitor C2. The output current of the USB power output terminal is determined by R2, and the output current can be adjusted by changing the value of R2.
[0014] Optionally, the USB interface power protection circuit further includes an input power filter unit, wherein filter capacitor C5 and filter capacitor C6 are connected in parallel between the input power VCC and GND, wherein filter capacitor C5 is much larger than filter capacitor C6. The combination of a large and a small capacitor can achieve a better filtering effect on the input power VCC.
[0015] Optionally, the USB interface power protection circuit further includes an output power filter unit, and a filter capacitor C3 and a filter capacitor C4 are connected in parallel between the output power VCC_Out and GND, wherein the filter capacitor C3 is much larger than the filter capacitor C4. Similar to the input power filter unit, the stability of the output power, i.e., the power provided to the USB device, can be further improved.
[0016] Optionally, the USB interface power protection circuit further includes a controller MCU, which outputs the enable control signal to one of the input terminals of the AND gate U1. By setting the delayed output time of the enable control signal according to the stabilization time of the input power supply VCC, the switching power supply module can be started only after the input power supply is stable, thereby achieving the purpose of stable output of the USB power supply and avoiding surge current at the moment of power-on.
[0017] Optionally, the power supply of the controller MCU is provided by the input power supply through a delay circuit, and the MCU outputs the enable control signal to the AND gate U1 when it is powered on. The delay circuit is designed with the goal of having a delay time equal to or slightly longer than the time it takes for the input power supply to stabilize, thereby enabling the MVU to delay the output of the enable control signal behind the input power supply signal without complex logic and relying only on the delay circuit. The delay circuit can use an existing electronic circuit with a delay function, such as a delay circuit implemented by a switch tube, a Zener diode, and a capacitor combination.
[0018] Beneficial Effects
[0019] The present invention cooperates with the switch power module by designing an AND gate, and controls the output of the AND gate by the effectiveness of the enable control signal and the input power, thereby controlling the operation of the switch power module, so as to avoid the influence of current fluctuations in the hot plug process on the device connected to the USB interface. The overall circuit is simple and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 Shown Figure 1 The figure is a schematic diagram of the circuit principle of an embodiment of the USB interface power protection circuit of the utility model;
[0021] Figure 2 Shown is a schematic diagram of the power filter unit circuit principle
[0022] Figure 3 Shown is a schematic diagram of USB port wiring. DETAILED DESCRIPTION
[0023] The invention is further described below with reference to the accompanying drawings and specific embodiments.
[0024] Example 1
[0025] This embodiment introduces a USB interface power protection circuit. Figure 1 As shown, it includes an AND gate U1 and a switching power supply module U2; one input end of the AND gate U1 is connected to the input power supply VCC through a loop resistor R1, and the other input end is used as an enable control signal input end, and the AND gate U1 is provided with working power by the input power supply VCC; the switching power supply module U2 includes an enable signal input end, a power input end and a power output end; the enable signal input end is connected to the output end of the AND gate U1, and the power input end is connected to the input power supply VCC; the switching power supply module is in an enabled state after receiving the enable signal, and in the enabled state, converts the input power supply VCC into an output power supply VCC_Out of a set current, which is output by the power output end.
[0026] In this embodiment, the switching power supply module U2 uses an ultra-low on-resistance switching power supply chip SY6280, which has a programmable current limit to protect the circuit from overcurrent and short circuit; and it has built-in over-temperature protection and reverse lockout functions, which can automatically discharge the output capacitor during shutdown. The fifth pin of the SY6280 chip is connected to the input power supply VCC, the fourth pin is used as the enable signal input terminal, and the first pin is used as the USB power output terminal, which is connected to the power input pin of the USB interface terminal J1, such as Figure 3The third pin is connected to GND through programming resistor R2, the first pin is connected in series with inductor L1, and the connection point between switching power module U2 and inductor L1 is connected to GND through filter capacitor C2. The output current of the USB power output end is determined by R2, and the output current can be adjusted by changing the value of R2.
[0027] like Figure 2 As shown, in this embodiment, an input power filter unit is also provided, and filter capacitors C5 and C6 are connected in parallel between the input power VCC and GND, wherein filter capacitor C5 is much larger than filter capacitor C6. The combination of a large and a small capacitor value can make the filtering effect of the input power VCC better.
[0028] Refer to Figure 1 , +5V is the input power VCC, and +5V_USB2.0 is the output power VCC_Out. This embodiment also provides an output power filter unit, and a filter capacitor C3 and a filter capacitor C4 are connected in parallel between the output power VCC_Out and GND, wherein the filter capacitor C3 is much larger than the filter capacitor C4. Similar to the input power filter unit, the stability of the output power, i.e., the power provided to the USB device, can be further improved.
[0029] When the protection circuit of this embodiment is used, the enable control signal can be designed to be output to the AND gate U1 after the input power supply VCC is powered on and stabilized. When the enable control signal is valid and the input power supply VCC is input at the same time, the AND gate can enable the switching power supply module U2 to realize the conversion of the input power supply VCC to the output power supply VCC_Out. On the basis of the overcurrent protection function of the switching power supply module itself, the influence of the surge current when the input power supply is initially powered on on the output power supply is reduced or even eliminated, thereby reducing damage to the USB device.
[0030] Example 2
[0031] On the basis of Example 1, this embodiment includes a controller MCU, which is used to output the enable control signal to one of the input terminals of the AND gate U1. By setting the delayed output time of the enable control signal according to the stabilization time of the input power supply VCC, the switching power supply module can be started only after the input power supply is stable, so as to achieve the purpose of stable output of the USB power supply and avoid surge current at the moment of power-on.
[0032] Example 3
[0033] On the basis of Example 1, this embodiment includes a controller MCU, which is used to output the enable control signal to one of the input terminals of the AND gate U1. However, unlike Example 2, the power supply of the controller MCU in this embodiment is provided by the input power supply through a delay circuit, and the MCU outputs the enable control signal to the AND gate U1 when it is powered on. The design of the delay circuit is carried out with the goal of having a delay time equal to or slightly longer than the time it takes for the input power supply to stabilize, thereby enabling the MVU to complete the output of the enable control signal delayed from the input power supply signal without complex logic and only relying on the delay circuit. The delay circuit can adopt an existing electronic circuit with a delay function, such as a delay circuit implemented by a switch tube, a Zener diode, and a capacitor combination.
[0034] In summary, the above embodiments are mainly designed by cooperating with the AND gate and the switching power supply module, and the output of the AND gate is controlled by the effectiveness of the enable control signal and the input power supply, thereby controlling the operation of the switching power supply module, thereby avoiding the influence of current fluctuations during the hot plug process on the device connected to the USB interface.
[0035] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.
Claims
1. A USB interface power protection circuit, characterized in that: It includes an AND gate U1 and a switching power supply module U2; The AND gate U1 is connected to the enable control signal and the power input status signal of the input power supply respectively, and its output end is connected to the enable end of the switching power supply module U2; The enable end of the switching power supply module U2 is in an enabled state after receiving the enable signal, and in the enabled state, the input power VCC is converted into an output power VCC_Out with a set current, and outputted to the power input end of the USB interface.
2. The USB interface power protection circuit according to claim 1, characterized in that: One input end of the AND gate U1 is connected to the input power supply VCC via the loop resistor R1, and the other input end is used as the input end of the enable control signal, and the AND gate U1 is provided with working power by the input power supply VCC.
3. The USB interface power protection circuit according to claim 1, characterized in that: The switching power supply module U2 includes an enable signal input terminal, a power input terminal and a power output terminal; the enable signal input terminal is connected to the output terminal of the AND gate U1 as the enable terminal; the power input terminal is connected to the input power supply VCC; the output power supply VCC_Out is output from the power output terminal to the power input terminal of the USB interface.
4. The USB interface power protection circuit according to any one of claims 1 to 3, characterized in that: The switching power supply module U2 adopts an ultra-low on-resistance switching power supply chip, the fifth pin of which is connected to the input power supply VCC, the fourth pin is used as the enable signal input terminal, and the first pin is used as the USB power output terminal, connected to the power input pin of the USB interface terminal.
5. The USB interface power protection circuit according to claim 4, characterized in that: The third pin of the switching power module U2 is connected to GND via the programming resistor R2, the first pin is connected in series with the inductor L1, and the connection point between the switching power module U2 and the inductor L1 is connected to GND via the filter capacitor C2.
6. The USB interface power protection circuit according to any one of claims 1 to 3, characterized in that: It also includes an input power filter unit, wherein a filter capacitor C5 and a filter capacitor C6 are connected in parallel between the input power VCC and GND, wherein the filter capacitor C5 is much larger than the filter capacitor C6.
7. The USB interface power protection circuit according to any one of claims 1 to 3, characterized in that: It also includes an output power filter unit, wherein a filter capacitor C3 and a filter capacitor C4 are connected in parallel between the output power VCC_Out and GND, wherein the filter capacitor C3 is much larger than the filter capacitor C4.
8. The USB interface power protection circuit according to any one of claims 1 to 3, characterized in that: The system also includes a controller MCU, which outputs the enable control signal to one of the input terminals of the AND gate U1.
9. The USB interface power protection circuit according to claim 8, characterized in that: The power supply of the controller MCU is provided by the input power supply VCC via a delay circuit. The controller MCU outputs the enable control signal to the AND gate U1 when powered on.
