Overcurrent protection circuit and electronic equipment

By introducing an overcurrent protection circuit into the USB port circuit to detect and cut off the power supply with a current exceeding the threshold, the problem of current surge when the USB port is short-circuited is solved and the power supply and circuit components are protected.

CN221842325UActive Publication Date: 2024-10-15NINGBO AUX ELECTRIC CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323061696.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-13
Publication Date
2024-10-15
Estimated Expiration
2033-11-13

AI Technical Summary

Technical Problem

In the existing technology, when a USB port circuit is short-circuited, a rapid and large current will be generated, exceeding the safety threshold of the circuit current, causing damage to the power supply and circuit components and preventing normal operation.

Method used

Design an overcurrent protection circuit, including a power supply unit, a control unit and a USB port. The control unit detects the output current of the power supply unit and cuts off the power supply of the USB port when the output current is greater than the preset threshold to avoid current surges. occur.

Benefits of technology

It effectively avoids the rapid current generated when the USB port is powered on under short circuit or non-pure resistive load conditions, protecting the power supply and circuit components from damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221842325U_ABST
    Figure CN221842325U_ABST
Patent Text Reader

Abstract

The utility model provides an overcurrent protection circuit and electronic equipment, and particularly relates to the technical field of overcurrent protection. The overcurrent protection circuit comprises a power supply unit, a control unit and a USB port. The output end of the power supply unit is connected with the power input end of the USB port through the control unit so as to supply power to the USB port; wherein the control unit is used for detecting the output current of the power supply unit and cutting off power supply to the USB port when the output current is greater than a preset threshold value. According to the utility model, the problem that rapid and large-amplitude current is generated at the USB port at the moment of electrification when the USB port is short-circuited is solved, so that the damage to a power supply and circuit elements is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of overcurrent protection, in particular to an overcurrent protection circuit and electronic equipment. Background Art

[0002] In the prior art, when a USB port circuit port is short-circuited, the USB port circuit will generate a fast and large current at the moment of power-on, that is, a current surge phenomenon occurs. At this time, the current may instantly exceed the circuit current safety threshold, thereby causing damage to the USB port circuit, damaging the components on the USB port circuit, and causing the system unit equipped with the USB port circuit to malfunction and fail to work normally. Utility Model Content

[0003] The utility model provides an overcurrent protection circuit and an electronic device, which detect the input current of a USB port through a control unit, and cut off the power supply to the USB port when the input current of the USB port is greater than a preset threshold value, so as to solve the problem that when a short circuit occurs in the USB port, or when an external device is connected and the external device is a non-pure resistance load with a capacitive element, a fast and large current is generated at the USB port at the moment of power-on, thereby avoiding damage to the power supply and circuit elements.

[0004] The embodiments of the present invention can be implemented as follows:

[0005] In a first aspect, an overcurrent protection circuit is provided, the overcurrent protection circuit comprising: a power supply unit, a control unit, and a USB port;

[0006] The output end of the power supply unit is connected to the power input end of the USB port through the control unit, so as to supply power to the USB port; wherein the control unit is used to detect the output current of the power supply unit, and when the output current is greater than a preset threshold, cut off the power supply to the USB port.

[0007] Furthermore, the control unit includes an acquisition circuit, a main control module and an execution module;

[0008] The acquisition circuit is respectively connected to the power supply unit, the main control module and the USB port to detect the output current of the power supply unit;

[0009] The main control module is also connected to the execution module to output a first control signal to the execution module when the output current is greater than a preset threshold;

[0010] The execution module is also connected to the power supply unit to cut off the power supply to the USB port according to the first control signal.

[0011] Furthermore, the acquisition circuit includes: a sampling resistor and a sampling module; the sampling resistor is respectively connected to the power supply unit, the USB port and the sampling module; the output end of the sampling module is connected to the main control module;

[0012] The sampling module detects the output current of the sampling resistor to detect the output current of the power supply unit.

[0013] Further, the sampling module includes an operational amplifier, a first resistor, a second resistor, a third resistor and a fourth resistor;

[0014] The positive phase input terminal of the operational amplifier is respectively connected to the first end of the first resistor and the second resistor; the second end of the first resistor is connected to the first end of the sampling resistor; the second end of the second resistor is grounded; the negative phase input terminal of the operational amplifier is respectively connected to the first end of the third resistor and the fourth resistor; the second end of the third resistor is connected to the second end of the sampling resistor; the second end of the fourth resistor is connected to the output terminal of the operational amplifier.

[0015] Furthermore, the resistance values ​​of the first resistor and the third resistor are equal; and the resistance values ​​of the second resistor and the fourth resistor are equal.

[0016] Further, the execution module includes a transistor; the control end of the transistor is connected to the main control module to cut off the power supply to the USB port according to the first control signal;

[0017] The first end of the transistor is connected to the power supply unit; the second end of the transistor is grounded.

[0018] Furthermore, the overcurrent protection circuit also includes a pull-up resistor;

[0019] The first end of the pull-up resistor is connected to the power supply unit; the second end of the pull-up resistor is connected to the first end of the transistor.

[0020] Furthermore, the control unit also includes a current limiting resistor;

[0021] The first end of the current limiting resistor is connected to the main control module; the second end of the current limiting resistor is connected to the execution module.

[0022] Furthermore, the overcurrent protection circuit also includes a filtering unit;

[0023] The first end of the filter unit is connected to the input end of the USB port; the second end of the filter unit is connected to the ground end of the USB port.

[0024] Further, the filtering unit includes a first capacitor and a second capacitor;

[0025] The first end of the first capacitor is connected to the first end of the second capacitor and the ground end of the USB port respectively; the second end of the first capacitor is connected to the second end of the second capacitor and the control unit respectively.

[0026] In a second aspect, an electronic device comprises the overcurrent protection circuit described in any one of the first aspect above.

[0027] The beneficial effects of the embodiments of the present utility model include, for example:

[0028] The utility model provides an overcurrent protection circuit and an electronic device, wherein the overcurrent protection circuit comprises a power supply unit, a control unit, and a USB port; the output end of the power supply unit is connected to the power input end of the USB port through the control unit to supply power to the USB port; wherein the control unit is used to detect the output current of the power supply unit, and when the output current is greater than a preset threshold, the power supply to the USB port is cut off, so as to solve the problem that when a short circuit occurs in the USB port, a fast and large current will be generated at the USB port at the moment of power-on, thereby avoiding damage to the power supply and circuit components. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the utility model and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 This is one of the system structure diagrams of an overcurrent protection circuit provided in an embodiment of the present application.

[0031] Figure 2 The present invention provides a second schematic diagram of the system structure of an overcurrent protection circuit according to an embodiment of the present application.

[0032] Figure 3 The third system structure diagram of an overcurrent protection circuit provided in an embodiment of the present application.

[0033] Figure 4 Schematic diagram of the circuit structure of the sampling circuit in the embodiment of the present application.

[0034] Figure 5 Schematic diagram of the circuit structure of the execution module in the embodiment of the present application.

[0035] Figure 6This is one of the circuit structure schematic diagrams of an overcurrent protection circuit in an embodiment of the present application.

[0036] Figure 7 A schematic diagram of the circuit structure of another overcurrent protection circuit provided in an embodiment of the present application.

[0037] Figure 8 A fourth system structure diagram of an overcurrent protection circuit provided in an embodiment of the present application.

[0038] Fig. 9 Schematic diagram of the circuit structure of the filter unit in the embodiment of the present application.

[0039] Fig.10 The second circuit structure schematic diagram of an overcurrent protection circuit provided in an embodiment of the present application.

[0040] Fig.11 A schematic diagram of the steps of an overcurrent protection method provided in an embodiment of the present application.

[0041] Icon: 100-overcurrent protection circuit; 101-power supply unit; 102-control unit; 103-USB port; 104-filter unit; 201-acquisition circuit; 202-main control module; 203-execution module. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical scheme and advantages of the embodiments of the utility model clearer, the technical scheme in the embodiments of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiments of the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Generally, the components of the embodiments of the utility model described and shown in the drawings here can be arranged and designed in various different configurations.

[0043] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the present invention to be protected, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0045] In the description of the present invention, it should be noted that the terms "first", "second", etc., if used, are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0046] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0047] It should be noted that, in the absence of conflict, the features in the embodiments of the present invention may be combined with each other.

[0048] As described in the background art, when the USB port circuit port is short-circuited, the USB port circuit will generate a fast and large current at the moment of power-on, that is, a current surge phenomenon occurs. At this time, the current may instantly exceed the circuit current safety threshold, thereby damaging the USB port circuit, damaging the components on the USB port circuit, and causing the system unit equipped with the USB port circuit to malfunction and fail to work normally. Or when the USB port circuit is connected to an external device and the device is not a pure resistance load and has capacitive components, the above current surge phenomenon will also occur.

[0049] Based on this, an overcurrent protection circuit, method, storage medium and electronic device are provided in the embodiments of the present application to solve the problem that when a short circuit occurs in the USB port, a fast and large current will be generated at the USB port at the moment of power-on, thereby reducing the current surge phenomenon to avoid damage to the power supply and circuit components.

[0050] Please refer to Figure 1 In a first aspect, an embodiment of the present application provides an overcurrent protection circuit 100, the overcurrent protection circuit 100 comprising: a power supply unit 101, a control unit 102, and a USB port 103;

[0051] The output end of the power supply unit 101 is connected to the power input end of the USB port 103 through the control unit 102, and is used to supply power to the USB port 103; wherein the control unit 102 is used to detect the output current of the power supply unit 101, and when the output current is greater than a preset threshold, cut off the power supply to the USB port 103.

[0052] In the embodiment of the present application, the power supply unit 101 detects the output current of the power supply unit 101 through the control unit 102, and when the output current of the power supply unit 101 is greater than a preset threshold, the power supply to the USB port 103 is cut off, so as to avoid the problem of rapid and large current being generated at the USB port 103 at the moment of power-on when a short circuit occurs in the USB port 103, or the current surge phenomenon generated when the USB port 103 circuit is connected to an external device and the device is not a pure resistive load and has capacitive elements, so as to avoid damage to the power supply and circuit elements.

[0053] For further information, see Figure 2 In an achievable embodiment, the control unit 102 includes an acquisition circuit 201, a main control module 202 and an execution module 203;

[0054] The acquisition circuit 201 is respectively connected to the power supply unit 101, the main control module 202, and the USB port 103 to detect the output current of the power supply unit 101;

[0055] The main control module 202 is also connected to the execution module 203 to output a first control signal to the execution module 203 when the output current is greater than a preset threshold;

[0056] The execution module 203 is further connected to the power supply unit 101 to cut off the power supply to the USB port 103 according to the first control signal.

[0057] In this embodiment, the acquisition circuit 201 can set a sampling resistor at the output end of the power supply unit 101 and the power input end of the USB port 103, so as to use the voltage / current of the sampling resistor set on the main line as the judgment basis of the control unit to determine the output current of the power supply unit 101, and cut off the power supply to the USB port 103 when the output current is greater than a preset threshold value; based on this, after obtaining the voltage / current of the sampling resistor, the main control module 202 can output a control signal to the execution module 203 according to the judgment threshold set by it when the output current is greater than the preset threshold value, and the control signal can be a high / low level. For example, when the output current is greater than the preset threshold value, a first control signal, i.e., a high level signal, can be output to the execution module 203 to drive the execution module 203 to cut off the power supply to the USB port 103 according to the high level signal.

[0058] Similarly, when the output current is lower than a preset threshold, a second control signal may be output to the execution module 203, and the control signal may be a low level. For example, when the output current is greater than the preset threshold, a second control signal, i.e., a low level signal, is output to the execution module 203 to drive the execution module 203 to conduct normally according to the low level signal to supply power to the USB port 103.

[0059] In the embodiment of the present application, the method of obtaining the sampling value by the main control module 202 and outputting a control signal to the execution module 203 when the output current is greater than the preset threshold value is not within the protection scope of the present application, that is, the present application does not judge the determination method, as long as it can be achieved that the high and low level outputs of the main control module 202 can be determined based on the sampling value.

[0060] For further information, see Figure 3 In an achievable embodiment, the acquisition circuit 201 includes: a sampling resistor and a sampling module; the sampling resistor is respectively connected to the power supply unit 101, the USB port 103 and the sampling module; the output end of the sampling module is connected to the main control module 202;

[0061] The sampling module detects the output current of the sampling resistor to detect the output current of the power supply unit 101 .

[0062] For further information, see Figure 4 In an achievable embodiment, the sampling module includes an operational amplifier U1, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4.

[0063] The positive phase input terminal of the operational amplifier U1 is respectively connected to the first end of the first resistor R1 and the second resistor R2; the second end of the first resistor R1 is connected to the first end of the sampling resistor R5; the second end of the second resistor R2 is grounded; the negative phase input terminal of the operational amplifier U1 is respectively connected to the first end of the third resistor R3 and the fourth resistor R4; the second end of the third resistor R3 is connected to the second end of the sampling resistor; the second end of the fourth resistor R4 is connected to the output terminal of the operational amplifier U1.

[0064] Furthermore, the resistance values ​​of the first resistor R1 and the third resistor R3 are equal; the resistance values ​​of the second resistor R2 and the fourth resistor R4 are equal.

[0065] In this embodiment, when no current flows through the positive phase input terminal and the negative phase input terminal of the operational amplifier, that is, the positive phase input terminal and the negative phase input terminal are equivalent to a short circuit, that is, in a false short circuit state. In this state, the third resistor R3 and the fourth resistor R4 corresponding to the negative phase input terminal of the operational amplifier U1 have the same current. Similarly, the first resistor R1 and the second resistor R2 at the positive phase input terminal of the operational amplifier U1 also have the same current. Then the voltage on the corresponding sampling resistor can satisfy:

[0066]

[0067] Among them, V1 is the voltage on the left side of the sampling resistor, V2 is the voltage on the right side of the sampling resistor, V x is the upper voltage of resistor R1, Vy is the voltage on the upper side of resistor R3, V out is the output voltage of the operational amplifier.

[0068] Furthermore, due to the false short circuit state, V x =V y , that is, the voltage on the upper side of the resistor R1 is equal to the voltage on the upper side of the resistor R3. According to Ohm's law, the voltage of the sampling resistor can be:

[0069] V=i*R3=V1-V2;

[0070] Substituting into the above formula, we can get:

[0071]

[0072] Among them, since the resistance values ​​of the first resistor R1 and the third resistor R3 are equal; the resistance values ​​of the second resistor R2 and the fourth resistor R4 are equal, the following can be simplified:

[0073]

[0074] It can be understood that in the embodiment of the present application, the voltage of the sampling resistor set on the main line can be obtained according to the above-mentioned sampling module to determine whether the output current of the power supply unit 101 is within the set judgment threshold. When the output current is greater than the preset threshold, a control signal is output to the execution module 203.

[0075] Furthermore, the sampling module obtains the voltage on the acquisition resistor R5 in real time and transmits it to the main control module 202. In a feasible embodiment, the main control module 202 may be an MCU chip, and the output end of the operational amplifier may be connected to the ADC pin on the MCU chip. The sampling voltage of the sampling resistor obtained by the ADC pin, if the set judgment threshold is current, the resistance of the sampling resistor may be fixed on this basis, and then the sampling voltage determined by the sampling module is used to obtain the current of the sampling resistor to determine whether it is within the preset current range.

[0076] For further information, see Figure 5 In an achievable embodiment, the execution module 203 includes a transistor Q1; the control end of the transistor Q1 is connected to the main control module 202 to cut off the power supply to the USB port;

[0077] A first end of the transistor Q1 is connected to the power supply unit 101 ; a second end of the transistor Q1 is grounded.

[0078] In this embodiment, after obtaining the voltage / current of the sampling resistor, the main control module 202 can transmit a control signal to the control end of the transistor Q1 according to the judgment threshold set by it, when the output current is greater than the preset threshold. For example, when the output current is greater than the preset threshold, the first control signal, i.e., a high-level signal, can be output to the execution module 203. At this time, the transistor Q1 is turned on and the power supply to the USB port 103 is cut off.

[0079] Similarly, when the output current is lower than a preset threshold, a second control signal can be output to the execution module 203, and the control signal can be a low level. For example, when the output current is greater than the preset threshold, a second control signal, i.e., a low level signal, is output to the execution module 203. At this time, the transistor Q1 is turned off to supply power to the USB port 103.

[0080] See also Figure 6 , further, the overcurrent protection circuit 100 also includes a pull-up resistor R6;

[0081] A first end of the pull-up resistor R6 is connected to the power supply unit 101 ; a second end of the pull-up resistor R6 is connected to a first end of the transistor.

[0082] Exemplarily, when the power supply unit 101 is 5V, when the output current is less than a preset threshold, the MCU outputs a low-level signal to the transistor Q1. At this time, the transistor Q1 is cut off, and the output terminal OUT of the power supply unit 101 is pulled up to a high level of 5V due to the pull-up resistor. It can be understood that the output terminal OUT of the power supply unit 101 is adjusted to a high-level state through the pull-up resistor R6, so that when the output current is less than the preset threshold, the output terminal OUT of the power supply unit 101 supplies power to the USB port 103.

[0083] When the output current is greater than a preset threshold, the MCU outputs a high level signal to the transistor Q1 , and the transistor Q1 is turned on, the output terminal OUT of the power supply unit 101 is grounded, and the power supply unit 101 stops supplying power to the USB port 103 .

[0084] Furthermore, the control unit 102 also includes a current limiting resistor R7;

[0085] A first end of the current limiting resistor R7 is connected to the main control module 202 ; a second end of the current limiting resistor is connected to the execution module 203 .

[0086] In another achievable embodiment, the control unit 102 may be a current limiting power distribution chip. For example, in the embodiment of the present application, please refer to Figure 7The current detection terminal FLT and the power input terminal IN of the current limiting power distribution chip are both connected to the output terminal of the power supply unit 101; the current output terminal OUT of the current limiting power distribution chip is connected to the power input terminal of the USB port 103, wherein the enable terminal EN of the current limiting power distribution chip is connected to the power supply to provide a high-level driving signal for the enable terminal of the current limiting power distribution chip. In a feasible embodiment, the enable terminal of the current limiting power distribution chip can be connected to the power supply through a pull-up resistor R8 to maintain the current limiting power distribution chip in a high-level conduction state, and the power supply can be 5V.

[0087] Furthermore, the current detection terminal FLT of the current limiting power distribution chip can also be connected to the output terminal of the power supply unit 101 through a current limiting resistor R9.

[0088] In this embodiment, the current detection terminal FLT can directly perform a threshold judgment after acquiring the current, that is, to determine the output current of the power supply unit 101 in the current limiting power distribution chip, so as to cut off the power supply to the USB port 103 when the output current is greater than the preset threshold.

[0089] For further information, see Figure 8 , the overcurrent protection circuit 100 further includes a filtering unit 104;

[0090] A first end of the filter unit 104 is connected to an input end of the USB port 103 ; a second end of the filter unit 104 is connected to a ground end of the USB port 103 .

[0091] For further information, see Fig. 9 , the filtering unit 104 includes a first capacitor C1 and a second capacitor C2;

[0092] The first end of the first capacitor C1 is respectively connected to the first end of the second capacitor C2 and the ground end of the USB port 103; the second end of the first capacitor C1 is respectively connected to the second end of the second capacitor C2, the control unit, and the input end of the USB port 103. In an achievable embodiment, the first capacitor C1 or the second capacitor C2 may be an electrolytic capacitor.

[0093] In an achievable embodiment, the specific circuit diagram of the overcurrent protection circuit 100 is shown in FIG. Fig.10 , where D+ / D- are signal pins with opposite polarities on the USB port 103 .

[0094] In summary, an overcurrent protection circuit 100 is provided in an embodiment of the present application, and the overcurrent protection circuit 100 includes a power supply unit 101, a control unit 102, and a USB port 103; the output end of the power supply unit 101 is connected to the power input end of the USB port through the control unit 102 to supply power to the USB port 103; wherein the control unit 102 is used to detect the output current of the power supply unit 101, and when the output current is greater than a preset threshold, cut off the power supply to the USB port 103. This solves the problem that when a short circuit occurs in the USB port 103, a fast and large current will be generated at the USB port 103 at the moment of power-on, thereby avoiding damage to the power supply and circuit components.

[0095] The embodiment of the present application provides an overcurrent protection circuit 100 including a power supply unit 101, a control unit 102, and a USB port 103; the output end of the power supply unit 101 is connected to the power input end of the USB port through the control unit 102 to supply power to the USB port 103; wherein the control unit 102 is used to detect the output current of the power supply unit 101, and when the output current is greater than a preset threshold, cut off the power supply to the USB port 103. This solves the problem that when a short circuit occurs in the USB port 103, a fast and large current will be generated at the USB port 103 at the moment of power-on, thereby avoiding damage to the power supply and circuit components.

[0096] In a second aspect, an embodiment of the present application further provides an electronic device, comprising the overcurrent protection circuit 100 of any one of the above-mentioned first aspects.

[0097] An electronic device provided by an embodiment of the present application includes all the technical features and technical effects of the overcurrent protection circuit 100 of any one of the first aspects above.

[0098] In the third aspect, based on the above-mentioned overcurrent protection circuit, the embodiment of the present application also provides an overcurrent protection control method, which is applied to the control unit 102 of the overcurrent protection circuit 100. The overcurrent protection circuit 100 also includes a power supply unit 101 and a USB port 103. Fig.11 , the overcurrent protection control method comprises the following steps:

[0099] S1, obtaining the output current of the power supply unit 101;

[0100] S2, detecting the output current of the power supply unit 101, and cutting off the power supply to the USB port 103 when the output current is greater than a preset threshold.

[0101] An embodiment of the present application provides an overcurrent protection control method, which is applied to the control unit 102 of the overcurrent protection circuit 100 to solve the problem that when a short circuit occurs in the USB port 103, a fast and large current will be generated at the USB port 103 at the moment of power-on, thereby avoiding damage to the power supply and circuit components.

[0102] In a fourth aspect, an embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the overcurrent protection control method of the second aspect is implemented. The storage medium stores computer instructions and programs, and when the computer instructions and programs are read and run, the method of the above embodiment is executed. The storage medium may include memory, flash memory, registers, or a combination thereof.

[0103] A storage medium provided in an embodiment of the present application includes all the technical means and technical effects of the overcurrent protection control method of the second aspect mentioned above, that is, it can solve the problem that when a short circuit occurs in the USB port 103, a fast and large current will be generated at the USB port 103 at the moment of power-on, thereby avoiding damage to the power supply and circuit components.

[0104] In summary, the embodiments of the present application also provide an overcurrent protection circuit, method, storage medium and electronic device, wherein an overcurrent protection circuit 100 includes a power supply unit 101, a control unit 102 and a USB port 103; the output end of the power supply unit 101 is connected to the power input end of the USB port through the control unit 102 to supply power to the USB port 103; wherein the control unit 102 is used to detect the output current of the power supply unit 101, and when the output current is greater than a preset threshold, cut off the power supply to the USB port 103. This solves the problem that when a short circuit occurs in the USB port 103, a fast and large current will be generated at the USB port 103 at the moment of power-on, thereby avoiding damage to the power supply and circuit components.

[0105] The above is only a specific implementation of the utility model, but the protection scope of the utility model is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the utility model should be included in the protection scope of the utility model. Therefore, the protection scope of the utility model should be based on the protection scope of the claims.

Claims

1. An overcurrent protection circuit, It is characterized in that The overcurrent protection circuit comprises: a power supply unit, a control unit, and a USB port; The output end of the power supply unit is connected to the power input end of the USB port through the control unit, so as to supply power to the USB port; wherein, The control unit is used to detect the output current of the power supply unit, and cut off the power supply to the USB port when the output current is greater than a preset threshold; The control unit includes an acquisition circuit, a main control module and an execution module; The acquisition circuit is respectively connected to the power supply unit, the main control module and the USB port to detect the output current of the power supply unit; The main control module is also connected to the execution module to output a first control signal to the execution module when the output current is greater than a preset threshold; The execution module is also connected to the power supply unit to cut off the power supply to the USB port according to the first control signal; The acquisition circuit includes: a sampling resistor and a sampling module; the sampling resistor is connected to the power supply unit, the USB port and the sampling module respectively; the output end of the sampling module is connected to the main control module; The sampling module detects the output current of the sampling resistor to determine the output current of the power supply unit.

2. The overcurrent protection circuit according to claim 1, It is characterized in that The sampling module includes an operational amplifier, a first resistor, a second resistor, a third resistor and a fourth resistor; The positive phase input terminal of the operational amplifier is respectively connected to the first end of the first resistor and the second resistor; the second end of the first resistor is connected to the first end of the sampling resistor; the second end of the second resistor is grounded; the negative phase input terminal of the operational amplifier is respectively connected to the first end of the third resistor and the fourth resistor; the second end of the third resistor is connected to the second end of the sampling resistor; the second end of the fourth resistor is connected to the output terminal of the operational amplifier.

3. The overcurrent protection circuit according to claim 2, It is characterized in that The resistance values ​​of the first resistor and the third resistor are equal; the resistance values ​​of the second resistor and the fourth resistor are equal.

4. The overcurrent protection circuit according to claim 1, It is characterized in that The execution module includes a transistor; the control end of the transistor is connected to the main control module to cut off the power supply to the USB port according to the first control signal; The first end of the transistor is connected to the power supply unit; the second end of the transistor is grounded.

5. The overcurrent protection circuit according to claim 4, It is characterized in that The overcurrent protection circuit also includes a pull-up resistor; The first end of the pull-up resistor is connected to the power supply unit; the second end of the pull-up resistor is connected to the first end of the transistor.

6. The overcurrent protection circuit according to claim 1, It is characterized in that The control unit also includes a current limiting resistor; The first end of the current limiting resistor is connected to the main control module; the second end of the current limiting resistor is connected to the execution module.

7. The overcurrent protection circuit according to claim 1, It is characterized in that The overcurrent protection circuit also includes a filtering unit; The first end of the filter unit is connected to the input end of the USB port; the second end of the filter unit is connected to the ground end of the USB port.

8. The overcurrent protection circuit according to claim 7, It is characterized in that The filtering unit includes a first capacitor and a second capacitor; The first end of the first capacitor is connected to the first end of the second capacitor and the ground end of the USB port respectively; the second end of the first capacitor is connected to the second end of the second capacitor and the control unit respectively.

9. An electronic device, It is characterized in that The invention comprises the overcurrent protection circuit according to any one of claims 1 to 8.