This disclosure relates generally to information handling systems and, more particularly, to LED control for a detachable reversable power cable.
As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option available to users is information handling systems. An information handling system generally processes, compiles, stores, and communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information. Because technology and information handling needs and requirements vary between different users or applications, information handling systems may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated. The variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, information handling systems may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems.
Examples of information handling systems include portable devices such as notebook computers, media players, personal data assistants, digital cameras, cellular phones, cordless phones, smart phones, tablet computers, and 2-in-1 tablet-laptop combination computers. A portable device may generally be any device that a user may carry for handheld use and that includes a processor. Typically, portable devices are powered using a rechargeable battery and include a display device. The battery is typically charged using a detachable DC power adapter.
In one aspect, a disclosed method for light emitting diode (LED) control for a detachable reversable power cable includes detecting, at a power source, that a first connector at a first end of a reversable power cable is connected to the power source, triggering, at the power source, a first pulse on a first wire of the reversable power cable that turns off a first LED switch coupled to a first LED on the first connector at the first end of the reversable power cable, disabling the first LED, and triggering, at the power source, a second pulse on a second wire of the reversable power cable that drives a second LED on a second connector at a second end of the reversable power cable opposite the first end, the second LED being coupled to a second LED switch that is on.
In any of the disclosed embodiments, the method may further include responsive to detecting that the second connector at the second end of the reversable power cable is connected to a power sink, modifying a driver path for the second LED on the second connector.
In any of the disclosed embodiments, the first wire on the reversable power cable may carry a first configuration channel signal, the second wire on the reversable power cable may carry a second configuration channel signal, and modifying the driver path for the second LED on the second connector may include decoupling the driver path for the second LED from the second wire on the reversable power cable and coupling the driver path for the second LED to a third wire on the reversable power cable, the third wire carrying a power bus signal.
In any of the disclosed embodiments, the first wire on the reversable power cable may carry a first configuration channel signal and triggering the first pulse may include initiating, by a power delivery controller at the power source, a pulse on the first configuration channel signal, the first configuration channel signal being coupled to the first LED switch.
In any of the disclosed embodiments, the method may further include, prior to detecting that the first connector at the first end of the reversable power cable is connected to the power source, detecting that the second connector at the second end of the reversable power cable is connected to a power sink.
In any of the disclosed embodiments, the method may further include, subsequent to triggering the second pulse, detecting that the second connector at the second end of the reversable power cable is connected to a power sink.
In any of the disclosed embodiments, the method may further include, responsive to a disconnection of the reversable power cable from the power source, disabling the first LED and the second LED.
In any of the disclosed embodiments, the method may further include, responsive to disconnection of the reversable power cable from the power sink, disabling the first LED and the second LED.
In another aspect, a disclosed system includes a reversable power cable that includes a first connector at a first end of the reversable power cable, a second connector at a second end of the reversable power cable, and a length of cable between the first connector and the second connector. The first connector includes a first light emitting diode (LED), and a first LED switch coupled to the first LED and operable to disable the first LED when the first LED switch is off and to couple the first LED to a driving current source when the first LED switch is on. The second connector includes a second LED, and a second LED switch coupled to the second LED and operable to disable the second LED when the second LED switch is off and to couple the second LED to a driving current source when the second LED switch is on. The cable between the first connector and the second connector includes respective wires carrying a power bus signal, a first configuration channel signal, and a second configuration channel signal. The system also includes an external power source for an information handling system. The external power source includes a port for coupling the external power source to the reversable power cable and a power delivery controller. The power delivery controller includes circuitry operable to detect that the first connector is connected to the external power source, to trigger a first pulse on the first configuration channel signal to turn off the first LED switch, disabling the first LED, and to trigger a second pulse on the second configuration channel signal to provide a drive current to the second LED while the second LED switch is on.
In yet another aspect, a disclosed external power source for an information handling system includes a port for coupling the external power source to the reversable power cable and a power delivery controller. The power delivery controller includes circuitry operable to detect that a first connector at a first end of the reversable power cable is connected to the port on the external power source, to trigger a first pulse on a first wire of the reversable power cable that turns off a first light emitting diode (LED) switch coupled to a first LED on the first connector at the first end of the reversable power cable, disabling the first LED, and to trigger a second pulse on a second wire of the reversable power cable that drives a second LED on a second connector at a second end of the reversable power cable opposite the first end, the second LED being coupled to a second LED switch that is on.
In any of the disclosed embodiments, the power delivery controller may further include circuitry operable to, responsive to detecting that the second connector at the second end of the reversable power cable is connected to a power sink, decouple a driver path for the second LED from the second wire on the reversable power cable and couple the driver path for the second LED to a third wire on the reversable power cable, the third wire carrying a power bus signal.
In any of the disclosed embodiments, the power delivery controller may further include circuitry operable to detect that the second connector at the second end of the reversable power cable is connected to a power sink prior to detecting that the first connector at the first end of the reversable power cable is connected to the power source.
In any of the disclosed embodiments, the power delivery controller may further include circuitry operable to detect, subsequent to triggering the second pulse, that the second connector at the second end of the reversable power cable is connected to a power sink.
In any of the disclosed embodiments, the power delivery controller may further include circuitry operable to disable the first LED and the second LED responsive to a disconnection of the reversable power cable from the power source.
In any of the disclosed embodiments, the power delivery controller may further include circuitry operable to disable the first LED and the second LED responsive to a disconnection of the reversable power cable from the power sink.
In any of the disclosed embodiments, the external power source may include at least one of a battery and an AC-DC converter.
For a more complete understanding of the present disclosure and its features and advantages, reference is now made to the following description, taken in conjunction with the accompanying drawings, in which:
In the following description, details are set forth by way of example to facilitate discussion of the disclosed subject matter. It should be apparent to a person of ordinary skill in the field, however, that the disclosed embodiments are exemplary and not exhaustive of all possible embodiments.
For the purposes of this disclosure, an information handling system may include an instrumentality or aggregate of instrumentalities operable to compute, classify, process, transmit, receive, retrieve, originate, switch, store, display, manifest, detect, record, reproduce, handle, or utilize various forms of information, intelligence, or data for business, scientific, control, entertainment, or other purposes. For example, an information handling system may be a personal computer, a PDA, a consumer electronic device, a network storage device, or another suitable device and may vary in size, shape, performance, functionality, and price. The information handling system may include memory, one or more processing resources such as a central processing unit (CPU) or hardware or software control logic. Additional components or the information handling system may include one or more storage devices, one or more communications ports for communicating with external devices as well as various input and output (I/O) devices, such as a keyboard, a mouse, and a video display. The information handling system may also include one or more buses operable to transmit communication between the various hardware components.
For the purposes of this disclosure, computer-readable media may include an instrumentality or aggregation of instrumentalities that may retain data and instructions for a period of time. Computer-readable media may include, without limitation, storage media such as a direct access storage device (e.g., a hard disk drive or floppy disk), a sequential access storage device (e.g., a tape disk drive), compact disk, CD-ROM, DVD, random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (SSD); as well as communications media such wires, optical fibers, microwaves, radio waves, and other electromagnetic or optical carriers; or any combination of the foregoing.
Portable information handling systems exhibit a wide variety of configurations available from multiple vendors and may include any of a wide variety of accessories. These accessories often include a DC power adapter for supplying electrical power from a power source to the information handling system for operation and/or for charging an internal battery of the information handling system. DC power source adapters of different types may have different physical attributes (e.g., different sizes, shapes, or connector types), different electrical characteristics (e.g., different voltage profiles), or different power delivery capabilities and may adhere to different power delivery protocols.
As described in more detail herein, in at least some embodiments of the present disclosure a detachable reservable power cable may include a respective LED at each end of the cable. However, when in use, the LED on the source-side connector of the cable may be turned off and only the LED on the sink-side connector may be turned on. The disclosed techniques for LED control for a reversable power cable leverage existing configuration channel signals and wires to drive the sink-side LED without impacting normal power-delivery-related communications.
In some embodiments, Particular embodiments are best understood by reference to
Turning now to the drawings,
As shown in
As depicted in
In
Also in
In
In
In information handling system 100, I/O subsystem 140 may comprise a system, device, or apparatus generally operable to receive and transmit data to or from or within information handling system 100. I/O subsystem 140 may represent, for example, a variety of communication interfaces, graphics interfaces, video interfaces, user input interfaces, and peripheral interfaces. In various embodiments, I/O subsystem 140 may be used to support various peripheral devices, such as a touch panel, a display adapter, a keyboard, an accelerometer, a touch pad, a gyroscope, or a camera, among other examples. In some implementations, I/O subsystem 140 may support so-called ‘plug and play’ connectivity to external devices, in which the external devices may be added or removed while portable information handling system 100 is operating.
In particular embodiments, embedded controller 180 may support one or more power busses that carry and distribute electrical power to and from portable information handling system 100. In some embodiments, a power bus carried over a detachable reversable power cable 142 may represent a data bus that also carries and distributes electrical power to and from portable information handling system 100. For example, a DC power input 173 received from DC power source 172 over reversable power cable 142 may be routed via a DC power connection 144 to internal BMU 170 for purposes of charging internal battery 171 or otherwise powering portable information handling system 100.
In various embodiments, a power bus carried over reversable power cable 142 may represent a variable power bus that supports different levels of direct current (DC) power that may be provided to certain peripherals connected to I/O subsystem 140. In certain embodiments, a variable power bus may be implemented according to an industry standard, such as a USB Universal Serial Bus (USB), which is developed and supported by the USB Implementers Forum, Inc. (USB IF, www.usb.org). In particular, a variable power bus carried over reversable power cable 142 may be implemented as a USB Type-C bus that may support different USB devices, such as USB Type-C devices with USB Type-C connectors. Accordingly, the variable power bus may support device detection, interface configuration, communication, and power delivery mechanisms according to the USB Type-C standard. The USB Type-C connector system allows the transport of data and electrical power (in the form of DC power) between various USB devices that are connected using USB Type-C ports and USB Type-C connectors. A USB device may be an information handling system, a peripheral device, or a power device, among other types of USB devices, and may support more than one USB standard or generation, such as USB 1.0, USB 2.0, USB 3.0, USB 3.1, or other versions. Furthermore, USB devices may also support one or more types of physical USB ports and corresponding connectors (i.e., receptacles and plugs), such as Type-A, Type-A SuperSpeed, Type-B, Type-B SuperSpeed, Mini-A, Mini-B, Micro-A, Micro-B, Micro-B SuperSpeed, and Type-C (also referred to as USB Type-C herein), among other variants. In one example, reversable power cable 142 may be a USB 3.1 Type-C cable that provides electronic functionality using an integrated semiconductor device with an identification function based on a configuration data channel and vendor-defined messages (VDMs) from a USB Power Delivery specification published by USB IF (http://www.usb.org/developers/powerdelivery/). For example, reversable power cable 142 may include electronic marking circuitry in the connectors at each end of the cable. The USB Power Delivery specification defines four standardized voltage levels (+5V DC, +9V DC, +15V DC, and +20V DC), while power supplies may provide electrical power from 0.5 watts to 100 watts.
A USB device, such as a USB Type-C device, may provide multiple power ports that can individually transfer power in either direction and may accordingly be able to operate as a power source device, a power sink device, or both (dual-role power device). A USB device operating as a dual-role power device may operate as a power source or a power sink depending on what kinds of other USB devices are connected. In addition, each of the power ports provided by a USB device may be a dual-role power port that is able to operate as either a power source port or a power sink port. For example, a USB Type-C bus carried over reversable power cable 142 may support power delivery from a power source port of a power source USB device to a power sink port of a power sink USB device, while simultaneously supporting bidirectional USB data transport. The power source port of the power source USB device and the power sink port of the power sink USB device form a power port pair. Each of the other power ports provided by the USB device may form other power port pairs of other USB dual-role power devices. In some embodiments, DC power source 172 may operate as a power source for information handling system 100, which operates as a power sink, over reversable power cable 142.
According to the USB Power Delivery Specification, USB Type-C devices may perform a negotiation process to negotiate and establish a power contract for a particular power port pair that specifies a level of DC power that is transferred using USB. For example, a USB Type-C device may negotiate a power contract with another USB device for a level of DC power that is supported by a power port pair of both devices, where one power port is a power source port of the USB Type-C device and the other power port is a power sink port of the other USB device. The power contract for power delivery and consumption may represent an agreement reached between the power source device and the power sink device for the power port pair. While operating in Power Delivery mode, the power contract for the power port pair will generally remain in effect unless altered by a re-negotiation process, a USB soft reset, a USB hard reset, a removal of power by a power source, a failure of the power source, or a USB role swap (such as between power source and power sink devices), as specified in detail by USB IF. When a particular power contract is in place, additional power contracts can be established between another power port of the power source device and a power port of another power sink device.
According to the USB Power Delivery specification, the negotiation process may begin with the power source device detecting an attachment of a USB device operating as a power sink to a power port of the power source device. In response to the detection of the attachment at the respective USB ports, the power source device may communicate a set of supported capabilities including power levels, voltage levels, current levels, and direction of power flow of the power port of the power source device by sending the set of supported capabilities to the power sink over the USB connection. In response to receiving the set of supported capabilities, the power sink device may request one of the communicated capabilities by sending a request message to the power source device. In response to receiving the request message, the power source device may accept the request by sending an accept message and by establishing a power source output corresponding to the request. The power contract for the power port pair may be considered established and in effect when the power source device sends the accept message to the power sink device, which ends the negotiation process. A re-negotiation process may occur in a similar manner when a power contract is already in effect.
Also shown in
In the illustrated embodiment, embedded controller 180 may be responsible for managing electrical power connections between internal or external power sources and other portions of portable information handling system 100. For example, embedded controller 180 may include logic or circuitry to implement a power controller. In other embodiments, power control may be implemented by a separate power controller external to embedded controller 180. For example, a power bus may supply electrical power to portable information handling system 100 over reversable power cable 142, in which case embedded controller 180, or a separate power controller, may determine whether the electrical power is used to charge internal battery 171 or to directly power portable information handling system 100. In the illustrated embodiment, DC power and control 144 may represent suitable connections between embedded controller 180 and internal BMU 170, for example. This may include connections for providing data obtained from internal battery 171 (e.g., temperature, battery state, state of charge, etc.) which may serve as inputs for various power management and control operations.
As illustrated in
As shown in
The output voltage behavior of a USB Type-C AC adapter differs from that of AC adapters with traditional barrel-type connectors. For example, when a USB Type-C AC adapter is connected to AC line power, the output voltage is off, whereas when a traditional barrel-type adapter is connected to AC line power, the voltage is powered up and appears at the end of the adapter output cable. In this condition, whether or not the adapter is connected to a power sink device, the expected behavior of an indicator LED on the adapter output cable is to be “ON” as an indication that the adapter has AC line power and is functional. With a traditional barrel-type adapter, the LED can simply be powered from the source and ground wires of the adapter output cable. However, with a USB Type-C AC adapter, a dedicated wire with 5V must be added to the adapter output cable to supply power to any LEDs on the cable connectors.
On a detachable reversable power cable, there may be a respective LED on the connector at each end of the cable. Existing techniques for providing power to the two LEDs may exceed green-friendly, no-load power specifications for the systems in which they are deployed. For example, the power adapter may experience a greater power loss when both LEDs are turned on at the same time. The use of white LEDs on the reversable power cable, which may draw more power than LEDs of other colors, may compound this issue, making it difficult, if not impossible to meet US Department of Energy (DoE) standards and/or the European Union (EU) Code of Conduct (CoC) for external power supplies if the two LEDs are turned on at the same time.
In at least some embodiments of the present disclosure, refraining from turning on either of the LEDs when the reversable power cable is not connected to a DC power source, such as an external battery or a power adapter, and only turning on a sink-side LED when the reversable power cable is connected to the power source, may reduce power consumption from the power source, allowing the system to meet applicable no-load, DoE, and EU CoC standards for external power supplies.
In at least some embodiments, a USB Type-C AC adapter may include a MOSFET (i.e., a blocking MOSFET) to block the internal voltage of the adapter from the source/ground wires of a reversable power cable connected to the adapter output until the cable is attached to a power sink. The dedicated 5V LED wire may be connected in front of the blocking MOSFET to provide power to an LED on a connector at one end of the reversable power cable. Once the adapter is connected to a power sink, it may negotiate the delivery of power to the power sink, at which time the blocking MOSFET may be turned on allowing power onto a source wire on the reversable power cable.
In at least some embodiments, a configuration channel (CC) wire on the reversable power cable may be utilized to provide power at very short debounce time to turn on the sink-side LED when a connection between the source-side connector on the cable and the power source is detected. Subsequently, after the debounce time, the connection between the CC signal and an LED switch for the sink-side LED may be cut off, after which power may be provided to the LED over the Vbus wire without affecting communication over the CC wire. For example, a USB Type-C connector includes two configuration channel pins, CC1 and CC2. These pins may be used to connect to the either the CC wire or the Vconn wire in a USB Type-C cable and they support either function, as determined upon connection of the cable. The CC wire may be used for cable orientation detection, USB Type-C current capability advertisement and detection, and USB2.0 BMC communication, while the Vconn wire may be used to power active or electronically marked cables. Resistors are attached to the CC pins in various configurations depending on whether the application is a source-side port, a sink-side port, or an electronically marked/active cable. For example, an Rp pull-up resistor on source-side port may be connected to both the CC1 and CC2 pins, and may be pulled up to either 3.3V or 5.0V. The value of the resistor may advertise the current supplying capability of the power source. A sink-side port may connect a valid Rd pull-down resistor to GND to both the CC1 and CC2 pins. An active cable may connect an Ra resistor from the Vconn pin to GND.
The CC1 and CC2 pins may be monitored to perform cable attachment and detachment detection, cable orientation detection, and USB Type-C current capability advertisement for a USB Type-C cable. For example, a cable attachment is detected when either of the CC1 or CC2 pins detects a valid Rp/Rd connection. For a standard USB connection, only one of the CC1/CC2 pins may detect a valid Rp/Rd connection, not both. A cable orientation detection may be performed as follows: if the CC1 pin detects a valid Rp/Rd connection, then the cable may be considered to be in an “unflipped” orientation at that port. However, if the CC2 pin detects a valid Rp/Rd connection, then the cable may be considered to be in a “flipped” orientation at that port.
It at least some embodiments, the connectors on each end of a reversable power cable may include electronic marking circuitry. For example, the reversable power cable may be USB Type-C active cable that is packaged with a respective integrated circuit (IC) comprising electronic marking circuitry in the connectors at each end of the cable and that uses a USB Power Delivery protocol to identify various properties of the cable. Including an electronic marking IC in both connectors may allow both electronic marking ICs to be powered from the Vconn pin at each connector, reducing the number of wires required in the cable. In such embodiments, since only the power source, and not the power sink, will provide a Vconn voltage, only one of the electronic marking ICs will be active at a time.
In the illustrated embodiment, power source 310 includes a power delivery controller 174, which may include logic and/or circuitry operable to negotiate a power delivery contract, among other functions. In various embodiments, power delivery controller 174 may be implemented by program instructions executing on a local processor or microcontroller, by dedicated hardware circuitry, or by any combination of hardware and software elements to perform the functionality of power delivery controller 174, as described herein. Power source 310 also includes respective ports or pins to be coupled to various wires within the reversable power cable, including a Vbus port/pin to which Vbus signal 212 is connected, a CC1 port/pin to which CC signal 214 is connected, a CC2 port/pin to which Vconn signal 216 is connected, and a ground port/pin to which ground signal 218 is connected.
In the illustrated embodiment, power sink 330 includes Rd pull-down resistor 331 that pulls CC signal 214 to ground. Power sink 330 also includes respective ports or pins to be coupled to various wires within the reversable power cable, including a Vbus port/pin to which Vbus signal 212 is connected, a CC1 port/pin to which CC signal 214 is connected, and a ground port/pin to which ground signal 218 is connected. In the illustrated embodiment, only power source 310 provides Vconn signal 216. AS shown, CC2 port/pin of power sink 3310 provides power signal 333 to various elements of sink-side connector 320b. In various embodiments, power sink 330 may be an information handling system that also includes any or all of the elements of information handling system 100 illustrated in
In the illustrated embodiment, each connector 320 includes a respective LED switch, a respective resister Ra resistor from the Vconn pin to ground, and a respective switch controller, among other elements. For example, connector 320a includes LED switch 323, resister Ra 321, and switch controller 325. Similarly, connector 320b includes LED switch 324, resister Ra 322, and switch controller 326.
Note that while
In at least some embodiments, subsequent to the reversable power cable being attached to both a power source 310 and a power sink 330, as described above, the cable may be detached from the power source 310 and/or from the power sink 330. If the reversable cable is first detached from the power source 310, the LED in the sink-side connector 320b will be turned off due to the loss of electrical power supplied by the Vbus signal, and the LED in the source-side connector 320a will be returned to its initial state. In other words, detaching the reversable power cable from the power source 310 returns the system to the same state described above in which the reversable power cable is first attached to the power sink 330 and then to the power source 310. If the reversable power cable is first detached from the power sink 330, the driver path for the LED in the sink-side connector 320b will be switched back to the CC signal 214 from the Vbus signal 212 and the LED in the source-side connector will remain disabled since the Vconn signal previously caused the LED driver in the source-side connector 320a to be blocked. In other words, detaching the reversable power cable from the power sink 330 returns the system to the same state described above in which the reversable power cable is first attached to the power source 310 and then to the power sink 330.
In the illustrated example, indicator 405 represents the attachment of the connector 320 at a given end (i.e., an arbitrarily chosen first end) of reversable power cable 340 to the power source 310, and indicator 410 represents the detection of the attachment by the power source 310, such as by detecting, based on a change in the current on the Vconn signal, the presence of a resister Ra on the source-side connector 320.
Signal 415 represents a pulse on the Vconn signal at port/pin CC2 of power source 310 triggered by a power delivery controller on power source 310 to disable the source-side LED driver, as described herein. Signal 420 represents a pulse on the CC signal at port/pin CC1 of power source 310 triggered by the power delivery controller on power source 310 to turn on the sink-side LED driver, and the coupling of the driver path for the sink-side LED to the CC1 signal, as described herein.
Indicator 425 indicates the attachment of the connector 320 at the end of reversable power cable 340 opposite the arbitrarily chosen first end to the power sink 330. Indicator 430 represents the detection of the attachment by the power source 310, such as by detecting, based on a change in the current on the CC1 signal, the presence of a resister Rd on power sink 330, and the enabling of the blocking MOSFET on power source 310 to prevent the LED on the source-side connector 320 from turning on. Indicator 435 represents the modification of the driver path for the sink-side LED from the CC signal to the Vbus signal, as described herein. At this point, the LED control flow for reversable power cable 340 may be complete, at least until reversable power cable 340 is detached from either power source 310 or power sink 330.
In the illustrated example, signal 440 represents the identification of power source 310 using electronic marking, as described herein, after which the capabilities of power source 310 are communicated to power sink 330 and a power delivery contract is negotiated between power source 310 and power sink 330 (not shown in
In the illustrated embodiment, the control signals and other indicators exchanged are substantially similar to those illustrated in
Following the attachment of power sink 330 to cable 340, indicator 405 represents the attachment of the connector 320 at the end of reversable power cable 340 opposite the arbitrarily chosen first end to the power source 310, and indicator 410 represents the detection of the attachment by the power source 310, such as by detecting, based on a change in the current on the Vconn signal, the presence of a resister Ra on the source-side connector 320.
Signal 415 represents a pulse on the Vconn signal at port/pin CC2 of power source 310 triggered by a power delivery controller on power source 310 to disable the source-side LED driver, as described herein. Signal 420 represents a pulse on the CC signal at port/pin CC1 of power source 310 triggered by the power delivery controller on power source 310 to turn on the sink-side LED driver, and the coupling of the driver path for the sink-side LED to the CC1 signal, as described herein.
Indicator 430 represents the detection of the attachment of the power source 310 to cable 340, such as by detecting, based on a measurement of the current on the CC1 signal, the presence of a resister Rd on power sink 330, and the enabling of the blocking MOSFET on power source 310 to prevent the LED on the source-side connector 320 from turning on. Indicator 435 represents the modification of the driver path for the sink-side LED from the CC signal to the Vbus signal, as described herein. At this point, the LED control flow for reversable power cable 340 may be complete, at least until reversable power cable 340 is detached from either power source 310 or power sink 330.
In the illustrated example, signal 440 represents the identification of power source 310 using electronic marking, as described herein, after which the capabilities of power source 310 are communicated to power sink 330 and a power delivery contract is negotiated between power source 310 and power sink 330 (not shown in
Referring now to
Method 500 may begin, at 502, with detecting that a connector at a given end (i.e., an arbitrarily chosen first end) of a reversable power cable is connected to a power source, as described herein.
The method may include, at 504, triggering, by a power delivery controller at the power source, a first pulse that turns off an LED switch coupled to a first LED on the connector at the given end of the reversable power cable (i.e., the source-side connector), thus disabling the first LED. For example, the first pulse may be sent to the reversible power cable over the Vconn signal connected to the power source at the CC2 port/pin.
At 506, method 500 may include triggering, by the power delivery controller at the power source, a second pulse that drives a second LED on a connector at the opposite end (i.e., a second end opposite the arbitrarily chosen first end) of the reversable power cable (i.e., a sink-side connector), the second LED being coupled to a second LED switch that is on. For example, the second pulse may be sent to the reversible power cable over the CC signal connected to the power source at the CC1 port/pin. In at least some embodiments, the second pulse may cause the CC signal to drive the second LED whether or not the reversable cable is connected to a power sink at the opposite end.
At 508, the method may include, responsive to detecting that the connector at the opposite end of the reversable power cable is connected to a power sink, modifying the LED driver path for the second LED. For example, in at least some embodiments, the driver path for the second LED may be switched from the CC signal on the reversable power cable to the Vbus signal on the reversable power cable, as described herein.
Referring now to
Control flow method 600 may begin, at 602. If, at 604, a connection of the reversable power cable to a power source (i.e., a “source-side” connection) is detected, the method may continue at 610. Otherwise, the method may proceed to 606.
If, at 606, a connection of the reversable power cable to a power sink (i.e., a “sink-side” connection) is detected, the method may continue at 608. Otherwise, the method may return to 604 after which the operations shown in 604 and 606 may be repeated one or more times until either a source-side connection to the reversable power cable or a sink-side connection to the reversable power cable is detected.
At 608, the method may include beginning a sink-side LED driver flow. In some embodiments, a pulse-width modulation (PWM) signal may be used to drive and control the brightness of the sink-side LED. For example, the period of the PWM signal may control the brightness of the sink-side LED and the PWM signal may be converted to a DC control voltage that drives the LED current.
If, at 610, a sink-side connection to the reversable power cable is detected, method 600 may continue to 620. Otherwise, the method may proceed to 612. At 620, method 600 may include triggering a pulse to turn off the LED in the source-side connector, as described herein. At 622, the method may include beginning a sink-side LED driver flow. Here again, a PWM signal may be used to drive and control the brightness of the sink-side LED, as described above.
At 612, the method may include triggering a first pulse to turn off the LED in the source-side connector, as described herein. At 614, the method may include triggering a pulse to turn on the LED in the sink-side connector, as described herein. At 616, method 600 may include, in response to the triggers, taking actions to turn off the source-side LED and to turn on the sink-side LED.
If, at 618, a sink-side connection to the reversable power cable is detected, method 600 may continue to 622. Otherwise, the method may return to and repeat the operations shown in 616 one or more times until and unless a sink-side connection to the reversable power cable is detected at 618.
After beginning the sink-side LED driver flow, at 622, the method may continue to 624, wherein the sink-side LED driver path is modified by being switched from the CC1 signal to the Vbus signal, as described herein.
At 626, in embodiments in which the connectors of the reversable power cable include respective electronic marking modules, method 600 may include identifying the power source and its capabilities using electronic marking, after which the method may include performing a power delivery contract negotiation between the power source and the power sink, as in 628. In the illustrated example, control flow method 600 ends at 630.
As disclosed herein, existing configuration channel signals and corresponding wires of a detachable reversable USB Type-C cable may be leveraged to control LEDs at each end of the cable without interfering with CC signal communication between a power source and a power sink. The disclosed techniques for LED control for a reversable power cable provide multiple advantages over existing solutions for controlling LEDs at both ends of a reversable detachable power cable including, but not limited to:
The above disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other embodiments which fall within the true spirit and scope of the present disclosure. Thus, to the maximum extent allowed by law, the scope of the present disclosure is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description.
Number | Name | Date | Kind |
---|---|---|---|
20160269807 | Cohard | Sep 2016 | A1 |
20160308452 | Motoki | Oct 2016 | A1 |
Number | Date | Country |
---|---|---|
205488923 | Aug 2016 | CN |
206259570 | Jun 2017 | CN |
Number | Date | Country | |
---|---|---|---|
20220095429 A1 | Mar 2022 | US |