Dynamic learning of voltage source capabilities

The voltage auto-sensing power distribution controller addresses the inflexibility of hard-coded power capabilities by dynamically determining and communicating the power supply's output voltages, enhancing compatibility and reducing design constraints.

JP7564412B2Active Publication Date: 2024-10-09TEXAS INSTRUMENTS INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022193190
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2016-12-28
Filing Date
2022-12-02
Publication Date
2024-10-09
Estimated Expiration
2037-12-28

AI Technical Summary

Technical Problem

Existing power transfer protocols in interconnect standards rely on hard-coded power capabilities in source devices, limiting flexibility and compatibility with various sink devices.

Method used

A voltage auto-sensing power distribution controller dynamically determines the power supply's output voltage capabilities and communicates these to sink devices, allowing for dynamic power capability negotiation without preconfiguration.

Benefits of technology

Enables flexible power supply designs that can adapt to various sink devices, improving compatibility and reducing design constraints by dynamically learning and reporting actual voltage capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564412000001
    Figure 0007564412000001
  • Figure 0007564412000002
    Figure 0007564412000002
  • Figure 0007564412000003
    Figure 0007564412000003
Patent Text Reader

Abstract

A system is provided that includes a power supply that generates any of a number of output voltages on a power supply output node. The power source device (100) includes a power supply (102) configurable to generate any of a plurality of output voltages on a power supply output node, and a voltage auto-sensing power distribution (PD) controller (120) coupled to the power supply (102). The voltage auto-sensing PD controller (120) monitors input signals to detect the presence of a device (80) coupled to the system via a cable (90) and asserts a plurality of control signal combinations. For each control signal combination, the voltage auto-sensing PD controller (120) measures the value of the output voltage from the power supply (102), stores the measured value, and generates a plurality of packets for transmission to the device (80). Each packet includes a parameter indicative of the measured output voltage.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Some interconnect standards define a power delivery protocol in which a first device advertises its power delivery capabilities (e.g., voltage and current) to a second device. Thus, the first device is the source of power and the second device draws power. In some implementations, the power capabilities of the source device are hard-coded in a controller inside the source device. The source device accesses a pre-configured configuration and advertises their specific power capabilities to the sink device. The sink selects one of the advertised power capabilities and the source device configures the power source for the matching power capability. Summary of the Invention

[0002] In one embodiment, a system may include a power supply configurable to generate any of a number of output voltages on a power supply output node. The system may also include a voltage auto-sensing power distribution (PD) controller coupled to the power supply. The voltage auto-sensing PD controller may be configured to monitor input signals to detect the presence of a device coupled to the system via a cable and to assert a combination of a number of control signals. For each combination of control signals, the voltage auto-sensing PD controller may measure a value of an output voltage from the power supply, store the measured value, and generate a number of packets for transmission to the device. Each packet may include a parameter indicative of the measured output voltage.

[0003] In another embodiment, a system may include a power supply, a power switch, a voltage auto-sensing power distribution (PD) controller, and a configurable resistor divider network. The power supply may be configurable to generate any of a number of output voltages on a power supply output node. The power switch may be coupled between the power supply output node and a voltage bus and may be configured to couple the output voltage from the power supply output node to the voltage bus. The voltage auto-sensing PD controller may be coupled to the power supply and to the power switch via an enable signal. The voltage auto-sensing PD controller may be configured to control the power switch to be selectively open or closed. The configurable resistor divider network may be coupled to the voltage auto-sensing PD controller. The voltage auto-sensing PD controller may be configured to initiate a power supply output voltage learn mode upon detection of a sink device coupled to the system via a cable. During the power supply output voltage learn mode, the voltage auto-sensing PD controller may be configured to assert a combination of a number of control signals to the configurable resistor divider network using the enable signal to configure the power switch to an off state. For each combination of control signals, the voltage auto-sensing PD controller may be configured to measure the value of the output voltage from the power supply and generate a number of packets for transmission to the sink device, each packet including a parameter indicative of the measured output voltage.

[0004] In yet another embodiment, a method may include detecting attachment of a first device to a second device and iteratively configuring a power supply of the second device to generate multiple output voltages. For each iteration, the method may include measuring each output voltage and storing a value indicative of each measured output voltage. The method may also include transmitting a communication packet to the first device. The communication packet may include a value indicative of the measured output voltage.

[0005] Reference will now be made to the accompanying drawings for a detailed description of various examples. [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 illustrates an embodiment in which a power source device including a voltage auto-sensing power distribution (PD) controller is coupled to a sink device via a cable, in accordance with various examples.

[0007] [Diagram 2] 2 illustrates an embodiment of the power source device of FIG. 1 in accordance with various examples.

[0008] [Diagram 3] FIG. 1 illustrates an embodiment of a voltage auto-sensing PD controller in accordance with various examples.

[0009] [Figure 4] FIG. 1 illustrates another embodiment of a voltage auto-sensing PD controller in accordance with various examples.

[0010] [Diagram 5] FIG. 13 illustrates an embodiment in which pull-up resistors on communication channel conductors can be selectively disconnected via control by a voltage auto-sensing PD controller.

[0011] [Figure 6] FIG. 1 illustrates a method according to various embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Although references may be made herein to Universal Serial Bus (USB) Power Delivery (PD) and Type-C standards, such references are for illustrative purposes only and do not limit the scope of the present disclosure and claims. Other standards are also contemplated by the present disclosure. Various USB PD and Type-C standards allow for the delivery of higher power levels over USB cables and connectors. This technology creates a universal power plug for laptops, tablets, etc., which may require more than 5V, for example. The USB-PD standard defines a communication link between ports connected, for example, via a USB-PD cable. The communication may be half-duplex and packet-based. The communication packets contain information that allows the two ports to communicate and negotiate the voltage and current that the source port provides to the port. The underlying communication according to the USB PD standard may be bi-phase mark coding (BMC). Such communication is made independently of the normal USB communication, which is on a different wire but travels through the same cable. The USB-PD communication packets flow over a different conductor (e.g., the control channel (CC) conductor) rather than the USB data conductor.

[0013] A power source device (sometimes called a "source") may advertise its supply type in the form of a power data object (PDO) contained in a USB PD message called the Source Capabilities message. A Fixed-Supply PDO contains voltage and maximum current, a Variable-Supply PDO contains maximum voltage, minimum voltage, and maximum current, and a Battery-Supply PDO contains maximum voltage, minimum voltage, and maximum power. A source device may advertise multiple unique PDOs. A sink device (sometimes called a "sink") may request one of the advertised power capabilities via a USB PD message called a Request message. If the source can meet the sink's request, it sends an Accept message; if it cannot, it may send a Reject or Wait message. Once the source has adjusted its power supply, it sends a PS_RDY message to inform the sink that it may begin drawing power at the agreed upon level. Send.

[0014] Before advertising its voltage capabilities, the source first detects that a sink is attached using a cable or other connection mechanism. The source may include a pull-up resistor on the CC conductor. The sink includes a pull-down resistor or clamp on the CC conductor. The source detects the presence of a sink by measuring the DC voltage on the CC conductor. At one voltage level or range of voltages, the source determines that a sink is not attached, and at a different level or range of voltages, the source determines that a sink is attached. The source may then verify that the voltage on the CC conductor stabilizes for a predetermined period of time (e.g., 100ms to 200ms) for debounce purposes. For applicable standards, the source then drives a predetermined voltage (e.g., 5V) onto the power wire of the cable (in the USB PD standard, the voltage bus (V BUSAfter applying a predetermined voltage (e.g., 5V), the source may send a communication message (e.g., using a PDO as described above) advertising its source power capabilities, including which voltages it can provide and the current levels for each corresponding voltage.

[0015] In a power supply output voltage learning mode, the source determines the voltages that the source's power supply can generate before the source can advertise a voltage to the sink. According to a disclosed embodiment, a voltage auto-sensing PD controller at the source dynamically learns the voltages that the source's power supply can generate before advertising such power capabilities to the sink. In this embodiment, the power capabilities of the power supply are not pre-configured in the PD controller at the source. Instead, the power distribution capabilities of the power supply are dynamically determined by the voltage auto-sensing PD controller at the source. For supply types characterized by minimum and maximum voltages (and not simply multiple discrete voltage levels), the voltage auto-sensing PD controller may individually control the power supply to reach its maximum and minimum voltages and then advertise a voltage range. For supply types characterized by a single voltage, the power supply has multiple voltage settings, any of which may be used. In this case, the auto-sensing PD controller controls the power supply to reach each of its unique voltages and then advertises those unique voltages.

[0016] FIG. 1 illustrates an embodiment of a power source device 100 coupled to a sink device 80 via a cable 90. The power source device 100 can generate and provide an operating voltage and current to the sink device 80, which uses the voltage and current provided by the power source device 100 to power a load 82 at the sink device. The load 82 can include any type of circuitry, such as a processor, memory, custom circuitry, passive components, active components, etc. In some embodiments, the power source device 100 can include a power "brick," which is a power adapter that converts AC mains power to a DC voltage and current for the sink device 80. In other embodiments, the power source device 100 can be, or be part of, a computing device, such as a computer, tablet device, etc. Additionally, the power source device 100 can operate in dual mode operation, i.e., as either a source device that generates power or a sink device that draws power generated by another device. In some implementations, the power source and sink devices 100 and 80 implement the USB PD and Type-C standards, although other standards and protocols may be implemented as well.

[0017] The power source device 100 includes a power supply 102, an output capacitor (C OUT ), a pull-up resistor 106 (which may be implemented as a current source integrated into the power source device's integrated circuit), and a voltage auto-sensing power distribution (PD) controller 120. The power supply 102 receives an input AC mains voltage and converts it to one or more output DC voltages and currents, and supplies them to a voltage bus (V BUS) 110 to the sink device 80. The voltage auto-sensing PD controller 120 of the power source device 100 may interact with a PD controller 84 at the sink device 80 (which may be the same as or different from the voltage auto-sensing PD controller 120) to negotiate what voltage level the power source 102 will generate and provide to the sink device 80. The power source 102 may be capable of generating an output voltage at any of a number of different levels (e.g., 5V, 9V, 15V, 20V, etc.). In various embodiments, the power source 102 may be capable of generating only a single output voltage, two different output voltages, three output voltages, etc. The voltage auto-sensing PD controller 120 at the source device notifies the PD controller 84 at the sink device 80 (e.g., by messages transmitted over control channel (CC) conductors (e.g., wires, conductive traces, etc.) 104). Sink device 80 can select one of the advertised voltages, and voltage auto-sensing PD controller 120 responds by configuring power supply 102 to supply the agreed voltage to sink device 80. In embodiments in which the power supply is characterized by a voltage range capability between a minimum and a maximum voltage, sink device 80 may request a voltage between the minimum and maximum advertised by voltage auto-sensing PD controller 120.

[0018] In addition to being used to carry communication packets during the power negotiation process, CC conductor 104 may be used for the additional reason of being able to detect when sink device 80 is connected to power source device 100, for example, via cable 90. Pull-up resistor 106 is coupled to CC conductor 104 in power source device 100, and pull-down resistor 86 is coupled to CC conductor 104 in sink device 80. Thus, with sink device 80 not connected to power source device 100, the voltage level on the CC conductor will be at a higher level than if sink device 80 with pull-down resistor 86 is connected to the power source device via cable 90. Thus, voltage auto-sensing PD controller 120 may detect whether sink device 80 is connected to voltage auto-sensing PD controller 120 by monitoring the voltage level on CC conductor 104.

[0019] As mentioned above, the power supply 102 may be capable of generating any of a number of different voltages. According to the disclosed embodiments, the voltage auto-detecting PD controller 120 implements a process whereby the controller dynamically determines the specific voltage capabilities of the power supply 102 and advertises those specific voltages to the sink device 80. As such, the voltage auto-detecting PD controller 120 does not need to be pre-configured for a specific set of voltages and therefore may be used with a variety of power supplies. Also, because the voltage auto-detecting PD controller 120 learns the actual voltages that the power supply 102 can generate, the power supply 102 does not need to be designed for a specific precise voltage level. That is, when designing a power supply system, each actual power supply may have different characteristics that may make its output voltage slightly different, but because the voltage auto-detecting PD controller 120 measures the voltages that the power supply can actually generate, design constraints and tolerances may be relaxed for the power supply design.

[0020] 2 shows an example of a possible implementation of a power source device 100. The source device 100 includes various components coupled together as shown to form a power supply 102. Some of the components may include a bridge rectifier 140, an isolation transformer 144, and a constant voltage constant current flyback controller 142. Various other passive components such as resistors, capacitors, etc. are shown as well. The bridge rectifier 140 rectifies the incoming AC mains waveform. The flyback controller 142 provides a constant voltage using an optocoupler formed by a photodiode 111 and a photodetector 114.

[0021] Voltage auto-sensing PD controller 120 is shown as having a pair of CC terminals, labeled CC1 and CC2. The connector for cable 90 may be symmetrical, meaning that the connector is not fixed and therefore may be connected in either of two orientations. Thus, there may be two CC conductors, one of which is used depending on the orientation in which the cable is installed. Power supply 102 is connected to V OUT 2 as , which generates an output voltage that is the voltage on node 108. Node 108 is the output node of power supply 102 and couples to a power switch (e.g., field effect transistor Q1) 116. Power switch 116 can be controlled to be in an on (closed) state or an off (open) state by a control signal GDen from a voltage auto-sensing PD controller 120. Node 110 couples to the opposite terminal of power switch 116 from node 108, and the voltage on that node is connected to a voltage bus (V BUS ) and provided to sink device 80 via cable 90. When power switch 116 is on, V BUS The voltage above is V OUT It is roughly the same as voltage.

[0022] The voltage auto-sensing PD controller 120 detects OUT Or V BUS An analog-to-digital converter (ADC) may be used to convert either or both of the voltages into digital form. As shown, V OUTThe voltage is provided to the voltage auto-sensing PD controller 120 via the VPWR terminal, and V BUS Voltage is provided to the VPWR terminal.

[0023] A configurable resistor divider network 130 may also be included and coupled to the voltage auto-sensing PD controller 120. In the embodiment of FIG. 2, the configurable resistor divider network 130 is OUT The resistors may include a pair of series-connected resistors coupled between node 108 and ground. As shown, the resistors include resistor 112a (R FBU ) and resistor 112b (R FBL ) that is coupled to the CTL1 terminal of the voltage auto-sensing PD controller 120. The node between resistors 112a and 112b is denoted resistor node 117. The voltage auto-sensing PD controller 120 includes a pair of control terminals, depicted as CTL1 and CTL2 (and sometimes referred to as the CTL1 and CTL2 signals). The configurable resistor divider network 130 also includes resistor 112c (R FBL1 ), and a resistor 112d (R FBL2). The CTL1 and CTL2 terminals may be open drain terminals. Thus, the voltage auto-sensing PD controller 120 may configure each of the CTL1 and CTL2 terminals to be open or grounded. When the CTL1 terminal is pulled low, its corresponding resistor 112c is coupled in parallel with resistor 112b, thereby changing the resistance of a portion of the resistor divider network 130. However, when CTL2 is left open, resistor 112c remains floating and is therefore effectively not included in the resistor divider network. Similarly for the CTL2 terminal, pulling CTL2 low places its corresponding resistor 112d in parallel with resistor 112b, and when it is not pulled low, resistor 112d is not placed in parallel with resistor 112b. Each combination of control signals CTL1 and CTL2 may configure the configurable resistor divider network differently than other combinations of control signals. In other embodiments, power source device 100 may include a programmable current source for varying the amount of current in a controlled manner through resistor 112a rather than a configurable resistor divider network. In other embodiments, the auto-sensing PD controller may have circuitry capable of setting different reference voltages, for example using a digital-to-analog converter (DAC).

[0024] The current is V OUTA current flows from resistor 112c through configurable resistor divider network 130 to ground. The magnitude of the current is a function of the equivalent resistance of resistor divider network 130, and therefore whether resistors 112c and 112d are each coupled in parallel with resistor 112b, by the operation of the CTL1 and CTL2 signals. By varying the amount of current through resistor divider network 130 due to the operation of the CTL1 and CTL2 signals, the voltage of resistor 112a can be varied, and therefore the current through photodiode 111 can be varied. The intensity of the light generated by photodiode 111 is a function of the current through the photodiode. The light generated by photodiode 111 is detected by photodetector 114. Thus, the combination of photodiode 111 and photodetector 114 forms an optical feedback signal to flyback converter 142. Flyback converter 142 uses the optical feedback signal to adjust its output voltage V OUT Regulate.

[0025] The power supply 102 may be capable of generating multiple different voltages, and for each such voltage, V may be adjusted to track a particular voltage based on the optical feedback signal from the photodiode 111. OUT The power supply 102 also regulates a particular output voltage V OUT can be configured by voltage auto-sensing PD controller 120 via configuration of the CTL1 and CTL2 signals to generate. For the two control signals in this example (CTL1 and CTL2), four configurations are possible for configurable resistor divider network 130. The four combinations differ from each other as far as whether resistors 112c and 112d are included in parallel with resistor 112b.

[0026] According to disclosed embodiments, upon detecting sink device 80 (e.g., by monitoring the voltage level on the CC1 or CC2 conductor), voltage auto-sensing PD controller 120 begins the process of identifying the various voltages that power source 102 may generate. Voltage auto-sensing PD controller 120 may do this by cycling through various combinations of the CTL1 and CTL2 signals. For each combination of CTL1 and CTL2 control signals, voltage auto-sensing PD controller 120 may determine its output voltage V OUT , and stores the measured value (e.g., in a non-volatile memory internal to the controller or otherwise accessible to the controller). The voltage auto-sensing PD controller 120 may then measure the value of V before making the measurement, e.g., using an ADC internal to the voltage auto-sensing PD controller 120. OUT The voltage auto-detecting PD controller 120 may wait a predetermined period of time to allow the voltage to settle. After cycling through various combinations of CTL1 and CTL2, the voltage auto-detecting PD controller 120 may report the measured voltage to the sink device 80, as described above. For example, the voltage auto-detecting PD controller 120 may generate multiple packets for transmission to the sink device 80, each packet including a parameter indicative of the measured output voltage. In some embodiments, such as those involving programmable current sources, there may be too many voltages for the auto-detecting PD controller to measure in a reasonable amount of time, and the controller in such embodiments may measure the maximum and minimum voltages and report the maximum and minimum voltages to the sink device.

[0027] Voltage auto-detecting PD controller 120 V OUT During the learning process, the power switch 116 may be configured to be in an off state by the voltage auto-sensing PD controller 120. Thus, the various voltages generated by the power supply during the aforementioned learning process are BUS node 110 and therefore is not provided to sink device 80. The voltage measured by voltage auto-sensing PD controller 120 is V OUTThis is the voltage on node 108.

[0028] However, in some implementations, power source device 100 detects the presence of sink device 80 and may detect V within a preset time. BUS For example, in the case of the USB PD standard, power source device 100 may be required to place a certain voltage on node 110 within 475 ms of detection of sink device 80. BUS Therefore, in the embodiment of FIG. 2, various combinations of CTL1 and CTL2 are cycled to apply 5V to V OUT The time required to measure and record the voltage should be less than 475 ms according to the USB PD standard. Other embodiments for meeting this timing requirement are described below.

[0029] The embodiment of FIG. OUT Also included is a load circuit 140 coupled between node 108 and ground. Load circuit 140 in this example includes a resistor 142 coupled in series with a solid-state switch 144. A gate of solid-state switch 144 serves as an enable / disable terminal for load circuit 140. The gate of solid-state switch 144 may be driven by a discharge (DSCG1) signal from voltage auto-sensing PD controller 120. When the DSCG1 signal is in one logic state (e.g., high), switch 144 is in an on (closed) state, thereby discharging V OUT In the opposite logic state for DSCG1, switch 144 will be in an off (open) state, thereby allowing current to flow from node 108 to ground. OUT The voltage auto-sensing PD controller 120 uses the DSCG1 signal to determine whether V OUTThis can efficiently apply a load to node 108 and help stabilize the power supply output. In some embodiments, the load circuit 140 can be separate from the voltage auto-sensing PD controller 120 as shown in FIG. 1, or the solid-state switch 144 can be integrated into the voltage auto-sensing PD controller 120. The voltage auto-sensing PD controller 120 detects when the current is V BUS It also includes a discharge signal DSCG2 that can be configured to flow from node 110 through resistor 119 and through an internal solid-state switch to ground. Thus, the voltage auto-sensing PD controller 120 detects V OUT Node 108 and V BUS Either or both of the nodes 110 may be configured to apply a load.

[0030] The various V OUT When measuring the voltages, the voltage auto-sensing PD controller 120 may also calculate upper and lower voltage limits for each voltage measured. These voltages thus define an acceptable range for the power supply's output voltage and can therefore be used to implement under-voltage and over-voltage protection. In some embodiments, the voltage auto-sensing PD controller 120 calculates the upper and lower voltage thresholds as follows: V UPPER =V MEAS ×α UPPER +O UPPER V LOWER =V MEAS ×α LOWER +O LOWER In the above formula, V UPPER is the upper limit voltage, and V MEAS is the measured voltage, and α UPPER , α LOWER , O UPPER , and O LOWER includes the allowable supply tolerances and allowable measurement tolerances. UPPER , α LOWER , O UPPER , and O LOWERThe parameters may be determined a priori and stored in a memory of the voltage auto-sensing PD controller 120. For each possible V that may be generated by the power supply 102 and determined by the voltage auto-sensing PD controller 120, OUT For voltage, the voltage auto-sensing PD controller 120 calculates a pair of upper and lower voltage thresholds and stores the calculated thresholds in memory. During operation, the voltage auto-sensing PD controller 120 calculates V BUS It may measure the voltage above and compare that voltage to a threshold value for the applicable power supply voltage if an under-voltage or over-voltage condition is detected (eg, by turning off the power switch 116) accordingly.

[0031] In an embodiment in which device 100 may function either to supply power to another device or to draw power from another device, the voltage auto-sensing PD controller 120 of power source device 100 may initialize itself into a "sink" mode in which device 100 is configured to receive an operating voltage from the other device via cable 80 (rather than generate a voltage). However, while in sink mode, the voltage auto-sensing PD controller 120 of device 100 (now operating to draw power) may perform the process described above to assert various combinations of control signals CTL1 and CTL2 and to measure the output voltage value from its own power source. The voltage auto-sensing PD controller 120 may then send a USB PD message, called a PR_SWAP message, to inform the other device of the measured voltage. With this technique, device 100 may have more time to measure various possible voltages.

[0032] In another embodiment, the voltage auto-sensing PD controller 120 detects V OUT They may measure the voltage, but round the measured value to a different value. For example, a voltage auto-sensing PD controller may round the V OUTAs an example, power source device 100 may measure V as 14.8V, but then round the measured value up to 15V and advertise 15V to sink device 80 instead of the measured value of 14.8V. In such an embodiment, the packet generated by power source device 100 and communicated to sink device 80 may include a combination of the actual measured voltage value and the rounded value. In either case, voltage auto-sensing PD controller 120 sends a packet to sink device 80 that contains the measured V OUT It includes a parameter that indicates the voltage value, which is either the actual measured value or a rounded version thereof.

[0033] 3 illustrates a block diagram of at least a portion of a voltage auto-sensing PD controller 120. In this example, the voltage auto-sensing PD controller 120 includes a state machine 150, a voltage multiplexer 152, and an ADC 154. The ADC 154 detects the voltage OUT Voltage or V BUS The state machine 150 may be used to digitize either the measured voltage or the rounded voltage as selected by a control signal from the state machine 150 via a multiplexer 152. The state machine 150 may be implemented as a microcontroller, a programmable logic device, or other suitable type of control circuitry that executes machine instructions. The state machine 150 may include or be coupled to a memory 152 for storing parameters used to calculate the voltage thresholds as described above and for storing the measured voltage values ​​and / or rounded values.

[0034] FIG. 4 illustrates another embodiment of power source device 100. Power supply 102 and voltage auto-sensing PD controller 120 in this embodiment are generally the same as those described above in connection with FIG. 2. However, FIG. 4 has some differences from FIG. 2. Configurable resistor divider network 130 of FIG. 2 is replaced in FIG. 4 by configurable resistor divider network 170. Similar to configurable resistor divider network 130, configurable resistor divider network 170 is configured to divide V OUTThe voltage auto-sensing PD controller includes a pair of series connected resistors 172 and 174 coupled between node 108 and ground. Another pair of resistors 176 and 178 is connected to a node 173 defined between resistors 172 and 174. Rather than connecting opposing terminals of resistors 172 and 174 to the CTL and CTL2 terminals of the voltage auto-sensing PD controller, resistors 172, 174 are coupled to ground through corresponding solid-state switches. Thus, resistor 176 connects between resistor node 173 and switch 180, and resistor 178 connects between resistor node 173 and switch 182. The CTL1 and CTL2 signals are provided to the gates of switches 180 and 182, and may therefore turn them on and off. When a given switch 180 , 182 is on, its corresponding resistor 176 , 178 is coupled in parallel to resistor 174 , and when it is not on, its counterpart remains floating and is therefore not coupled in parallel to resistor 174 .

[0035] Another difference between the embodiment of FIG. 4 and the embodiment of FIG. 2 is that the embodiment of FIG. 4 includes a DC-DC (DC / DC) converter 160. The DC / DC converter 160 is connected to the power supply 102 and V BUS node 110. Thus, the input DC voltage to DC / DC converter 160 is V OUT and the output DC voltage from the DC / DC converter 160 is V BUS The output voltage from the DC / DC converter 160 is provided to node 110 such that the power source device is capable of supplying V BUS In the USB PD example above, power source device 100 reduces V BUS5V to the power supply. Thus, the output voltage generated by DC / DC converter 160 may be 5V in this example. DC / DC converter 160 also includes an enable / disable terminal that is coupled to a control terminal of voltage auto-sensing PD controller 120 (e.g., illustrated as DCDCen in FIG. 4). The DCDCen signal may be selectively asserted by voltage auto-sensing PD controller 120 to enable or disable operation of DC / DC converter 160. In embodiments where the process of sequencing through the various possible voltages that can be generated by the power supply, measuring the voltages, and storing them in memory takes longer than the allotted period of time that the power supply must be configured to generate the required voltage (e.g., 5V), voltage auto-sensing PD controller 120 may notify DC / DC converter 160 to generate its output voltage and / or to set its output voltage to V BUS The DC / DC converter 160 may be capable of generating a predetermined voltage (5V in this example) from any of the various voltages that may be generated by the power supply 102. Thus, the allowable input voltage range of the DC / DC converter 160 is at least wide enough to include the various voltages that the power supply 102 may possibly generate. In some embodiments, the DC / DC converter 160 may be capable of generating a predetermined voltage (5V in this example) from any of the various voltages that may be generated by the power supply 102. BUS , auto-sensing PD controller 120 only advertises 5V to sink device 80 and only draws a small amount of current. In such a case, DC / DC converter 160 can be implemented as a relatively simple and inexpensive circuit.

[0036] The DC / DC converter 160 detects the voltage automatically by the voltage auto-detecting PD controller 120. BUS This may enable the generation of an output voltage for node 110, which may be done while power switch 116 is off, and the voltage auto-sensing PD controller 120 may continue the process of learning the various voltages that power supply 102 may generate.

[0037] FIG. 5 shows an embodiment similar to FIG. 1. FIG. 5 illustrates a technique for providing the voltage auto-sensing PD controller of the source device more time to measure and record the various voltages that can be generated by the power supply 102. In this example, the pull-up resistor 106 may be removed from the CC conductor 104 on the source device side of the cable by turning off the switch 180. The switch 180 may be controlled by a control signal from the voltage auto-sensing PD controller 120. Turning off the switch 180, effectively removing the pull-up resistor from the circuit, emulates a disconnection of the sink device 80. The voltage auto-sensing PD controller 120 may implement a process to learn the power supply voltage and then turn on the switch 180.

[0038] 6 shows a flow chart of a method 20 according to a disclosed embodiment. The actions may be performed in the order shown, or in a different order. Also, the actions may be performed sequentially, or two or more actions may be performed simultaneously.

[0039] At 202, the method includes initializing power source device 100 to a low power state. During this state, the power source device (and, for example, the voltage auto-sensing PD controller, among others) operates in a power supply output voltage learning mode in which at least one function performed is to wait for and monitor for attachment of sink device 80, and perform the remainder of the operations shown in FIG. 6. In some embodiments, voltage auto-sensing PD controller 120 may perform this operation by comparing the voltage on the CC conductor (CC1 or CC2) to a predetermined voltage range, where one voltage range may indicate that sink device 80 is not attached and another voltage range may indicate attachment of a sink device. At 204, the method includes detecting attachment of a sink device.

[0040] At 206, the method begins enabling the attached sink device. Enabling the attached sink device may include ensuring that the voltage on the CC conductor remains between a lower threshold and an upper threshold for a predetermined period of time to prevent false alarms when the sink device is not actually attached. In some embodiments, the lower threshold is 0 volts. However, in one example, the lower and upper thresholds are 0.2V and 1.6V, respectively, and the predetermined period of time is 150 ms. The predetermined period of time is determined by whether or not V falls below the required threshold within the required period of time. BUS This can be as long as desired, as long as the voltage to is enabled.

[0041] Operations 208-214 describe an iterative loop in which the voltage auto-sensing PD controller 120 of the power source device learns the various voltages that the power supply can generate. At 208, the method includes: OUT ) from the power supply. In some embodiments, the voltage auto-sensing PD controller may adjust the control signals CTL1 and CTL2, thereby causing the power supply to generate a particular output voltage based on the optical feedback signal, as described above. At 210, the method includes configuring the voltage auto-sensing PD controller 120 to generate an output voltage (V OUT) (at 212). This time period may help allow the power supply's output voltage to stabilize so that a more accurate voltage measurement can be made. In some embodiments, the time period is fixed and configured within the voltage auto-sensing PD controller 120. In other embodiments, the time period may be based on consecutive measurements. That is, after the power supply is configured for an output voltage, a series of voltage measurements may be made in quick succession (e.g., at 1 ms intervals), and when the measured voltage ceases to change from one such measurement to the next by more than a threshold amount (e.g., the change from one measurement to the subsequent measurement is less than a threshold percentage), the series of measurements is stopped and the last measured voltage is used. Also, at 212, the measured voltage may be stored, for example, in an internal memory of the voltage auto-sensing PD controller 120. The recording may also include configuration settings for the CTL1 and CTL2 signals used to cause the power supply to generate the measured voltage. The voltage auto-sensing PD controller 120 may also calculate upper and lower voltage thresholds for the measured voltages (as described in the previous examples) and may also store the calculated voltage thresholds in memory. In this way, a record is made in memory of the measured voltages and the corresponding upper and lower voltage thresholds for a given configuration of the CTL1 / CTL2 signals. In some embodiments, the record may be made to non-volatile memory so that the learning process does not have to be performed every time a sink device is attached. In other embodiments, the auto-sensing PD controller 120 may store the record until the AC mains power input is removed.

[0042] At 214, the voltage auto-sensing PD controller 120 determines whether any further configurations remain for CTL1 / CTL2 to be used. If any such combinations remain, at 216, the voltage auto-sensing PD controller 120 controls CTL1 and CTL2 accordingly, and the method loops back to operation 210. In some embodiments, for the applicable standard (e.g., the USB PD standard), the power source must be capable of generating a certain voltage (e.g., 5V). Because that voltage is required, the voltage auto-sensing PD controller 120 does not need to use the power source with CTL1, CTL2 to measure that voltage. Instead, the voltage auto-sensing PD controller 120 knows a priori that the power source 102 can generate that voltage. In some embodiments, the required voltage (e.g., 5V) may be the lowest voltage that can be generated by the power source, and corresponds to a particular combination of the CTL1 and CTL2 signals (e.g., both signals high and the drain left open). Certain combinations of the CTL1 / CTL2 signals may be omitted during the power source output voltage learning process, if desired. In some embodiments, multiple voltages may be implemented, which may have predetermined CTL1, CTL2 signals known to generate multiple voltages.

[0043] If the voltage auto-sensing PD controller 120 has enabled the power supply 102 via all relevant combinations of the CTL1 and CTL2 signals, then at 218 the method includes completing the enablement of the attached sink device 80 as described above. To complete the sink enablement process, the CC voltage should remain between the thresholds for a certain amount of time, which may be relatively long compared to the time used at 206. A timer may be started at 206, and if more time is needed to ensure that the CC voltage has stabilized, the timer may be extended at 218. The intervening operations 208-216 may be performed for a predetermined period of time during which the attached sink device is enabled. If no valid sink device is attached (as determined at 220), the process may loop back to 202 and the process may repeat. However, if a valid sink device is attached, the power supply 102 may be configured (via the appropriate combination of the CTL1 and CTL2 signals) to generate a predetermined output voltage (e.g., 5V) and the power switch 116 may switch the predetermined voltage to V BUS The power switch is turned on by the voltage auto-sensing PD controller 120 to provide to node 110. The power switch is turned on via a control signal from the voltage auto-sensing PD controller 120, as described above.

[0044] At 224, the voltage auto-sensing PD controller 120 generates and transmits a packet to the sink device advertising the various voltages that it has determined can be generated by the power source. As previously mentioned, the advertising may include the actual voltages measured or a rounded version of the measured voltages.

[0045] Throughout the description and claims of this application, certain terms are used to refer to specific system components. As one skilled in the art will appreciate, different companies may refer to a component by different names. This application does not intend to distinguish between components that differ in name but not function. In the discussion and claims of this application, "including" and "comprising" are used in an open-ended manner and should therefore be interpreted to mean "including but not limited to." Additionally, the term "couple" is intended to mean either an indirect or direct wired or wireless (e.g., optical) connection. Thus, when a first device couples to a second device, the connection may be through a direct connection or through an indirect connection via other devices and connections. The above discussion is intended to illustrate the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.

Claims

1. 1. A Universal Serial Bus (USB) source device adapted to be coupled to a USB sink device via a USB cable, comprising: The voltage bus of the USB cable (V BUS ) V adapted to be coupled to a conductor BUS The terminals and a component channel (CC) terminal adapted to be coupled to a CC conductor of the USB cable; The V BUS Voltage output (V OUT ) node adapted to be coupled to a power source, OUT A node; The V BUS terminal, the CC terminal and the V OUT a controller circuit coupled to the node; The discharge signal connection of the controller circuit and the V OUT a load circuit coupled to the node; A resistor voltage divider comprising: a first resistor having a first terminal and a second terminal coupled to the controller circuit; a second resistor having a third terminal coupled to the first terminal of the first resistor and a fourth terminal coupled to the controller circuit; a third resistor having a fifth terminal coupled to the V OUT node and a sixth terminal coupled to the first terminal of the first resistor; a fourth resistor having a seventh terminal coupled to the first terminal of the first resistor and an eighth terminal adapted to be coupled to the power source; the resistor divider including:

2. A USB source device including:

2. 2. The USB source device of claim 1, The USB source device, wherein the controller circuit is configured to determine a supply capacity of the power source prior to communicating the supply capacity with the USB sink device over the USB cable.

3. 3. A USB source device according to claim 2, comprising: The USB source device, wherein the supply capacity includes at least one voltage level of 5V, 9V, 15V, and 20V.

4. 2. The USB source device of claim 1, The load circuit is The V OUT a resistor having a first terminal and a second terminal coupled to the node; a transistor having a control terminal coupled to the controller circuit, a first current terminal coupled to the second terminal of the resistor, and a second current terminal coupled to ground; 2. A USB source device including:

5. 2. The USB source device of claim 1, The controller circuitry comprises: Detecting the USB sink device via the CC terminal; Transmitting a data packet to the USB sink device via the CC terminal; A USB source device configured to:

6. 2. The USB source device of claim 1, The controller circuitry comprises: Detecting the USB sink device via the CC terminal; After the USB sink device is detected, BUS coupling a terminal to said power source; A USB source device configured to:

7. 1. A Universal Serial Bus (USB) source device adapted to be coupled to a USB sink device via a USB cable, comprising: The voltage bus of the USB cable (V BUS ) V adapted to be coupled to a conductor BUS The terminals and a component channel (CC) terminal adapted to be coupled to a CC conductor of the USB cable; The V BUS Voltage output (V OUT ) node adapted to be coupled to a power source, OUT A node; The V BUS terminal, the CC terminal and the V OUT a controller circuit coupled to the node; The V OUT a first input coupled to a node, a second input coupled to the controller circuit, and the V BUS a DC to DC converter having an output coupled to a terminal; The V OUT a resistor divider coupled to a node and to the controller circuit, the resistor divider adapted to be coupled to the power supply; 2. A USB source device including:

8. 8. A USB source device according to claim 7, comprising: The USB source device, wherein the controller circuit is configured to determine a supply capacity of the power source prior to communicating the supply capacity with the USB sink device over the USB cable.

9. 9. A USB source device according to claim 8, comprising: The USB source device, wherein the supply capacity includes at least one voltage level of 5V, 9V, 15V, and 20V.

10. 8. A USB source device according to claim 7, comprising: The resistor divider comprises: a first transistor having a first control terminal coupled to the controller circuit, a first current terminal, and a second current terminal; a second transistor having a second control terminal coupled to the controller circuit, a third current terminal, and a fourth current terminal; The V OUT a first resistor having a first terminal and a second terminal coupled to the node; a second resistor having a third terminal coupled to the second terminal of the first resistor and a fourth terminal coupled to the first current terminal of the first transistor; a third resistor having a fifth terminal coupled to the second terminal of the first resistor and a sixth terminal coupled to a third current terminal of the second transistor; a fourth resistor having a seventh terminal coupled to the second terminal of the first resistor and an eighth terminal adapted to be coupled to the power source; 2. A USB source device including:

11. 8. A USB source device according to claim 7, comprising: The controller circuitry comprises: Detecting the USB sink device via the CC terminal; Transmitting a data packet to the USB sink device via the CC terminal; A USB source device configured to:

12. 8. A USB source device according to claim 7, comprising: The controller circuitry comprises: Detecting the USB sink device via the CC terminal; After the USB sink device is detected, BUS coupling a terminal to said power source; A USB source device configured to:

Citation Information

Patent Citations

  • Information processing device, control method therefor, and program

    JP2015176443A

  • Bus controller, power supply and power adapter

    JP2016208600A

  • Power-saving mode for USB power delivery sourcing device

    US20150362984A1

  • DC power supply device

    WO2015075854A1

  • Power feeding device and control circuit thereof, power receiving device and control circuit thereof, electronic device and charging adaptor using same, and anomaly detection method

    WO2016121434A1