Dynamic VCONN switching in dual-power Type-C cable applications
By using NFET and DENFET switches in the USB Type-C cable controller, combined with a diode clamp device, the voltage management problem under low-voltage power supply and VBUS short-circuit event is solved, and effective protection of semiconductor equipment and power supply direction control are achieved. Flexible exchange.
Patent Information
- Application Number
- CN201980028162.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-06
- Filing Date
- 2019-04-01
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-04-01
AI Technical Summary
The existing USB Type-C cable controller may cause voltage drop problems on the integrated circuit chip under low-voltage power supply conditions, and cannot effectively prevent the chip voltage from rising during a VBUS short-circuit event, which may cause damage to semiconductor equipment and increase the number of external isolation diodes. Cable material cost.
An n-type field effect transistor (NFET) switch and a drain extended NFET (DENFET) are used to implement the VCONN to VDDD path. The DENFET is driven by a charge pump to reduce resistance, and a diode clamp is used to limit the gate voltage and dynamically switch the power supply. wire to prevent excessive voltage.
It effectively reduces the static voltage of the chip, prevents damage caused by VBUS short-circuit events, reduces cable material costs, and enables flexible switching of power supply direction.
Smart Images

Figure CN112042093B_ABST
Abstract
Description
[0001] Related Applications
[0002] This application is an international application of U.S. non-provisional application No. 16 / 123,157 filed on September 6, 2018, which claims the benefit of priority to U.S. Provisional Application No. 62 / 663,382 filed on April 27, 2018, all of which are incorporated herein by reference in their entirety. Technical Field
[0003] The present disclosure relates to the field of electronic circuits, and more particularly to a USB Type-C cable controller chip. Background Art
[0004] Electronic circuits may include individual electronic components, such as resistors, transistors, capacitors, inductors, and diodes, connected by wires or traces through which electrical current may flow. Electronic circuits may be constructed using discrete components, or more commonly may be integrated into an integrated circuit (IC) in which the components and interconnections are formed on a common substrate, such as silicon. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] The present disclosure is illustrated by way of example and not limitation in the figures of the accompanying drawings.
[0006] Figure 1 is a block diagram of a semiconductor device configured according to techniques for dynamic VCONN switching in dual-powered Type-C cable applications, according to various embodiments.
[0007] Figure 2 is a circuit diagram of a USB Type-C cable using an electronically marked cable assembly (EMCA) controller according to an embodiment.
[0008] Figure 3 is a terminal diagram of a USB full-function Type-C plug interface according to an embodiment.
[0009] Figure 4 is a circuit diagram illustrating a semiconductor device that provides power to an EMCA controller and performs dynamic VCONN switching in a dual-powered Type-C cable application according to an embodiment.
[0010] Figure 5 is a flow chart of a method of powering up an EMCA controller and performing dynamic VCONN switching in a dual-powered Type-C cable application according to an embodiment.
[0011] Figure 6 is a circuit diagram of a USB Type-C cable using an EMCA controller coupled to each of the Type-C plug interfaces of the USB Type-C cable, according to an embodiment. DETAILED DESCRIPTION
[0012] A USB Type-C cable controller may be powered from either of the VCONN supply lines from opposite ends of a Universal Serial Bus (USB) Type-C cable. A USB Type-C cable controller will power down either supply line at a supply voltage of 3.0V or less. The controller will also withstand a brief short to VBUS greater than 20V. Currently, a Type-C cable controller may be powered from either the first VCONN line (at the first end of the cable) or the second VCONN line (at the second end of the cable) by using an isolation diode from VCONN to the internal power supply.
[0013] However, these isolation diodes may have a large voltage drop. With a minimum VCONN voltage value of 3.0V, the voltage drop relative to the cable semiconductor device (e.g., the integrated circuit chip within the C-type cable) may cause chip operation problems. If the isolation diodes are implemented externally to have a smaller voltage drop, the cable material cost will increase. During a VBUS short circuit event, the diodes may not prevent the internal cable chip voltage from rising, which may cause the semiconductor device to be damaged.
[0014] To address these and other deficiencies, some embodiments may utilize n-type field effect transistor (NFET) switches to implement a first VCONN to VDDD (e.g., an internal power supply of the chip, such as Vddd_core) path and a second VCONN to VDDD path. The NFET switches may be implemented as drain extended NFET (DENFET) transistors that can withstand greater than 20V on the drain side (e.g., VCONN side). The DENFETs may also be implemented as low voltage threshold transistors to reduce their resistance and size.
[0015] In various embodiments, the DENFET gate can be driven by a voltage supply device (e.g., a charge pump) of, for example, five volts, which can have two benefits. First, the pump voltage can minimize the resistance of the DENFET when supplying current from the VCONN line to VDDD. Second, the pump voltage can limit the voltage on VDDD when one of the VCONN line inputs is shorted to the adjacent 20V VBUS terminal. The DENFET will not pass a voltage higher than Vgs=Vg-Vt, where Vg is the DENFET gate voltage, Vgs is the gate-to-source voltage difference, and Vt is the DENFET threshold voltage, which is ideally zero volts or close to zero volts. In a particular embodiment, this can limit the quiescent voltage (of Vddd_core) to no more than about 4.5V.
[0016] In response to chip power-up, the DENFET gate voltage is weakly pulled to the associated VCONN supply by a resistor coupled between the VCONN terminal and the gate. To prevent damage to the gate during a VBUS short circuit event, a diode clamping device (e.g., a diode chain) can be used to clamp the gate voltage to no more than about 6V. While one VCONN line (e.g., the first VCONN line) is effectively supplying current to VDDD, the other VCONN line (e.g., the second VCONN line) should not be restored to power. This is achieved by driving the gate voltage of the second DENFET to ground, which will turn off the second DENFET and limit the restoration supply current to less than 1 microampere. When the second VCONN line becomes valid (e.g., exceeds a threshold voltage), the logic circuit can perform a switching operation in which the second DENFET of the second VCONN line is turned on while the first DENFET of the first VCONN line is turned off to drive the gate voltage of the first DENFET to ground.
[0017] In one embodiment, a semiconductor device is configured for a universal serial bus (USB) Type-C cable, for example, as an electronically marked cable assembly (EMCA) controller. The semiconductor device may include: a first terminal for coupling to a first VCONN line from a first end of the USB Type-C cable; a second terminal for coupling to a second VCONN line from a second end of the USB Type-C cable; a charge pump; and a switch circuit coupled to the first terminal and the second terminal. The switch circuit may include: a first DENFET coupled between the first terminal and an internal power supply of the semiconductor device; a first pump switch coupled between the charge pump and a gate of the first DENFET; a second DENFET coupled between the second terminal and the internal power supply; and a second pump switch coupled between the charge pump and a gate of the second DENFET. As will be described in detail, the switch circuit may be configured to dynamically switch power from one of the first VCONN line or the second VCONN line to an internal power supply (e.g., VDDD) of the semiconductor device back and forth between the first terminal and the second terminal, respectively.
[0018] In this way, depending on which of the voltages of the first VCONN line and the second VCONN line rises to a threshold voltage, the semiconductor device can enable dynamic exchange of power between the ends of the cable. For purposes of illustration, assume the following use case scenario: a mobile phone is used with another handheld device, such as a scanner, that is also powered by a battery. The mobile phone may already be fully charged, so initially the mobile phone may help power the scanner, for example, through a VCONN or VBUS connection. However, over time, the mobile phone may become nearly depleted of battery power, but the scanner may have more power or may be plugged into an AC power source. In this case, the draw of power may swap directions and be pulled from the scanner to the mobile phone for charging the mobile phone's battery. Many other scenarios are envisioned that may require swapping the direction of power flow through a USB Type-C cable.
[0019] The electronic device or system that USB enables can comply with at least one release version of the Universal Serial Bus (USB) specification. Examples of such USB specifications include, but are not limited to, USB Specification Revision 2.0, USB 3.0 specifications, USB 3.1 specifications and / or various supplements thereof (e.g., portable (On-The-Go) or OTG), versions and errata. The USB specification generally defines the features (e.g., attributes, protocol definitions, transaction types, bus management, programming interfaces, etc.) of the differential serial bus required for designing and building standard communication systems and peripheral devices. For example, the peripheral device enabled by USB is attached to the host device through the USB port of the host device enabled by USB to form a system enabled by USB. The USB 2.0 port includes a 5V power voltage line (denoted as VBUS), a differential pair of data lines (denoted as D+ or DP and D- or DN) and a ground line (denoted as GND) for power return. The USB 3.0 port also provides a VBUS line, a D+ line, a D- line and a GND line for backward compatibility with USB 2.0. In addition, to support a faster differential bus (USB SuperSpeed bus), the USB 3.0 port also provides a differential pair of transmitter data lines (denoted as SSTX+ and SSTX-), a differential pair of receiver data lines (denoted as SSRX+ and SSRX-), a power line for power supply (denoted as DPWR), and a ground line for power return (denoted as DGND). USB 3.1 ports provide the same lines as USB 3.0 ports for backward compatibility with USB 2.0 and USB 3.0 communications, but extend the performance of the SuperSpeed bus through a series of features known as Enhanced SuperSpeed.
[0020] A newer technology for USB connectors, referred to as USB Type-C, is defined in various releases and / or versions of the USB Type-C specification (e.g., Release 1.0, dated August 11, 2014, Release 1.1, dated April 3, 2015, or subsequent versions / versions thereof). The USB Type-C specification defines a Type-C receptacle, a Type-C plug, and a Type-C cable that can support USB communication and power delivery via the newer USB power delivery protocol defined in various revisions / versions of the USB-PD specification.
[0021] Examples of USB Type-C features and requirements may include, but are not limited to, data and other communications in accordance with USB 2.0 and USB 3.0 / USB 3.1, electromechanical definitions and performance requirements for Type-C cables, electromechanical definitions and performance requirements for Type-C receptacles, electromechanical definitions and performance requirements for Type-C plugs, Type-C requirements for legacy cable assemblies and adapters, requirements for Type-C-based device detection and interface configuration, requirements for optimizing power delivery over Type-C connectors, etc.
[0022] According to the USB Type-C specification, the Type-C port provides VBUS line, D+ line, D- line, GND line, SSTX+ line, SSTX- line, SSRX+ line and SSRX- line (see Figure 3 In addition, the Type-C port also provides a sideband use (denoted as SBU) line for signaling of sideband functions and a configuration channel (denoted as CC) line for discovering, configuring, and managing connections through the Type-C cable. The Type-C port can be associated with a Type-C plug and / or a Type-C receptacle. For ease of use, the Type-C plug and Type-C receptacle are designed as a reversible pair that can operate regardless of the orientation of the plug to the receptacle. Thus, a standard USB Type-C connector arranged as a standard Type-C plug or receptacle provides pins for four VBUS lines, four ground return (GND) lines, two D+ lines (DP1 and DP2), two D- lines (DN1 and DN2), two SSTX+ lines (SSTXP1 and SSTXP2), two SSTX- lines (SSTXN1 and SSTXN2), two SSRX+ lines (SSRXP1 and SSRXP2), two SSRX- lines (SSRXN1 and SSRXN2), two CC lines (CC1 and CC2), and two SBU lines (SBU1 and SBU2), etc.
[0023] Some USB-enabled electronic devices may comply with a specific revision and / or specific version of the USB-PD specification (e.g., revision 1.0 released on July 5, 2012, revision 2.0 released on August 11, 2014, etc., or subsequent revisions / versions thereof). The USB-PD specification defines a standard protocol designed to maximize the functionality of USB-enabled devices by providing more flexible power delivery and data communication over a single USB-C cable through a USB-C port. The USB-PD specification also describes the architecture, protocols, power supply behaviors, parameters, and cables necessary to manage power delivery at up to 100W through a USB-C cable. According to the USB-PD specification, a device (e.g., a USB-enabled device) having a USB-C port can negotiate more current and / or higher or lower voltage through a USB-C cable than allowed in older USB specifications (e.g., USB 2.0 specification, USB 3.1 specification, USB Battery Charging Specification Version 1.1 / 1.2, etc.). For example, the USB-PD specification defines requirements for a power delivery contract (PD contract) that can be negotiated between a pair of USB-enabled devices. The PD contract can specify power levels and power delivery directions that both devices can accommodate, and can be dynamically renegotiated upon request by either device and / or in response to various events and conditions such as power role swaps, data role swaps, hard resets, power failures, etc. (e.g., without unplugging the devices).
[0024] Figure 1 is a block diagram of a semiconductor device 100 configured according to techniques for dynamic VCONN switching in dual-powered Type-C cable applications, according to various embodiments. Figure 1 In the illustrated embodiment, the semiconductor device 100 is an integrated circuit (IC) controller fabricated on a single semiconductor die. For example, the IC controller may be a CMGx (or CCG * or CCG3PA *)A single-chip IC device of the USB Type-C EMCA controller family. "CMG" stands for Cable Marker Generation. In another example, the IC controller may be a single-chip IC manufactured as a system on a chip (SoC). In other embodiments, the IC controller may be a multi-chip module packaged in a single semiconductor package. Among other components, the IC controller may include a CPU subsystem 102, a peripheral interconnect 114, system resources 116, a storage device 117, various input / output (I / O) blocks 118 (e.g., I / O blocks 118A to I / O blocks 118N), and a USB-PD subsystem 120. The storage device 117 may be programmable through the Type-C interface for storing vendor-specific, device-specific, and cable-specific configuration data.
[0025] The CPU subsystem 102 may include one or more CPUs (central processing units) 104, flash memory 106, SRAM (static random access memory) 108, and ROM (read memory) 110 coupled to a system interconnect 112. The CPU 104 is a suitable processor that can be operated in an IC device or a SoC device. In some embodiments, a large number of gated clocks can be used to optimize the CPU for low-power operation, and the CPU may include various internal controller circuits that enable the CPU to operate in various power states. For example, the CPU may include a wake-up interrupt controller that is configured to wake up the CPU from a sleep state, thereby enabling the IC chip to "cut off" power when it is in a sleep state. The flash memory 106 is a non-volatile memory (e.g., NAND flash memory, NOR flash memory, etc.) configured to store data, programs, and / or other firmware instructions. The flash memory 106 is tightly coupled within the CPU subsystem 102 to improve access time. The SRAM 108 is a volatile memory configured to store data and firmware instructions accessed by the CPU 104. ROM 110 is a read-only memory (or other suitable storage medium) configured to store boot routines, configuration parameters, and other firmware parameters and settings. System interconnect 112 is a system bus (e.g., a single-stage or multi-stage Advanced High-Performance Bus, or AHB) configured as an interface to couple the various components of CPU subsystem 102 to each other and as a data and control interface between the various components of the CPU subsystem and peripheral interconnect 114.
[0026] Peripheral interconnect 114 is a peripheral bus (e.g., single-level or multi-level AHB) that provides the primary data and control interface between CPU subsystem 102 and its peripherals and other resources, such as system resources 116, I / O blocks 118, and USB-PD subsystem 120. Peripheral interconnect 114 may include various controller circuits (e.g., direct memory access or DMA controllers) that may be programmed to pass data between peripheral blocks without burdening CPU subsystem 102. In various implementations, each of the components of CPU subsystem 102 and peripheral interconnect 114 may be different for each selection or type of CPU, system bus, and / or peripheral bus.
[0027] System resources 116 may include various electronic circuits and components that support the operation of the IC controller in its various states and modes. For example, system resources 116 may include circuits such as an integrated oscillator (e.g., to eliminate the need for an external clock), a power-on reset (POR) circuit, voltage and current reference generators, etc. System resources 116 may also include circuits that enable the IC controller to draw power from and / or provide power to an external source at several different voltage levels and / or current levels and support the controller to operate in several power states 119 (e.g., deep sleep, sleep, and active states). In some embodiments, system resources may also include a clock subsystem that provides various clocks used by the IC controller and circuits that implement various controller functions such as external reset.
[0028] The USB-PD subsystem 120 provides an interface to the USB Type-C port and is configured to support USB communications as well as other USB functions such as power delivery and battery charging. The USB-PD subsystem 120 may include electrostatic discharge (ESD) protection circuits required on the Type-C port. The USB-PD subsystem 120 may also include a Type-C transceiver and a physical layer logic (PHY) that is configured to integrate a baseband PHY circuit to perform various digital encoding / decoding functions (e.g., biphase mark code-BMC encoding / decoding, cyclic redundancy check-CRC, etc.) and analog signal processing functions involved in physical layer transmission. The USB-PD subsystem 120 also provides a terminal resistor (R P and R D ) and its switches to implement connection detection, plug orientation detection, and power delivery roles over a Type-C cable. The IC controller (and / or its USB-PD subsystem 120) can also be configured to respond to communications defined in the USB-PD specification, such as start packet SOP, SOP', and SOP" messaging.
[0029] Among other circuits, the USB-PD subsystem 120 may also include: a circuit for providing VBUS to CC short-circuit protection; a circuit for providing VBUS to the first VCONN1 short-circuit protection using the terminal resistor RA on the first VCONN line; a circuit for providing VBUS to the second VCONN short-circuit protection using the terminal resistor RA on the second VCONN line; electronically marked cable application (EMCA) protocol engine logic; and communication channel PHY (CCBB PHY) logic for supporting communication on a Type-C communication channel (CC) line.
[0030] According to the techniques described herein, an IC controller may also include additional components disclosed with reference to a semiconductor device or EMCA controller as described below.
[0031] Figure 2 2 is a circuit diagram of a USB Type-C cable 200 using an EMCA controller 201 according to an embodiment. The USB Type-C cable 200 includes a first Type-C plug 204A and a second Type-C plug 204B, each at one end of the cable. Figure 3 As shown, each Type C plug 204A and 204B includes terminals for various lines, including the VBUS line, VCONN line, CC line, SuperSpeed and HighSpeed lines and GND discussed in detail above. All lines except the VCONN line are connected from one end of the cable to the other end.
[0032] Figure 2 The embodiment is one of the passive EMCA applications in which a single EMCA controller 201 (eg, CMG1 chip) is deployed in the USB Type-C cable 200. Because the switch circuit (eg, Figure 4 408) is to be inserted into the VCONN line passing through the EMCA controller 201, so the VCONN line is divided into a first VCONN line (from the first C-type plug 204A) and a second VCONN line (from the second C-type plug 204B). The first terminal of the EMCA controller 201 is coupled to the first VCONN line, and the second terminal of the EMCA controller 201 is coupled to the second VCONN line. The CC lines from both the C-type plugs 204A and 204B are also coupled to the EMCA controller 201.
[0033] Figure 3is a terminal diagram of a USB full-function Type-C plug interface 300 according to an embodiment. Since various aspects of the Type-C plug interface 300 have been discussed previously, its description is simplified here. The SSTX+ line, SSTX- line, SSRX+ line, and SSRX- line can correspond to the lines shown as the TX+ line, TX- line, RX+ line, and RX- line. There are four VBUS terminals, and note that one of the four VBUS terminals (B4) is close to the VCONN terminal (B5). For this reason, the EMCA controller 201 (for example, when the cable is inserted) is subject to the risk of a short circuit from one of the VBUS terminals (from the Type-C plug 204A or 204B) to the corresponding VCONN terminal. Therefore, as referenced Figure 4 As discussed, short circuit protection is integrated into the extended design of the EMCA controller 201 .
[0034] Figure 4 is a circuit diagram showing a semiconductor device 400 that provides power to an EMCA controller and performs dynamic VCONN switching in a dual powered Type-C cable application according to an embodiment. In one embodiment, the semiconductor device is Figure 2 EMCA controller 201 is shown. Semiconductor device 400 may include a first terminal 404A, a second terminal 404B, a switch circuit 408, and a core circuit system 420. The first terminal 404A may be configured to couple to a first VCONN line within the USB Type-C cable 200, and the second terminal may be configured to couple to a second VCONN line within the USB Type-C cable 200.
[0035] In various embodiments, the switch circuit 408 may include a first drain extended n-type field effect transistor (DENFET) 406A, a second DENFET 406B, a first pump switch 412A, a second pump switch 412B, a first diode clamp 416A, a second diode clamp 416B, a first pull-up resistor (R pu1 ), the second pull-up resistor (R pu2 ), the first electrostatic discharge (ESD) resistor (R ESD1 ) and the second ESD resistor (R ESD2 In one embodiment, the resistor R pu1 and R pu2 Each is a one megohm (1 MΩ) resistor. In one embodiment, the ESD resistor (R ESD1 and R ESD2 ) will provide electrostatic discharge (ESD) for overcurrent surges from either the first terminal or the second terminal, respectively.
[0036] In an embodiment, the core circuit system 420 includes: an internal power supply 424, also referred to herein as Vddd_core (or VDDD); a voltage detection circuit 426; a charge pump 428 and a control logic 430. In one embodiment, the voltage detection circuit 426 may be incorporated as part of the control logic 430. Once the internal power supply 424 is powered from one of the first VCONN line or the second VCONN line, it can operate to power on other components in the semiconductor device 400 and enter an active mode.
[0037] In some embodiments, the charge pump 428 can be a five-volt charge pump designed to fully power one of the DENFETs 406A or 406B, which has at least two benefits. First, the charge pump 428 minimizes the "on" resistance of the DENFET when current is supplied from one of the VCONN lines to the internal power supply 424. Second, when one of the VCONN voltage inputs is shorted to 20VVBUS, the charge pump 428 limits the voltage on the internal power supply 424. The DENFET will not pass a voltage higher than Vgs=Vg-Vt, where Vg is the DENFET gate voltage, Vgs is the gate-to-source voltage difference, and Vt is the DENFET threshold voltage. For the semiconductor device 400, the DENFET limits the quiescent voltage (of the internal power supply 424) to no more than 4.5V.
[0038] Control logic 430 may be firmware or hardware logic designed to detect various voltage levels and control first pump switch 412A and second pump switch 412B to select whether to power semiconductor device 400 through the first VCONN line or the second VCONN line, as will be described in more detail.
[0039] In one embodiment, the first DENFET 406A is coupled between the first terminal 404A and the core circuit system 420 to include an internal power supply 424. In this case, the extended drain of the first DENFET 406A can be coupled to the first terminal 404A, while its source is coupled to the resistor R ESD1 One end of the resistor R ESDI The other end of the resistor R can be further coupled to the core circuit system 420. pu1 A first pump switch 412A is coupled between the gate of the first DENFET 406A and ground and is controlled by the control logic 430. A first diode clamp device 416A is coupled between the gate of the first DENFET 406A and ground.
[0040] In one embodiment, the second DENFET 406B is coupled between the second terminal 404B and the core circuit system 420 to include an internal power supply 424. In this case, the extended drain of the second DENFET 406B can be coupled to the second terminal 404B, while its source is coupled to the resistor R ESD2 The other end of the resistor RESD2 can be further coupled to the core circuit system 420. pu2 The second pump switch 412B is coupled between the gate of the second DENFET 406B and ground and is controlled by the control logic 430. The second diode clamp device 416B is coupled between the gate of the second DENFET 406B and ground.
[0041] In these embodiments, the charge pump 428 can be coupled to each of the first pump switch 412A and the second pump switch 412B. The control logic 430 can send signals to the first pump switch 412A and the second pump switch 412B to determine which pump switch is turned on (pulled high to the charge pump voltage) and which pump switch is turned off (pulled low to ground, which ensures that the VCONN line is not restored to power). In one embodiment, the first DENFET 406A and the second DENFET 406B are low voltage DENFET switches to reduce the voltage between the input terminal and the internal power supply 424, thereby delivering more power to Vddd_core.
[0042] In various embodiments, the semiconductor device 400 may be powered on after one of the first C-type plug 204A or the second C-type plug 204B is first plugged into a USB socket on another device or into a power socket. For purposes of illustration, it is assumed that the first end of the cable is plugged in, thereby delivering voltage to the first VCONN line through the first C-type plug 204A. The first pull-up resistor R pui It can act as a weak voltage pull-up to the gate of the first DENFET 406A, thereby enabling the first DENFET to turn on. When the first DENFET gate voltage is pulled up to the first VCONN line voltage, the first DENFET 406A passes a voltage VCONN-VtDENFET to the internal power supply 424, where VtDENFET is the threshold voltage of the DENFET. This threshold voltage is ideally zero, but in practice can vary in a range of up to 0.5V. It has been verified that the voltage supplied through the first VCONN line is high enough to successfully start the semiconductor device 400, for example, so that the internal power supply 242 rises to above about 1.65 volts.
[0043] After the semiconductor device 400 is started (e.g., after a power-up mode), the charge pump 428 can be enabled, causing the pump voltage (vpump) to rise to about five volts (or whatever voltage the pump voltage is set to). At this point, the first pump switch 412A can pass the pump voltage to the gate of the first DENFET 406A, and the internal power supply (vddd_core) voltage can increase to the minimum of: (1) the voltage on the first VCONN line; and (2) the pump voltage minus the DENFET threshold voltage (VtDENFET) This mode can support the higher active current required by the semiconductor device 400 during normal operation.
[0044] During a VBUS short event (eg, VBUS to first VCONN short), the first VCONN line voltage may increase to the VBUS voltage, such as 20V or greater. 1MΩ resistor R pu1 The combination of the maximum voltage across the diode clamp 416A can limit the voltage on the DENFET gate to a maximum voltage, for example, not more than about five to six volts. Depending on the design, the drain of the DENFET can withstand high voltages (greater than 20V). This means that the semiconductor device 400 can operate normally even when VCONN is 20V or greater than 20V. Each of the diode clamps can be made of a plurality of diode-connected NFETs to clamp the voltage to a desired level (e.g., 5V to 6V as just discussed) while each of the pull-up resistors limits the current. Therefore, in one embodiment, each of the diode clamps 416A and 416B can include five (or six) one-volt NFETs in series. In some embodiments, the ESD resistor (R ESD1 and R ESD2 ) is used to prevent ESD current that may flow from the first VCONN line (or the second VCONN line) to the core circuit system 420 during an ESD event on the first VCONN pin (or the second VCONN pin).
[0045] In various additional implementations, the discussion above with reference to the first VCONN line and the half of the switch circuit 408 coupled to the first terminal 404A is equally applicable to the second VCONN line and the half of the switch circuit 408 coupled to the second terminal 404B.
[0046] In an embodiment, as will be referred to Figure 5As discussed in more detail, the control logic 430 may send a plurality of signals to the first pump switch 412A and the second pump switch 412B to turn the first pump switch 412A and the second pump switch 412B on or off depending on whether a threshold voltage from one or both of the first VCONN line and the second VCONN line has been detected. These signals are Figure 4 4. The threshold voltage may be detected by the voltage detection circuit 426 of the core circuit system 420.
[0047] Figure 5 1 is a flow chart of a method 500 for powering an EMCA controller and performing dynamic VCONN switching in a dual powered Type-C cable application according to an embodiment. The method 500 may be performed by processing logic including hardware (e.g., circuitry, dedicated logic, programmable logic, microcode, etc.). In one embodiment, the method 500 is performed in whole or in part by the control logic 430 ( Figure 4 ) is executed and can be executed to operate the semiconductor device 400. Before transitioning to the active mode as will be described, in particular in the power-up mode, some steps of the method can be organically performed by the circuit system of the switch circuit 408.
[0048] Reference Figure 5 , the method 500 may begin by receiving a first pull-up resistor (R pu1 ) drops to power on the first DENFET (505). Alternatively or additionally, the initial power-up may be performed by a second pull-up resistor (R) coupled between the second terminal and the gate of the second DENFET in accordance with a voltage received from the second VCONN line at the second terminal. pu2 ) drops to energize the second DENFET. Method 500 may continue with the following process: in response to the voltage being passed to the internal power supply (Vddd_core) through the first DENFET (and / or the second DENFET), energizing the internal power supply of the semiconductor device (510). Method 500 may continue with the following process: energizing the internal power supply to a level sufficient to deassert a power-on reset (POR) circuit of the semiconductor device (520).
[0049] In various embodiments, the steps performed at blocks 505 to 520 may be understood to cover the power-up mode of the semiconductor device 400. The starting point is that both the first VCONN supply and the second VCONN supply are 0V and the semiconductor device is not powered. As previously described, when one or both of the VCONN supplies rises high enough to begin powering the semiconductor device 400, the resistor R pu1 or R pu2 The weak pull-ups on VCONN and VCONN respectively enable sufficient voltage to be delivered to vddd_core to enable the semiconductor device 400 to exit the power-up state and start up. During the power-up mode, both VCONN control signals are set to sw_disable*=0 and sw_en_act*=0, which makes the weak pull-up resistor (R pu1 and R pu2 ) can control the gate of the DENFET.
[0050] Continue to refer to Figure 5 In response to the power-on of the semiconductor device 400, the method 500 may continue after power-on, transition to active mode, and operate the control logic 430 of the semiconductor device 400 to fully power on the first DENFET. 500 may continue with the following operations: enabling the charge pump coupled to the first pump switch and the second pump switch (525). At this point, the semiconductor device 400 is ready to select power to the semiconductor device 400 from the first VCONN power supply or the second VCONN power supply.
[0051] The method 500 may continue with the following: the processing logic detects a voltage from the first VCONN line or the second VCONN line that exceeds a threshold voltage (e.g., 2.7V in one embodiment) (530). The USB Type-C cable may be unplugged at this time, so if neither the first VCONN line nor the second VCONN line detects a sufficiently high voltage, the method 500 may loop back to the power-up mode (505). However, if the voltage from the first VCONN line or the voltage from both the first VCONN line and the second VCONN line exceeds the threshold voltage, the method 500 may continue with the following: the processing logic turns on the first pump switch to pass the pump voltage from the charge pump to the gate of the first DENFET, thereby fully activating the first DENFET (535). This may be performed by setting the first switch enable valid signal (sw_en_act_1) to 1, which drives the pump voltage onto the gate of the first DENFET. The method 500 may continue with the following processing: the processing logic turns off the second pump switch to disable the second DENFET, which pulls the gate of the second DENFET to ground (540). This may be performed by setting a second switch enable assert signal (sw_en_act_2) to 0 to the second pump switch and setting a second switch disable signal (sw_disable_2) to 1 to the second pump switch, which pulls the gate of the second DENFET to ground, thereby disabling the second pump switch.
[0052] Continue to refer to Figure 5 , if instead at block 530, the voltage on the second VCONN line exceeds the threshold voltage, the method 500 may continue with the following processing: the processing logic turns on the second pump switch to pass the pump voltage from the charge pump to the gate of the second DENFET, thereby fully activating the second DENFET (545). This may be performed by setting the second switch enable valid signal (sw_en_act_2) to 1, which drives the pump voltage onto the gate of the second DENFET. The method 500 may continue with the following processing: the processing logic turns off the first pump switch to disable the first DENFET, which pulls the gate of the first DENFET to ground (550). This may be performed by setting the first switch enable valid signal (sw_en_act_1) to 0 to the first pump switch and setting the first switch disable signal (sw_disable_1) to the first pump switch to 1, which pulls the gate of the first DENFET to ground, thereby disabling the first pump switch. Executing the steps of block 545 and block 550 may complete switching powering the semiconductor device on the first VCONN line to powering the semiconductor device on the second VCONN line.
[0053] Assuming that the semiconductor device 400 is being powered on the first VCONN line, for example, through the first DENFET, the method 500 can continue with the following processing: the processing logic detects whether the voltage from the second VCONN line exceeds the threshold voltage (555). If the voltage from the second VCONN line exceeds the threshold voltage, the method 500 can continue to perform power switching as previously discussed with reference to blocks 545 and 550.
[0054] Furthermore, assuming that the semiconductor device 400 is being powered on the second VCONN line, for example, through the second DENFET, the method 500 may continue with the following process: the processing logic detects whether the voltage from the first VCONN line exceeds the threshold voltage (560). If the voltage from the first VCONN line exceeds the threshold voltage, the method 500 may continue to perform power swapping as previously discussed with reference to blocks 535 and 540. In this manner, polling to swap power between the first VCONN line and the second VCONN line and back to the first VCONN line may be performed depending on the voltage and the first and second terminals exceeding the threshold voltage.
[0055] In addition, refer to Figure 4 , in some cases, the transition between trigger threshold voltages at any given terminal may be slow. For example, since logic typically changes between 0 at about zero volts and 1 at about 5 volts, a slow transition around 2.5 volts may result in a rapid swapping of power between the first and second terminals. This activity may be as described in reference to Figure 5 To prevent unknown states, the voltage detection circuit 426 may include hysteresis to latch the voltage detector to a logic value of 0 or 1 and prevent rapid transitions. In another embodiment, the control logic 430 may be adapted for logic filtering such that detection of reaching a logic 0 or logic 1 is triggered only after a static voltage level has been reached for a predetermined period of time.
[0056] For example, in one embodiment, method 500 may include: processing logic (in Figure 5 The method 500 may continue with the following processing: the processing logic waits until the voltage from the second terminal exceeds the threshold voltage for a predetermined amount of time before turning on the second pump switch and turning off the first pump switch to cause a switching of power supplied via the second terminal.
[0057] Figure 6is a circuit diagram of a USB Type-C cable 600 using an EMCA controller coupled to each of the Type-C plug interfaces of the USB Type-C cable 600. For example, in this alternative embodiment, the USB Type-C cable 600 may include a first Type-C plug interface 604A and a second Type-C plug interface 604B. The first EMCA controller 601A may include a first VCONN terminal coupled to a first VCONN line at a first end of the USB Type-C cable 600, for example, coupled to the first Type-C plug interface 604A. The second EMCA controller 601B may include a second VCONN terminal coupled to a second VCONN line at a second end of the USB Type-C cable 600, for example, coupled to the second Type-C plug interface 604B. In some embodiments, only the controller of the first EMCA controller 601A and the second EMCA controller 601B that is closest to a host (e.g., a downstream port or DFP) connected to the USB Type B cable may be powered on.
[0058] In the illustrated embodiment, the second VCONN terminal of each of the first EMCA controller 601A and the second EMCA controller 601B can be left floating (not connected). In another embodiment, each of the first EMCA controller 601A and the second EMCA controller 601B can include half of the circuitry of the switch circuit 408, for example, only the circuitry associated with powering the chip through the first terminal, which is coupled to a unique VCONN line at each end of the cable. A CC line can also be coupled to each of the first EMCA controller 601A and the second EMCA controller 601B.
[0059] exist Figure 6 In the embodiment of the present invention, since each of the first EMCA controller 601A and the second EMCA controller 601B can respectively detect only the voltage from the first VCONN line and the voltage from the second VCONN line and power the respective controller accordingly, the control logic 430 for controlling the dual switching is not necessary. Therefore, the control logic 430 can be adapted to turn on or off a single pump switch depending only on whether the voltage at the voltage terminal exceeds the threshold voltage. Alternatively, even if the second terminal remains floating, the control logic 430 can remain unchanged and still function as expected.
[0060] exist Figure 2 and Figure 6The EMCA controller shown in the embodiment is arranged in a passive USB Type-C cable. The difference between a passive cable and an active cable is that in addition to the Type-C controller chip, an active cable also has a clock and data recovery (CDR) chip (with components such as repeaters, bridges, etc.) that allows for longer cables. The CDR chip can be used for TX * and RX * High-speed data on the line.
[0061] In the above description, many details are set forth. However, it will be apparent to those of ordinary skill in the art who benefit from the present disclosure that the embodiments of the present disclosure may be practiced without these specific details. In some cases, in order to avoid making the description obscure, well-known structures and devices are shown in the form of block diagrams rather than in detail.
[0062] Some parts of the specific embodiments are presented in terms of algorithms and symbolic representations that operate on data bits in a computer memory. These algorithmic descriptions and representations are means by which those skilled in the art of data processing use the essence of their work to most effectively communicate to other skilled in the art. Here, an algorithm is generally considered to be a self-consistent sequence of steps that lead to a desired result. These steps are the steps required for physical manipulation of physical quantities. Typically, although not necessarily, these quantities take the form of electrical or magnetic signals that can be stored, transmitted, combined, compared, and otherwise processed. It has been shown that it is convenient to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, etc., primarily for general purposes.
[0063] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless otherwise stated, as is apparent from the above discussion, it will be understood that throughout the description, discussions utilizing terms such as "receiving," "conditioning," and the like refer to the actions and processes of a computing system or similar electronic computing device that manipulates data represented as physical (e.g., electronic) quantities within the computing system's registers and memories and converts such data into other data similarly represented as physical quantities within the computing system's memories or registers or other such information storage, transmission, or display devices.
[0064] The words "example" or "exemplary" used herein are meant to be used as examples, instances or illustrations. Any aspect or design described as "example" or "exemplary" in this article does not necessarily have to be interpreted as being preferred or advantageous over other aspects or other designs. On the contrary, the use of the words "example" or "exemplary" is intended to present the concept in a specific way. As used in this application, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X includes A or B" is intended to mean any natural inclusive arrangement. That is, if X includes A, X includes B or X includes both A and B, then "X includes A or B" is satisfied in any of the foregoing cases. In addition, unless otherwise specified or clearly directed to a singular form from the context, the articles "one" and "an" used in this application and the appended claims should generally be interpreted as meaning "one or more". In addition, unless so described, the use of the terms "embodiment" or "one embodiment" or "embodiment" or "one embodiment" throughout the text is not intended to mean the same embodiment or embodiment.
[0065] The embodiments described herein may also be related to a device for performing the operations herein. The device may be specially constructed for the desired purpose, or may include general hardware selectively activated or reconfigured by firmware stored in the device. Such firmware may be stored in a non-transitory computer-readable storage medium, such as but not limited to a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a flash memory, or any type of storage medium suitable for storing electronic instructions. The term "computer-readable storage medium" should be deemed to include a single medium or multiple media storing one or more instruction sets. The term "computer-readable medium" should also be deemed to include any medium capable of storing, encoding, or carrying an instruction set executed by hardware and causing the hardware to execute any one or more of the methods of the present embodiment. Therefore, the term "computer-readable storage medium" should be deemed to include, but not limited to, solid-state memory, optical media, electromagnetic media, any medium capable of storing an instruction set executed by hardware and causing the hardware to execute any one or more of the methods of the present embodiment.
[0066] The above description sets forth many specific details, such as examples of specific systems, components, methods, etc., in order to provide a good understanding of several embodiments of the present disclosure. However, it will be apparent to those skilled in the art that at least some embodiments of the present disclosure can be practiced without these specific details. In other examples, in order to avoid making the present disclosure unnecessarily obscure, known components or methods are presented in simple block diagram format without being described in detail. Therefore, the specific details set forth above are only exemplary. Specific embodiments may be different from these exemplary details and are still considered to be within the scope of the present disclosure.
[0067] It should be understood that the above description is intended to be illustrative rather than restrictive. After reading and understanding the above description, many other embodiments will be apparent to those skilled in the art. Therefore, the scope of the present disclosure should be determined with reference to the attached claims together with the full range of equivalents given by these claims.
[0068] In the above description, for the purpose of illustration, many specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure can be practiced without these specific details. In other examples, in order to avoid unnecessarily obscuring the understanding of the description, well-known circuits, structures and techniques are not shown in detail but are shown in block diagrams.
[0069] References in the description to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the disclosure. The phrase "in one embodiment" in various places in the description does not necessarily refer to the same embodiment.
Claims
1. A semiconductor device for a universal serial bus type-C cable, the semiconductor device comprising: A first terminal, for coupling from a first end of the USB Type-C cable to a first VCONN line; a second terminal for coupling to a second VCONN line from a second end of the USB Type-C cable; Charge pump; as well as a switch circuit coupled to the first terminal and the second terminal, the switch circuit comprising: a first drain-extended n-type field effect transistor coupled between the first terminal and an internal power supply of the semiconductor device; a first pump switch coupled between the charge pump and a gate of the first drain-extended n-type field effect transistor; a second drain extended n-type field effect transistor coupled between the second terminal and the internal power supply; and A second pump switch is coupled between the charge pump and a gate of the second drain-extended n-type field effect transistor.
2. The semiconductor device according to claim 1, wherein The switch circuit is configured to dynamically switch power from one of the first VCONN line and the second VCONN line to an internal power supply of the semiconductor device back and forth between the first terminal and the second terminal, respectively.
3. The semiconductor device of claim 1 , further comprising hardware logic coupled to the internal power supply, the first pump switch, and the second pump switch, the hardware logic being configured to: detecting a voltage from one of the first terminal or the second terminal; and The pump switch of the first pump switch or the second pump switch corresponding to the terminal of the first terminal or the second terminal at which the voltage is detected is turned on to transfer the pump voltage from the charge pump to the gate of one of the first drain-extended n-type field effect transistor or the second drain-extended n-type field effect transistor, respectively.
4. The semiconductor device according to claim 3, wherein: In order to detect the voltage, the hardware logic includes a voltage detection circuit for detecting a voltage greater than a threshold voltage from one of the first terminal or the second terminal.
5. The semiconductor device according to claim 3, wherein: The hardware logic is also used to: During startup, for each of the first pump switch and the second pump switch, setting a switch disable signal and a switch enable valid signal to 0; and In response to detecting a voltage from the first terminal: Setting the switch enable valid signal to the first pump switch to 1; setting the switch enable valid signal to the second pump switch to 0; and Set the switch disable signal to the second pump switch to 1.
6. The semiconductor device according to claim 1, further comprising: a first resistor coupled between the first terminal and the gate of the first drain extended n-type field effect transistor; a first diode clamping device coupled between the gate of the first drain extended n-type field effect transistor and ground; a second resistor coupled between the second terminal and the gate of the second drain extended n-type field effect transistor; as well as A second diode clamping device is coupled between the gate of the second drain extended n-type field effect transistor and ground.
7. The semiconductor device according to claim 1, further comprising: a first resistor coupled between a source of the first drain-extended n-type field effect transistor and an internal power supply of the semiconductor device; a second resistor coupled between the source of the second drain extended n-type field effect transistor and the internal power supply; and The first resistor and the second resistor are respectively used to provide electrostatic discharge protection against overcurrent surge from either the first terminal or the second terminal.
8. An operating method in a cable application, comprising: A semiconductor device for operating a universal serial bus type-C cable, the semiconductor device comprising a first terminal, a first drain-extended n-type field effect transistor coupled between the first terminal and an internal power supply, a first pump switch coupled to a gate of the first drain-extended n-type field effect transistor, and control logic coupled to the first pump switch, wherein operating the semiconductor device comprises: energizing the first drain extended n-type field effect transistor in response to a voltage received at the first terminal dropped across a resistor coupled between the first terminal and a gate of the first drain extended n-type field effect transistor; in response to the voltage being delivered to an internal power supply of the semiconductor device through the first drain extension n-type field effect transistor, energizing the internal power supply; In response to the internal power supply being energized, powering on the semiconductor device; and In response to power-on of the semiconductor device, control logic of the semiconductor device is operated to fully power on the first drain extension n-type field effect transistor, thereby entering an active mode of the semiconductor device.
9. The operating method according to claim 8, wherein: The internal power supply is powered up to a voltage level that disables a power-on reset circuit of the semiconductor device.
10. The operating method according to claim 8, wherein: The semiconductor device further includes a second terminal, a second drain-extended n-type field effect transistor coupled between the second terminal and the internal power supply, a second pump switch coupled to a gate of the second drain-extended n-type field effect transistor and the control logic, and wherein operating the control logic further includes: enabling a charge pump coupled to the first pump switch and the second pump switch; The following first detection is performed by the voltage detection circuit: the voltage from the first terminal exceeds a threshold voltage; and In response to the first detection: turning on the first pump switch to pass a pump voltage from the charge pump to a gate of the first drain-extended n-type field effect transistor to fully activate the first drain-extended n-type field effect transistor; and Turning off the second pump switch disables the second drain extension n-type field effect transistor, which pulls the gate of the second drain extension n-type field effect transistor to ground.
11. The operating method according to claim 10, wherein: Operating the control logic further includes: During power-on of the semiconductor device, for each of the first pump switch and the second pump switch, a switch disable signal and a switch enable valid signal are set to 0; and In response to detecting a voltage from the first terminal: Setting the switch enable valid signal to the first pump switch to 1; setting the switch enable valid signal to the second pump switch to 0; and Set the switch disable signal to the second pump switch to 1.
12. The operating method according to claim 10, wherein: The first detection of the voltage from the first terminal also includes detecting a second voltage from the second terminal that is greater than the threshold voltage.
13. The operating method according to claim 10, further comprising: The following second detection is performed by the voltage detection circuit: the voltage from the second terminal exceeds the threshold voltage; In response to the second detection: turning on the second pump switch to transfer the pump voltage from the charge pump to the gate of the second drain-extended n-type field effect transistor to fully activate the second drain-extended n-type field effect transistor; and Turning off the first pump switch disables the first drain extension n-type field effect transistor, which pulls the gate of the first drain extension n-type field effect transistor to ground.
14. The operating method according to claim 13, further comprising: detecting a plurality of consecutive changes in the voltage from the second terminal that fluctuate between exceeding the threshold voltage and not exceeding the threshold voltage; and Waiting until a voltage from the second terminal exceeds the threshold voltage for a predetermined amount of time before turning on the second pump switch and turning off the first pump switch to cause a swap of power supplied via the second terminal.
15. A system for a universal serial bus type-C cable, comprising: a first USB Type-C plug at a first end of the USB Type-C cable; A first VCONN line coupled to the first USB Type-C plug; as well as A first integrated circuit controller comprising: a first terminal coupled to the first VCONN line; a first drain extended n-type field effect transistor coupled between the first terminal and a first internal power supply of the first integrated circuit controller; a first pump switch coupled between the first charge pump and the gate of the first drain-extended n-type field effect transistor; and a first hardware logic coupled to the first pump switch, the first charge pump, and the first internal power supply, the first hardware logic being configured to: detecting a voltage from the first terminal; and The first pump switch is turned on in response to detecting a voltage from the first terminal to pass a pump voltage from the first charge pump to a gate of the first drain-extended n-type field effect transistor.
16. The system of claim 15, further comprising: a second USB Type-C plug at a second end of the USB Type-C cable; a second VCONN line coupled to the second USB Type-C plug; as well as A second integrated circuit controller comprising: a second terminal coupled to the second VCONN line; a second drain extended n-type field effect transistor coupled between the second terminal and a second internal power source; a second pump switch coupled between the second charge pump and the gate of the second drain extended n-type field effect transistor; and a second hardware logic coupled to the second pump switch, the second charge pump, and the second internal power supply, the second hardware logic being configured to: detecting a voltage from the second terminal; and The second pump switch is turned on in response to detecting a voltage from the second terminal to pass a pump voltage from the second charge pump to a gate of the second drain-extended n-type field effect transistor.
17. The system of claim 15, further comprising: a second USB Type-C plug at a second end of the USB Type-C cable; a second VCONN line coupled to the second USB Type-C plug; and Wherein, the first integrated circuit controller further comprises: a second terminal coupled to a second VCONN line of the USB Type-C cable; a second drain extended n-type field effect transistor coupled between the second terminal and the first internal power source; and a second pump switch coupled between the first charge pump and a gate of the second drain-extended n-type field effect transistor; and Wherein, the first hardware logic is also coupled to the second pump switch and is used for: detecting a threshold voltage from the second terminal; turning on the second pump switch in response to detecting a voltage from the second terminal to pass a pump voltage from the first charge pump to a gate of the second drain-extended n-type field effect transistor; and Turn off the first pump switch.
18. The system of claim 17, wherein: The hardware logic is also used to: During startup, for each of the first pump switch and the second pump switch, setting a switch disable signal and a switch enable valid signal to 0; and In response to detecting a voltage from the second terminal: Setting the switch enable valid signal to the second pump switch to 1; setting the switch enable valid signal to the first pump switch to 0; and The switch disable signal to the first pump switch is set to 1.
19. The system of claim 17, wherein: The first integrated circuit controller further comprises: a first resistor coupled between the first terminal and the gate of the first drain extended n-type field effect transistor; a first diode clamping device coupled between the gate of the first drain extended n-type field effect transistor and ground; a second resistor coupled between the second terminal and the gate of the second drain extended n-type field effect transistor; and A second diode clamping device is coupled between the gate of the second drain extended n-type field effect transistor and ground.
20. The system of claim 17, wherein: The first integrated circuit controller further comprises: a first resistor coupled between the source of the first drain-extended n-type field effect transistor and the first internal power source; a second resistor coupled between the source of the second drain-extended n-type field effect transistor and the first internal power source; and The first resistor and the second resistor are respectively used to provide electrostatic discharge protection against overcurrent surge from either the first terminal or the second terminal.
