The present invention relates to eMarker, associated cable and method, and more particularly, to USB type-C eMarker, associated cable and method for active and self-initialized protection of abnormal events such as over-current, over-voltage and/or over-temperature protection events.
USB (universal serial bus) type-C is an emerging and versatile interface standard; it not only supports typical USB data interconnect, but also includes various power supply options for supplying power from an electronic device to another electronic device, such as: supplying power from a portable power bank to a mobile phone, or supplying power from a host computer to a peripheral monitor, etc. The power supply options of USB type-C may include: 5V×0.5A of USB 2.0 (V and A respectively representing volt and ampere), 5V×0.9A of USB 3.1, 5V×1.5A of USB BC 1.2 (for USB type-A connector, with BC being battery charging), 5V×1.5A (for USB type-C connector), 5V×3.0A (for USB type-C connector), and a configurable supply of USB PD (power delivery) up to 20V×5A (for USB type-C connector).
To adapt the various power supply options, a USB type-C cable may be equipped with a CC (configuration channel) wire and an eMarker; when the cable connects a port which supports USB PD and is capable of operating as a source for providing power, the port may send a request message over the CC wire; the eMarker in the cable may receive the request message, and then respond a data message over the CC wire, such that the port may obtain information related to the cable, such as rated and/or tolerable voltage, current and/or power of the cable.
Because there are significant differences among powers of the different power supply options, supply safety becomes a main concern.
For supply safety, when a port which operates as a (power) source connects another port which operates as a (power) sink via a USB type-C cable, if both the two port support USB PD, the two ports may interchange alert messages of over-voltage and over-current. In other words, for the aforementioned power safety mechanism to work, a key requirement is that both the source port and the sink port must support USB PD. However, support of USB PD is not mandatory for a USB type-C port; if any one of the source port and the sink port does not support USB PD, such power safety mechanism will fail to work.
To address issues of the aforementioned supply safety mechanism, an eMarker for a cable is provided in an embodiment of the invention; the cable may include a CC wire. The eMarker may include an active trigger circuit and a protection circuit. The protection circuit may be coupled to the active trigger circuit and the CC wire. When a second port connects a first port via the cable, if a predefined event happens, the active trigger circuit may trigger the protection circuit to change an electric characteristic of the CC wire, such that the first port may detect a detachment of the second port. In an embodiment, when the active trigger circuit triggers the protection circuit to change the electric characteristic of the CC wire, the active trigger circuit may trigger the protection circuit to raise a voltage of the CC wire to exceed a predefined open-circuit voltage. In an embodiment, the cable may be a USB type-C cable.
In an embodiment, the eMarker may further include a CC communication circuit coupled to the CC wire, for performing BMC (bi-phase mark coded) communication over the CC wire. In an embodiment, the cable may further include a bus power wire, and the active trigger circuit may be further coupled to the bus power wire, so as to determine whether the predefined event happens according to a supply characteristic (e.g., current, voltage and/or temperature) of the bus power wire. In an embodiment, the predefine event may be one of the following: an over-voltage protection event, an over-current protection event, an over-temperature protection event, and an event reflected by impedance sensing.
A cable is provided in an embodiment of the invention; the cable may include a CC wire and an active protection module coupled to the CC wire. When a second port connects a first port via the cable, if a predefined event happens, the active protection module may change an electric characteristic of the CC wire, such that the first port may detect a detachment of the second port. In an embodiment, when the active protection module changes the electric characteristic of the CC wire, the active protection module may raise a voltage of the CC wire to exceed a predefined open-circuit voltage. In an embodiment, the cable may be a USB type-C cable. In an embodiment, the cable may further include a CC communication circuit coupled to the CC wire, for performing BMC communication over the CC wire. In an embodiment, the cable may further include a bus power wire, and the active protection module may be further coupled to the bus power wire, so as to determine whether the predefined event happens according to a supply characteristic of the bus power wire. In an embodiment, the predefined event may be at least one of the following: an over-voltage protection event, an over-current protection event, an over-temperature protection event and an event reflected by impedance sensing.
A method applied to a cable is provided in an embodiment of the invention; the cable may include a CC wire, and the method may include: when a second port connects a first port via the cable, changing an electric characteristic of the CC wire if a predefined event happens, such that the first port may detect a detachment of the second port. In an embodiment, changing the electric characteristic of the CC wire may be raising a voltage of the CC wire to exceed a predefined open-circuit voltage. In an embodiment, the cable may be a USB type-C cable. In an embodiment, the method may further include: performing BMC communication over the CC wire. In an embodiment, the cable may further include a bus power wire, and method may further include: determining whether the predefined event happens according to a supply characteristic of the bus power wire. In an embodiment, the predefined event may be at least one of the following: an over-voltage protection event, an over-current protection event, an over-temperature protection event and an event reflected by impedance sensing.
Numerous objects, features and advantages of the present invention will be readily apparent upon a reading of the following detailed description of embodiments of the present invention when taken in conjunction with the accompanying drawings. However, the drawings employed herein are for the purpose of descriptions and should not be regarded as limiting.
The above objects and advantages of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
Please refer to
The cable 10 may further include a plurality of data wires 12 for supporting USB data interconnect, e.g., a pair of differential signal wires for supporting high-speed interconnect of USB 2.0, several sideband signal wires and/or multiple differential signal wires for supporting SuperSpeed interconnect of USB 3.1.
The port P1 may include pins p1a to p1d; the pin p1a may be a Vbus (bus power) pin defined in USB type-C specification, the pin p1d may be a GND (ground) pin defined in USB type-C specification; the pin p1b may be one of CC1 and CC2 pins defined in USB type-C specification, and the pin p1c may be the other one of the CC1 and CC2 pins. Similarly, the port P2 may include pins p2a to p2d; the pin p2a may be a Vbus pin defined in USB type-C specification, the pin p2d may be a GND pin defined in USB type-C specification; the pin p2b may be one of CC1 and CC2 pins defined in USB type-C specification, and the pin p2c may be the other one of the CC1 and CC2 pins.
When the ports P1 and P2 mutually connect via the cable 10, the pin p1a of the port P1 may be coupled to the pin p2a of the port P2 via the Vbus wire, the pin p1b of the port P1 may be coupled to the pin p2b of the port P2 via the CC wire, and the pin p1d of the port P1 may be coupled to the pin p2d of the port P2 via the GND wire.
In addition, the cable 10 may further include isolation elements 52 and 54 arranged on a Vconn wire, wherein the isolation element 52 may be coupled between nodes n1 and n2, and the isolation element 54 may be coupled between nodes n2 and n3. When the ports P1 and P2 connect via the cable 10, the pin p1c of the port P1 may be coupled to the node n1, the pin p2c of the port P2 may be coupled to the node n3, and the isolation elements 52 and 54 may prevent end-to-end traverse between the pins p1c and p2c along the Vconn wire.
The cable 10 may further include two impedances 56 and 58. The impedance 56 may be coupled between the node n1 and a node G of the GND wire, the impedance 58 may be coupled between the node n3 and the node G. When the cable 10 connects the port P1, the cable 10 may present a terminal resistor, e.g., the resistor Ra defined in USB type-C specification, between the nodes n1 and G by the impedance 56. Similarly, when the cable 10 connects the port P2, the cable 10 may present a terminal resistor, e.g., the resistor Ra defined in USB type-C specification, between the nodes n3 and G by the impedance 58. In an embodiment, the impedances 56 and 58 for presenting the resistor Ra may be implemented by one single impedance; e.g., the impedance 58 may be omitted.
The eMarker 60 of the cable 10 may include a CC communication circuit 50 coupled to the CC wire at a node n4, and further include an active protection module 40 to implement the invention. In an embodiment, the CC communication circuit 50, the active protection module 40, the isolation elements 52 and 54, and the impedances 56 and 58 may be packaged in a same eMarker chip. In another embodiment, the CC communication circuit 50 and the active protection module 40 may be packaged in a same eMarker chip, while the isolation elements 52 and 54 and/or the impedances 56 and 58 may be external elements.
When the ports P1 and P2 connect via the cable 10, if one of the two ports P1 and P2 may operate as a (power) source and the other may operate as a (power) sink, the source port may supply power to the sink port. For convenience of discussion, it is assumed that the port P1 is the source port and the port P2 is the sink port.
As previously explained, the supply safety mechanism of USB PD works only if both the ports P1 and P2 support USB PD; if either one of the two ports does not support USB PD, such supply safety mechanism will not work. In addition, the supply safety mechanism of USB PD fails to consider protecting cable and eMarker. Besides, under USB PD specification, an eMarker is only designed to passively respond messages after receiving request messages from a port, not to actively initiate any supply safety mechanism.
To overcome aforementioned disadvantages of USB PD (and USB type-C) specification, the eMarker 60 of the invention may be equipped with the active protection module 40, which may actively initiate a supply safety mechanism of the invention. The active protection module 40 may include an active trigger circuit 20 and a protection circuit 30. The CC communication circuit 50, the active trigger circuit 20 and the protection circuit 30 may also be coupled to the Vconn and Vbus wires, so as to drain required operation power from the Vconn or Vbus wire. The protection circuit 30 may further be coupled to the active trigger circuit 20, and coupled to the CC wire at the node n4. Along with
As shown in
In
Step 202: as shown in
Step 204: if a predefined event 22 (
To detect abnormal events, the active trigger circuit 20 may be coupled to the Vbus wire at the node n5, so as to determine whether the predefined event 22 happens according to one or more supply characteristics (e.g., current, voltage and/or temperature) of the Vbus wire. For example, if voltage of the Vbus wire is too high (higher than a safety voltage value), the active trigger circuit 20 may determine that the over-voltage protection event 24a has happened. If current of the Vbus wire is too large (larger than a safety current value), the active trigger circuit 20 may determine that the over-current protection event 24b has happened. In addition, the eMarker 60 may sense temperature according to changes of its semiconductor characteristics; for example, the eMarker 60 may have an internal temperature sensor to sense chip internal temperature. If the temperature is too high (higher than an internal safety temperature), the active trigger circuit 20 may determine that the internal over-temperature event 24c has happened. In an embodiment, the eMarker 60 may connect an external temperature sensor (e.g., a thermistor, not shown) to sense temperature; if the temperature is too high (higher than a safety temperature), the active trigger circuit 20 may determine that the external over-temperature event 24d has happened. In an embodiment, the eMarker 60 may sense supply characteristic of the Vbus wire by an impedance (not shown) coupled to the Vbus wire; for example, if cross voltage of the impedance is too high, it may reflect that current of the Vbus wire is too large, and the active trigger circuit 20 may determine that the event 24e reflected by impedance sensing has occurred.
Step 206 (
As explained by
Step 208: when the source port P1 detects that the sink port P2 has been detached, the port P1 will stop supplying power to the Vbus wire, so the supply abnormal event may stop, the supply safety mechanism of the invention may be achieved, and the flowchart 200 may end. When the port P1 stops supplying power to the Vbus wire, power supplied to the Vconn wire also stops, and the eMarker 60 may stop operating. Afterwards, since the port P2 remains connected to the port P1 via the cable 10, the port P1 may redetect that the port P2 is attached, and restart supplying power to the Vbus wire; the flowchart 200 may also start again. In an embodiment, the cable 10 may be unplugged and plugged again between the ports P1 and P2, so the flowchart 200 may be executed again.
Please refer to
The port P1 may include pins p1a to p1d; the pin p1a may be a Vbus pin defined in USB type-C specification, the pin p1d may be a GND pin defined in USB type-C specification; the pin p1b may be one of CC1 and CC2 pins defined in USB-type-C specification, and the pin p1c may be the other one of the CC1 and CC2 pins. Similarly, the port P2 may include pins p2a to p2d; the pin p2a may be a Vbus pin defined in USB type-C specification, the pin p2d may be a GND pin defined in USB type-C specification; the pin p2b may be one of CC1 and CC2 pins defined in USB-type-C specification, and the pin p2c may be the other one of the CC1 and CC2 pins.
When the ports P1 and P2 connect via the cable 10b, the pin p1a of the port P1 may be coupled to the pin p2a of the port P2 via the Vbus wire, the pin p1b of the port P1 may be coupled to the pin p2b of the port P2 via the CC wire, and the pin p1d of the port P1 may be coupled to the pin p2d of the port P2 via the GND wire.
In addition, the cable 10b may further include isolation elements 52 and 52b. The isolation element 52 may be arranged on a Vconn wire, coupled between nodes n1 and n2. The isolation element 52b may be arranged on a VconnB wire, coupled between nodes n1b and n2b. When the ports P1 and P2 connect via the cable 10b, the pin p1c of the port P1 may be coupled to the node n1, the pin p2c of the port P2 may be coupled to the node n1b.
The cable 10b may further include two impedances 56 and 56b. The impedance 56 may be coupled between the node n1 and a node G of the GND wire, the impedance 56b may be coupled between the node n1b and a node Gb of the GND wire. When the cable 10 connects the port P1, the cable 10b may present a terminal resistor, e.g., the resistor Ra defined in USB type-C specification, between the nodes n1 and G by the impedance 56. Similarly, when the cable 10b connects the port P2, the cable 10b may present a terminal resistor, e.g., the resistor Ra defined in USB type-C specification, between the nodes nib and G by the impedance 56b.
The eMarker 60 of the cable 10b may include a CC communication circuit 50 coupled to the CC wire at a node n4, and further include an active protection module 40 to implement the invention. Similarly, the eMarker 60b may include a CC communication circuit 50b coupled to the CC wire at a node n4b, and further include an active protection module 40b to implement the invention. The active protection module 40 may include an active trigger circuit 20 and a protection circuit 30, while the active protection module 40b may include an active trigger circuit 20b and a protection circuit 30b. The CC communication circuit 50, the active trigger circuit 20 and the protection circuit 30 may be coupled to the Vconn and Vbus wires, so as to drain required operation power from the Vconn or Vbus wire. The protection circuit 30 may also be coupled to the active trigger circuit 20, and coupled to the CC wire at the node n4. The protection circuit 30b may also be coupled to the active trigger circuit 20b, and coupled to the CC wire at the node n4b. The CC communication circuit 50b, the active trigger circuit 20b and the protection circuit 30b may be coupled to the VconnB and Vbus wires, so as to drain required operation power from the VconnB or Vbus wire.
In an embodiment implemented according to
In another embodiment (not illustrated) implemented according to
To sum up, the invention may equip eMarker and cable with active (self-initiated) supply safety mechanism, which may actively trigger protection in response to supply abnormal events, so the abnormal events may be stopped and suppressed. Accordingly, the eMarker and cable of the invention will not be limited to passive functionality defined in USB PD specification, and not be limited to passively responding messages when receiving request messages from the ports. Comparing to existed supply safety mechanism of USB PD which requires both ports P1 and P2 to support USB PD, the eMarker and cable of the invention may actively maintain supply safety even if both ports P1 and P2 do not support USB PD. Furthermore, the invention may not only protect the two ports connected via the cable, but also protect the eMarker and the cable itself.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
106137054 | Oct 2017 | TW | national |
This application claims the benefit of a prior-filed provisional application Ser. No. 62/479,342, filed Mar. 31, 2017, and the benefit of Taiwan application Serial No. 106137054, filed Oct. 27, 2017, the subject matters of which are incorporated herein by references.
Number | Date | Country | |
---|---|---|---|
62479342 | Mar 2017 | US |