PORTABLE ENERGY STORAGE DEVICE CAPABLE OF SIMULTANEOUS MULTI-PORT CHARGING AND DISCHARGING AND METHOD FOR ALLOCATING CHARGING AND DISCHARGING POWER
20260066676 ยท 2026-03-05
Assignee
Inventors
Cpc classification
H02J7/933
ELECTRICITY
H02J7/342
ELECTRICITY
H02J7/50
ELECTRICITY
International classification
Abstract
A portable energy storage device capable of simultaneous multi-port charging and discharging and method for allocating charging and discharging power, wherein the energy storage device includes a power allocation unit, at least two power input ports, and at least two charging output ports, wherein the power allocation unit is used for allocating power to the power input ports connected to the charging device and the charging output ports connected to the receiving device, and the maximum permissible operating power of the energy storage device in charging and discharging mode is defined as P.sub.max. By distributing the power of the power input port and the charging output port, the portable energy storage device is enabled to meet the demand for simultaneous charging and simultaneous power supply, ensuring a good user experience.
Claims
1. A portable energy storage device capable of simultaneous multi-port charging and discharging, wherein: the device comprises a power allocation unit, at least two power input ports, and at least two charging output ports; The power allocation unit is configured to distribute power to the power input ports connected to charging devices and the charging output ports connected to powered devices; The state in which the power input ports are connected to charging devices while the charging output ports are simultaneously connected to powered devices is defined as the simultaneous charging and discharging state; define the maximum allowable operating power of the portable energy storage device under the state of charging and discharging as P.sub.max, the power allocation unit configures of P.sub.max as the maximum allowable input power of the power input port, and configures the sum of actual charging power of the power input port to be the maximum total output power of the charging output port; define the maximum allowable input power of the power input port to be P.sub.max_in and the maximum total output power of the charging output port to be P.sub.max_out; then P.sub.max_in=P.sub.max/2, P.sub.max_out is the sum of the actual charging power of the power input port and P.sub.max_outP.sub.max_in; when the sum of the maximum allowable charging power of the power input ports connected to charging devices is less than or equal to P.sub.max_in, the power allocation unit configures each power input port to operate at its respective maximum allowable charging power; the maximum allowable charging power is defined as the smaller value between the preset maximum charging power of the power input port and the charging power that the charging device can provide upon connection; when the sum of the maximum allowable charging power of the power input ports connected to charging devices exceeds P.sub.max_in, the power allocation unit sets the total operating power of these power input ports to P.sub.max_in; when the sum of the preset power of the charging output ports connected to powered devices is less than or equal to P.sub.max_out, the power allocation unit assigns each charging output port its corresponding preset power; the preset power is defined as the smaller value between the maximum output power of the charging output port and the power requested by the connected load; when the sum of the preset power of the charging output ports connected to powered devices exceeds P.sub.max_out, the power allocation unit ensures that the total power distributed to these charging output ports equals P.sub.max_out.
2. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 1, wherein: when the sum of the maximum allowable charging power of the power input ports connected to charging devices exceeds P.sub.max_in, the power allocation unit sets the total operating power of these power input ports to P.sub.max_in and allocates power according to the following rules: if the number of power input ports connected to charging devices is one, the power allocation unit configures the power input port to operate at P.sub.max_in; if the number of power input ports connected to charging devices is N, where N is a positive integer and N2, then: if the maximum allowable charging power of each power input port is greater than P.sub.max_in/N, the power allocation unit configures all these power input ports to operate at P.sub.max_in/N; if some power input ports have a maximum allowable charging power which is less than or equal to P.sub.max_in/N, the power allocation unit performs a first power allocation, configuring these power input ports to operate at their maximum allowable charging power; Assuming the total power consumed by these power input ports is B.sub.1, the remaining power available for allocation is P.sub.1=P.sub.max_inB.sub.1; The number of power input ports that have not yet been allocated power is M.sub.1 which equals to N(the number of power input ports configured to operate at their maximum allowable charging power in the first allocation); For the remaining M.sub.1 power input ports: if the maximum allowable charging power of each remaining power input port is greater than P.sub.1/M.sub.1, the power allocation unit configures all M.sub.1 remaining power input ports to operate at P.sub.1/M.sub.1; if the maximum allowable charging power of some power input ports is less than or equal to P.sub.1/M.sub.1, then the power allocation unit allocates power in accordance with the following rule: after the k-th power allocation, the total power consumed by the power input ports configured to operate at their maximum allowable charging power is defined as B.sub.k; the remaining power available for allocation is defined as P.sub.k, and the number of power input ports that have not yet been allocated power is defined as M.sub.k, where k is a positive integer and k1; among the remaining M.sub.k ports, for the power input ports with a maximum allowable charging power which is less than or equal to P.sub.k/M.sub.k, the power allocation unit performs the (k+1)-th power allocation, configuring these power input ports to operate at their maximum allowable charging power; assuming the total power consumed by these power input ports is B.sub.k+1, the remaining power available for allocation is P.sub.k+1=P.sub.max_inB.sub.1 . . . B.sub.k+1, and the number of power input ports that have not yet been allocated power is M.sub.k+1=M.sub.k(the number of power input ports configured to operate at their maximum allowable charging power in the (k+1)-th allocation; in this rule, after the (k+1)-th power allocation, if the maximum allowable charging power of all the remaining M.sub.k+1 power input ports is greater than P.sub.k+1/M.sub.k+1, the rule terminates and the power allocation unit configures the remaining M.sub.k+1 power input ports to operate at P.sub.k+1/M.sub.k+1.
3. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 1, wherein: when the sum of the preset power of the charging output ports connected to powered devices exceeds P.sub.max_out, the power allocation unit distributes a total power of P.sub.max_out among these charging output ports and allocates power according to the following rules: the charging output ports are preconfigured with a priority order for power allocation, and each charging output port is preassigned a minimum output power and a maximum output power; the sum of the minimum output power of each charging output port is less than or equal to P.sub.max_out, and the minimum output power of each charging output port is less than or equal to its maximum output power; additionally, the maximum output power of each charging output port is less than or equal to P.sub.max_out; if the sum of the minimum output power of the charging output ports connected to powered devices is equal to P.sub.max_out, the power allocation unit assigns each charging output port its corresponding minimum output power; if the sum of the minimum output power of the charging output ports connected to powered devices is less than P.sub.max_out, and P.sub.max_out is less than the sum of the preset power of these charging output ports, the power allocation unit first satisfies the minimum output power requirements of these charging output ports; then, it distributes the remaining power according to the priority order of the charging output ports, where the remaining power is given by: remaining power=P.sub.max_outSum of Minimum Output Power of Charging Output Ports.
4. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 3, wherein: when the sum of the minimum output power of the charging output ports connected to powered devices is less than P.sub.max_out, and P.sub.max_out is less than the sum of the preset power of these charging output ports, the power allocation unit, after satisfying the minimum output power requirements of these charging output ports, distributes the remaining power according to the priority order of the charging output ports based on the following rules: define the number of charging output ports connected to powered devices as Y; when Y2 and these Y charging output ports have different priority levels, they are sorted in descending order of priority and sequentially designated as the first charging output port through the Y-th charging output port; their respective minimum output power values are sequentially defined as P.sub.min_c1 to P.sub.min_cY, and the smaller value between their maximum output power and load request power is sequentially defined as the first preset power through the Y-th preset power; define the initial amount of remaining power as P.sub.0_out, where: P.sub.0_out=P.sub.max_out (P.sub.min_c1+ . . . +P.sub.min_cY); during the first round of remaining power allocation, the power allocation unit assigns the first charging output port a total power equal to the smaller value between (P.sub.min_c1+P.sub.0_out) and the first preset power; Define the remaining power obtained by the first charging output port after the first round of allocation as C.sub.1, where: C.sub.1=total power allocated to the first charging output portP.sub.min_c1; define the remaining power after the first round of allocation as P.sub.1_out, where: P.sub.1_out=P.sub.0_outC.sub.1; if P.sub.1_out=0, the power allocation process ends; if P.sub.1_out>0, the remaining power allocation continues according to the following rule until the remaining power P.sub.k_out=0, thereby completing the power allocation process: in the k-th round of remaining power allocation, the power allocation unit assigns the k-th charging output port a total power equal to the smaller value between (P.sub.min_ck+P.sub.(k1)out) and the k-th preset power; define the remaining power obtained by the k-th charging output port after the k-th round of allocation as C.sub.k, where: C.sub.k=Total power allocated to the k-th charging output port-P.sub.min_ck; define the remaining power after the k-th round of allocation as P.sub.k_out, where: P.sub.k_out=P.sub.0_outC.sub.1 . . . C.sub.k, where k is a positive integer and k2.
5. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 3, wherein: when the sum of the minimum output power of the connected charging output ports is less than P.sub.max_out, and P.sub.max_out is less than the sum of the preset power of these charging output ports, the power allocation unit, after ensuring that each charging output port receives its minimum output power, distributes the remaining power according to the priority order of the charging output ports based on the following rules: define the number of charging output ports connected to the powered devices as Y; Among these Y charging output ports, the number of charging output ports with the same lowest priority is x, while the remaining Yx charging output ports have different priority levels; Then: when Y2 and Y=x, meaning that all Y charging output ports share the same lowest priority, the power allocation unit first ensures that these charging output ports receive their respective minimum output power and then evenly distributes the remaining power among them; when Y3 and 2x<Y, the charging output ports are sorted in order of priority from high to low; these ports are sequentially defined from the first charging output port to the Y-th charging output port, where the priority of charging output ports from the (Yx+1)-th to the Y-th is the same; the minimum output power of these charging output ports is sequentially defined as P.sub.min_c1 to P.sub.min_cY, and the smaller value between their maximum output power and load request power is sequentially defined as the first preset power through the Y-th preset power; define the initial amount of remaining power as P.sub.0_out, where: P.sub.0_out=P.sub.max_out(P.sub.min_c1+ . . . +P.sub.min_cY); The remaining power distribution rule is as follows: in the first round of remaining power distribution, the power allocation unit assigns the total power to the first charging output port, which is the smaller value between (P.sub.min_c1+remaining_power P.sub.0_out) and the first preset power; define the remaining power obtained by the first charging output port after the first round of remaining power distribution as C.sub.1, where: C.sub.1=Total power allocated to the first charging output portP.sub.min_c1; define the remaining power after the first round of distribution as P.sub.1_out, where: P.sub.1_out=P.sub.0_outC.sub.1; if P.sub.1_out=0, the power allocation ends; if P.sub.1_out>0 and only x charging output ports have not been allocated remaining power, the power allocation unit will evenly distribute the remaining power P.sub.1_out among these x charging output ports, and the power allocation ends; if P.sub.1_out>0 and more than x charging output ports still require power allocation, the power allocation unit continues the remaining power distribution according to the following rules until one of the following conditions is met: the remaining power distribution rule is as follows: in the k-th round of remaining power distribution, the power allocation unit allocates the total power to the k-th charging output port, which is the smaller value between (P.sub.min_ck+remaining_powerP.sub.k1_out) and the k-th pre set power; define the remaining power obtained by the k-th charging output port after the k-th round of remaining power distribution as C.sub.k, where: C.sub.k=Total power allocated to the k-th charging output portP.sub.min_ck; define the remaining power after the k-th round of distribution as P.sub.k_out, where: P.sub.k_out=P.sub.0_outC.sub.1 . . . C.sub.k; the first condition is: the remaining power P.sub.k_out equals 0; the second condition is: The remaining power P.sub.k_out is greater than 0, and only x charging output ports have not yet been allocated the remaining power; if the first condition is met first, the power distribution ends; if the second condition is met first, the remaining power P.sub.k_out will be evenly distributed among the remaining x charging output ports, and then the power distribution ends, where k is a positive integer and k2.
6. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 1, wherein: the number of power input ports is two, and the number of charging output ports is four; the two power input ports are bidirectional ports capable of both charging and discharging, and two of the charging output ports are the said bidirectional ports.
7. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 1, wherein: the device is internally equipped with a main control board and one or more independent circuit boards connected to the main control board; the power input ports and charging output ports are arranged on the circuit boards, while the power allocation unit is configured on the main control board.
8. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 7, wherein: the power allocation unit configures the charging and discharging power of each power input port and charging output port by reading the preset parameters of the power input ports and charging output ports, calculating their real-time power demands accordingly; the preset parameters include current and voltage.
9. The portable energy storage device capable of simultaneous multi-port charging and discharging according to claim 7, wherein: both the charging/discharging interface circuit board and the main control board are equipped with protection circuits; the protection circuits include one or more of an overcurrent protection circuit, an overvoltage protection circuit, an overtemperature protection circuit, and a short-circuit protection circuit; when an abnormal condition is detected, the protection circuit responds and cuts off the power supply to the relevant circuit.
10. A method for allocating charging and discharging power in a portable energy storage device, applied to a portable energy storage device capable of simultaneous multi-port charging and discharging, wherein: the portable energy storage device comprises a power allocation unit, at least two power input ports, and at least two charging output ports; the power allocation unit is configured to allocate power to the power input ports connected to charging devices and the charging output ports connected to receiving devices; the state in which the power input ports are connected to charging devices while the charging output ports are also connected to receiving devices is defined as the charge-discharge simultaneous operation state; the power allocation method for charging and discharging includes: defining the maximum allowable operating power of the portable energy storage device in the charge-discharge simultaneous operation state as P.sub.max; the power allocation unit configures of P.sub.max as the maximum allowable input power for the power input ports and ensures that the total actual charging power of the power input ports equals the maximum total output power of the charging output ports; defining the maximum allowable input power of the power input ports as P.sub.max_in and the maximum total output power of the charging output ports as P.sub.max_out, the relationships are: P.sub.max_in=P.sub.max/2, P.sub.max_out=total actual charging power of the power input ports, with the condition P.sub.max_outP.sub.max_in; when the sum of the maximum allowable charging power of the connected power input ports is less than or equal to P.sub.max_in, the power allocation unit configures these power input ports to operate at their respective maximum allowable charging power; the maximum allowable charging power is the smaller value between the preconfigured maximum charging power of the power input port and the charging power that the connected charging device can provide when plugged into that port; when the sum of the maximum allowable charging power of the connected power input ports>P.sub.max_in, the power allocation unit configures these power input ports to operate with a total power equal to P.sub.max_in; when the sum of the preset power of the connected charging output ports is less than or equal to P.sub.max_out, the power allocation unit assigns each connected charging output port its corresponding preset power; the preset power is the smaller value between the maximum output power of the charging output port and the power requested by the load connected to that port; when the sum of the preset power of the connected charging output ports exceeds P.sub.max_out, the power allocation unit ensures that the total power allocated to these charging output ports is P.sub.max_out.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
LEGEND
[0050] 101: First power input port [0051] 102: Second power input port [0052] 103: Third power input port [0053] 201: Power allocation unit [0054] 301: First charging output port [0055] 302: Second charging output port [0056] 303: Third charging output port [0057] 304: Fourth charging output port
EMBODIMENT
[0058] To clarify the purpose, technical solution, and advantages of the embodiments described herein, the following detailed description of the embodiments provided in the accompanying drawings is presented. It is understood that the described embodiments are part of this application, and not all possible embodiments are depicted. Components shown and described in the drawings can be arranged and designed in various configurations.
[0059] Therefore, the detailed description of the embodiments provided in the drawings is not intended to limit the scope of the claims of this application, but only to represent selected embodiments thereof. All other embodiments obtained by those skilled in the art without creative labor based on the embodiments disclosed herein are within the scope of protection of this application.
[0060] It should be noted that similar numerals and letters in the following drawings represent similar elements. Therefore, once an element is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. Additionally, all directional indications (such as up, down, left, right, front, rear, bottom, etc.) used in this application are for explaining the relative positional relationships and movements of the components in a specific orientation (as shown in the drawings). If this specific orientation changes, the directional indications also change Accordingly. Furthermore, descriptions involving first, second, etc., are used for descriptive purposes only and should not be construed to indicate or imply relative importance or the quantity of the indicated technical features.
[0061] In addition, in the present invention, the terms those, and, all, etc., do not necessarily require the number of power input ports or charging output ports to be at least 2, and also include the case where there is only 1 power input port or charging output port. For example, those power input ports includes the case of that one power input port, and the sum of the maximum allowed charging power of those power input ports includes the maximum allowed charging power of that one power input port. Furthermore, in the present invention, when the two values A and B are equal, either one of them is considered the smaller value. For example, the phrase using the smaller of A and B as the maximum allowed charging power includes the case where A and B are equal.
Embodiment 1
[0062] This embodiment provides a portable energy storage device capable of simultaneous multi-port charging and discharging. Structurally, the device features a lightweight and high-strength outer casing. Internally, it includes one or more independent circuit boards, each equipped with power input and charging output ports. These circuit boards are connected to the main control board via wiring. An intelligent control chip is embedded in the main control board, incorporating a power allocation unit 201 that executes power distribution algorithms. The power allocation unit 201 reads parameters such as current and voltage at each port to calculate real-time power demands and adjusts the charging and discharging power accordingly. Additionally, the circuit boards and the main control board are equipped with protective circuit components, including overcurrent protection, overvoltage protection, overtemperature protection, and short-circuit protection. These protection circuits respond rapidly and cut off power to the relevant circuits when anomalies are detected. Since the core of this embodiment lies in the power distribution logic under simultaneous charging and discharging conditions, a detailed explanation is provided below:
[0063] This embodiment provides a portable energy storage device capable of simultaneous multi-port charging and discharging. The device includes a power allocation unit 201, at least two power input ports, and at least two charging output ports (as illustrated in
[0064] The power allocation unit 201 sets half of the maximum allowable operating power P.sub.max of the portable energy storage device as the maximum allowable total input power for the power input ports. It also configures the total actual charging power of the power input ports as the maximum total output power of the charging output ports. Defining the maximum allowable total input power of the power input ports as P.sub.max_in and the maximum total output power of the charging output ports as P.sub.max_out, the following conditions hold when at least one power input port is connected to a charging device and at least one charging output port is connected to a powered device: P.sub.max_in=P.sub.max/2, P.sub.max_out=(actual charging power of power input ports), and P.sub.max_outP.sub.max_in, thus, P.sub.max_outP.sub.max/2.
[0065] Furthermore, for the power input ports: [0066] 1. When the sum of the maximum allowable charging power of all connected charging devices does not exceed P.sub.max_in, the power allocation unit 201 configures each power input port to operate at its respective maximum allowable charging power. (The maximum allowable charging power for a power input port is defined as the smaller value between its preset maximum charging power and the charging power that the connected charging device can provide). For example: [0067] (1) When only one power input port is connected to a charging device, suppose the charging device can provide a charging power of 60 W, while the preset maximum charging power of the power input port is 70 W. Since the charging power provided by the device (60 W) is less than the preset maximum charging power of the port (70 W), the maximum allowable charging power for this power input port is 60 W. Now, assuming the maximum allowable total input power of the portable energy storage device P.sub.max_in is 100 W, and since the maximum allowable charging power of this port (60 W) is less than P.sub.max_in, the power allocation unit 201 configures this power input port to operate at its maximum allowable charging power, which is 60 W. [0068] (2) When two power input ports are connected to charging devices, for clarity and case of description, these two power input ports are defined as the first power input port 101 and the second power input port 102. Additionally, the maximum allowable charging power for the first power input port 101 and the second power input port 102 are defined as P.sub.max_c1_in and P.sub.max_c2_in, respectively. Suppose the maximum allowable total input power of the portable energy storage device (P.sub.max_in) is 120 W, the maximum allowable charging power of the first power input port 101 (P.sub.max_c1_in) is 50 W, and the maximum allowable charging power of the second power input port 102 (P.sub.max_c2_in) is 60 W. Since the sum of P.sub.max_c1_in and P.sub.max_c2_in is 110 W, which is less than P.sub.max_in (i.e., 120 W), the power allocation unit 201 configures the first power input port 101 to operate at P.sub.max_c1_in (50 W) and the second power input port 102 to operate at P.sub.max_c2_in (60 W). [0069] 2. When the sum of the maximum allowable charging power of all connected power input ports exceeds P.sub.max_in, the power allocation unit 201 is configured with the power input ports in P.sub.max_in as the sum of the operating powers. For example: [0070] (1) When only one power input port is connected to a charging device, suppose the maximum allowable charging power of this port is 120 W, while the maximum allowable total input power of the portable energy storage device (P.sub.max_in) is 100 W. Since the port's maximum allowable charging power exceeds P.sub.max_in, the power allocation unit 201 configures this power input port to operate at P.sub.max_in, i.e., 100 W. [0071] (2) When two power input ports are connected to charging devices, suppose the maximum allowable total input power of the portable energy storage device (P.sub.max_in) is 120 W, the maximum allowable charging power of the first power input port 101 (P.sub.max_c1_in) is 70 W, and that of the second power input port 102 (P.sub.max_c2_in) is 60 W. Since the sum of P.sub.max_c1_in and P.sub.max_c2_in is 130 W, which exceeds P.sub.max_in (i.e., 120 W), the power allocation unit 201 configures the first power input port 101 and the second power input port 102 so that their total operating power is limited to P.sub.max_in, i.e., 120 W.
[0072] By applying these power limitations to the power input ports, the system ensures that the total operating power of all power input ports remains within P.sub.max_in while maximizing the input power.
[0073] Furthermore, for the charging output ports: [0074] 1. When the sum of the preset power values of all connected charging output ports does not exceed P.sub.max_out, the power allocation unit assigns each charging output port its corresponding preset power. The preset power is defined as the smaller value between the maximum output power of the charging output port and the load request power. The load request power refers to the power required by the connected powered device under normal operation, which varies depending on the type of powered device. The maximum output power refers to the highest power that the charging output port is allowed to supply, which is pre-configured. For example: [0075] (1) When a single charging output port is connected to a powered device: Suppose the maximum total output power of the portable energy storage device (P.sub.max_out) is 100 W. The load request power of this charging output port is 100 W, and its maximum output power is 50 W. Since the load request power exceeds the maximum output power (100 W>50 W), the preset power of the port is its maximum output power, i.e., 50 W. As the preset power (50 W) is less than P.sub.max_out, the power allocation unit assigns 50 W to this charging output port. Further: Suppose P.sub.max_out remains 100 W, The load request power of the charging output port is 50 W and its maximum output power is also 50 W. Since the load request power equals the maximum output power, the preset power is 50 W. As the preset power (50 W) is less than P.sub.max_out, the power allocation unit assigns 50 W to this charging output port. [0076] (2) When two charging output ports are connected to powered devices: Suppose one charging output port has a preset power of 50 W and the other has a preset power of 100 W. The maximum total output power of the portable energy storage device (P.sub.max_out) is 200 W. Since the sum of the preset power values of both ports (50 W+100 W=150 W) is less than P.sub.max_out, the power allocation unit assigns each charging output port its respective preset power, i.e., 50 W and 100 W. [0077] 2. When the sum of the preset power values of all connected charging output ports exceeds P.sub.max_out, the power allocation unit assigns a total power of P.sub.max_out to these charging output ports. [0078] (1) When a single charging output port is connected to a powered device: Suppose the maximum total output power of the portable energy storage device (P.sub.max_out) is 100 W. The load request power of this charging output port is 150 W, and its maximum output power is 120 W. Since the load request power exceeds the maximum output power, the preset power of the port is its maximum output power, i.e., 120 W. As the preset power (120 W) is greater than P.sub.max_out, the power allocation unit assigns P.sub.max_out, i.e., 100 W, to this charging output port. [0079] (2) When two charging output ports are connected to powered devices: Suppose one charging output port has a preset power of 150 W, and the other has a preset power of 100 W. The maximum total output power of the portable energy storage device (P.sub.max_out) is 200 W. Since the sum of the preset power values of both ports (150 W+100 W=250 W) exceeds P.sub.max_out (200 W), the power allocation unit 201 assigns a total power of P.sub.max_out, i.e., 200 W, to these two charging output ports.
[0080] By implementing these power limitations on the charging output ports, the system ensures that the total assigned power does not exceed P.sub.max_out, thereby maximizing output while maintaining safe operation.
[0081] The portable energy storage device provided in this embodiment supports simultaneous multi-port charging and discharging. By restricting the maximum allocated power for both power input ports and charging output ports, it ensures safe operation under simultaneous charging and discharging conditions. Moreover, by configuring power distribution for the input and output ports, this embodiment not only maintains safety but also enables the power input ports and charging output ports to achieve maximum input and maximum output, respectively.
Embodiment 2
[0082] This embodiment provides a portable energy storage device capable of simultaneous multi-port charging and discharging, which is essentially the same as the portable energy storage device described in Embodiment 1. The difference lies in the further elaboration of the power allocation rules for the power input ports, particularly in scenarios where the sum of the maximum allowable charging power of the connected power input ports exceeds P.sub.max_in. In such cases, the power allocation unit (201) configures the total operating power of these power input ports as P.sub.max_in, and the rules for distributing power among them are specified.
[0083] For clarity and convenience in differentiation, the power input ports are labeled based on the number of connected charging devices: When only one power input port is connected to a charging device, it is defined as First Power Input Port 101. When two power input ports are connected, they are defined as First Power Input Port 101 and Second Power Input Port 102. When three power input ports are connected, they are defined as First Power Input Port 101, Second Power Input Port 102, and Third Power Input Port 103, and so on. Assuming N power input ports are connected to charging devices, the maximum allowable charging power of the First to the N-th Power Input Ports is denoted as P.sub.max_c1_in to P.sub.max_cN_in, respectively.
[0084] When external charging devices charge the portable energy storage device provided in this embodiment, and the sum of the maximum allowable charging power of the connected power input ports exceeds P.sub.max_in, the power allocation unit (201) configures the total operating power of these ports as P.sub.max_in, and: [0085] (1) If the number of power input ports connected to charging devices is 1, the power allocation unit (201) configures this power input port to operate at P.sub.max_in as the operating power. [0086] (2) If the number of power input ports connected to charging devices is N, where N is a positive integer and N2: [0087] {circle around (1)} If the maximum allowable charging power of each power input port is greater than P.sub.max_in/N, the power allocation unit (201) configures all these power input ports to operate at P.sub.max_in/N as the operating power. [0088] {circle around (2)} If some of the N power input ports have a maximum allowable charging power less than or equal to P.sub.max_in/N, for these power input ports, the power allocation unit (201) performs the first power configuration to make these power input ports operate at their maximum allowable charging power. Suppose the total power occupied by these ports is B.sub.1, then the remaining power that the power allocation unit (201) can allocate is P.sub.1=P.sub.max_inB.sub.1, and the number of remaining unallocated power input ports is M.sub.1=Nthe number of power input ports configured to operate at their maximum allowable charging power in the first configuration. For the remaining M.sub.1 power input ports: [0089] a. If the maximum allowable charging power of these ports is greater than P.sub.1/M.sub.1, the power allocation unit (201) configures all the remaining M.sub.1 power input ports to operate at P1M1 as the operating power. [0090] b. If there are still some power input ports with maximum allowable charging power less than or equal to P.sub.1/M.sub.1, the power allocation unit (201) configures the power according to the following rule (in this rule, after the k-th power configuration, the total power occupied by the power input ports that operate at their maximum allowable charging power is B.sub.k, and the remaining power that the power allocation unit (201) can allocate is P.sub.k, while the number of remaining unallocated power input ports is Mx, where k is a positive integer and k1:
[0091] For the remaining Mx power input ports, if the maximum allowable charging power is less than or equal to PR/MR, the power allocation unit (201) performs the k+1-th power configuration to make these power input ports operate at their maximum allowable charging power. Suppose the total power occupied by these ports is B.sub.k+1, the remaining power that the power allocation unit (201) can allocate is P.sub.k+1=P.sub.max_inB.sub.1 . . . B.sub.k+1, and the number of remaining unallocated power input ports is M.sub.k+1=M.sub.kthe number of power input ports configured to operate at their maximum allowable charging power in the k+1-th configuration. In this rule, after the k+1-th power configuration, when the maximum allowable charging power of all the remaining M.sub.k+1 power input ports is greater than P.sub.k+1/M.sub.k+1, the rule terminates, and the power allocation unit (201) configures all the remaining M.sub.k+1 power input ports to operate at P.sub.k+1/M.sub.k+1 as the operating power.
[0092] To enhance the understanding of the technical solution provided in this embodiment, the specific number of power input ports connected to charging devices is limited as follows: [0093] 1. If only the first power input port (101) is connected to a charging device, the power allocation unit (201) configures the first power input port (101) to operate at P.sub.max_in as the operating power. For example, if the maximum allowable input power of the portable energy storage device P.sub.max_in is 120 W, and the maximum allowable charging power of the first power input port (101), which is connected to a charging device, P.sub.max_c1_in is 130 W, since P.sub.max_c1_in>P.sub.max_in, the power allocation unit (201) configures the first power input port (101) to operate at P.sub.max_in, i.e., 120 W. [0094] 2. When the number of power input ports connected to charging devices is N, and the maximum allowable charging power of each power input port is greater than P.sub.max_in/N, then: [0095] (1) When N=2, as shown in
[0099] For example, when the maximum allowable input power (P.sub.max_in) of the portable energy storage device is 120 W, the maximum allowable charging power of the first power input port (P.sub.max_c1_in) is 50 W, and the maximum allowable charging power of the second power input port (P.sub.max_c2_in) is 80 W, the sum of P.sub.max_c1_in and P.sub.max_c2_in is 130 W, which exceeds P.sub.max_in (120 W). Thus, the power allocation unit (201) ensures that the total operating power allocated to the first and second power input ports does not exceed 120 W. Since the maximum allowable charging power of the first power input port (101) is 50 W, which is less than P.sub.max_in/2 (i.e., 60 W), the power allocation unit (201) performs the first power allocation, setting the first power input port (101) to operate at its maximum allowable charging power (P.sub.max_c1_in=50 W). The power occupied by the first power input port (B.sub.1) is therefore 50 W, and the remaining allocatable power is calculated as: P.sub.1=P.sub.maxinB.sub.1=120 W50 W=70 W, the number of remaining power input ports yet to be allocated power is: M.sub.1=2(number of ports allocated at max allowable power)=21=1. For the remaining power input port (i.e., second power input port 102), since its maximum allowable charging power (P.sub.max_c2_in=80 W) is greater than P.sub.1/M.sub.1=70 W, the power allocation unit (201) configures the second power input port (102) to operate at 70 W. [0100] (2) When N=3, as shown in
[0102] For example, when the maximum allowable input power P.sub.max_in of the portable energy storage device is 120 W, the maximum allowable charging power of the first power input port 101 (P.sub.max_c1_in) is 30 W, the second power input port 102 (P.sub.max_c2_in) is 40 W, and the third power input port 103 (P.sub.max_c3_in) is 60 W. Since the sum of P.sub.max_c1_in, P.sub.max_c2_in, and P.sub.max_c3_in is 130 W, which exceeds P.sub.max_in (i.e., 120 W), the power allocation unit 201 configures the combined operating power of the three power input ports to be 120 W. Since the maximum allowable charging power of the first power input port 101 and the second power input port 102 is 30 W and 40 W, respectively, both of which are within the range of P.sub.max_in/3 (i.e., 40 W), the power allocation unit 201 performs the first power allocation, setting the first power input port 101 and the second power input port 102 to operate at their respective maximum allowable charging power, P.sub.max_c1_in and P.sub.max_c2_in, which are 30 W and 40 W, respectively. The total power occupied by the first and second power input ports (B.sub.1) is 70 W. The remaining power available for allocation by the power allocation unit 201 is P.sub.1=P.sub.max_inB.sub.1=120 W70 W=50. The number of power input ports yet to be allocated is M.sub.1=3(number of power input ports allocated at maximum allowable charging power in the first allocation)=32=1. For the remaining power input port, i.e., the third power input port 103, since its maximum allowable charging power P.sub.max_c3_in is 60 W, which is greater than P.sub.1/M.sub.1 (i.e., 50 W), the power allocation unit 201 configures the third power input port 103 to operate at 50 W. [0103] {circle around (2)} If only one of the power input ports has a maximum allowable charging powerP.sub.max_in/3, the power allocation unit 201 performs the first power allocation, setting that power input port to operate at its maximum allowable charging power. Assuming the total power occupied by this power input port is B.sub.1, the remaining power available for allocation by the power allocation unit 201 is P.sub.1=P.sub.max_inB.sub.1. The number of power input ports yet to be allocated is M.sub.1=3(number of power input ports allocated at maximum allowable charging power in the first allocation)=31=2. For the remaining two power input ports, if their maximum allowable charging power is greater than P.sub.1/M.sub.1, the power allocation unit 201 configures them to operate at P.sub.1/M.sub.1. However, if one of the remaining power input ports has a maximum allowable charging powerP.sub.1/M.sub.1, the power allocation unit 201 performs a second power allocation, setting that power input port to operate at its maximum allowable charging power. Assuming the total power occupied by this power input port is B.sub.2, the remaining power available for allocation by the power allocation unit 201 is P.sub.2=P.sub.max_inB.sub.1B.sub.2. The number of power input ports yet to be allocated is M.sub.2=M.sub.1(number of power input ports allocated at maximum allowable charging power in the second allocation)=21=1. Since the remaining power input port's maximum allowable charging power plus B.sub.1+B.sub.2 exceeds P.sub.max_in, it must be greater than P.sub.max_inB.sub.1B.sub.2 (i.e., greater than P.sub.2). Therefore, its maximum allowable charging power is greater than P.sub.2/M.sub.2 (i.e., P.sub.2), and the power allocation unit 201 configures the remaining power input port to operate at P.sub.2/M.sub.2, which is P.sub.2.
[0104] For example, when the maximum allowable input power P.sub.max_in of the portable energy storage device is 120 W, the maximum allowable charging power of the first power input port 101 (P.sub.max_c1_in) is 30 W, the second power input port 102 (P.sub.max_c2_in) is 50 W, and the third power input port 103 (P.sub.max_c3_in) is 60 W. Since the sum of P.sub.max_c1_in, P.sub.max 2 in, and P.sub.max_c3_in is 140 W, which exceeds P.sub.max_in (i.e., 120 W), the power allocation unit 201 configures the combined operating power of all three power input ports to be 120 W. Since only the first power input port 101 has a maximum allowable charging power of 30 W, which is less than P.sub.max_in/3 (i.e., 40 W), the power allocation unit 201 performs the first power allocation, setting the first power input port 101 to operate at its maximum allowable charging power P.sub.max_c1_in, which is 30 W. The total power occupied by the first power input port 101 is B.sub.1=30 W, leaving the remaining power available for allocation as P.sub.1=P.sub.max_inB.sub.1=120 W30 W90 W. The number of power input ports yet to be allocated is M.sub.1=3(number of power input ports allocated at maximum allowable charging power in the first allocation)=31=2. For the remaining two power input ports, the maximum allowable charging power of the second power input port 102 (P.sub.max_c2_in) is 50 W, and the third power input port 103 (P.sub.max_c3_in) is 60 W. Since both are greater than P.sub.1/M.sub.1=45 W, the power allocation unit 201 configures both the second power input port 102 and the third power input port 103 to operate at P.sub.1/M.sub.1, which is 45 W.
[0105] For example, when the maximum allowable input power P.sub.max_in of the portable energy storage device is 120 W, the maximum allowable charging power of the first power input port 101 (P.sub.max_c1_in) is 30 W, the second power input port 102 (P.sub.max_c2_in) is 45 W, and the third power input port 103 (P.sub.max_c3_in) is 60 W. Since the sum of P.sub.max_c1_in, P.sub.max_c2_in, and P.sub.max_c3_in is 135 W, which exceeds P.sub.max_in (i.e., 120 W), the power allocation unit 201 configures the combined operating power of all three power input ports to be 120 W. Since the maximum allowable charging power of the first power input port 101 is 30 W, which is less than P.sub.max_in/3 (i.e., 40 W), the power allocation unit 201 performs the first power allocation, setting the first power input port 101 to operate at its maximum allowable charging power P.sub.max_c1_in, which is 30 W. The total power occupied by the first power input port 101 is B.sub.1=30 W, leaving the remaining power avail able for allocation as P.sub.1=P.sub.max_inB.sub.1=120 W30 W90 W. The number of power input ports yet to be allocated is M.sub.1=3(number of power input ports allocated at maximum allowable charging power in the first allocation)=31=2. For the remaining two power input ports, the maximum allowable charging power of the second power input port 102 (P.sub.max_c2_in) is 45 W, which is within the P.sub.1/M.sub.1 (i.e., 45 W) range. Therefore, the power allocation unit 201 performs the second power allocation, setting the second power input port 102 to operate at its maximum allowable charging power P.sub.max_c2_in, which is 45 W. The total power occupied by the second power input port 102 is B.sub.2=45 W, leaving the remaining power available for allocation as P.sub.2=P.sub.max_inB.sub.1B.sub.2=120 W30 W45 W=45 W. The number of power input ports yet to be allocated is M.sub.2=M.sub.1(number of power input ports allocated at maximum allowable charging power in the second allocation)=21=1. Since the maximum allowable charging power of the third power input port 103 is 60 W, which is greater than P.sub.2/M.sub.2 (i.e., P.sub.2=45 W), the power allocation unit 201 configures the third power input port 103 to operate at 45 W.
[0106] The above provides the power distribution rules for the portable energy storage device provided in this embodiment when the number of power input ports connected to the charging device is 1, 2, or 3. Those skilled in the art, based on the above examples, can further deduce the relevant power distribution rules when the number of power input ports connected to the charging device is different, which will not be elaborated here.
[0107] The portable energy storage device provided in this embodiment, through further limiting the power distribution rules of the power input ports, achieves the following technical effects: The power input ports can be used one at a time or simultaneously. When used one at a time, by comparing the size relationship between the maximum allowable input power of the storage device and the maximum allowable charging power of the ports, the storage device can achieve the maximum charging power input while ensuring safety. When multiple power input ports are used simultaneously, through the aforementioned power distribution logic, it ensures that each power input channel operates in a balanced manner, avoiding situations where one channel operates at high power while others work at very low power or do not work at all, which would concentrate internal heat in one area. This improves the safety of the portable energy storage device during charging and extends its lifespan. Furthermore, this design allows multiple charging devices to share power more evenly, thus avoiding the operation of charging devices at full load and significantly extending the lifespan of the charging devices.
Embodiment 3
[0108] This embodiment provides a portable energy storage device capable of simultaneous multi-port charging and discharging, which is essentially the same as the portable energy storage device provided in Embodiment 1. The difference lies in the further elaboration of the power distribution rules for the charging output ports, especially when the sum of the preset powers of the charging output ports connected to the receiving device exceeds P.sub.max_out. In this case, the power distribution rules for these charging output ports are as follows, where the power allocated to these charging output ports by the power allocation unit 201 is limited to P.sub.max_out.
[0109] In this embodiment, the charging output ports are pre-set with a priority order for power distribution. For the charging output ports with higher priority, the power allocation unit 201 will prioritize meeting the required power for those charging output ports when performing power distribution. Each charging output port is pre-set with a minimum output power and a maximum output power. The sum of the pre-configured minimum output powers of the charging output ports is P.sub.max_out, and the minimum output power of each charging output port is the maximum output power of that port. The maximum output power of each charging output port is P.sub.max_out. The number of charging output ports connected to the receiving device is defined as Y. Since the maximum output power of each charging output port is P.sub.max_out, in the case where the sum of the preset powers of the charging output ports connected to the receiving device exceeds P.sub.max_out, it follows that Y2.
[0110] 1. When the Y charging output ports have different priorities:
[0111] The charging output ports are sorted in order of priority from high to low, with the sequence defined as the first charging output port 301 to the Y-th charging output port. Their minimum output power is defined sequentially as P.sub.min_c1 to P.sub.min_cY, and the smaller value between the maximum output power and load request power is defined as the first preset power to the Y-th preset power.
[0112] If P.sub.max_out=(P.sub.min_c1+ . . . +P.sub.min_cY), meaning the maximum output power of the portable energy storage device is equal to the sum of the minimum output powers of the charging output ports connected to the receiving device, the power allocation unit allocates each connected charging output port its corresponding minimum output power.
[0113] If (P.sub.min_c1+ . . . +P.sub.min_cY)<P.sub.max_out<(first preset power+ . . . +Y-th preset power), the power allocation unit first ensures the minimum output power for these charging output ports (i.e., the power allocation unit first allocates each charging output port its corresponding minimum output power). Then, the remaining power is allocated sequentially according to priority. The initial amount of remaining power is defined as P.sub.0_out, where: P.sub.0_out=P.sub.max_out(P.sub.min_c1+ . . . +P.sub.min_cY). The rules for allocating the remaining power are as follows:
[0114] During the first round of remaining power allocation, the power allocation unit assigns the first charging output port a total power equal to the smaller value between (P.sub.min_c1+remaining power P.sub.0_out) and the first preset power. Define the remaining power obtained by the first charging output port after the first round of allocation as C.sub.1: C.sub.1=total power allocated to the first charging output port-P.sub.min_c1. Define the remaining power after the first round of allocation as P.sub.1_out: P.sub.1_out=P.sub.0_outC.sub.1. If P.sub.1_out=0, the power allocation process ends. If P.sub.1_out>0, the remaining power continues to be allocated according to the following rule until P.sub.k_out=0, at which point the power allocation process concludes: In the k-th round of remaining power allocation, the power allocation unit assigns the k-th charging output port a total power equal to the smaller value between (P.sub.min_ck+remaining power P.sub.(k1)_out) and the k-th preset power. Define the remaining power obtained by the k-th charging output port after the k-th round as C.sub.k: C.sub.k=total power allocated to the k-th charging output portP.sub.min_ck. Define the remaining power after the k-th round of allocation as P.sub.k_out: P.sub.k_out=P.sub.0_outC.sub.1 . . . C.sub.k, where k is a positive integer and k2.
[0115] It can be understood that when Y=2, meaning two charging output ports with different priority levels are connected to the receiving devices, as shown in
[0116] If P.sub.max_out=(P.sub.min_c1+P.sub.min_c2), then the power allocation unit 201 assigns power to the first charging output port 301 and the second charging output port 302 according to their respective minimum output power values.
[0117] If (P.sub.min_c1+P.sub.min_c2)<P.sub.max_out<(First Preset Power+Second Preset Power), the power allocation unit 201 first ensures that the first charging output port 301 and the second charging output port 302 receive their respective minimum output power. Then, the remaining power is allocated sequentially according to priority. The initial amount of remaining power is defined as: P.sub.0,out=P.sub.max_out(P.sub.min_c1+P.sub.min_c2). The allocation rules are as follows:
[0118] During the first round of remaining power allocation, the power allocation unit 201 assigns the total power obtained by the first charging output port 301 as the smaller value between (P.sub.min_c1+P.sub.0,out) and the first preset power. After the first round of remaining power allocation: The additional power obtained by the first charging output port 301 is: C.sub.1=Total power allocated to the first charging output port 301P.sub.min_c1, The remaining power after the first allocation is: P.sub.1,out=P.sub.0,outC.sub.1. If P.sub.1_out=0, the power allocation process ends. This means the total power allocated to the first charging output port 301 is (P.sub.min_c1+P.sub.0_out), while the total power allocated to the second charging output port 302 remains at its minimum output power.
[0119] If P.sub.1_out>0, it indicates that the first charging output port 301 has reached its first preset power, and there is still remaining power available for further allocation to the second charging output port 302. Therefore, a second round of remaining power allocation is performed. At this stage, the power allocation unit 201 assigns the total power obtained by the second charging output port 302 as the smaller value between (P.sub.min_c2+P.sub.1_out) and the second preset power. It can be understood that, since P.sub.max_out<(First Preset Power+Second Preset Power), it follows that (P.sub.min_c2+P.sub.1_out) must be less than the second preset power. Therefore, the power allocation unit 201 directly assigns the remaining power P1out to the second charging output port 302, ensuring that its total allocated power is (P.sub.min_c2+P.sub.1_out). Since, after the second round of remaining power allocation, the additional power received by the second charging output port 302 is: C 2=Total power allocated to the second charging output port 302P.sub.min_c2=P.sub.1_out. The remaining power after the second allocation is: P.sub.2_out=P.sub.0_outC.sub.1C.sub.2=0. At this point, the power allocation process ends. This means that the first charging output port 301 receives its first preset power, while the second charging output port 302 receives (P.sub.min_c2+P.sub.1_out).
[0120] Accordingly, when Y=3, meaning that three charging output ports with different priority levels are connected to the powered devices, as shown in
[0121] If P.sub.max_out=(P.sub.min_c1+P.sub.min_c2+P.sub.min_c3), then the power allocation unit 201 assigns the first, second, and third charging output ports 301, 302, and 303 their respective minimum output power.
[0122] If (P.sub.min_c1+P.sub.min_c2+P.sub.min_c3)<P.sub.max_out<First Preset Power+Second Preset Power+Third Preset Power), then the power allocation unit 201 first ensures the minimum output power for each charging output port. Subsequently, the remaining power is distributed sequentially according to priority. The initial remaining power is defined as: P.sub.0out=P.sub.max_out(P.sub.min_c1+P.sub.min_c2+P.sub.min_c3), The distribution rules are as follows:
[0123] During the first round of remaining power distribution, the power allocation unit 201 assigns the total power to the first charging output port 301 based on the smaller value between (P.sub.min_c1+P.sub.0_out) and the first preset power. After the first round of distribution: The additional power received by the first charging output port 301 is calculated as: C.sub.1=Total power assigned to the first charging output port 301P.sub.min_c1. The remaining power after this round is: P.sub.1_out=P.sub.0_outC.sub.1. If P.sub.1_out=0, the power allocation proc ess ends. This means: the first charging output port 301 receives a total power of (P.sub.min_c1+P.sub.0_out). The second charging output port 302 and the third charging output port 303 receive only their respective minimum output power.
[0124] If P.sub.1_out>0, it means that the first charging output port 301 has reached the first preset power, and there is still remaining power available to be further allocated to the second charging output port 302. Therefore, a second round of remaining power distribution takes place. In this round, the power allocation unit 201 assigns the total power to the second charging output port 302 based on the smaller value between (P.sub.min_c2+P.sub.1_out) and the second preset power. After the second round of distribution: The additional power received by the second charging output port 302 is calculated as: C.sub.2=Total power assigned to the second charging output port 302P.sub.min_c2. The remaining power after this round is: P.sub.2_out=P.sub.0_outC.sub.1C.sub.2. If P.sub.2_out=0, the power allocation process ends. This means: The first charging output port 301 receives a total power of the first preset power. The second charging output port 302 receives a total power of (P.sub.min_c2+P.sub.1_out). The third charging output port 303 receives only its minimum output power.
[0125] If P.sub.2_out>0, it indicates that the second charging output port 302 has reached the s second preset power, and there is still remaining power that can be further allocated to the third charging output port 303. Therefore, a third round of remaining power distribution occurs. In this round, the power allocation unit 201 assigns the total power to the third charging output port 303 based on the smaller value between (P.sub.min_c3+P.sub.2_out) and the third preset power. Since P.sub.max_out<(First preset power+Second preset power+Third preset power), (P.sub.min_c3+P.sub.2_out) is always less than the third preset power. Therefore, the power allocation unit 201 directly allocates the remaining power P.sub.2_out to the third charging output port 303, ensuring the total power allocated to the third charging output port 303 is (P.sub.min_c3+P.sub.2_out). After the third round of remaining power distribution: The remaining power allocated to the third charging output port 303 is: C.sub.3=Total power assigned to the third charging output port 303P.sub.min_c3=P.sub.2_out. The remaining power after this round is: P.sub.3_out=P.sub.0_outC.sub.1C.sub.2C.sub.3=0. The remaining power distribution ends. This means: The first charging output port 301 receives a total power of the first preset power. The second charging output port 302 receives a total power of the second preset power. The third charging output port 303 receives a total power of (P.sub.min_c3+P.sub.2_out).
[0126] When Y takes other values, those skilled in the art can deduce the corresponding power distribution based on the descriptions above.
[0127] The following section substitutes specific numerical values to further elaborate on the power distribution rules when charging output ports have different priorities, there by enhancing the understanding of the technical solution in this embodiment.
[0128] (1) When Y=2, according to the priority order of the charging output ports connected to the powered devices, these two charging output ports are defined as the first charging output port 301 and the second charging output port 302. The following presets are made as shown in Table 1:
TABLE-US-00001 TABLE 1 First charging Second charging Relevant Parameters output port 301 output port 302 Minimum Output Power P.sub.min 20 W 30 W Maximum Output Power P.sub.max 40 W 50 W Load Request Power 30 W 60 W Preset Power 30 W 50 W
[0129] Assuming P.sub.max_out=100 W, since P.sub.max_out>(First Preset Power+Second Preset Power), the power allocation unit 201 assigns power to the first and second charging output ports (301 and 302) according to their preset power. That is, the first charging output port 301 receives 30 W, and the second charging output port 302 receives 50 W.
[0130] Assuming P.sub.max_out=50 W, since P.sub.max_out=(P.sub.min_c1+P.sub.min_c2), the power allocation unit 201 assigns power to the first and second charging output ports (301 and 302) according to their minimum output power. That is, the first charging output port 301 receives 20 W, and the second charging output port 302 receives 30 W.
[0131] Assuming P.sub.max_out=55 W, since (P.sub.min_c1+P.sub.min_c2)<P.sub.max_out<(First Preset Power+Second Preset Power), the power allocation unit 201 first satisfies the minimum output power requirements of the first and second charging output ports 301 and 302. That is, power is initially allocated based on their minimum output power values. The remaining power after this allocation is calculated as: P.sub.0_out=P.sub.max_out(P.sub.min_c1+P.sub.min_c2)=55 W50 W=5 W, the distribution rules for this remaining 5 W of power are as follows:
[0132] In the first round of remaining power allocation, the power allocation unit 201 as signs the total power to the first charging output port 301 based on the smaller value between (P.sub.min_c1+P.sub.0_out) and the first preset power. Since P.sub.min_c1+P.sub.0_out=25 W, and the first preset power is 30 W, the power allocation unit 201 allocates 25 W as the total power for the first charging output port 301. The remaining power obtained by the first charging output port 301 is: C.sub.1=Total allocated power for the first charging output port 301P.sub.min_c1=25 W20 W=5 W. The remaining power after the first round of allocation is: P.sub.1_out=P.sub.0_outC.sub.1=5 W5 W=0. Since P.sub.1_out=0, the power allocation process ends. This means that the total allocated power for the first charging output port 301 is P.sub.min_c1+P.sub.0_out=25 W, while the total allocated power for the second charging output port 302 remains its minimum output power, i.e., 30 W.
[0133] Since (P.sub.min_c1+P.sub.min_c2)<P.sub.max_out<(first preset power+second preset power), the power allocation unit 201 first satisfies the minimum output power requirements of the first and second charging output ports (301 and 302). At this point, the remaining power is calculated as: P.sub.0_out=P.sub.max_out(P.sub.min_c1+P.sub.min_c2)=70 W50 W=20 W. The distribution rule for this 20 W of remaining power is as follows:
[0134] Performing the first round of remaining power allocation, the power allocation unit 201 assigns the total power obtained by the first charging output port 301 as the smaller value between (P.sub.min_c1+P.sub.0_out) and the first preset power. Since P.sub.min_c1+P.sub.0_out=40 W and the first preset power is 30 W, the power allocation unit 201 assigns 30 W to the first charging output port 301. The remaining power obtained by the first charging output port 301 is: C.sub.1=The total power allocated to the first charging output port 301P.sub.min_c1=30 W20 W=10 W. After the first round of remaining power allocation, the remaining power is: P.sub.1_out=P.sub.0_outC.sub.1=20 W10 W=10 W. Since P.sub.1_out>0, a second round of remaining power allocation is performed. At this stage, the power allocation unit 201 assigns the total power obtained by the second charging output port 302 as the smaller value between (P.sub.min_c2+P.sub.1_out) and the second preset power.
[0135] Since P.sub.max_out<(first preset power+second preset power), it follows that (P.sub.min_c2+remaining_power P.sub.1_out) is necessarily less than the second preset power. (Note: P.sub.min_c2+remaining_power P.sub.1_out=40 W, and the second preset power is 50 W). Therefore, the power allocation unit 201 directly assigns the remaining power P.sub.1_out (i.e., 10 W) to the second charging output port 302, so that the total power allocated to the second charging output port 302 is: P.sub.min_c2+remaining_power_P.sub.1_out=40 W.
[0136] After the second round of remaining power allocation, the remaining power C.sub.2 obtained by the second charging output port 302 is: C.sub.2=Total power allocated to second charging output port 302P.sub.min_c2=remaining_power P.sub.1_out=10 W. The remaining power after the second round of allocation is: P.sub.2_out=P.sub.0_outC.sub.1C.sub.2=20 W10 W10 W=0. Since P.sub.2_out=0, the remaining power allocation ends. This means that: the total power allocated to the first charging output port 301 is its first preset power, i.e., 30 W. The total power allocated to the second charging output port 302 is P.sub.min_c2+P.sub.1_out, i.e., 40 W.
[0137] (2) When Y=3, according to the priority order of the charging output ports connected to the receiving equipment, these 3 charging output ports are defined as the first charging output port 301, the second charging output port 302, and the third charging output port 303, with the following presets as shown in Table 2:
TABLE-US-00002 TABLE 2 First charging Second charging Third charging Relevant Parameters output port 301 output port 302 output port 302 Minimum Output 20 W 30 W 40 W Power P.sub.min Maximum Output 40 W 50 W 100 W Power P.sub.max Load Request Power 30 W 60 W 100 W Preset Power 30 W 50 W 100 W
[0138] Assume P.sub.max_out=180 W, since P.sub.max_out=(first preset power+second preset power+third preset power), the power allocation unit 201 assigns the following powers to the first, second, and third charging output ports (301, 302, and 303), respectively, based on their preset powers. That is, the power allocated to the first charging output port 301 is 30 W, the power allocated to the second charging output port 302 is 50 W, and the power allocated to the third charging output port 303 is 100 W.
[0139] Assume P.sub.max_out=90 W, since P.sub.max_out=(P.sub.min_c1+P.sub.min_c2+P.sub.min_c3), the power allocation unit 201 assigns the following powers to the first, second, and third charging output ports (301, 302, and 303), respectively, based on their minimum output powers. That is, the power allocated to the first charging output port 301 is 20 W, the power allocated to the second charging output port 302 is 30 W, and the power allocated to the third charging output port 303 is 40 W.
[0140] Assume P.sub.max_out=150 W, since (P.sub.min_c1+P.sub.min_c2+P.sub.min_c3)<P.sub.max_out<(first preset power+second preset power+third preset power), the power allocation unit 201 first satisfies the minimum output power requirements for the first, second, and third charging output ports (301, 302, and 303). At this point, the remaining power P.sub.0_out=P.sub.max_out(P.sub.min_c1+P.sub.min_c2+P.sub.min_c3)=150 W90 W=60 W. The distribution rule for this remaining 60 W of power is as follows:
[0141] In the first round of remaining power allocation, the power allocation unit 201 as signs the total power obtained by the first charging output port 301 as the smaller value between (P.sub.min_c1+remaining power P.sub.0_out) and the first preset power. Since (P.sub.min_c1+remaining power P.sub.0_out)=80 W and the first preset power is 30 W, and the first preset power is smaller than (P.sub.min_c1+remaining power P.sub.0_out), the power allocation unit 201 assigns the first preset power of 30 W to the first charging output port 301. After the first round of remaining power allocation, the remaining power C.sub.1 obtained by the first charging output port 301 is: C.sub.1=total power allocated to the first charging output port 301P.sub.min_c1=30 W20 W=10 W. After the first round of remaining power allocation, the remaining power is: P.sub.1_out=P.sub.0_outC.sub.1=60 W10 W=50 W. Since P.sub.1_out>0, the second round of remaining power allocation continues.
[0142] In the second round of remaining power allocation, the power allocation unit 201 assigns the total power obtained by the second charging output port 302 as the small er value between (P.sub.min_c2+remaining power P.sub.1_out) and the second preset power. Since (P.sub.min_c2+remaining power P.sub.1_out)=80 W and the second preset power is 50 W, the power allocation unit 201 assigns the second preset power of 50 W to the second charging output port 302. After the second round of remaining power allocation, the remaining power C.sub.2 obtained by the second charging output port 302 is: C.sub.2=total power allocated to the second charging output port 302P.sub.min_c2=50 W30 W=20 W. After the second round of remaining power allocation, the remaining power is: P.sub.2_out=P.sub.0_outC.sub.1C.sub.2=60 W10 W20 W=30 W. Since P.sub.2_out>0, the third round of remaining power allocation continues.
[0143] In the third round of remaining power allocation, the power allocation unit 201 assigns the total power obtained by the third charging output port 303 as the smaller value between (P.sub.min_c3+remaining power P.sub.2_out) and the third preset power. Since (P.sub.min_c3+remaining power P.sub.2_out)=70 W and the third preset power is 100 W, the power allocation unit 201 assigns (P.sub.min_c3+remaining power P.sub.2_out), i.e., 70 W, to the third charging output port 303. After the third round of remaining power allocation, the remaining power C.sub.3 obtained by the third charging output port 303 is: C.sub.3=total power allocated to the third charging output port 303P.sub.min_c3=70 W40 W=30 W. After the third round of remaining power allocation, the remaining power is: P.sub.3_out=P.sub.0_outC.sub.1C.sub.2C.sub.3=60 W10 W20 W30 W=0. Since P.sub.3_out=0, the power allocation ends. This means that the total power allocated to the first and second charging output ports 301 and 302 is their respective preset power, i.e., 30 W and 50 W, and the total power allocated to the third charging output port 303 is (P.sub.min_c3+remaining power P.sub.2_out), i.e., 70 W.
[0144] 2. When Y3, and among these Y charging output ports, x charging output ports have the same priority and are of the lowest priority, with Y>x2 (in this case, the remaining Yx charging output ports have different priorities):
[0145] Sorted by priority from high to low, the charging output ports are defined in order from the first charging output port 301 to the Y-th charging output port, where the priority of the charging output ports from the (Yx+1)-th to the Y-th is the same. Therefore, for these x charging output ports with the lowest priority, there is no restriction on their internal sequence. After sorting, the minimum output power of these charging output ports is defined in order as P.sub.min_c1 to P.sub.min_cY, and their maximum output power and load request power are the smaller values between the respective first preset power and Y-th preset power.
[0146] If P.sub.max_out=(P.sub.min_c1+ . . . +P.sub.min_cY), the power allocation unit assigns the corresponding minimum output power to each charging output port connected to the receiving device.
[0147] If (P.sub.min_c1+ . . . +P.sub.min_cY)<P.sub.max_out<(first preset power+ . . . +Y-th preset pow er), the power allocation unit 201 first satisfies the minimum output power for each of the charging output ports (i.e., the power allocation unit first assigns the corresponding minimum output power to each charging output port connected to the receiving de vice). Then, the remaining power is allocated sequentially based on priority. The initial amount of remaining power is defined as P.sub.0_out, where: P.sub.0_out=P.sub.max_out(P.sub.min_c1+ . . . +P.sub.min_cY). The allocation rule is as follows:
[0148] In the first round of remaining power allocation, the power allocation unit 201 as signs the total power obtained by the first charging output port 301 as the smaller value between (P.sub.min_c1+remaining power P.sub.0_out) and the first preset power. After the first round of remaining power allocation, the remaining power obtained by the first charging output port 301 is defined as C.sub.1, where: C.sub.1=Total power allocated to the first charging output port 301P.sub.min_c1. After the first round of remaining power allocation, the remaining power left is defined as P.sub.1_out, where: P.sub.1_out=P.sub.0_outC.sub.1. If P.sub.1_out=0, [0149] then the power allocation ends. If P.sub.1_out>0, and at this point, only x charging output ports have not yet been allocated remaining power, the power allocation unit 201 will distribute the remaining power P.sub.1_out evenly across these x charging output ports, and the power allocation ends. If P.sub.1_out>0 and the number of charging output ports that have not yet been allocated remaining power is greater than x, the power allocation unit 201 will continue the remaining power allocation according to the following remaining power distribution rules until one of the two conditions is met:
[0150] The remaining power allocation rule is as follows: In the k-th round of remaining power allocation, the power allocation unit 201 assigns the total power obtained by the k-th charging output port as the smaller value between (P.sub.min_ck+remaining power P.sub.k1_out) and the k-th preset power. After the k-th round of remaining power allocation, the remaining power obtained by the k-th charging output port is defined as C.sub.k, where: C.sub.k=Total power allocated to the k-th charging output port-P.sub.min_ck. The remaining power after the k-th round of allocation is defined as P.sub.k_out, where: P.sub.k_out=P.sub.0_outC.sub.1 . . . C.sub.k;
[0151] The first condition is that the remaining power P.sub.k_out is 0. The second condition is that the remaining power P.sub.k_out>0 and the charging output ports from Yx+1 to Y have not yet been allocated remaining power. If the first condition is met first, the power allocation process ends. If the second condition is met first, the remaining power P.sub.k_out is evenly distributed among the charging output ports from Yx+1 to Y, and the power allocation process ends. Here, k is a positive integer, and 2kYx.
[0152] 3. When Y2 and among these Y charging output ports, there are xxx ports with the same priority level, which is the lowest priority level, and when Y=x, meaning a 11 Y charging output ports have the same lowest priority level, the power allocation unit first satisfies the minimum output power requirements of these charging output ports and then evenly distributes the remaining power.
[0153] To facilitate the understanding of the above technical solution, specific numerical examples are provided below for further explanation:
[0154] Assuming that the portable energy storage device is equipped with four charging output ports, designated as W port, A port, C1 port, and C2 port, their priority levels are set as follows: W port>A port>C1 port=C2 port. Therefore, as shown in
TABLE-US-00003 TABLE 3 Relevant Parameters W port A port C1 port C2 port Minimum Output Power Pmin 20 W 30 W 50 W 50 W Maximum Output Power Pmax 40 W 50 W 70 W 70 W Load Request Power 30 W 60 W 80 W 80 W Preset Power 30 W 50 W 70 W 70 W [0155] {circle around (1)} If only the W port is connected to a powered device, the power allocation unit 201 assigns 30 W to the W port, as it is the smaller value between its maximum output power and load request power. Similarly, if only the C1 port is connected to a powered device, the power allocation unit 201 assigns 70 W to the C1 port, as it is the smaller value between its maximum output power and load request power. [0156] {circle around (2)} If only the C1 and C2 ports are connected to powered devices, assuming P.sub.max_out=110 W, and since P.sub.max_out is less than the sum of the preset power of C1 and C2, the power allocation unit 201 first satisfies the minimum output power of C1 and C2. At this point, the remaining power is: Remaining power=P.sub.max_out(P.sub.min_C1+P.sub.min_C2)=10 W. The power allocation unit 201 then distributes the remaining 10 W equally between the C1 and C2 ports. As a result, both C1 and C2 ultimately receive a total power of 55 W each. [0157] 3 If only the W, A, and C1 ports are connected to powered devices, assuming P.sub.max_out=140 W, and since (P.sub.min_W+P.sub.min_A+P.sub.min_C1)
[0158] During the first round of remaining power allocation, the power allocation unit 201 assigns the total power to the W port based on the smaller value between (P.sub.min_W+P.sub.0_out) and the W preset power. P.sub.min_W+P.sub.0_out=60 W, W preset power=30 W. Since the W preset power is smaller, the power allocation unit 201 assigns a total power of 30 W to the W port. After the first round of remaining power allocation: the additional power received by the W port is: C.sub.1=total allocated power of W portP.sub.min_W=30 W20 W=10 W. The remaining power after the first round is: P.sub.1_out=P.sub.0_outC.sub.1=40 W10 W=30 W.
[0159] Since P.sub.1_out>0, the second round of remaining power allocation continues. In this round, the power allocation unit 201 assigns total power to the A port based on the smaller value between (P.sub.min_A+P.sub.1_out) and the A preset power. Since (P.sub.min_A+P.sub.1_out)=60 W and the A preset power is 50 W, the power allocation unit 201 assigns a total power of 50 W to the A port. After the second round of remaining power allocation, the additional power received by the A port is C.sub.2: C.sub.2=total allocated power of A portP.sub.min_A=50 W30 W=20 W. The remaining power after the second round is P.sub.2_out: P.sub.2_out=P.sub.0_outC.sub.1C.sub.2=40 W10 W20 W=10 W.
[0160] Since P.sub.2_out>0, the third round of remaining power distribution continues. In the third round of distribution, the power allocation unit 201 assigns the smaller value between (P.sub.min_C1+P.sub.2_out) and the preset power of C1 port to the total power allocated to the C1 port. Since (P.sub.min_C1+P.sub.2_out)=60 W and the preset power of C1 port is 70 W, the power allocation unit 201 allocates 60 W of total power to the C1 port. After the third round of remaining power distribution, the remaining power allocated to C1 is C.sub.3=the total power allocated to the C1 portP.sub.min_C1=60 W50 W=10 W. After the third round of distribution, the remaining power is P.sub.3 out=P.sub.0_outC.sub.1C.sub.2=0, and thus, the power distribution ends.
[0161] {circle around (4)} If only the W port, C1 port, and C2 port are connected to the receiving equipment, and assuming P.sub.max_out=130 W, since (P.sub.min_W+P.sub.min_C1+P.sub.min_C2)<P.sub.max_out<(the preset power of W port+the preset power of C1 port+the preset power of C2 port), the power allocation unit 201 first satisfies the minimum output power of W, C1, and C2, and then proceeds to allocate the remaining power according to the priority order. The initial remaining power is P.sub.0_out=P.sub.max_out(P.sub.min_W+P.sub.min_C1+P.sub.min_C2)=10 W. The allocation rules are as follows:
[0162] In the first round of remaining power distribution, the power allocation unit 201 allocates the total power to the W port by selecting the smaller value between (P.sub.min_W+remaining power P.sub.0_out) and the preset power of W port. Since (P.sub.min_W+remaining power P.sub.0_out)=30 W, and the preset power of W port is also 30 W, the power allocation unit 201 allocates 30 W of total power to the W port. After the first round of power distribution, the remaining power for the W port is C.sub.1 which is calculated as: C.sub.1=Total power allocated to W portP.sub.min_W=10 W. After the first round of remaining power distribution, the remaining power is: P.sub.1_out=P.sub.0_outC.sub.1=0 W. Since P.sub.1_out=0, the power distribution ends. This means that the total power allocated to the W port is 30 W, and the total power allocated to the C1 and C2 ports is their minimum output power, which is 50 W.
[0163] Assuming P.sub.max_out=140 W, since (P.sub.min_W+P.sub.min_C1+P.sub.min_C2)<P.sub.max_out<(the preset power of the W port+the preset power of the C1 port+the preset power of the C2 port), the power allocation unit 201 first satisfies the minimum output power for the W, C1, and C2 ports, and then allocates the remaining power in sequence according to priority. The initial amount of remaining power, P.sub.0_out, is calculated as: P.sub.0_out=P.sub.max_out(P.sub.min_W+P.sub.min_C1+P.sub.min_C2)=20 W. The allocation rules are as follows:
[0164] During the first round of remaining power distribution, the power allocation unit 201 allocates the total power to the W port as the smaller value between (P.sub.min_W+remaining power P.sub.0_out) and the preset power of W port. Since (P.sub.min_W+remaining power P.sub.0_out)=30 W and the preset power of W port is also 30 W, the power allocation unit 201 allocates a total of 30 W to the W port. After the first round of remaining power distribution, the remaining power for the W port is C.sub.1, where C.sub.1=the total power allocated to the W portP.sub.min_W=10 W. After the first round of remaining pow er distribution, the remaining power is P.sub.1_out=P.sub.0_outC.sub.1=10 W. Since P.sub.1_out>0 and only the C1 and C2 charging output ports have not yet been allocated remaining power, the power allocation unit 201 evenly distributes the remaining power P.sub.1_out between the second and third charging output ports (302,303), namely C1 port and C2 port. Both C1 port and C2 port receive 5 W. The power distribution is complete which means the total power allocated to the W port is 30 W, and the total power allocated to both C1 port and C2 port is 55 W each.
[0165] {circle around (5)} If the W port, A port, C1 port, and C2 port are all connected to receiving de vices:
[0166] Assume P.sub.max_out=250 W. Since P.sub.max_out>(the preset power of W port+the preset power of A port+the preset power of C1 port+the preset power of C2 port), the power allocation unit 201 allocates the preset power to the W port, A port, C1 port, and C2 port, respectively. That is, the power allocated to the W port is 30 W, the power allocated to the A port is 50 W, the power allocated to the C1 port is 70 W, and the power allocated to the C2 port is 70 W.
[0167] Assume P.sub.max_out=150 W. Since P.sub.max_out=(P.sub.min_W+P.sub.min_A+P.sub.min_C1+P.sub.min_C2), the power allocation unit 201 allocates the power to the W port, A port, C1 port, and C2 port according to their minimum output power. That is, the power allocated to the W port is 20 W, the power allocated to the A port is 30 W, the power allocated to the C1 port is 50 W, and the power allocated to the C2 port is 50 W.
[0168] Assume P.sub.max_out=170 W. Since (P.sub.min_W+P.sub.min_A+P.sub.min_C1+P.sub.min_C2)<P.sub.max_out< (the preset power of W port+the preset power of A port+the preset power of C.sub.1 port+the preset power of C2 port), the power allocation unit 201 first satisfies the minimum output power of the W port, A port, C1 port, and C2 port. At this point, the remaining power P.sub.0_out is calculated as P.sub.max_out(P.sub.min_W+P.sub.min_A+P.sub.min_C1+P.sub.min_C2)=170 W150 W=20 W. The distribution rules for this remaining 20 W of power are as follows:
[0169] In the first round of remaining power distribution, the power allocation unit 201 allocates the total power to the W port by taking the smaller value of (P.sub.min_W+remaining power P.sub.0_out) and the preset power of W port. Since (P.sub.min_W+remaining power P.sub.0_out)=40 W and the preset power of W port is 30 W, the power allocation unit 201 allocates a total power of 30 W to the W port. The remaining power C.sub.1 for the W port is calculated as C.sub.1=total power allocated to W portP.sub.min_W=30 W20 W=1 OW. After the first round of power distribution, the remaining power P.sub.1_out=P.sub.0_outC.sub.1=20 W10 W=10 W. Since P.sub.1_out>0 and there are still 3 charging output ports that have not been allocated remaining power, with 2 charging output ports having the same lowest priority, the second round of remaining power distribution is performed.
[0170] In the second round of remaining power distribution, the power allocation unit 201 allocates the total power to the A port by taking the smaller value of (P.sub.min_A+remaining power P.sub.1_out) and the preset power of A port. Since (P.sub.min_A+remaining power P.sub.1_out)=40 W and the preset power of A is 50 W, the power allocation unit 201 allo cates a total power of 40 W to the A port. After the second round of power distribution, the remaining power for the A port is calculated as C.sub.2=total power allocated to A portP.sub.min_A=40 W30 W=10 W. After the second round of power distribution, the remaining power P.sub.2_out=P.sub.0_outC.sub.1C.sub.2=20 W10 W10 W=0. Therefore, the remaining power P.sub.2_out=0, which meets the termination condition, and the power distribution ends. This means that the total power allocated to the W port is 30 W, the total power allocated to the A port is 40 W, and the total power allocated to the C1 and C2 ports is their minimum output power, which is 50 W each.
[0171] Assuming P.sub.max_out=200 W, since (P.sub.min_W+P.sub.min_A+P.sub.min_C1+P.sub.min_C2)<P.sub.max_out<(the preset power of W port+the preset power of A port+the preset power of C1 port+the preset power of C2 port), the power allocation unit 201 first satisfies the minimum output power for W, A, C1, and C2 ports. The remaining power at this point is P.sub.0_out=P.sub.max_out(P.sub.min_W+P.sub.min_A+P.sub.min_C1+P.sub.min_C2)=200 W150 W=50 W. The distribution rule for this 50 W of remaining power is as follows:
[0172] In the first round of remaining power distribution, the power allocation unit 201 assigns the total power to the W port by taking the smaller value between (P.sub.min_W+remaining power P.sub.0_out) and the preset power of W port. Since (P.sub.min_W+remaining power P.sub.0_out)=70 W, and the preset power of W port is 30 W, the power allocation unit 201 assigns 30 W as the total power for the W port. The remaining power C.sub.1 for the W port is calculated as: C.sub.1=the total power assigned to W portP.sub.min_W=30 W20 W=10 W. After the first round of remaining power distribution, the remaining power P.sub.1_out=P.sub.0_outC.sub.1=50 W10 W=40 W. Since P.sub.1_out>0 and there are 3 charging output ports that have not yet received power, with 2 ports having the same lowest priority, the second round of remaining power distribution is initiated.
[0173] In the second round of remaining power distribution, the power allocation unit 201 assigns the total power to the A port by taking the smaller value between (P.sub.min_A+remaining power P.sub.1_out) and the preset power of A port. Since (P.sub.min_A+remaining power P.sub.1_out)=70 W, and the preset power of A port is 50 W, the power allocation unit 201 assigns 50 W as the total power for the A port. After the second round of remaining power distribution, the remaining power C.sub.2 for the A port is calculated as: C.sub.2=the total power assigned to A portP.sub.min_A=50 W30 W=20 W. After the second round of remaining power distribution, the remaining power P.sub.2_out=P.sub.0_outC.sub.1C.sub.2=50 W10 W20 W=20 W.
[0174] Since P.sub.2_out>0 and only the C1 and C2 ports, which have the lowest priority, have not yet received the remaining power, the previous remaining power distribution rules are terminated. Instead, the remaining power P.sub.2_out is evenly distributed between the C1 and C2 ports. Each port (C1 and C2) receives 10 W. Therefore, adding the minimum output power, the total power for C1 and C2 is 60 W each. At this point, the power configuration ends. The maximum output power of the portable energy storage device 200 W is distributed as follows: W port receives 30 W, A port receives 50 W, and both C1 and C2 ports receive 60 W each.
[0175] Specifically, among the W port, A port, C1 port, and C2 port, W and A ports can be unidirectional ports that only support discharge, while C1 and C2 ports can be bidirectional ports that support both charging and discharging. In this condition, the port able energy storage device provided by this embodiment can have 2 power input ports and 4 charging output ports, where the 2 power input ports are C1 and C2, and the charging output ports are W, A, C1, and C2.
[0176] The portable energy storage device provided by this embodiment ensures that when multiple charging output ports are connected to power-receiving devices and the total power demand of these devices exceeds the maximum power that the device can provide, all ports can operate according to the set minimum power. Furthermore, when multiple charging output ports are connected to power-receiving devices and the power is distributed according to the above rules, if during operation, a power-receiving dev ice is removed from one of the charging output ports, causing a change in the connected charging output ports, the power will be reallocated based on the number of currently connected power-receiving devices. This ensures that the power released from the port where the device was removed can be redistributed to the ports that still have connected devices, enabling the portable energy storage device to output its maximum available power and achieve dynamic adjustment.
[0177] Additionally, the portable energy storage device provided in this embodiment has charging output ports that are either all or partially prioritized, with these priorities being pre-set. As a result, users can decide the priority order of multiple power-receiving devices according to their actual needs when using the device.
Embodiment 4
[0178] This embodiment provides a charging and discharging power distribution method for a portable energy storage device, which is applied to the portable energy storage devices capable of simultaneous multi-port charging and discharging as described in Embodiment 1 to Embodiment 3. The portable energy storage device includes a power allocation unit, at least two power input ports, and at least two charging output ports. The power allocation unit is used to configure power for the power input ports connect ed to the charging devices and the charging output ports connected to the power-receiving devices. The state where the power input port is connected to a charging device and the charging output port is connected to a power-receiving device is defined as the charging and discharging (bi-directional) state.
[0179] The charging and discharging power distribution method includes:
[0180] The method defines the maximum allowable operating power of the portable energy storage device in the charging and discharging state as P.sub.max. The power allocation unit allocates half of P.sub.max (P.sub.max/2) as the maximum allowable input power for the power input ports and ensures that the actual total charging power of the power input ports equals the maximum total output power of the charging output ports. The maximum allowable input power for the power input ports is defined as P.sub.max_in, and the maximum total output power of the charging output ports is defined as P.sub.max_out. Therefore, P.sub.max_in=P.sub.max/2, and P.sub.max_out equals the actual total charging power of the power input ports, with the condition P.sub.max_out=P.sub.max_in.
[0181] When the sum of the maximum allowable charging power of the power input ports connected to charging devices is less than or equal to P.sub.max_in, the power allocation unit configures these power input ports to operate at their maximum allowable charging power. The maximum allowable charging power is the smaller value of the preset maximum charging power of the power input ports and the charging power that the charging device can provide when inserted into the port. When the sum of the maximum allowable charging power of the power input ports connected to charging devices exceeds P.sub.max_in, the power allocation unit configures these power input ports to operate with a total charging power of P.sub.max_in.
[0182] When the sum of the preset power of the charging output ports connected to the load devices is less than or equal to P.sub.max_out, the power allocation unit assigns each charging output port connected to a load device its corresponding preset power. The preset power is the smaller value of the maximum output power of the charging output port and the load request power. When the sum of the preset power of the charging output ports connected to the load devices exceeds P.sub.max_out, the power allocation unit assigns the total power of these charging output ports to be P.sub.max_out.
[0183] It should be noted that in this invention, the power assigned to a certain power input port refers to its operating power. For example, when it is stated that a certain power input port operates at 50 W, it means that the power allocation unit assigns 50 W to that power input port. The total power assigned to a certain charging output port is usually the operating power of that port, but there are two special cases: [0184] 1. After the remaining power is evenly distributed to the lowest-priority charging output ports, if the total power assigned to a port is (remaining power+minimum out put power) is greater than or equal to the preset power of the port, the port will ultimately operate at the preset power. [0185] 2. If the total power assigned to a port is equal to the minimum output power of that port, and if the minimum output power is greater than the load request power, the port will ultimately operate at the load request power.
[0186] The specific embodiments of the present invention have been described above. From the above description, it is clear that those skilled in the art can make various changes and modifications without departing from the scope of the technical idea of the present invention.