Circuit and method for overvoltage protection in universal serial bus interface

By designing overvoltage protection switches and switch controllers in the USB interface to detect and respond to overvoltage events, the damage problem of USB devices under overcurrent or electrical short circuit is solved, and effective protection and power consumption management of USB devices are achieved.

CN110858711BActive Publication Date: 2024-11-08SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910459925.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-08-22
Filing Date
2019-05-29
Publication Date
2024-11-08
Estimated Expiration
2039-05-29

AI Technical Summary

Technical Problem

The USB interface is easily damaged when overcurrent or electrical short circuit occurs, and the prior art is difficult to effectively protect USB devices from overvoltage damage.

Method used

A circuit consisting of an overvoltage protection switch and a switch controller is designed, by detecting the voltage of the USB socket, turning off the OVP switch when an overvoltage is detected to interrupt the power, and re-connecting when an overvoltage is eliminated, according to the USB device The mode (normal or low power mode) adjusts the on-resistance of the OVP switch to optimize signal transmission and power consumption management.

Benefits of technology

Effectively protect USB devices from overvoltage damage, ensure the quality of signal transmission and power consumption management, and improve the reliability and efficiency of USB devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110858711B_ABST
    Figure CN110858711B_ABST
Patent Text Reader

Abstract

A circuit and method for overvoltage protection in a universal serial bus interface are provided. A circuit for overvoltage protection in a universal serial bus (USB) device includes: an overvoltage protection OVP switch connected to a pin of a USB socket; and a switch controller, which turns off the OVP switch when an overvoltage is detected, so that the power between the pin and the USB device is interrupted. The switch controller provides a control signal to the OVP switch so that the OVP switch has a first on-resistance when the USB device operates in a normal mode and no overvoltage is detected, and the OVP switch has a second on-resistance higher than the first on-resistance when the USB device operates in a low power mode and no overvoltage is detected.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the priority benefit of Korean Patent Application No. 10-2018-0098091, entitled “Circuit for and Method of Protecting Overvoltage in Universal Serial Bus Interface”, filed on August 22, 2018 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] Embodiments relate to a universal serial bus (USB) interface, and more particularly, to a circuit and method for overvoltage protection in a USB interface. Background Art

[0004] USB (or USB standard) is a communication protocol for defining standards for cables, connectors, and for performing communication between devices, and is widely used in various applications. USB not only defines a protocol for sending and receiving data, but also defines a standard for power transmission. For example, USB power delivery (PD) specifies the delivery of high power (e.g., 20V and 5A). Therefore, when a conductive foreign object is introduced into a USB socket or an electrical short circuit occurs on a USB cable, damage may occur due to overcurrent, and the USB socket and USB plug may also be damaged. Summary of the invention

[0005] An embodiment relates to a circuit for overvoltage protection in a universal serial bus (USB) device, the circuit comprising: an overvoltage protection (OVP) switch connected to a pin of a USB socket; and a switch controller, which turns off the OVP switch when an overvoltage is detected, so that the power between the pin and the USB device is interrupted, wherein the switch controller provides a control signal to the OVP switch so that the OVP switch has a first on-resistance when the USB device operates in a normal mode and no overvoltage is detected, and the OVP switch has a second on-resistance higher than the first on-resistance when the USB device operates in a low-power mode and no overvoltage is detected.

[0006] An embodiment relates to a circuit for overvoltage protection in a universal serial bus (USB) device, the circuit comprising: an overvoltage protection (OVP) switch connected to a pin of a USB socket; and a switch controller, which turns off the OVP switch when an overvoltage is detected, thereby interrupting the power between the pin and the USB device, wherein the switch controller includes a charge pump, which powers up the charge pump when the USB device operates in normal mode, and powers down the charge pump when the USB device operates in low power mode.

[0007] An embodiment relates to a method for overvoltage protection in a universal serial bus (USB) device, the method comprising: monitoring a voltage on a pin of a USB socket; when an overvoltage is detected, turning off an overvoltage protection (OVP) switch connected to the pin of the USB socket so that power between the pin and the USB device is interrupted; when the overvoltage is eliminated, turning on the OVP switch; and determining whether the USB device is operating in a normal mode or a low power mode. When the USB device is operating in the normal mode and no overvoltage is detected, a first voltage is provided to the OVP switch. When the USB device is operating in the low power mode and no overvoltage is detected, a second voltage is provided to the OVP switch, the second voltage being less than the first voltage.

[0008] An embodiment relates to a circuit for overvoltage protection in a universal serial bus (USB) device, the circuit comprising: a first overvoltage protection (OVP) switch and a second OVP switch connected in parallel, connected to a pin on a USB socket; and a switch controller. The switch controller comprises: a first switch connected to the first OVP switch and selectively connected to a ground voltage or a charge pump, when the USB device operates in a normal mode, the first switch turns off the first OVP switch when an overvoltage is detected, so that the power between the pin and the USB device is interrupted; and a second switch connected to the second OVP switch and selectively connected to the ground voltage or a positive power supply voltage, when an overvoltage is detected and the USB device operates in a low power mode, the second switch turns off the second OVP switch, so that the power between the pin and the USB device is interrupted, wherein the first OVP switch has a first on-resistance, and the second OVP switch has a second on-resistance higher than the first on-resistance. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Features will become apparent to those skilled in the art by describing in detail exemplary embodiments with reference to the accompanying drawings, in which:

[0010] Figure 1 A block diagram of a Universal Serial Bus (USB) device according to an example embodiment is shown;

[0011] Figure 2 According to an example embodiment, Figure 1 A block diagram of an example of a USB socket;

[0012] Figure 3 shows a block diagram of a USB device according to an example embodiment;

[0013] Figure 4 A flow chart showing a method for overvoltage protection in a USB interface according to an example embodiment is shown;

[0014] Figure 5 shows a block diagram of a switch controller according to an example embodiment;

[0015] Figure 6 shows a block diagram of a USB device according to an example embodiment;

[0016] Fig. 7A and Figure 7B According to an example embodiment, Figure 6 A schematic diagram of an example of operation of a USB device;

[0017] Figure 8 shows a block diagram of a USB device according to an example embodiment;

[0018] Fig. 9 A timing diagram illustrating an example of the operation of the USB device of FIG. 7 according to an example embodiment;

[0019] Fig.10 shows a block diagram of a USB device according to an example embodiment;

[0020] Fig.11A and Fig. 11B According to an example embodiment, Fig.10 A schematic diagram of an example of the operation of a USB device; and

[0021] Fig.12 A flow chart of a method for overvoltage protection in a USB interface according to an example embodiment is shown. DETAILED DESCRIPTION

[0022] Figure 1 is a block diagram of a universal serial bus (USB) device 100 according to an example embodiment. Figure 2 According to an example embodiment Figure 1 1 is a block diagram of an example of a USB receptacle 110 .

[0023] refer to Figure 1The USB device 100 may be any device that can communicate with another device through a USB interface, that is, any device. For example, the USB device 100 may be a fixed device such as a desktop computer, a server, etc., or a portable device such as a laptop computer, a mobile phone, a tablet personal computer (PC), etc. In addition, the USB device 100 may be a component included in a fixed device or a portable device, and is configured to provide a USB interface. Figure 1 As shown, the USB device 100 may include a USB socket 110 , a termination circuit 120 , a port controller 130 , a power circuit 140 , and an overvoltage protection (OVP) circuit 150 .

[0024] The USB socket 110 may be coupled to a USB cable or a USB plug to connect to another USB device. The USB socket 110 may include a plurality of exposed pins that send and receive signals or transmit power. Figure 2 As shown, the USB socket 110 may include pins for sending transmit signals TX+ and TX-, receiving receive signals RX+ and RX-, channel configuration (CC) signals CC1 and CC2, VBUS voltage V_BUS, and ground voltage. In some embodiments, the USB socket 110 may have a USB Type-C pin arrangement, such as Figure 2 shown.

[0025] When a conductive foreign object is introduced into the USB socket 110 when the USB plug is not coupled to the USB socket 110 or an electrical short circuit occurs in the USB cable coupled to the USB socket 110, at least two pins of the USB socket 110 may be electrically connected to each other. Pins that are improperly electrically connected to each other may cause leakage current, which may not only cause communication failures via the USB interface, but may also cause damage to the USB device 100 or other USB devices. Specifically, when the USB device 100 is a portable device or a component included in a portable device, conductive materials (e.g., water, metal, etc.) may be easily introduced into the USB socket 110. Therefore, excessive power consumption or damage may occur in the USB device 100. For example, USB power delivery (PD) can define power delivery via the VBUS pin (e.g., Figure 2 A4) for high power (e.g., 20V and 5A). In addition, when the VBUS pin is connected to another pin (e.g., Figure 2 When A5 of the USB device 100 is short-circuited, a high voltage and a high current of the VBUS pin may be applied to the short-circuited pin. In order to protect the internal circuits of the USB device 100 (e.g., the termination circuit 120 and the port controller 130) from high voltage and high current, the USB device 100 may include an OVP circuit 150.

[0026] The OVP circuit 150 can detect an overvoltage occurring at a pin included in the USB socket 110, and can electrically disconnect the pin from the internal circuit of the USB device 100 when the overvoltage is detected. In addition, when the overvoltage is detected, the OVP circuit 150 can output an activated detection signal DET. In some embodiments, in a normal state where no overvoltage occurs, the OVP circuit 150 may not attenuate the signal sent and received via the pin of the USB socket 110. The OVP circuit 150 may include a circuit that consumes relatively high power. The USB device 100 can operate in a normal mode and a low power mode. In the low power mode, the OVP circuit 150 can reduce the power consumption of the USB device 100. Hereinafter, as described below with reference to the accompanying drawings, the OVP circuit 150 can provide reduced power consumption in the low power mode without causing signal attenuation in the low power mode.

[0027] The termination circuit 120 may be controlled by the port controller 130 and provide termination for the USB socket 110 according to USB requirements. For example, the termination circuit 120 may send CC signals CC1 and CC2 from the port controller 130 to the USB socket 110, or send CC signals CC1 and CC2 from the USB socket 110 to the port controller 130 under the control of the port controller 130. In addition, the termination circuit 120 may provide a VCONN voltage under the control of the port controller 130 for providing power to an active cable from the power circuit 140 to the USB socket 110.

[0028] The port controller 130 can communicate with the termination circuit 120, control the termination circuit 120, and control the USB interface in response to a signal received through the termination circuit 120. The port controller 130 can control the port power supplied to or received from the outside through the USB socket 110, and process the CC signals CC1 and CC2 according to the USB requirements. In some embodiments, the port controller 130 can be a logic block designed by logic synthesis, a software block included in a memory storing a processor and instructions executed by the processor, or a combination thereof. In some embodiments, the port controller 130 can be referred to as a power delivery integrated circuit (PDIC). In some embodiments, the termination circuit 120 and the port controller 130 can be included in one IC, and the IC can be referred to as a PDIC.

[0029] The port controller 130 may output a power control signal PWR for controlling the power circuit 140. For example, the port controller 130 may perform power negotiation with another USB device and control the power circuit 140 using the power control signal PWR based on the negotiation result.

[0030] In some embodiments, the port controller 130 may provide a mode signal MD indicating a normal mode or a low power mode to the OVP circuit 150, and may receive a detection signal DET indicating whether an overvoltage has occurred from the OVP circuit 150. The port controller 130 may switch the mode between the normal mode and the low power mode based on a user input to the USB device 100, or switch the mode between the normal mode and the low power mode when a condition for entering the normal mode or the low power mode is met, and generate a mode signal MD indicating the mode. In some embodiments, when an overvoltage occurs, i.e., when an activated detection signal DET is received from the OVP circuit 150, the port controller 130 may control a signal generator (e.g., a speaker, a display, a light emitting element, a vibration motor, etc.) to notify the outside of the USB device 100 that an overvoltage has occurred, such as outputting a signal recognizable (i.e., detectable) by a user of the USB device 100.

[0031] The power circuit 140 can provide a VBUS voltage V_BUS to the USB socket 110 or receive a VBUS voltage V_BUS from the USB socket 110. In some embodiments, when the USB device 100 supports an Upstream Facing Port (UFP), the power circuit 140 can receive a VBUS voltage V_BUS from a power pin (e.g., Figure 2 A4 of the USB device 100 receives the VBUS voltage V_BUS and distributes the power supplied by the VBUS voltage V_BUS to other components of the USB device 100. In some embodiments, when the USB device 100 supports a download-oriented port (DFP), the power circuit 140 can provide power to the power pins (e.g., Figure 2 A4) provides VBUS voltage V_BUS. In some embodiments, the USB device 100 may support a dual role port (DRP) switchable between a source (or host) and a sink (or device).

[0032] In some embodiments, the power circuit 140 can generate a VCONN voltage for providing power to the active cable and provide the VCONN voltage to the termination circuit 120. Due to the operation of the termination circuit 120 under the control of the port controller 130, the VCONN voltage can be provided to the CC1 pin of the USB receptacle 110 (e.g., Figure 2 A5) or CC2 pin (for example, Figure 2 As used herein, a voltage for transmitting power, such as a VBUS voltage V_BUS and a VCONN voltage, may be referred to as a power supply voltage.

[0033] refer to Figure 2, the USB socket 110' may have a structure according to USB Type-C. The USB socket 110' may have a symmetrical pin arrangement so that the USB socket 110' can be properly coupled to the USB plug regardless of the direction or orientation, such as being inserted upward or downward. The USB socket 110' may include a TX1+ pin A2, a TX1- pin A3, a RX1+ pin B11, a RX1- pin B10, a TX2+ pin B2, a TX2- pin B3, an Rx2+ pin A11, and a RX2- pin A10 as a data bus. The USB socket 110' may include VBUS pins A4, A9, B4, and B9, and the CC1 pin A5 and the CC2 pin B5 as the power bus may also transmit the VCONN voltage according to the direction in which the USB socket 110' is coupled to the USB plug. In addition, the USB socket 110' may include two sideband use (SBU) pins A8 and B8 and two channel configuration (CC) pins A5 and B5. CC1 pin A5 and CC2 pin B5 may be collectively referred to as CC pins. Unlike USB socket 110', a USB plug coupled to USB socket 110' may include one CC pin CC and include a dedicated VCOON pin. Finally, USB socket 110' may include four ground (GND) pins A1, A12, B1, and B12 on its exterior.

[0034] As described above, when a foreign object is introduced into the USB socket 110', an electrical short circuit may occur in the USB cable connected to the USB socket 110', or a pin included in the USB socket 110' may be released, so that an electrical short circuit may occur between at least two pins. Specifically, when an electrical path is formed between a power pin (e.g., VBUS pins A4, A9, B4, and B9) and other pins, the leakage current may increase significantly. For example, pins A3, A5, A8, A10, B3, B5, B8, and B10 adjacent to VBUS pins A3, A9, B4, and B9 may easily short circuit with VBUS pins A3, A9, B4, and B9.

[0035] In some embodiments, the OVP circuit 150 can protect the USB device 100 from overvoltages occurring at any pin in the USB socket 110' except for power pins (e.g., VBUS pins A4, A9, B4, and B9) and ground pins (e.g., GND pins A1, A12, B1, and B12). In addition, in some embodiments, Figure 1The OVP circuit 150 can protect the USB device 100 from overvoltage occurring at pins A3, A5, A8, A10, B3, B5, B8, and B10 adjacent to the VBUS pins A4, A9, B4, and B9. Hereinafter, the operation of protecting the USB 100 from overvoltage occurring at the CC1 pin A5 adjacent to the VBUS pin A4 will be mainly described.

[0036] Figure 3 is a block diagram of a USB device 300 according to an example embodiment. Specifically, Figure 3 FIG. 1 shows a USB device 300 including an OVP circuit 350 configured to protect the USB device 300 from an overvoltage occurring at the CC1 pin A5. Figure 1 The USB device 100 of FIG. 1 may include a USB socket 310, a termination circuit 320, a port controller 330, and an OVP circuit 350. Figure 3 will not be repeated or referenced again. Figure 1 The description is the same as the description of .

[0037] refer to Figure 3 , the OVP circuit 350 may include an OVP switch 351 and a switch controller 352. The OVP switch 351 may be coupled to one or more CC pins described above. Although the operation of the OVP circuit 350 is described below for CC1 pin A5, it should be understood that the operation may also be performed for CC2 pin B5 (and VBUS pin B4).

[0038] For example, CC1 pin A5 of the USB socket 310 can be coupled to the termination circuit 320 to interrupt VCONN. The OVP switch 351 can electrically connect CC1 pin A5 to the termination circuit 320 or disconnect CC1 pin A5 from the termination circuit 320 in response to a control signal CTR received from the switch controller 352. When CC1 pin A5 is electrically connected to the termination circuit 320 through the OVP switch 351, the OVP switch 351 can have an on-resistance Ron. In order to minimize the distortion of the signal passing through CC1 pin A5, the OVP switch 351 can have a low on-resistance Ron. In addition, when CC1 pin A5 is electrically connected to the termination circuit 320 through the OVP switch 351, the OVP switch 351 may not limit the swing of the signal passing through CC1 pin A5. Therefore, as described below with reference to Figure 5 As described above, the OVP switch 351 may receive the boost voltage.

[0039] The switch controller 352 can be coupled to the CC1 pin A5 of the USB socket 310 and can detect an overvoltage occurring at the CC1 pin A5 based on the voltage of the CC1 pin A5 (ie, the input voltage V_IN). Figure 2 As described above, CC1 pin A5 may be adjacent to, for example, immediately adjacent to, VBUS pin A4 in the USB socket 310. Therefore, when CC1 pin A5 is short-circuited with VBUS pin A4, VBUS voltage V_BUS may be applied to CC1 pin A5. Switch controller 352 may detect an overvoltage occurring at CC1 pin A5 based on the level of input voltage V_IN, control OVP switch 351 using control signal CTR, and electrically disconnect CC1 pin A5 from termination circuit 320.

[0040] The switch controller 352 may receive the mode signal MD from the port controller 330 and provide the detection signal DET to the port controller 330. Figure 1 As described above, the detection signal DET may indicate whether an overvoltage occurs at the CC1 pin A5, and the mode signal MD may indicate the mode of the USB device 300 (ie, normal mode or low power mode). The switch controller 352 may generate the control signal CTR based on both the input voltage V_IN and the mode signal MD. Figure 4 An example of the operation of the switch controller 352 is described.

[0041] Figure 4 is a flow chart of a method for overvoltage protection in a USB interface according to an exemplary embodiment. For example, Figure 4 The method can be Figure 3 The OVP circuit 350 is implemented. Figure 3 To describe Figure 4 .

[0042] In operation S10, an operation of detecting overvoltage may be performed. For example, the switch controller 352 may determine whether an overvoltage occurs based on the input voltage V_IN of CC1 pin A5. In some embodiments, overvoltage may refer to a voltage that deviates from a voltage range defined by the USB standard for CC1 pin A5. For example, the USB standard may define a voltage level between -0.25V and 1.8V for a signal passing through CC1 pin A5, and when the voltage of CC1 pin A5 deviates from the range between -0.25V and 1.8V, an overvoltage is considered to have occurred. In some embodiments, overvoltage may be determined based on a maximum input voltage of an internal circuit of the USB device 300. For example, the internal circuit of the USB device 300 (e.g., the termination circuit 320 and the port controller 330) may receive a voltage of approximately 3.3V as a positive power supply voltage (e.g., Figure 5VDD), and when the detected voltage deviates from the range between 0V and 3.3V, it can be considered that an overvoltage has occurred. In some embodiments, the overvoltage can correspond to a voltage that deviates from the voltage range between 0V and 5V. In some embodiments, when the detected voltage deviates from a range that includes a predetermined margin and one of the above voltage ranges, it can be considered that an overvoltage has occurred. Figure 4 As shown, when overvoltage is not detected, operation S10 may be repeatedly performed, and when overvoltage is detected, operation S30 may be subsequently performed.

[0043] In operation S30, an operation of turning off the OVP switch 351 may be performed. For example, the switch controller 352 may generate a control signal CTR so that the OVP switch 351 may electrically disconnect the CC1 pin A5 from the termination circuit 320, that is, the OVP switch 351 may be turned off.

[0044] In operation S50, an operation of determining whether the overvoltage has been eliminated may be performed. For example, the switch controller 352 may determine whether the overvoltage has been eliminated at the CC1 pin A5 based on the input voltage V_IN of the CC1 pin A5. Figure 4 As shown, when the overvoltage has not been eliminated, operation S50 may be repeatedly performed, and the OVP switch 351 may remain off. Otherwise, when the overvoltage is eliminated, operation S70 may be subsequently performed.

[0045] In operation S70, an operation of determining the mode of the USB device 300 may be performed. For example, the switch controller 352 may determine the mode of the USB device 300 based on the mode signal MD received from the port controller 330. Figure 4 As shown, when the USB device 300 is in the normal mode, operation S91 may be subsequently performed, and when the USB device 300 is in the low power mode, operation S93 may be subsequently performed.

[0046] When the USB device 300 is in the normal mode, the operation of setting the on-resistance Ron of the OVP switch 351 to the first resistance R1 may be performed in operation S91. Figure 3 As described above, the first resistor R1 may correspond to a relatively low resistance to reduce distortion of the signal passing through the CC1 pin A5. For example, the switch controller 352 may generate a control signal CTR having a boost voltage so that the OVP switch 351 may have the first resistor R1 as an on-resistance Ron. Figure 5 As described above, the switch controller 352 may include a charge pump (eg, Figure 5 51), which is configured to generate a boost voltage according to a positive power supply voltage of an internal circuit of the USB device 300. As used herein, the first resistor R1 may refer to a resistor lower than a second resistor R2 to be described below.

[0047] When the USB device 300 is in the low power mode, an operation of setting the on-resistance Ron of the OVP switch 351 to the second resistance R2 may be performed in operation S93. The second resistance R2 may be higher than the first resistance R1. For example, the switch controller 352 may generate a control signal CTR having an unboosted voltage so that the OVP switch 351 has the second resistance R2 as the on-resistance Ron, and the charge pump included in the switch controller 352 may be powered off. Therefore, the switch controller 352 may consume reduced power in the low power mode. As a result, the efficiency of the USB device 300 may be improved in the low power mode.

[0048] Figure 5 is a block diagram of a switch controller 50 according to an example embodiment. For example, Figure 5 Shows Figure 3 An example of a switch controller 352. As mentioned above Figure 3 As stated, Figure 5 The switch controller 50 can receive the input voltage V_IN from the CC1 pin A5, receive the mode signal MD from the port controller 330, and generate the detection signal DET and the control signal CTR. Figure 5 As shown, the switch controller 50 may include a charge pump 51, an overvoltage detector 52 and a control circuit 53. Figure 3 and Figure 4 To describe Figure 5 .

[0049] The charge pump 51 may receive a positive power supply voltage VDD and generate a boost voltage (i.e., an output voltage V_OUT) based on the positive power supply voltage VDD. Under certain conditions, the output voltage V_OUT generated by the charge pump 51 may be provided to the OVP switch 351 by the control circuit 53, as described below. The OVP switch 351 may provide a first resistor R1 as an on-resistance Ron in response to the output voltage V_OUT. In some embodiments, the OVP switch 351 may include an n-channel field effect transistor (NFET), and the charge pump 51 may generate an output voltage V_OUT higher than the positive power supply voltage VDD. In some embodiments, the OVP switch 351 may include a p-channel FET (PFET), and the charge pump 51 may generate an output voltage V_OUT lower than the ground voltage. The charge pump 51 may have any configuration, i.e., any configuration, for generating the output voltage V_OUT. For example, the charge pump 51 may include at least one capacitor and at least one switch, and receive a clock signal.

[0050] The charge pump 51 may operate or power down in response to an enable signal ENA received from the control circuit 53. For example, the charge pump 51 may generate a boosted output voltage V_OUT from the positive power supply voltage VDD in response to an activated enable signal ENA, and may power down in response to a deactivated enable signal ENA.

[0051] The overvoltage detector 52 may receive an input voltage V_IN from the CC1 pin A5 and determine whether an overvoltage occurs at the CC1 pin A5 based on the input voltage V_IN. For example, the overvoltage detector 52 may include resistors Ra and Rb that divide the input voltage V_IN and a comparator CMP. The comparator CMP may compare the voltage divided from the input voltage V_IN with a reference voltage V_REF and output an activated detection signal DET when the divided voltage is higher than the reference voltage V_REF. Alternatively, the overvoltage detector 52 may have any structure that generates a detection signal DET according to the size of the input voltage V_IN.

[0052] The control circuit 53 may generate an enable signal ENA and a control signal CTR based on the detection signal DET received from the overvoltage detector 52 and the mode signal MD received from the port controller 130. For example, in response to the activated detection signal DET, the control circuit 53 may output the control signal CTR to turn off the OVP switch 351. In addition, in response to the mode signal MD indicating the low power mode, the control circuit 53 may output the deactivated enable signal ENA to power off the charge pump 51. As described below with reference to Figure 6 As mentioned above, in some embodiments, the control circuit 53 may include at least one logic gate for receiving the detection signal DET and / or the mode signal MD as input signals, and the control circuit 53 may include at least one switch that is turned on / off based on the output signal of the at least one logic gate. Figure 6 , Figure 8 and Fig.10 An example of the configuration and operation of the control circuit 53 will be described.

[0053] Figure 6 is a block diagram of a USB device 600 according to an example embodiment. Fig. 7A and Figure 7B According to an example embodiment Figure 6 Schematic diagram of an example of the operation of the USB device 600. Specifically, Figure 6 The USB device 600 includes an OVP switch 610 and a switch controller 620. The OVP switch 610 includes an NFET N60. The switch controller 620 is configured to control the OVP switch 610. Fig. 7A and Figure 7B Shows the time Figure 6 The USB device 600 signal. Figure 6 , Fig. 7A and Figure 7B In , it is assumed that the signal is an active high signal. Therefore, an activated signal may have a high level, and a deactivated signal may have a low level. Fig. 7A and Figure 7B In the description, the repeated description will not be repeated.

[0054] refer to Figure 6 , the OVP switch 610 may include an NFET N60 to function as a switch that is turned on and off based on the control signal CTR. Figure 6 Only one NFET N60 is shown in the figure, but in some embodiments, the OVP switch 610 may include a plurality of NFETs connected in series (which commonly receive the control signal CTR) and / or a plurality of NFETs connected in parallel with each other (which commonly receive the control signal CTR). The NFET N60 may have an on-resistance Ron that decreases as the gate voltage (i.e., the voltage of the control signal CTR) increases.

[0055] The switch controller 620 may include a charge pump 621 and a control circuit 623. The control circuit 623 may include a control logic device 623_1, a first switch 623_2, and a second switch 623_3. The control logic device 623_1 may receive a detection signal DET and a mode signal MD, and generate a first switch signal SW1 and a second switch signal SW2 based on the detection signal DET and the mode signal MD. The first switch 623_2 may connect the gate of the NFET N60 to a ground voltage or the second switch 623_3 based on the first switch signal SW1. The second switch 623_3 may connect the first switch 623_2 to a positive power supply voltage VDD or the charge pump 621 based on the second switch signal SW2. Figure 6 The states of the first switch 623_2 and the second switch 623_3 shown in FIG. 6 may correspond to states in which the first switch 623_2 and the second switch 623_3 receive a deactivated first switch signal SW1 and a deactivated second switch signal SW2 , respectively (ie, a low-level first switch signal SW1 and a low-level second switch signal SW2 ).

[0056] refer to Fig. 7A , the mode signal MD may have a low level in the normal mode until the time point t72, and have a high level in the low power mode from the time point t72. Alternatively, the mode signal MD may have a high level in the normal mode and a low level in the low power mode.

[0057] Before the time point t70, the overvoltage may not be detected at the CC1 pin A5, so the detection signal DET may be at a low level. The control logic device 623_1 may generate a high-level enable signal ENA based on the low-level mode signal MD, so that the charge pump 621 may generate the output voltage V_OUT. In addition, the control logic device 623_1 may generate a low-level first switch signal SW1 and a low-level second switch signal SW2 based on the low-level detection signal DET. As a result, the first switch 623_2 and the second switch 623_3 may be at Figure 6 , and the output voltage V_OUT of the charge pump 621 may be provided as the control signal CTR to the OVP switch 610. Therefore, the on-resistance Ron of the OVP switch 610 may correspond to the first resistance R1 lower than the second resistance R2.

[0058] At time point t70, an overvoltage may occur at CC1 pin A5, so the detection signal DET may turn to a high level. In response to the activated detection signal DET, the control logic device 623_1 may output an activated first switch signal SW1, so that the control signal CTR may have a ground voltage GND due to the first switch 623_2. Therefore, the NFET N60 may be turned off, and the OVP switch 610 may be turned off.

[0059] At time point t71, the overvoltage may be eliminated at CC1 pin A5, so the detection signal DET may turn to a low level. In response to the deactivated detection signal DET, the control logic device 623_1 may output a deactivated first switch signal SW1 so that the control signal CTR may have an output voltage V_OUT.

[0060] At time point t72, the USB device 600 may switch from the normal mode to the low power mode, and the mode signal MD may be turned to a high level. In response to the high-level mode signal MD, the control logic device 623_1 may output a deactivated enable signal ENA, so that the charge pump 621 may be powered off. In addition, in response to the high-level mode signal MD, the control logic device 623_1 may output an activated second switch signal SW2, so that the positive power supply voltage VDD may be provided as the control signal CTR to the OVP switch 610. Therefore, the on-resistance Ron of the OVP switch 610 may correspond to the second resistance R2 higher than the first resistance R1.

[0061] At time point t73, an overvoltage may occur at CC1 pin A5, so the detection signal DET may turn to a high level. In response to the activated detection signal DET, the control logic device 623_1 may output an activated first switch signal SW1, so that the control signal CTR may have a ground voltage GND due to the first switch 623_2. Therefore, the NFET N60 may be turned off, and the OVP switch 610 may be turned off.

[0062] At time point t74, the overvoltage may be eliminated at CC1 pin A5, so the detection signal DET may turn to a low level. In response to the deactivated detection signal DET, the control logic device 623_1 may output a deactivated first switch signal SW1 so that the control signal CTR may have the positive power supply voltage VDD.

[0063] refer to Figure 7B In some embodiments, when an overvoltage is detected, the charge pump 621 can be powered off even in normal mode. Figure 7B At time point t70, an overvoltage may occur at CC1 pin A5, so the detection signal DET may be turned into a high level. In response to the activated detection signal DET, the control logic device 623_1 may output not only the activated first switch signal SW1 but also the deactivated enable signal ENA. As a result, the charge pump 621 may be powered off. Therefore, when an overvoltage is detected, power consumption may be reduced even in the normal mode.

[0064] Figure 8 is a block diagram of a USB device 800 according to an example embodiment. Fig. 9 According to an example embodiment Figure 8 800 is a timing diagram of an example of the operation of the USB device 800. Specifically, Figure 8 A USB device 800 is shown, which includes an OVP switch 810 including a PFET P80 and a switch controller 820 configured to control the OVP switch 810 . Fig. 9 Shows the time Figure 8 The USB device 800 signal. Figure 8 and Fig. 9 , assuming the signal is an active high signal and will not repeat with the reference Figure 6 , Fig. 7A and Figure 7B The description is the same as the description of .

[0065] refer to Figure 8 , the OVP switch 810 may include a PFET P80, which functions as a switch that is turned on and off based on the control signal CTR. Figure 8Only one PFET P80 is shown, but in some embodiments, the OVP switch 810 may include a plurality of PFETs connected in series with each other (which commonly receive the control signal CTR) and / or a plurality of PFETs connected in parallel with each other (which commonly receive the control signal CTR). The PFET P80 may have an on-resistance Ron that decreases as the gate voltage (i.e., the voltage of the control signal CTR) decreases.

[0066] The switch controller 820 may include a charge pump 821 and a control circuit 823. Figure 6 Unlike the charge pump 621 of FIG. 8, the charge pump 821 can generate an output voltage V_OUT lower than the ground voltage. The control circuit 823 may include a control logic device 823_1, a first switch 823_2, and a second switch 823_3. The first switch 823_2 can connect the gate of the PFET P80 to the positive power supply voltage VDD or the second switch 823_3 based on the first switch signal SW1. The second switch 823_3 can connect the first switch 823_2 to the ground voltage or the charge pump 821 based on the second switch signal SW2. Figure 8 The states of the first switch 823_2 and the second switch 823_3 shown in FIG. 8 may correspond to a deactivated first switch signal SW1 and a deactivated second switch signal SW2 , ie, a low-level first switch signal SW1 and a low-level second switch signal SW2 , respectively.

[0067] refer to Fig. 9 , similar to Fig. 7A and Figure 7B , the mode signal MD may have a low level in the normal mode until time point t92, and may have a high level in the low power mode starting from time point t92. In addition, an overvoltage may occur at the CC1 pin A5 at time point t90 and time point t93, and the overvoltage may be eliminated at the CC1 pin A5 at time point t91 and time point t94.

[0068] Before the time point t90, the detection signal DET may be at a low level, and the control logic device 823_1 may generate a low-level first switch signal SW1 and a low-level second switch signal SW2 based on the low-level detection signal DET. Figure 8 , and the output voltage V_OUT of the charge pump 821 may be provided as the control signal CTR to the OVP switch 810. Therefore, the on-resistance Ron of the OVP switch 810 may correspond to the first resistance R1 which is lower than the second resistance R2.

[0069] At time point t90, the detection signal DET may be turned into a high level. The control logic device 823_1 may output an activated first switch signal SW1 in response to the activated detection signal DET, and thus the control signal CTR may have a positive power supply voltage VDD due to the first switch 823_2. Therefore, the PFET P80 may be turned off and the OVP switch 810 may be turned off. Next, at time point t91, the detection signal DET may be turned into a low level, so that the control logic device 823_1 may output a deactivated first switch signal SW1 in response to the deactivated detection signal DET. As a result, the control signal CTR may have an output voltage V_OUT. In some embodiments, as described above with reference to Figure 7B As stated above, Fig. 9 Unlike shown in FIG. 8 , the control logic device 823_1 may output a deactivated enable signal ENA, so that the charge pump 821 may be powered off from the time point t90 to the time point t91 .

[0070] At time point t92, the control logic device 823_1 may output a deactivated enable signal ENA in response to the high-level mode signal MD, and thus the charge pump 821 may be powered off. In addition, the control logic device 823_1 may output an activated second switch signal SW2 in response to the high-level mode signal MD, so that the ground voltage GND may be provided as the control signal CTR to the OVP switch 810. As a result, the on-resistance Ron of the OVP switch 810 may correspond to a second resistance R2 higher than the first resistance R1.

[0071] At time point t93, the detection signal DET may be turned into a high level, and the control logic device 823_1 may output the activated first switch signal SW1 in response to the activated detection signal DET, so that the control signal CTR may have the positive power supply voltage VDD due to the first switch 823_2. Therefore, the PFET P80 may be turned off, and the OVP switch 810 may be turned off. Next, at time point t94, the detection signal DET may be turned into a low level. In response to the deactivated detection signal DET, the control logic device 823_1 may output the deactivated first switch signal SW1, so the control signal CTR may have the ground voltage GND.

[0072] In some embodiments, Figure 3 The OVP switch 351 may include an NFET and a PFET connected in parallel and / or in series with each other. Therefore, the switch controller 352 may include a first charge pump that generates a first output voltage higher than the positive power supply voltage VDD and a second charge pump that generates a second output voltage lower than the ground voltage GND. The switch controller 352 may refer to Fig. 7A , Figure 7B and Figure 8The above operation is performed. Therefore, both the first charge pump and the second charge pump can be powered off in the low power mode.

[0073] Fig.10 is a block diagram of a USB device 900 according to an example embodiment. Fig.11A and Fig. 11B According to an example embodiment Fig.10 Schematic diagram of an example of the operation of the USB device 900. Specifically, Fig.10 A USB device 900 is shown, which includes an OVP switch 910 and a switch controller 920 . The OVP switch 910 includes a first OVP switch and a second OVP switch connected in parallel. The switch controller 920 is used to control the OVP switch 910 . Fig.11A and Fig. 11B Shows the time Fig.10 The signal of USB device 900. Fig.10 , Fig.11A and Fig. 11B In the example above, it is assumed that the signal is an active high signal. Fig.10 , Fig.11A and Fig. 11B , an OVP switch 910 including NFETs N91 and N92 as the first OVP switch and the second OVP switch is shown, but it should be understood that the embodiment can also be applied to an OVP switch including PFETs as the first OVP switch and the second OVP switch. Fig. 7A and Figure 7B The description is the same as the description of .

[0074] refer to Fig.10 , the OVP switch 910 may include a first NFET N91 and a second NFET N92, which are connected in parallel and receive different signals, for example, a first control signal CTR1 and a second control signal CTR2, respectively. The first NFET N91 may be used as a first OVP switch that is turned on and off based on the first control signal CTR1, and the second NFET N92 may be used as a second OVP switch that is turned on and off based on the second control signal CTR2.

[0075] The switch controller 920 may include a charge pump 921 and a control circuit 923. The control circuit 923 may include a control logic device 923_1, a first switch 923_2, and a second switch 923_3. The control logic device 923_1 may receive a detection signal DET and a mode signal MD, and generate a first switch signal SW1 and a second switch signal SW2 based on the detection signal DET and the mode signal MD. The first switch 923_2 may connect the gate of the first NFET N91 to a ground voltage or the charge pump 921 based on the first switch signal SW1. The second switch 923_3 may connect the gate of the second NFET N92 to a positive power supply voltage VDD or a ground voltage based on the second switch signal SW2. Fig.10 The states of the first switch 923_2 and the second switch 923_3 shown in FIG. 9 correspond to the deactivated first switch signal SW1 and the deactivated second switch signal SW2 , ie, the low-level first switch signal SW1 and the low-level second switch signal SW2 , respectively.

[0076] refer to Fig.11A In some embodiments, the switch controller 920 may turn off the second OVP switch (i.e., the second NFET N92) in the normal mode, and turn off the first OVP switch (i.e., the first NFET N91) in the low power mode. Therefore, the on-resistance Ron of the OVP switch 910 may depend on the first NFET N91 in the normal mode, and depend on the second NFET N92 in the low power mode. Since the first NFET N91 may receive the output voltage V_OUT from the charge pump 921, when an overvoltage does not occur at the CC1 pin A5, the OVP switch 910 may have a first resistance R1 as the on-resistance Ron in the normal mode, and have a second resistance R2 higher than the first resistance R1 in the low power mode.

[0077] like Fig.11A As shown in , the mode signal MD may have a low level in the normal mode until time point t12, and have a high level in the low power mode starting from time point t12. Alternatively, the mode signal MD may have a high level in the normal mode and a low level in the low power mode.

[0078] Before time point t10, overvoltage may not be detected at CC1 pin A5, so the detection signal DET may be at a low level. The control logic device 923_1 may generate a high-level enable signal ENA based on the low-level mode signal MD, so that the charge pump 921 may generate an output voltage V_OUT. In addition, the control logic device 923_1 may generate a low-level first switch signal SW1 and a low-level second switch signal SW2 based on the low-level detection signal DET. Therefore, the first switch 923_2 and the second switch 923_3 are at Fig.10In the state shown in , the output voltage V_OUT of the charge pump 921 can be provided to the first NFET N91 as the first control signal CTR1, and the ground voltage GND can be provided to the second NFET N92 as the second control signal CTR2. Therefore, the first NFET N91 can be turned on, and the second NFET N92 can be turned off. Since the output voltage V_OUT is higher than the positive power supply voltage VDD, the first NFET N91 can provide a first resistance R1 lower than the second resistance R2.

[0079] At time point t10, an overvoltage may occur at CC1 pin A5, so the detection signal DET may turn to a high level. In response to the activated detection signal DET, the control logic device 923_1 may output an activated first switch signal SW1, so that the first control signal CTR1 may have a ground voltage GND due to the first switch 923_2. Therefore, the first NFET N91 may be turned off, and the OVP switch 910 may be turned off.

[0080] At time point t11, the overvoltage may be eliminated at CC1 pin A5, so the detection signal DET may be turned into a low level. In response to the deactivated detection signal DET, the control logic device 923_1 may output a deactivated first switch signal SW1, so that the first control signal CTR1 may have an output voltage V_OUT. In some embodiments, as described above with reference to Figure 7B As stated above, Fig.11A Unlike shown in FIG. 1 , the control logic device 923_1 may output a deactivated enable signal ENA, so that the charge pump 921 may be powered off from the time point t10 to the time point t11 ​​.

[0081] At time point t12, the USB device 900 may switch from the normal mode to the low power mode, and the mode signal MD may be turned to a high level. In response to the high-level mode signal MD, the control logic device 923_1 may output a deactivated enable signal ENA, so that the charge pump 921 may be powered off. In addition, in response to the high-level mode signal MD, the control logic device 923_1 may output an activated first switch signal SW1, so that the ground voltage GND may be provided to the first NFET N91 as the first control signal CTR1. In addition, in response to the high-level mode signal MD, the control logic device 923_1 may output an activated second switch signal SW2, so that the positive power supply voltage VDD may be provided to the second NFET N92 as the second control signal CTR2. As a result, the first NFET N91 may be turned off and the second NFET N92 may be turned on. Therefore, the on-resistance Ron of the OVP switch 910 may correspond to the second resistance R2 higher than the first resistance R1.

[0082] At time point t13, an overvoltage may occur at CC1 pin A5, so the detection signal DET may turn to a high level. In response to the activated detection signal DET, the control logic device 923_1 may output a deactivated second switch signal SW2, so that the second control signal CTR2 may have a ground voltage GND due to the second switch 923_3. Therefore, the second NFET N92 may be turned on, and the OVP switch 910 may be turned off.

[0083] At time point t14, the overvoltage may be eliminated at CC1 pin A5, so the detection signal DET may turn to a low level. In response to the deactivated detection signal DET, the control logic device 923_1 may output an activated second switch signal SW2 so that the second control signal CTR2 may have the positive power supply voltage VDD.

[0084] refer to Fig. 11B In some embodiments, the switch controller 920 may turn off the first NFET N91 in the low power mode, and turn on or off the first NFET N91 and the second NFET N92 at the same time in the normal mode. Therefore, the on-resistance Ron of the OVP switch 910 may depend on the first NFET N91 and the second NFET N92 connected in parallel in the normal mode, and depend only on the second NFET N92 in the low power mode. The first NFET N91 may receive the output voltage V_OUT from the charge pump 921. Since the first NFET N91 and the second NFET N92 are turned on together, when an overvoltage does not occur at the CC1 pin A5, the OVP switch 910 may have a first resistance R1 as the on-resistance Ron in the normal mode and have a second resistance R2 higher than the first resistance R1 in the low power mode.

[0085] like Fig. 11B As shown, before time point t10, the control logic device 923_1 may output the deactivated first switch signal SW1 and the activated second switch signal SW2 in response to the deactivated detection signal DET. Therefore, the first control signal CTR1 and the second control signal CTR2 may have the output voltage V_OUT and the positive power supply voltage VDD, respectively, and the first NFET N91 and the second NFET N92 may both be turned on.

[0086] Fig.12 is a flow chart of a method for overvoltage protection in a USB interface according to an example embodiment. Specifically, Fig.12 Shows Figure 4 For example, Fig.12 The method can be Figure 5 The switch controller 50 performs. Figure 4 and Figure 5 To describe Fig.12 Flowchart of the process.

[0087] exist Figure 4 After operation S50, in operation S70', the switch controller 50 may determine the USB device (eg, Figure 3 When the mode signal MD corresponds to the normal mode, operation S91' may be subsequently performed. When the mode signal MD corresponds to the low power mode, operation S93' may be subsequently performed.

[0088] When the mode signal MD corresponds to the normal mode, in operation S91′, switching the OVP switch (eg, Figure 3 The on-resistance Ron of 351) is set to the operation of the first resistor R1. Fig.12 As shown, operation S91' may include operation S91_1. In operation S91_1, an operation of providing the output voltage V_OUT of the charge pump 51 to the OVP switch may be performed. The output voltage V_OUT may be a voltage boosted by the charge pump 51. Therefore, the OVP switch may have a relatively low on-resistance Ron, that is, a first resistor R1. After operation S91', operation S91_2 may be performed. Figure 4 Operation S10.

[0089] When the mode signal MD corresponds to the low power mode, in operation S93', switching the OVP switch (eg, Figure 3 The on-resistance Ron of 351) is set to the operation of the second resistor R2. Fig.12 As shown, operation S93' may include operation S93_1. In operation S93_1, an operation of powering off the charge pump 51 may be performed. As a result, power consumption may be reduced and the efficiency of the low power mode may be improved. After operation S93', Figure 4 Operation S10.

[0090] By summarizing and reviewing, one or more embodiments may provide circuits and methods for overvoltage protection. One or more embodiments may provide circuits and methods for reducing power consumption. One or more embodiments may provide circuits and methods for providing different on-resistances according to mode and / or overcharge detection.

[0091] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and are to be interpreted in a general descriptive sense only, and not for purposes of limitation. In some cases, as will be appreciated by those of ordinary skill in the art submitting this application, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless expressly stated otherwise. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention as set forth in the appended claims.

Claims

1. A circuit for overvoltage protection in a universal serial bus (USB) device, the USB device being configured to switch between a normal mode and a low power mode according to a mode signal generated to indicate a mode, the circuit include: Overvoltage protection OVP switch, connected to the pin of the USB port; as well as A switch controller, when an overvoltage is detected, the switch controller turns off the OVP switch so that the power between the pin and the USB device is interrupted, wherein the switch controller provides a control signal to the OVP switch so that when the USB device operates in the normal mode and no overvoltage is detected, the OVP switch has a first on-resistance, and when the USB device operates in the low power mode and no overvoltage is detected, the OVP switch has a second on-resistance higher than the first on-resistance.

2. The circuit according to claim 1, in, The USB device is a USB Type-C device.

3. The circuit according to claim 1, in, The switch controller includes a charge pump and a control logic device for controlling the charge pump.

4. The circuit according to claim 3, in, The control logic device turns off the charge pump when the USB device operates in the low power mode.

5. The circuit according to claim 4, in, When overcharging is detected, the control logic device shuts down the charge pump.

6. The circuit according to claim 4, in, The switch controller comprises: a first switch connected to the OVP switch; and a second switch, wherein the first switch is selectively connected to a ground voltage or the second switch, and the second switch is selectively connected to a positive power supply voltage or the charge pump, the charge pump outputting an output voltage higher than the positive power supply voltage.

7. The circuit according to claim 6, in, When the USB device operates in the normal mode and no overvoltage is detected, the first switch is connected to the second switch, and the second switch is connected to the charge pump; When the USB device is operating in the low power mode and no overvoltage is detected, the first switch is connected to the second switch and the second switch is connected to the positive supply voltage; and When the USB device detects an overvoltage while operating in the normal mode or in the low power mode, the first switch is connected to the ground voltage to turn off the OVP switch.

8. The circuit according to claim 4, in, The switch controller comprises: a first switch connected to the OVP switch; and a second switch, wherein the first switch is selectively connected to a positive power supply voltage or the second switch, and the second switch is selectively connected to a ground voltage or the charge pump, the charge pump outputting an output voltage lower than the ground voltage.

9. The circuit according to claim 8, in, When the USB device operates in the normal mode and no overvoltage is detected, the first switch is connected to the second switch, and the second switch is connected to the charge pump; When the USB device operates in the low power mode and no overvoltage is detected, the first switch is connected to the second switch, and the second switch is connected to the ground voltage; and When the USB device detects an overvoltage while operating in the normal mode or in the low power mode, the first switch is connected to the positive power supply voltage to turn off the OVP switch.

10. The circuit according to claim 4, in, The OVP switch includes a first OVP switch and a second OVP switch connected in parallel, and the switch controller includes: a first switch connected to the first OVP switch and selectively connected to a ground voltage or the charge pump; and A second switch is connected to the second OVP switch and is selectively connected to the ground voltage or a positive power supply voltage.

11. The circuit according to claim 10, in, When the USB device operates in the normal mode, the second switch is connected to the ground voltage; When the USB device operates in the normal mode and no overvoltage is detected, the first switch is connected to the charge pump; When the USB device operates in the low power mode, the first switch is connected to the ground voltage; When the USB device is operating in the low power mode and no overvoltage is detected, the second switch is connected to the positive supply voltage; When overvoltage is detected and the USB device is operating in the normal mode, the first switch is connected to the ground voltage to turn off the first OVP switch; and When overvoltage is detected and the USB device operates in the low power mode, the second switch is connected to the ground voltage to turn off the second OVP switch.

12. The circuit according to claim 10, in, When the USB device operates in the normal mode and no overvoltage is detected, the first switch is connected to the charge pump and the second switch is connected to the ground voltage; When overvoltage is detected and the USB device operates in the normal mode, the first switch is connected to the ground voltage to turn off the first OVP switch, and the second switch is connected to the positive power supply voltage; When the USB device operates in the low power mode, the first switch is connected to the ground voltage; When the USB device is operating in the low power mode and no overvoltage is detected, the second switch is connected to the positive supply voltage; When overvoltage is detected and the USB device operates in the low power mode, the second switch is connected to the ground voltage to turn off the second OVP switch.

13. The circuit according to claim 10, in, A first voltage difference between a first control signal provided to the first OVP switch when no overvoltage is detected while operating in the normal mode and the first control signal provided to the first OVP switch when an overvoltage is detected is greater than a second voltage difference between a second control signal provided to the second OVP switch when no overvoltage is detected while operating in the low power mode and the second control signal provided to the second OVP switch when an overvoltage is detected.

14. The circuit according to claim 1, in, A first voltage difference between the control signal provided to the OVP switch when no overvoltage is detected while operating in the normal mode and the control signal provided to the OVP switch when an overvoltage is detected is greater than a second voltage difference between the control signal provided to the OVP switch when no overvoltage is detected while operating in the low power mode and the control signal provided to the OVP switch when an overvoltage is detected.

15. A circuit for overvoltage protection in a universal serial bus (USB) device, the USB device being configured to switch between a normal mode and a low power mode according to a mode signal generated to indicate the mode, the circuit include: Overvoltage protection OVP switch, connected to the pin of the USB port; as well as a switch controller, which turns off the OVP switch when an overvoltage is detected, so that the power between the pin and the USB device is interrupted, wherein the switch controller includes a charge pump, which powers up the charge pump when the USB device operates in the normal mode and no overvoltage is detected, and powers down the charge pump when the USB device operates in the low power mode and no overvoltage is detected.

16. The circuit according to claim 15, in, The USB device is a USB Type-C device.

17. The circuit according to claim 15, in, When overvoltage is detected in both the normal mode and the low power mode, the switch controller provides a control signal to the OVP switch to turn off the OVP switch.

18. The circuit according to claim 17, in, A first voltage difference between the control signal provided to the OVP switch when no overvoltage is detected while operating in the normal mode and the control signal provided to the OVP switch when an overvoltage is detected is greater than a second voltage difference between the control signal provided to the OVP switch when no overvoltage is detected while operating in the low power mode and the control signal provided to the OVP switch when an overvoltage is detected.

19. The circuit according to claim 15, in, When the USB device detects an overvoltage while operating in the normal mode, the charge pump is powered off.

20. The circuit according to claim 15, in, The OVP switch includes a first OVP switch and a second OVP switch connected in parallel, and the switch controller includes: a first switch connected to the first OVP switch and selectively connected to a ground voltage or the charge pump; and A second switch is connected to the second OVP switch and is selectively connected to the ground voltage or a positive power supply voltage.

21. A method for overvoltage protection in a universal serial bus (USB) device, the USB device being configured to switch between a normal mode and a low power mode according to a mode signal generated to indicate the mode, the method include: Monitor the voltage on the pins of the USB port; When overvoltage is detected, turning off the overvoltage protection OVP switch connected to the pin of the USB socket, so that the power between the pin and the USB device is interrupted; When the overvoltage is eliminated, turning on the OVP switch; as well as determining whether the USB device is operating in the normal mode or in the low power mode, wherein: When the USB device operates in the normal mode, a first voltage is provided to the OVP switch when no overvoltage is detected, and When the USB device operates in the low power mode, a second voltage is provided to the OVP switch when no overvoltage is detected, the second voltage being lower than the first voltage.

22. The method according to claim 21, in, The USB device is a USB Type-C device.

23. A method for overvoltage protection in a universal serial bus (USB) device, the USB device being configured to switch between a normal mode and a low power mode according to a mode signal generated to indicate the mode, the method include: Monitor the voltage on the pins of the USB port; When overvoltage is detected, turning off the overvoltage protection OVP switch connected to the pin of the USB socket, so that the power between the pin and the USB device is interrupted; When the overvoltage is eliminated, turning on the OVP switch; as well as determining whether the USB device is operating in the normal mode or the low power mode, wherein a first voltage difference between a control signal provided to the OVP switch when no overvoltage is detected and the control signal provided to the OVP switch when an overvoltage is detected when operating in the normal mode is greater than a second voltage difference between the control signal provided to the OVP switch when no overvoltage is detected and the control signal provided to the OVP switch when an overvoltage is detected when operating in the low power mode.

24. The method according to claim 23, in, The USB device is a USB Type-C device.

25. The method according to claim 23, further comprising: include: When the USB device operates in the normal mode and no overcharge is detected, providing the output voltage of the charge pump to the OVP switch, and When the USB device operates in the low power mode, the charge pump is powered off.