IP Library Granted Patent US 11,640,192
Granted Patent B2
US 11,640,192 · App. 17/514,833 · Granted May 2, 2023

Method and apparatus for implementing a programmable power supply on a USB-C port supporting power delivery

Inventors: Rakesh Kumar Polasa (Karnataka, IN); Shubham Paliwal (Uttar Pradesh, IN); Alagesan Mani (Tamil Nadu, IN)
Assignee: SiliConch Systems Pvt Ltd
G06F1/266G06F1/3215
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,640,192
App. No.
17/514,833
Granted
May 2, 2023
Kind
B2
Abstract

The present disclosure provides an apparatus and a method for implementing a USB-IF certified programmable power supply algorithm on a USB-C port. The method involves using a software code running on a microcontroller which monitors voltage and current being supplied by a power supply controller IC on a VBUS line of the USB-C port. Based on the detected voltage/current corrective actions are taken by the software code to bring the voltage/current to accepted levels as requested by a port partner. Further, a PPS accelerator is configured to compute an average or a new current/voltage value and provide the computed average or a new current/voltage value to a microcontroller for subsequent decision making and for other related assessment process.

Claims (36)

1. An apparatus for providing a programmable power supply (PPS) in a Universal Serial Bus Type-C (USB-C) system, the apparatus comprising:

a power supply controller configured to supply power on a VBUS line associated with the USB-C system;

a PPS accelerator configured to compute an average or a new current/voltage value, wherein the computed average or the new current/voltage value is passed to a microcontroller;

a voltage variation unit configured to maintain a respective constant current or a respective limited current on the VBUS line with respect to a constant current mode or a limiting current mode by varying a voltage value, wherein a constant power mode comprises the constant current mode;

an analog/digital converter (ADC) configured to measure VBUS voltage and current; and

a microcontroller, having an embedded power supply algorithm configured to compute a select current value, where the microcontroller is configured to constantly monitor, detect, compare, and adjust a given current value with respect to a select current value on the VBUS line,

wherein the microcontroller is configured to adjust the given current value with respect to the select current value by use of the voltage variation unit subsequent to the computation of the select current value, and

wherein a USB-C port and power delivery controller facilitates USB-C port and power delivery communication for the USB-C system.

2. The apparatus for providing a programmable power supply according to claim 1 , wherein the power supply controller, the voltage variation unit, the ADC, the USB-C port, the power delivery controller, and the microcontroller form a single adapter unit.

3. The apparatus for providing a programmable power supply according to claim 2 , wherein the single adapter unit further comprises a power delivery controller configured to identify a connection or a disconnection status on the USB-C port associated with the USB-C system along with power delivery communication.

4. The apparatus for providing a programmable power supply according to claim 3 , wherein the controller is an 8051 -type microcontroller.

5. The apparatus for providing a programmable power supply according to claim 3 , wherein the single adapter unit includes the power supply controller, wherein the power supply controller detects the given current value on the VBUS line by receiving a Power Delivery request to the power supply controller.

6. The apparatus for providing a programmable power supply according to claim 5 , wherein the power supply controller exists independently of the single adapter unit.

7. The apparatus for providing a programmable power supply according to claim 6 , wherein the power supply controller detects the given current value on the VBUS line by means of an ADC.

8. The apparatus for providing a programmable power supply according to claim 7 , wherein the power supply controller includes an interface subscribing to an I2C serial protocol for two-wire interface, or a direct current/voltage feedback mechanism through the voltage variation unit.

9. A method to provide programmable power supply (PPS) in a USB-C system, the method comprising:

determining, at a microcontroller, a plurality of samples corresponding to voltage and current and calculating an average voltage and current on receiving a Universal Serial Bus Power Domain (USB PD) PPS request;

determining, at the microcontroller, if a constant voltage mode flag is set;

upon receiving a positive confirmation that the constant voltage mode flag is set, for the microcontroller determining that a value for an average current is greater than a value for a constant load requested for the current, setting a constant load mode flag is set, for the microcontroller determining that the value for the average current is not greater than the volume for the constant load requested for the current, continuing to wait for a first configurable time and gathering a first configurable number of voltage and current samples; and

upon receiving a negative confirmation, for the microcontroller determining that a value for a voltage set is equal to a value for a voltage requested:

for a difference of requested current and a first configurable threshold current being greater than average current, setting a constant voltage mode flag, continuing to wait for a first configurable time, and gathering a first configurable number of voltage and current samples;

for the microcontroller determining the value for the voltage set is unequal to the value for the voltage requested or determining that the difference of the requested current and the first configurable threshold current are lesser than the average current:

for the microcontroller determining that the value for the voltage set is less than or equal to a minimum voltage value, generating a USB PD hard reset instruction,

for the value for the voltage set being larger than the minimum voltage value, for an absolute value or modulus of difference between average current and set current being greater than a second configurable threshold current or for requested voltage being less than set voltage, setting a new resistor parameter along with a new set voltage and a new set current, and setting a saturation limit, the saturation limit being when the new set voltage is between a voltage requested and a minimum voltage to establish a new value for the voltage subsequently setting the set voltage to new set voltage and set current to new set current, and waiting for a first configurable time period to determine, at the microcontroller, the plurality of samples corresponding to voltage and current and calculating an average voltage and current, and

for the absolute value or the modulus of the difference between the average current and the set current is less than or equal to the second configurable threshold current and the requested voltage is greater than the set voltage, continue waiting for a first configurable time-period and the plurality of samples corresponding to voltage and current for calculating an average voltage and current for next round of comparisons.

10. The method to provide a programmable power supply in a USB-C system according to claim 9 , wherein the step of monitoring a current value by means of a controller includes a step of detecting, by means of a power supply controller included in the controller, the current value on the VBUS line associated with the USB-C system.

11. A non-transitory machine-readable medium having stored thereon instructions, which if performed by a machine cause the machine to perform a method comprising:

determining, at a microcontroller, a plurality of samples corresponding to voltage and current and calculating an average voltage and current on receiving a Universal Serial Bus Power Domain (USB PD) programmable power supply (PPS) request;

determining, at the microcontroller, if a constant voltage mode flag is set;

upon receiving a positive confirmation that the constant voltage mode flag is set, for the microcontroller determining that a value for an average current is greater than a value for a constant load requested for the current, setting a constant load mode flag is set, for the microcontroller determining that the value for the average current is not greater than the volume for the constant load requested for the current, continuing to wait for a first configurable time and gathering a first configurable number of voltage and current samples; and

upon receiving a negative confirmation, for the microcontroller determining that a value for a voltage set is equal to a value for a voltage requested:

for a difference of requested current and a first configurable threshold current being greater than average current, setting a constant voltage mode flag, continuing to wait for a first configurable time, and gathering a first configurable number of voltage and current samples;

for the microcontroller determining the value for the voltage set is unequal to the value for the voltage requested or determining that the difference of the requested current and the first configurable threshold current are lesser than the average current:

for the microcontroller determining that the value for the voltage set is less than or equal to a minimum voltage value, generating a USB PD hard reset instruction,

for the value for the voltage set being larger than the minimum voltage value, for an absolute value or modulus of difference between average current and set current being greater than a second configurable threshold current or for requested voltage being less than set voltage, setting a new resistor parameter along with a new set voltage and a new set current, and setting a saturation limit, the saturation limit being when the new set voltage is between a voltage requested and a minimum voltage to establish a new value for the voltage subsequently setting the set voltage to new set voltage and set current to new set current, and waiting for a first configurable time period to determine, at the microcontroller, the plurality of samples corresponding to voltage and current and calculating an average voltage and current, and

for the absolute value or the modulus of the difference between the average current and the set current is less than or equal to the second configurable threshold current and the requested voltage is greater than the set voltage, continue waiting for a first configurable time-period and the plurality of samples corresponding to voltage and current for calculating an average voltage and current for next round of comparisons.

Assignments (2)
MERGER Recorded Apr 22, 2026
From: SILICONCH SYSTEMS PRIVATE LIMITED
To: L&T SEMICONDUCTOR TECHNOLOGIES LIMITED
Reel/Frame 075446/0549 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 29, 2021
From: POLASA, RAKESH KUMAR; PALIWAL, SHUBHAM; MANI, ALAGESAN
To: SILICONCH SYSTEMS PVT LTD
Reel/Frame 057967/0690 →
Priority Claims (1)
IN 202141001448 · Jan 12, 2021 · national
Continuity (1)
Related Publication 20220221922A1 · Jul 14, 2022
Cited By (1)
US 12,579,091