Intelligent and adaptive sharing of power among power delivery ports
Technology to intelligently and adaptive share power among charging ports of a multiport power delivery (PD) system is described. In some embodiments, a method includes monitoring power consumption by at least one device of a plurality of devices. Each device of the plurality of devices is connected to a port of a plurality of ports having an allocation of system power. Monitoring the power consumption includes obtaining at least one current measurement of actual current consumption by the at least one device. The method further includes determining whether the at least one current measurement satisfies a threshold condition, and responsive to determining that the at least one current measurement satisfies the threshold condition, causing the system power to be reallocated between each port of the plurality of ports.
1 . A method comprising:
monitoring, by at least one processing device, power consumption by at least one device of a plurality of devices, wherein each device of the plurality of devices is connected to a port of a plurality of ports, wherein each port of the plurality of ports is allocated a respective allocation of a total amount of system power, and wherein monitoring the power consumption comprises obtaining at least one current measurement of actual current consumption by the at least one device;
determining, by the at least one processing device, whether the at least one current measurement satisfies a threshold condition, further including determining whether the at least one current measurement is greater than a sum of a stored current measurement and a first current measurement threshold, or the at least one current measurement is less than a difference between the stored current measurement and a second current measurement threshold; and
responsive to determining that the at least one current measurement satisfies the threshold condition, causing, by the at least one processing device, the total amount of system power to be reallocated such that each port of the plurality of ports is allocated a respective reallocation of the total amount of system power.
2 . The method of claim 1 , wherein causing the total amount of system power to be reallocated further comprises:
determining at least one amount of power consumed by the at least one device based on at least one Request Data Object (RDO) voltage and the at least one current measurement; and
causing the total amount of system power to be reallocated based on the at least one amount of power consumed by the at least one device.
3 . The method of claim 1 , further comprising:
obtaining, by the at least one processing device, a set of charging characteristics of a given device of the plurality of devices, the given device being connected to a given port of the plurality of ports; and
using, by the at least one processing device, the set of charging characteristics to reallocate the total amount of system power.
4 . The method of claim 3 , wherein:
the given device is a known device;
obtaining the set of charging characteristics further comprises obtaining a charging table and a charging status corresponding to the given device; and
using the set of charging characteristics to reallocate the total amount of system power further comprises causing an amount of power to be provided to the given port based on the charging table and the charging status.
5 . The method of claim 3 , wherein:
the given device is an unknown device;
obtaining the set of charging characteristics further comprises saving a charging pattern corresponding to the given device; and
after saving the charging pattern, using the set of charging characteristics to reallocate the total amount of system power further comprises causing an amount of power to be provided to the given port.
6 . The method of claim 1 , further comprising, prior to monitoring the power consumption by the at least one device:
determining, by the at least one processing device for each device of the plurality of devices, a power requirement for the device; and
allocating, by the at least one processing device based on each power requirement, the total amount of system power such that each port of the plurality of ports is allocated the respective allocation of the total amount of system power, independent of a connection sequence of the plurality of devices.
7 . A system comprising:
a memory; and
at least one processing device, operatively coupled to the memory, to:
monitor power consumption by at least one device of a plurality of devices by obtaining at least one current measurement of actual current consumption by the at least one device, wherein each device of the plurality of devices is connected to a port of a plurality of ports, and wherein each port of the plurality of ports is allocated a respective allocation of a total amount of system power;
determine whether the at least one current measurement satisfies a threshold condition;
responsive to determining that the at least one current measurement satisfies the threshold condition, cause the total amount of system power to be reallocated such that each port of the plurality of ports is allocated a respective reallocation of the total amount of system power; and
determine whether the at least one current measurement satisfies the threshold condition by determining whether the at least one current measurement is greater than a sum of a stored current measurement and a first current measurement threshold, or the at least one current measurement is less than a difference between the stored current measurement and a second current measurement threshold.
8 . The system of claim 7 , wherein the at least one processing device is further to cause the total amount of system power to be reallocated by:
determining at least one amount of power consumed by the at least one device based on at least one Request Data Object (RDO) voltage and the at least one current measurement; and
causing the total amount of system power to be reallocated based on the at least one amount of power consumed by the at least one device.
9 . The system of claim 7 , wherein the at least one processing device is further to:
obtain a set of charging characteristics of a given device of the plurality of devices, the given device being connected to a given port of the plurality of ports; and
use the set of charging characteristics to reallocate the total amount of system power.
10 . The system of claim 9 , wherein:
the given device is a known device;
the at least one processing device is to obtain the set of charging characteristics by obtaining a charging table and a charging status corresponding to the given device; and
the at least one processing device is to use the set of charging characteristics to reallocate the total amount of system power by causing an amount of power to be provided to the given port based on the charging table and the charging status.
11 . The system of claim 9 , wherein:
the given device is an unknown device;
the at least one processing device is to obtain the set of charging characteristics by saving a charging pattern corresponding to the given device; and
after saving the charging pattern, the at least one processing device is to use the set of charging characteristics to reallocate the total amount of system power by causing an amount of power to be provided to the given port.
12 . The system of claim 7 , wherein the at least one processing device, prior to monitoring the power consumption by the at least one device, is further to:
determine, for each device of the plurality of devices, a power requirement for the device; and
allocate, based on each power requirement, the total amount of system power such that each port of the plurality of ports is allocated the respective allocation of the total amount of system power, independent of a connection sequence of the plurality of devices.
13 . A system comprising:
a plurality of Universal Serial Bus Type-C (USB-C) ports, wherein each USB-C port of the plurality of USB-C ports is allocated a respective allocation of a total amount of system power;
a plurality of devices, wherein each device of the plurality of devices is connected to a respective USB-C port of the plurality of USB-C ports; and
at least one processing device, operatively coupled to a memory, to:
monitor power consumption by at least one device of the plurality of devices by obtaining at least one current measurement of actual current consumption by the at least one device;
determine whether the at least one current measurement satisfies a threshold condition;
responsive to determining that the at least one current measurement satisfies the threshold condition, cause system power to be reallocated such that each USB-C port of the plurality of USB-C ports is allocated a respective reallocation of the total amount of system power; and
determine whether the at least one current measurement satisfies the threshold condition by determining whether the at least one current measurement is greater than a sum of a stored current measurement and a first current measurement threshold, or the at least one current measurement is less than a difference between the stored current measurement and a second current measurement threshold.
14 . The system of claim 13 , wherein the at least one processing device is further to cause the total amount of system power to be reallocated by:
determining at least one amount of power consumed by the at least one device based on at least one Request Data Object (RDO) voltage and the at least one current measurement; and
causing the total amount of system power to be reallocated based on the at least one amount of power consumed by the at least one device.
15 . The system of claim 13 , wherein the at least one processing device is further to:
obtain a set of charging characteristics of a given device of the plurality of devices, the given device being connected to a given USB-C port of the plurality of USB-C ports; and
use the set of charging characteristics to reallocate the total amount of system power.
16 . The system of claim 15 , wherein:
the given device is a known device;
the at least one processing device is to obtain the set of charging characteristics by obtaining a charging table and a charging status corresponding to the given device; and
the at least one processing device is to use the set of charging characteristics to reallocate the total amount of system power by causing an amount of power to be provided to the given USB-C port based on the charging table and the charging status.
17 . The system of claim 15 , wherein:
the given device is an unknown device;
the at least one processing device is to obtain the set of charging characteristics by saving a charging pattern corresponding to the given device; and
after saving the charging pattern, the at least one processing device is to use the set of charging characteristics to reallocate the total amount of system power by causing an amount of power to be provided to the given USB-C port.