Multi-port charger power dynamic distribution method based on power distribution notification, computer program product and multi-port charger

By using the power distribution notification method in multi-port chargers, dynamically adjusting the output power of the charging port, solving the problem of resource waste and inefficiency caused by fixed power distribution in traditional chargers, and achieving more efficient power distribution and Charging efficiency.

CN119315674APending Publication Date: 2025-01-14GUANGZHOU IFANR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411497903.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

Due to the fixed power distribution method, traditional multi-port chargers are wasted resources and inefficient, and cannot fully utilize the total output capability of the charger, limiting the flexibility and efficiency of the charger.

Method used

The power dynamic distribution method of multi-port charger based on power distribution notification is adopted. By testing the power broadcast and power judgment steps, the output power of each charging port is dynamically adjusted to ensure the fairness and efficiency of power distribution and avoid oversupply or insufficient power.

Benefits of technology

The dynamic distribution of power of multi-port chargers is realized, ensuring that the power distribution of each port reaches maximum efficiency, avoiding resource waste, and improving the flexibility and efficiency of the chargers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119315674A_ABST
    Figure CN119315674A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of multi-port chargers, in particular to a multi-port charger power dynamic distribution method based on power distribution notification, a computer program product and a multi-port charger. According to the multi-port charger power dynamic distribution method based on the power distribution notification, an adjusting power Pnew for increasing Y watts is broadcasted to each charging port, then whether the actual charging output power of each charging port is increased and exceeds a preset degree is monitored, if not, it is indicated that the charging port does not have the power requirement for increasing Y watts, and if yes, the charging port does not have the power requirement for increasing Y watts. And the broadcast power of the charging port is rolled back to the original output protocol power Pcurr in a re-broadcasting mode. By circularly executing the broadcasting and rollback steps, the power on each charging port is dynamically and fairly distributed, simultaneous power supply of multiple ports is realized, and the scene that the power supply power of a certain port is excessive and insufficient due to average distribution is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-port chargers, and in particular to a multi-port charger power dynamic allocation method based on power allocation notification, a computer program product and a multi-port charger. Background Art

[0002] With the rapid development of electronic devices, people often carry mobile phones, tablets, laptops, Bluetooth headsets and other electronic devices with them, which makes chargers a frequently used power supply device in daily life. With the increase of personal electronic devices, multi-port chargers are becoming more and more popular in the market because of their advantages in solving the problem of charging multiple devices at the same time.

[0003] However, traditional multi-port chargers usually allocate a fixed power limit to each port. Even if the actual connected charging device does not reach this limit, this part of the pre-allocated power is still locked and occupied, making it impossible for the charger to achieve maximum efficiency in power allocation to other ports. This fixed power allocation method often leads to resource waste and limits the flexibility and efficiency of the charger. Summary of the invention

[0004] The object of the present invention is to provide a method for dynamically allocating power to a multi-port charger based on power allocation notification, which can realize dynamic power allocation to each charging port of the multi-port charger.

[0005] In order to achieve the above invention object, the present invention provides a method for dynamically allocating power of a multi-port charger based on power allocation notification, wherein the multi-port charger has multiple charging ports that independently supply power to the outside, comprising the following steps:

[0006] A power broadcasting step is performed to obtain the current output protocol power Pcurr of each charging port, and to broadcast an adjusted power Pnew increased by Y watts to each charging port, where Pnew = Pcurr + Y.

[0007] The power judgment step is performed on each charging port respectively. After the power broadcasting step is completed, after waiting for the preset time period T1, the average output power Poutput of the charging port in the continuous T0 time period is calculated, and the preset degree of the average output power Poutput is recorded as the test power Ptest=Poutput×K, where K is a preset ratio value less than 1, and it is judged whether the test power Ptest is greater than the output protocol power Pcurr;

[0008] If the judgment result of a charging port is negative, that is, Ptest≤Pcurr, the power broadcast adjustment step is executed to broadcast the power to each charging port respectively. For the charging port with a negative judgment result, the output protocol power Pcurr is broadcast again as the new broadcast power.

[0009] Preferably, the trial power broadcasting step is performed when at least two charging ports are in working state.

[0010] Preferably, in the power determination step, the continuous T0 time period is within the range of the preset waiting time period T1, and T0 is smaller than T1.

[0011] Preferably, the method comprises a phased adjustment step performed before the trial power broadcasting step:

[0012] Get the initial power Pinit=min((Ptotal-ΣPprotocol_output),Pport_max) provided by the multi-port charger for the powered device connected to each charging port, where Ptotal is the total output capacity of the multi-port charger; Pprotocol_output is the maximum charging power given by the charging protocol; Pport_max is the maximum power that each charging port can output;

[0013] Calculate the low power of each charging port Padv = Pinit × L, where L is the preset ratio;

[0014] Calculate the power sum ΣPadv. If ΣPadv>Ptotal, adjust the initial power Pinit to the output protocol power Pcurr according to the preset adjustment strategy, and update the Padv of each port with the value obtained by adjusting the output protocol power Pcurr×L until the power sum ΣPadv does not exceed Ptotal, and broadcast the output protocol power Pcurr.

[0015] Preferably, the adjustment strategy is to calculate the excess power and divide it by the number of charging ports currently in a charging state to obtain an average excess power Pdelta, and the broadcast output protocol power Pcurr of each port = Padv-Pdelta.

[0016] Preferably, the adjustment strategy is to calculate the excess power and distribute the excess power to each charging port according to a preset weight value.

[0017] Preferably, the adjustment strategy is to obtain the preset output priority of each charging port, and adjust the broadcast output protocol power Pcurr of each charging port in a manner to sequentially satisfy the power of each charging port according to the output priority from high to low.

[0018] Preferably, the method comprises the following power fair allocation step performed before the trial power broadcasting step:

[0019] The actual power used by each charging port is recorded separately, denoted as Pactual[i], where i is the port number;

[0020] Identify the highest and lowest power ports, find the highest power port number Pmax_port, and the lowest power N ports number Pmin_port [1-N] ;

[0021] Calculate the power Preduce that needs to be reduced for Pmax_port and the power Pincrease that needs to be allocated to each low-power port.

[0022]

[0023] Adjust the power allocation to reduce the broadcast power of Pmax_port:

[0024] Pnew[Pmax_port]=Pactual[Pmax_port]–Preduce;

[0025] Increase the broadcast power of Pmin_ports:

[0026] Pnew[Pmin_ports[i]]=Pactual[Pmin_ports[i]]+Pincrease.

[0027] Preferably, the power fair allocation step is performed by broadcasting a new power when changes of the Pnew[Pmax_port] and at least two Pnew[Pmin_ports[i]] exceed preset thresholds.

[0028] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method for dynamically allocating power to multiple chargers based on power allocation notification as described above.

[0029] The present invention also provides a multi-port charger, including a processor and a power distribution circuit, and also includes the computer program product as described above.

[0030] Beneficial effect: The method for dynamic power allocation of multi-port chargers based on power allocation notification, when there is a power adjustment demand on the charging port, that is, when the used power is close to the output protocol power, broadcasts an adjusted power Pnew with an increase of Y watts to each charging port, and then monitors whether the actual charging output power of each charging port is increased by more than a preset degree. If so, it means that the charging port has a power demand of an increase of Y watts, and the adjusted power Pnew is maintained as the broadcast power of the current charging port. Otherwise, it means that the charging port does not have a power demand of an increase of Y watts, and the broadcast power of the charging port is rolled back to the original output protocol power Pcurr by broadcasting again. By cyclically executing the above broadcast and rollback steps, the power on each charging port is dynamically and fairly allocated, and multiple ports are powered simultaneously, and the scenario where a certain port has excessive power supply and a certain port has insufficient power supply due to average distribution will not occur. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flowchart of a method for dynamically allocating power to a multi-port charger based on power allocation notification provided by the present invention; DETAILED DESCRIPTION

[0032] The present invention is further described in detail below in conjunction with specific implementation methods.

[0033] The multi-port charger provided in this embodiment includes a processor and a power distribution circuit connected to the processor in communication. The power distribution circuit is connected to the front-stage AC-DC of the multi-port charger and N MCUs with built-in PD controllers of the multi-port charger. The MCUs communicate with each other through a communication bus. These MCUs control each charging port respectively. The multi-port charger also includes a computer program product. When the computer program pre-stored in the computer program product is executed by the processor, the following steps of the multi-port charger power dynamic allocation method based on power allocation notification of this embodiment are implemented, thereby dynamically adjusting the output power of the N charging ports.

[0034] The total output capacity Ptotal of the multi-port charger in this embodiment, the user uses the multi-port charger to charge multiple devices, and the multi-port charger executes the multi-port charger power dynamic allocation method based on the power allocation notification. The specific implementation process of dynamic power allocation is detailed as follows.

[0035] When the first electric device to be charged is connected to the charging port, the electric device sends a charging demand after handshaking or communicating with the MCU corresponding to the charging port. When a new electric device i is connected to charging port i, where i is the port number, the MCU corresponding to charging port i provides the current actual power usage Pactual[i] of each port to charging port i according to the current allocable power of the multi-port charger and the charging demand of charging device i. As multiple electric devices are connected to each charging port in turn, the multi-port charger power dynamic allocation method based on power allocation notification in this embodiment dynamically adjusts the broadcast power of each charging port through the following four stages, wherein stages two, three, and four are synchronously or cross-executed according to the real-time changes of the connected electric devices, so that the multi-port charger can meet the power requirements of all electric devices as much as possible under the total output capacity Ptotal. The specific description is as follows.

[0036] Phase 1 is the initial phase, which obtains the initial power Pinit=min((Ptotal-ΣPprotocol_output),Pport_max) provided by the multi-port charger for the powered device connected to each charging port, where Ptotal is the total output capacity of the multi-port charger; Pprotocol_output is the maximum charging power given by the charging protocol, not the actual power used; Pport_max is the maximum power that each charging port can output. Whenever a new charging port of the multi-port charger is used to enter the charging state, the initial phase is executed once.

[0037] Phase 2 is a phased adjustment, which includes the following phased adjustment steps: obtaining the initial power Pinit provided by the multi-port charger for the powered device connected to each charging port; calculating the low-value power Padv of each charging port. In each phased adjustment step, the low-value power Padv of the charging port currently used initially is = Pinit × L, and the low-value power Padv of other previously used charging ports is = Pcurr × L, where L is a preset ratio, such as 70%, and Pcurr is the current broadcast output protocol power of the charging port;

[0038] Calculate the power sum ΣPadv. If ΣPadv>Ptotal, adjust the initial power Pinit to the output protocol power Pcurr according to the preset adjustment strategy, and update the Padv of each port with the value obtained by adjusting the output protocol power Pcurr×L until the power sum ΣPadv does not exceed Ptotal, and broadcast the output protocol power Pcurr.

[0039] The adjustment strategy includes the following implementation methods, which can be implemented according to the user's selection of the charger function or the preset method of the charger:

[0040] 1. Calculate the excess power and divide it by the number of charging ports currently in the charging state to get the average excess power Pdelta. The broadcast output protocol power of each port Pcurr = Padv – Pdelta;

[0041] 2. Calculate the excess power and distribute it to each charging port according to the preset weight value;

[0042] 3. Obtain the preset output priority of each charging port, and adjust the broadcast output protocol power Pcurr of each charging port in a manner that satisfies the power of each charging port in order from high to low according to the output priority.

[0043] Whenever a new charging port of the multi-port charger is used to enter the charging state, the staged adjustment steps of the above stage 2 are re-executed.

[0044] Phase three is a trial power adjustment. The premise of this phase is to use a power close to the output protocol power, including the following trial power broadcasting steps, power judgment steps and power broadcasting adjustment steps.

[0045] The trial power broadcasting step is performed when at least two charging ports are in working state, obtains the current output protocol power Pcurr of each charging port, and broadcasts an adjusted power Pnew increased by Y watts to each charging port, Pnew=Pcurr+Y.

[0046] The power judgment step is performed on each charging port respectively. After the power broadcasting step is completed, after waiting for the preset time period T1, the average output power Poutput of the charging port in the continuous T0 time period is calculated, and the preset degree of the average output power Poutput is recorded as the trial power Ptest=Poutput×K, K is a preset ratio value less than 1, and it is judged whether the trial power Ptest is greater than the output protocol power Pcurr; wherein, the continuous T0 time period is within the waiting preset time period T1, and T0 is less than T1.

[0047] If the judgment result of a charging port is negative, that is, Ptest≤Pcurr, the power broadcast adjustment step is executed to broadcast the power to each charging port respectively. For the charging port with a negative judgment result, the output protocol power Pcurr is broadcast again as the new broadcast power.

[0048] Step 4 is to adjust the power allocation, including the following power fair allocation steps performed before or after the trial power broadcast step:

[0049] The actual power used by each charging port is recorded separately, denoted as Pactual[i], where i is the port number;

[0050] Identify the highest and lowest power ports, find the highest power port number Pmax_port, and the lowest power N ports number Pmin_port [1-N] ;

[0051] Calculate the power Preduce that needs to be reduced for Pmax_port and the power Pincrease that needs to be allocated to each low-power port.

[0052]

[0053] Adjust the power allocation, reduce the broadcast power of Pmax_port, increase the broadcast power of Pmin_ports, Pnew[i] is the charging power after redistribution to each port, where i is the port number:

[0054] Pnew[Pmax_port]=Pactual[Pmax_port]–Preduce;

[0055] Pnew[Pmin_ports[i]]=Pactual[Pmin_ports[i]]+Pincrease.

[0056] In order to avoid frequent broadcasts caused by power changes, this embodiment configures a smoothing strategy for the multi-port charger, that is, the new power is re-broadcast only when the calculated new power change exceeds a certain threshold. Specifically, the power fair allocation step broadcasts the new power when the changes of Pnew[Pmax_port] and at least two Pnew[Pmin_ports[i]] exceed the preset threshold, such as 10W or 10%.

[0057] Take the power change of more than 10% as an example. Assuming that the output power of the current charging port during T2 is Poutput, the calculated

[0058] The allocated power is Pnew. Pnew will be broadcasted to the powered device as the new broadcast power if and only if the following conditions are met:

[0059]

[0060] When the above conditions are not met, the adjustment in stage 4 is abandoned in order to achieve a smoother power change.

[0061] The method for dynamic power allocation of multi-port chargers based on power allocation notification, when there is a power adjustment demand on the charging port, that is, when the used power is close to the output protocol power, broadcasts an adjusted power Pnew with an increase of Y watts to each charging port, and then monitors whether the actual charging output power of each charging port is increased by more than a preset degree. If so, it means that the charging port has a power demand of an increase of Y watts, and the adjusted power Pnew is maintained as the broadcast power of the current charging port. Otherwise, it means that the charging port does not have a power demand of an increase of Y watts, and the broadcast power of the charging port is rolled back to the original output protocol power Pcurr by broadcasting again. By cyclically executing the above broadcast and rollback steps, the power on each charging port is dynamically and fairly allocated, and multiple ports are powered simultaneously, and the scenario where a port has excessive power and a port has insufficient power due to average allocation will not occur.

[0062] This embodiment implements the above-mentioned multi-port charger power dynamic allocation method based on power allocation notification through a computer program. The multi-port charger embodiment described above is only exemplary, in which the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0063] Finally, it should be noted that the multi-port charger power dynamic allocation method based on power allocation notification disclosed in the embodiment of the present invention discloses only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for dynamically allocating power to a multi-port charger based on power allocation notification, wherein the multi-port charger has a plurality of charging ports that independently supply power to the outside, characterized in that: The steps include: A power broadcasting step is performed to obtain the current output protocol power Pcurr of each charging port, and to broadcast an adjusted power Pnew increased by Y watts to each charging port, where Pnew = Pcurr + Y. The power judgment step is performed on each charging port respectively. After the power broadcasting step is completed, after waiting for the preset time period T1, the average output power Poutput of the charging port in the continuous T0 time period is calculated, and the preset degree of the average output power Poutput is recorded as the test power Ptest=Poutput×K, where K is a preset ratio value less than 1, and it is judged whether the test power Ptest is greater than the output protocol power Pcurr; If the judgment result of a charging port is negative, that is, Ptest≤Pcurr, the power broadcast adjustment step is executed to broadcast the power to each charging port respectively. For the charging port with a negative judgment result, the output protocol power Pcurr is broadcast again as the new broadcast power.

2. The method for dynamically allocating power to multiple chargers based on power allocation notification according to claim 1, characterized in that: The power broadcasting trial step is performed when at least two charging ports are in working state.

3. The method for dynamically allocating power to multiple chargers based on power allocation notification according to claim 1, characterized in that: The method comprises the following steps: Get the initial power Pinit=min((Ptotal-ΣPprotocol_output),Pport_max) provided by the multi-port charger for the powered device connected to each charging port, where Ptotal is the total output capacity of the multi-port charger; Pprotocol_output is the maximum charging power given by the charging protocol; Pport_max is the maximum power that each charging port can output; Calculate the low power of each charging port Padv = Pinit × L, where L is the preset ratio; Calculate the power sum ΣPadv. If ΣPadv>Ptotal, adjust the initial power Pinit to the output protocol power Pcurr according to the preset adjustment strategy, and update the Padv of each port with the value obtained by adjusting the output protocol power Pcurr×L until the power sum ΣPadv does not exceed Ptotal, and broadcast the output protocol power Pcurr.

4. The method for dynamically allocating power to multiple chargers based on power allocation notification according to claim 3, characterized in that: The adjustment strategy is to calculate the excess power and divide it by the number of charging ports currently in the charging state to obtain the average excess power Pdelta, and the broadcast output protocol power Pcurr of each port = Padv-Pdelta.

5. The method for dynamically allocating power to multiple chargers based on power allocation notification according to claim 3, characterized in that: The adjustment strategy is to calculate the excess power and distribute the excess power to each charging port according to a preset weight value.

6. The method for dynamically allocating power to multiple chargers based on power allocation notification according to claim 3, characterized in that: The adjustment strategy refers to: obtaining the preset output priority of each charging port, and adjusting the broadcast output protocol power Pcurr of each charging port in a manner to sequentially satisfy the power of each charging port according to the output priority from high to low.

7. The method for dynamically allocating power to multiple chargers based on power allocation notification according to claim 1, characterized in that: The method comprises the following power fair allocation step performed before the tentative power broadcasting step: The actual power used by each charging port is recorded separately, denoted as Pactual[i], where i is the port number; Identify the highest and lowest power ports, find the highest power port number Pmax_port, and the lowest power N ports number Pmin_port [1-N] ; Calculate the power Preduce that needs to be reduced for Pmax_port and the power Pincrease that needs to be allocated to each low-power port. Adjust power allocation to reduce the broadcast power of Pmax_port: Pnew[Pmax_port]=Pactual[Pmax_port]–Preduce; increase the broadcast power of Pmin_ports: Pnew[Pmin_ports[i]]=Pactual[Pmin_ports[i]]+Pincrease.

8. The method for dynamically allocating power to multiple chargers based on power allocation notification according to claim 7, characterized in that: The power fair allocation step broadcasts a new power when changes of Pnew[Pmax_port] and at least two Pnew[Pmin_ports[i]] exceed a preset threshold.

9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for dynamically allocating power to multiple chargers based on power allocation notification according to any one of claims 1 to 8 are implemented.

10. A multi-port charger, comprising a processor and a power distribution circuit in communication connection, characterized in that: Comprising a computer program product as claimed in claim 9.