Charging power allocation method, electronic device, and storage medium
By obtaining the average power of the power set to be allocated in the charging station and the upper limit of the power of the target charging unit, the target power is determined and allocated, which solves the problem of low power utilization efficiency caused by unreasonable power allocation in the charging station and achieves more efficient power utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- AUTEL UNITED CREATION SOFTWARE DEV CO LTD
- Filing Date
- 2023-08-28
- Publication Date
- 2026-07-21
AI Technical Summary
The problem of low power utilization efficiency in charging stations due to unreasonable power allocation.
By obtaining the average power of the power set to be allocated and the upper limit of the power of the target charging unit, the target power is determined, and the power is allocated to the target charging unit according to the target power to avoid overload, recover redundant power and allocate it reasonably.
This improves the power utilization efficiency of charging stations, avoids overload, and ensures that each charging unit receives a reasonable power allocation.
Smart Images

Figure CN117124911B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charging technology, and in particular to a charging power distribution method, electronic device, and storage medium. Background Technology
[0002] With the development of new energy vehicles, charging piles, as the power supply equipment for new energy vehicles, have gradually moved from improving hardware to making breakthroughs in software in order to provide users with a safer, more stable, more reasonable and more personalized charging environment.
[0003] Due to the rapid expansion of charging station deployment, users charging solely at the maximum power output of each charging station can easily overload the entire charging station. Furthermore, in large-scale charging stations, there is often an imbalance in power distribution, resulting in low overall power utilization efficiency. Summary of the Invention
[0004] This application provides a charging power distribution method, electronic device, and storage medium to solve the problem of low power utilization efficiency of charging stations caused by unreasonable power distribution in the prior art.
[0005] In a first aspect, this application provides a power adjustment method, comprising:
[0006] Obtain a power set to be allocated, the power set to be allocated includes charging units to be allocated that are in a power allocation state, and the total power to be allocated in the power set to be allocated is a preset total power minus the total power already allocated;
[0007] The target power is determined based on the average power of the power set to be allocated and the upper limit of the power of the target charging unit, wherein the target charging unit is one of the power sets to be allocated.
[0008] The target charging unit is allocated power according to the target power.
[0009] Optionally, determining the target power based on the average power and the upper limit of the target charging unit includes:
[0010] Obtain the average power and candidate power set of the power set to be allocated;
[0011] Traverse the set of power to be allocated to determine a charging unit as the target charging unit;
[0012] Determine whether the upper limit of the power of the target charging unit is less than the average power;
[0013] If it is less than, then the upper limit of power is determined to be the target power, and the total power to be allocated is calculated based on the target power and the preset total power;
[0014] If it is not less than, then the target charging unit is moved to the candidate power set.
[0015] Optionally, obtaining the average power of the power set to be allocated includes:
[0016] Determine that the set of power to be allocated contains a first number of charging units to be allocated;
[0017] The average power of the power set to be allocated is calculated based on the total power to be allocated and the first quantity.
[0018] Optionally, the charging power method further includes:
[0019] Once all charging units in the power set to be allocated have been traversed, a new power set to be allocated is determined based on the candidate power set.
[0020] Optionally, the charging power method further includes:
[0021] When all charging units in the power set to be allocated have been traversed, it is determined whether the second number of charging units in the candidate power set is equal to the number of the power set to be allocated before it was traversed.
[0022] If equal, then the average power is determined to be the target power.
[0023] Optionally, before determining the target power, the method further includes:
[0024] Determine the first power upper limit value of the charging device corresponding to the charging unit to be allocated;
[0025] Determine the second power upper limit value of the device to be charged corresponding to the charging unit to be allocated;
[0026] The power upper limit value of the charging unit to be allocated is determined based on the minimum value between the first power upper limit value and the second power upper limit value.
[0027] Optionally, before determining the upper power limit value of the charging unit to be allocated, the method further includes:
[0028] Obtain the reported power value of the charging unit to be allocated;
[0029] The sum of the reported power value and the preset threshold is determined to be the third power upper limit value;
[0030] Then, the upper limit value of the power of the charging unit to be allocated is determined as follows:
[0031] The power upper limit value of the charging unit to be allocated is determined based on the minimum value among the first power upper limit value, the second power upper limit value, and the third power upper limit value.
[0032] Optionally, after determining the upper power limit value of the charging unit to be allocated, the method further includes:
[0033] Determine whether the total power to be allocated is greater than the sum of the power upper limit values;
[0034] When the total power to be allocated is greater than the sum of the power upper limit values, power is allocated to the charging unit according to the power upper limit values.
[0035] Optionally, before determining the target power, the method further includes:
[0036] Determine the lower limit of the power of the charging unit to be allocated;
[0037] Determine whether the sum of the power lower limit values is greater than the total power to be allocated;
[0038] When the sum of the power lower limit values is greater than the total power to be allocated, power is allocated to the charging unit according to the power lower limit values.
[0039] In a second aspect, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect.
[0040] Thirdly, this application also provides a storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect.
[0041] The charging power allocation method in the embodiments of this application determines the target power by comparing the average power of the power set to be allocated with the upper limit of the target charging unit's power. This ensures that for each charging unit in the power set to be allocated, charging units with lower charging power requirements and lower upper limit power are charged at maximum power, and redundant power compared to the average power is recovered and evenly distributed to other charging units with higher charging power requirements. This avoids power overload of the entire charging station and makes the charging power allocation more reasonable, thereby improving the power utilization efficiency of the entire charging station. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a schematic diagram illustrating the application environment of a charging power allocation method provided in an embodiment of this application;
[0044] Figure 2 A schematic flowchart of a charging power allocation method provided in an embodiment of this application;
[0045] Figure 3 This is a schematic flowchart of a method for determining a target power according to an embodiment of this application;
[0046] Figure 4 A multi-layered charging station architecture diagram provided in an embodiment of this application;
[0047] Figure 5 This is a schematic diagram of the architecture of a computer device in one embodiment of this application. Detailed Implementation
[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0049] First, the application environment of the charging power allocation method provided in the embodiments of this application will be introduced.
[0050] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating the application environment of a charging power allocation method provided in an embodiment of this application. The method provided in this embodiment of the invention can be applied to, for example... Figure 1 The charging system includes a charging management device 100 and multiple charging units 200. The charging management device 100 is communicatively connected to the charging units 200 and allocates power to each charging unit 200 according to a charging power allocation method. The charging unit 200 can be electrically connected to the user's device 300 to be charged and charge the device 300 according to the allocated power. Alternatively, it can include charging sub-units, which allocate power to the charging sub-units according to the charging power allocation method and charge the user's device 300 through the sub-units.
[0051] Specifically, in some embodiments, the charging system is a charging station, and the charging unit 200 comprises multiple groups within the charging station. The charging station needs to allocate its total power to each group so that each group can complete its respective charging task. During the power allocation process for the groups, it is only necessary to determine the total power to be allocated to the charging station and the actual charging status of each group, such as the maximum charging power required by the group. Then, the power value allocated to each group can be calculated according to the power allocation algorithm of this application embodiment.
[0052] In some embodiments, the charging system is a charging group, and the charging unit 200 is a plurality of charging piles included in the charging group. The charging group needs to allocate the total power of the charging group to each charging pile so that each group can complete its respective charging task. Similarly, it is necessary to determine the total power to be allocated to the charging group and the actual charging status of each charging pile, and calculate the power value allocated to each charging pile in combination with the charging power allocation method. Thus, the charging unit 200 can be either a virtual charging group or a physical charging device such as a charging pile.
[0053] In other embodiments, the charging system is a charging station, the charging unit 200 is a charging group, and the sub-units included in the charging unit 200 are charging piles. First, the parameters required by the charging power allocation method include the total power to be allocated to the charging station and the charging status of each charging pile. The charging status of the group is determined based on the charging status of the charging piles. Then, based on the charging station and the charging group, the allocated power of the charging group is calculated according to the charging power allocation method. Next, based on the charging group and the charging piles, the allocated power of the charging piles is calculated according to the charging power allocation method. This achieves unified power allocation for charging stations with multi-layered architectures, making the charging power allocation method applicable to charging stations of different architecture types, thereby reducing the risk of overload operation of charging stations and improving their power utilization efficiency.
[0054] It is understood that the charging power allocation method provided in this application embodiment can not only allocate power from charging stations to charging groups and from charging groups to charging piles, but also allocate power from charging piles to charging guns. Furthermore, based on this, the applicable systems of this charging power allocation method can be expanded to match more complex charging station architectures, such as a charging station-charging group-charging pile-charging gun architecture.
[0055] It is also understood that the charging power allocation method provided in this application embodiment can be used only for a certain level of architecture in the charging pile, while other levels of architecture can be equipped with other algorithms as needed. For example, the charging station allocates power to the charging group according to the charging power allocation method in this application embodiment, and the conventional first-come-first-served power allocation method is applied to allocate power to the charging piles for the charging group.
[0056] The charging management device 100 is communicatively connected to the charging unit 200 and is used to manage the charging unit 200. Specifically, in this embodiment, the charging management device 100 may consist of one or more workstations or servers, and it performs data collection and querying on the charging unit 200 (e.g., charging groups or charging piles), as well as data processing and analysis on the charging system (e.g., charging stations and charging groups), and generates charging power allocation schemes for it. Specifically, the data that the charging management device 100 can acquire includes the total power to be allocated in the charging system and the upper and / or lower power limits of the charging unit 200.
[0057] In some embodiments, the charging unit 200 has a monitoring module for monitoring the charging status of the charging unit 200. The charging management device 100 acquires and analyzes the charging status of the charging unit 200, and adjusts the charging power allocation algorithm according to the charging status, so that the structure of the charging power allocation converges to the actual charging status, further recovering redundant power for release, thereby improving the power utilization efficiency of the charging system.
[0058] Based on the above charging system, the charging power distribution method provided in this application can be implemented.
[0059] Please see Figure 2 , Figure 2 This is a flowchart illustrating a charging power allocation method according to an embodiment of this application. The method may include:
[0060] S21. Obtain the set of power to be allocated.
[0061] In this step, the power allocation set is a collection of multiple charging units in a power allocation state. For example, if a charging system contains 5 charging units, and one charging unit is in a dormant state and not participating in charging, then this dormant charging unit does not belong to the power allocation set. Of the remaining 4 charging units, one has already been allocated charging power; this allocated charging unit belongs to the allocated power set, not the power allocation set. The remaining 3 charging units are either already connected to the device to be charged and ready to charge, or need to continue allocating power to their subordinate charging sub-units. In short, the remaining 3 charging units need to be allocated charging power to complete the tasks set by the unit; therefore, these 3 charging units belong to the power allocation set, and it can also be determined that the power allocation set contains 3 elements.
[0062] In this step, the power set to be allocated has a total power to be allocated, which is defined as the total power that can be allocated to all charging units in the power set to be allocated. For example, if the charging system can provide a total of 10 power units, of which 3 units have already been allocated to some charging units, then the remaining total power that can be allocated to the charging units is 7 units. Therefore, the total power to be allocated is more specifically defined as the preset total power minus the allocated total power, and in general, using this definition makes it more convenient to calculate the total power to be allocated. It is understood that the power unit mentioned above can be an internationally common power unit such as kW (kilowatt) or PS (horsepower), or it can be another virtual unit used to characterize the power concept. The power unit here is only for illustrative purposes to illustrate the concept and does not limit the technical solution of this application.
[0063] In this step, the set of power to be allocated is obtained by traversing the charging units of the charging system. For example, the charging power allocation method is executed by the charging management device. The charging management device sends a request to each charging unit under the charging system, or, under authorized conditions, directly retrieves the status of each charging unit to determine whether each charging unit is in a state where power is to be allocated. For any one of the multiple charging units, when it is determined that it is in a state where power is to be allocated, the charging management device generates an initially empty set and moves the charging unit in the state of power to be allocated into the set. When all the charging units to be allocated in the charging system have been moved into the set, the set is the set of power to be allocated, and the step of obtaining the set of power to be allocated is completed.
[0064] S22. Determine the target power based on the average power of the power set to be allocated and the upper limit of the target charging unit's power.
[0065] In this step, the average power of the power set to be allocated is the average power of the charging units to be allocated in the power set to be allocated, specifically defined as the total power to be allocated in the power set to be allocated divided by the number of charging units to be allocated.
[0066] The method for obtaining the average power of the power set to be allocated specifically includes: determining a first number of charging units to be allocated in the power set to be allocated, and calculating the average power of the power set to be allocated based on the total power to be allocated and the first number. For example, if the number of charging units to be allocated is determined to be 3, and the total power to be allocated in the power set to be allocated is 30 power units, then the average power of the power set to be allocated can be calculated to be 10 power units.
[0067] In this step, the target charging unit is one of the charging units to be allocated power from the set of units to be allocated power. It is understood that the target charging unit is not specifically defined by certain properties to distinguish it from other charging units, but rather any charging unit to be allocated power within the power allocation method. It is understood that in the process of allocating power to the charging units according to the power allocation method, power needs to be allocated to one charging unit first, then to the next, and so on, until the last charging unit. Therefore, during the process of allocating power to one of the charging units, the target charging unit is defined as the charging unit currently executing the power allocation method. Once the target charging unit has been allocated power, it ceases to be a charging unit to be allocated power, and the next charging unit to execute the power allocation method becomes the target charging unit.
[0068] In this step, the power limit is defined as the maximum power output of the charging unit under normal operating conditions. For example, if the charging unit is a charging pile with a power limit of 10 power units, allocating 12 power units to the charging pile would overload it, potentially causing accidents and hardware damage. Specifically, the power limit can be the maximum power output of the charging device (e.g., the charging gun), the maximum power received by the device being charged (e.g., a new energy vehicle battery pack), or the actual maximum power detected by the charging unit. More detailed explanations will follow later.
[0069] In this step, the target power is determined by numerical comparison, specifically by comparing the average power of the power set to be allocated with the upper limit of the target charging unit's power. Specifically, the average power of the power set to be allocated and the upper limit of the target charging unit constitute two constraints for the target charging unit: the target charging unit's power must be less than or equal to the average power, and the target charging unit's power must be less than or equal to the upper limit. Otherwise, if the target charging unit's power is greater than the average power, the power of other charging units to be allocated will be too low, preventing them from completing their charging tasks; conversely, if the target charging unit's power is greater than the upper limit, the target charging unit is prone to overload and accidents. In summary, the target power of the target charging unit is determined by comparing the average power of the power set to be allocated with the upper limit of the target charging unit's power, and the target power is determined to be the smaller of the average power and the upper limit.
[0070] S23. Allocate power to the target charging unit according to the target power.
[0071] In this step, since the target power of the target charging unit may change during the execution of the charging power allocation method, when allocating power to the target charging units based on their target power, it is necessary to first determine the target power of each target charging unit. After confirming that the target power of all target charging units will not change, power is then uniformly allocated to each target charging unit according to its individual target power. For example, when determining the target power of the first target charging unit, its corresponding target power is the average power, which is 10 power units. However, after determining the target power of the subsequent target charging units, the average power changes to 12 power units, so the target power of the first target charging unit changes from 10 power units to 12 power units. Therefore, to avoid repeatedly allocating different power to the target charging units for correction, power needs to be uniformly allocated after the target power is determined.
[0072] The above scheme compares the average power of the charging set to be allocated with the upper limit of the power of each target charging unit. This allows target charging units with lower charging power requirements to be charged at the upper limit of the power, preventing power redundancy. For target charging units with higher charging power requirements, the redundant power is evenly distributed to increase the allocated power. This ensures that charging units with low charging power requirements operate at full load without overloading, while charging units with high charging power requirements receive a distribution of average and redundant power to maximize the allocated power. As a result, charging units with different charging power requirements in the entire system can receive better power allocation, thus improving the overall power utilization efficiency.
[0073] The method for determining the target power is described in detail below.
[0074] Please see Figure 3 , Figure 3 This is a schematic flowchart illustrating a method for determining a target power according to an embodiment of this application. The method includes:
[0075] S31. Obtain the average power of the power set to be allocated and the candidate power set.
[0076] In this step, the candidate power set is an initial empty set, which is used to determine the target charging unit with a large charging power demand during the charging power allocation process. The specific usage method of the candidate power set is detailed in step S35.
[0077] As can be understood, the definition and acquisition method of average power have been detailed above and will not be repeated here.
[0078] S32. Traverse the set of power to be allocated to determine a charging unit as the target charging unit.
[0079] In this step, one of the charging units to be allocated in the power to be allocated is identified as the target charging unit, and steps S33, S34 and S35 are executed. After completing step S34 or step S35, another charging unit to be allocated in the power to be allocated is identified as the target charging unit and subsequent steps are executed until all the charging units to be allocated in the power to be allocated have completed the subsequent steps.
[0080] S33. Determine whether the upper limit of the power of the target charging unit is less than the average power.
[0081] S34. If it is less than the target power, the upper limit of the power is determined to be the target power, and the total power to be allocated is calculated based on the target power and the preset total power.
[0082] In this step, when the upper limit of the target charging unit's power is less than the average power, the target power of the target charging unit can be directly determined as the upper limit based on the aforementioned constraints. After determining the target power of the target charging unit, since its target power is already determined, it is no longer in a power allocation state and is removed from the power allocation set. Correspondingly, the total power to be allocated in the power allocation set is determined as the preset total power minus the target power. It can be understood that the preset total power can be the previously changed total power to be allocated. For example, if the target power of the target charging unit is 8 power units and the preset total power is 30 power units, then the total power to be allocated in the power allocation set is determined to be 22 power units.
[0083] S35. If it is not less than, then move the target charging unit to the candidate power set.
[0084] In this step, the candidate power set is used to identify target charging units with higher charging power demands from the power set to be allocated. Specifically, it can be defined as a set of target charging units whose upper power limit is greater than their average power. As mentioned above, target charging units with upper power limits less than their average power have lower charging power demands. Therefore, power is allocated according to their upper power limits. Consequently, the actual allocated power for this target charging unit is reduced compared to the originally preset average power, resulting in redundant power available for allocation. To improve overall power utilization efficiency, this redundant power is redistributed to target charging units with higher charging power demands. Specifically, this redundant power is allocated to target units in the candidate power set. For example, 30 power units should ideally be evenly distributed among charging units A, B, and C. If A's upper power limit is 8 power units, this equates to a redundant 2 power units available for allocation. In this case, B and C are identified as belonging to the candidate power set so that the redundant 2 power units can be allocated to B and C in the subsequent process.
[0085] In some embodiments, the method further includes the following after step S35:
[0086] S36. When all charging units in the power set to be allocated have been traversed, a new power set to be allocated is determined based on the candidate power set.
[0087] In this step, it is obvious that if redundant power is found in previous steps, i.e., the upper limit of the power of a target charging unit is less than the average power, then the redundant power needs to be allocated to the target charging units in the candidate power set. In this embodiment, the candidate power set is not directly used as the set for power allocation, but rather as an intermediate variable set to determine the target charging units that can be allocated redundant power. Then, the determined target charging units are redefined as a new set of power to be allocated. This technical solution ensures that the main body of the set receiving power allocation each time is the set of power to be allocated, thus avoiding interference caused by changes in the main body. For example, each time the system allocates power to the set of power to be allocated X, for a target charging unit B in set X whose upper limit power value is greater than the average power, it is moved to the candidate power set Y. At this point, set X has not been completely traversed, so it is necessary to continue judging the elements in set X. For another target charging unit C whose upper limit power value is greater than the average power, it is moved to the candidate power set Y. This allows some target charging units to be marked even before set X has been completely traversed without affecting the remaining traversal task of set X.
[0088] In some embodiments, the method further includes the following after step S36:
[0089] S37. When all charging units in the power set to be allocated have been traversed, determine whether the second number of charging units in the candidate power set is equal to the first number before the power set to be allocated was traversed.
[0090] In this step, the second quantity refers to the number of charging units contained in the candidate power set, and the first quantity refers to the number of charging units contained in the power set to be allocated before it has been traversed. By determining whether the first quantity and the second quantity are equal, it can be determined whether there is a target charging set in the power set to be allocated whose upper power value is less than the average power, and thus whether there is redundant power in the power set to be allocated.
[0091] S38. If it is not equal, then repeat step S31.
[0092] In this step, if the first quantity is not equal to the second quantity, it can be determined that there is redundant power in the power set to be allocated, and the redundant power needs to be allocated to other target charging units that can receive the redundant power. It can be understood that since the power set to be allocated has been redefined by the candidate power set, the total power to be allocated and the average power of the new power set to be allocated have changed and need to be recalculated. For example, if the initial power set X to be allocated has a total power of 50 power units, including 5 target charging units A, B, C, D, and E, and an average power of 10 power units, during the first traversal of determining the target power, since the upper limit power value of target charging unit A is 2 power units, the target power of A is directly determined to be 2. At this time, the candidate power set Y includes 4 target charging units (B, C, D, and E), which is not equal to the 5 target charging units included in the power set to be allocated X. Therefore, after re-determining the candidate power set Y as the power set to be allocated X, the second traversal of determining the target power is performed. The new total power to be allocated is 48 power units, and the new average power unit is 12 power units. Since the power limit for target charging units B and C is 11, the candidate power set Y contains only two target charging units, D and E, which is not equal to the four target charging units in the power set X. Therefore, a third iteration to determine the target power is performed. Subsequent processes are not detailed here, but it can be understood that as long as the number of target charging units in the power set X and the candidate power set Y is inconsistent, the step of determining the target charging power will be repeated until the final number of target charging units in the power set X and the candidate power set Y is equal, or the power set X does not contain any target charging units.
[0093] S39. If equal to, then the average power is determined as the target power.
[0094] In this step, if the first quantity equals the second quantity, it can be determined that there is no redundant power in the power set to be allocated. At this time, the target power is determined for the target charging units still in the power set to be allocated based on the average power of the power set to be allocated. For example, after multiple iterations to determine the target power, the number of elements in the power set to be allocated X and the candidate power set Y are equal. At this time, for the target charging units D and E that still belong to set X, the power to be allocated in set X is 26 power units, and the average power is 13 power units. Therefore, the target power for D and E is also 13 power units.
[0095] In some embodiments, before determining the target power, it is also necessary to determine the upper limit of the power of the charging unit to be allocated. Specifically, this includes the following steps: first, determining the first upper limit of the power of the charging device corresponding to the charging unit to be allocated and determining the second upper limit of the power of the charging device corresponding to the charging unit to be allocated; then, determining the upper limit of the power of the charging unit to be allocated based on the minimum value between the first upper limit and the second upper limit.
[0096] Specifically, each charging unit to be allocated has its corresponding charging equipment and the equipment to be charged. When allocating power, the power of the charging unit cannot exceed either the first power limit of the charging equipment or the second power limit of the equipment to be charged. These two factors constitute the constraint on the upper limit of the charging unit's power. For example, when the charging unit to be allocated is a charging pile, its corresponding charging equipment is the charging pile itself, and the corresponding equipment to be charged can be a new energy vehicle. The upper limit of the charging pile's power cannot exceed its own first power limit to prevent overload, nor can it exceed the second power limit that the new energy vehicle can accept.
[0097] Furthermore, in some other embodiments, the charging unit to be allocated has a monitoring module capable of acquiring the reported power value of the charging unit to be allocated. Therefore, before determining the upper limit power value of the charging unit to be allocated, the method further includes the steps of acquiring the reported power value of the charging unit to be allocated and determining that the sum of the reported power value and a preset threshold is a third upper limit power value. The upper limit power value of the charging unit to be allocated is determined to be the minimum value among the first upper limit power value, the second upper limit power value, and the third upper limit power value.
[0098] In this step, the third power upper limit is defined as the sum of the reported power value of the charging unit to be allocated and the threshold. This allows the power allocation method to make more reasonable adjustments to power recovery based on the actual situation, so as to help the power allocation method converge to the actual situation and continuously adjust the redundant power between charging units for recovery and release, thereby making the power utilization efficiency higher.
[0099] For example, if a new energy vehicle connected to a charging station is nearing full charge, its reported charging power will continuously decrease. If power is still allocated based on the previous power cap, the allocated power will be significantly greater than the actual reported power, resulting in redundant power and reduced power utilization efficiency. Conversely, if the reported power is considered, the charging unit's reported power will be adjusted based on the sum of the actual reported power and a floating threshold. In this scenario, power can be allocated to the charging unit more rationally, improving power utilization efficiency.
[0100] It is understandable that during the initial period of charging, the power transmitted by the charging unit will typically not exceed the sum of the reported power and the threshold because the device to be charged is not fully charged. Therefore, in some embodiments, within the first 30 minutes of charging, the upper limit of the charging unit's power is determined according to the minimum of the first upper limit and the second upper limit, while after the first 30 minutes of charging, the upper limit of the charging unit's power is determined according to the minimum of the first upper limit, the second upper limit, and the third upper limit.
[0101] It is also understood that, in some embodiments, when the power transmitted by the charging unit is greater than the sum of the reported power and the threshold, the charging unit executes the charging power allocation method provided in the embodiments of this application. During the charging power allocation process, if the upper limit of the charging unit's power is less than the actual reported power value, the upper limit of the power is redefined as the reported power value; otherwise, the upper limit of the charging unit's power is not adjusted.
[0102] In some embodiments, after determining the upper limit of the power of the charging unit to be allocated and before starting to determine the target power, the method further includes determining whether the total power to be allocated is greater than the sum of the upper limit power values, and if the total power to be allocated is greater than the sum of the upper limit power values, allocating power to the charging unit according to the upper limit power value.
[0103] In this step, if the total power to be allocated is greater than the sum of the maximum power required by all charging units, then all charging units can obviously be allocated power according to their maximum power values, and there is also redundant power that can be recovered. For example, if a charging group has a total power of 40 power units to be allocated, and the maximum power values of the three charging piles A, B, and C in the charging group are 10, 12, and 15 respectively, then each charging pile can be allocated power according to its maximum power value, and the charging group also has redundant power.
[0104] In some embodiments, before determining the target power, the method further includes the steps of determining a lower limit value of the power of the charging units to be allocated, determining whether the sum of the lower limit values of the power is greater than the total power to be allocated, and allocating power to the charging units according to the lower limit value when the sum of the lower limit values of the power is greater than the total power to be allocated.
[0105] In this step, the power lower limit for each charging unit can be customized to meet the charging task requirements. Specifically, for each charging unit, if the allocated power is less than the power lower limit, the power is allocated to that charging unit according to the power lower limit. If the total power to be allocated for the set to be charged cannot meet the power lower limit for each charging unit, the power is also allocated to the charging unit according to the power lower limit.
[0106] Please see Figure 4 , Figure 4This is a diagram of a multi-layered charging station architecture provided in an embodiment of this application.
[0107] Through the technical solution of this application, for the multi-layered architecture of charging station 210 – charging group 220 – charging pile 230, the power upper limit value of each group is determined by obtaining the sum of the upper limit values of the charging piles 230 included in each group and the sum of the upper limit values of the connected devices 300 to be charged. The allocated power for each group is then calculated based on this upper limit value and the total power to be allocated in the charging station 210. For each charging group 220 including multiple charging piles 230, the power upper limit of each charging pile 230 is determined based on the reported power, the upper limit value of the charging power, and the upper limit value of the devices 300 to be charged. Power is then allocated to each charging pile 230 based on the upper limit value of the charging pile 230 and the total power of the charging group 220. This allows the power allocation algorithm in this embodiment to allocate power across the multi-layered architecture and dynamically adjust it based on the reported actual power, ensuring that the allocated power converges to the actual power and improving the overall power utilization efficiency of the charging station 210.
[0108] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the method described in the foregoing embodiments.
[0109] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. Its internal structure diagram can be as follows: Figure 5 As shown, the processor implements the charging power allocation method of the aforementioned embodiment when executing the computer program.
[0110] Through the above scheme, the charging system compares the average power of the charging set to be allocated with the upper limit of the power of each target charging unit. This allows target charging units with lower charging power requirements to be charged at the upper limit of the power, preventing power redundancy. For target charging units with higher charging power requirements, the redundant power is evenly distributed to increase the allocated power. This ensures that charging units with low charging power requirements operate at full load without overloading, while charging units with high charging power requirements receive a distribution of average power and redundant power to maximize the allocated power. As a result, charging units with different charging power requirements in the entire system can receive better power allocation, thereby improving the overall power utilization efficiency.
[0111] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0112] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0113] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A charging power distribution method, characterized in that, include: Obtain a power set to be allocated, the power set to be allocated includes charging units to be allocated that are in a power allocation state, and the total power to be allocated in the power set to be allocated is a preset total power minus the total power already allocated; Repeat the following traversal steps until the stopping condition is met: Obtain the average power and candidate power set of the current power set to be allocated, the candidate power set being initially empty; Traverse the current power set to be allocated, for each power set to be allocated that is a target charging unit: if the upper limit of the power of the target charging unit is less than the average power, then determine the upper limit of the power as the target power, update the total power to be allocated according to the target power, and remove the target charging unit from the current power set to be allocated; if the upper limit of the power of the target charging unit is not less than the average power, then move the target charging unit into the candidate power set; after traversing the current power set to be allocated, determine whether the second number of charging units contained in the candidate power set is equal to the first number contained in the power set to be allocated before this traversal; if they are equal, stop the traversal and determine the average power as the target power; if they are not equal, then use the candidate power set as the new power set to be allocated and continue to execute the traversal steps; The target charging unit is allocated power according to the target power.
2. The method according to claim 1, characterized in that, Before determining the target power, the following is also included: Determine the first power upper limit value of the charging device corresponding to the charging unit to be allocated; Determine the second power upper limit value of the device to be charged corresponding to the charging unit to be allocated; The power upper limit value of the charging unit to be allocated is determined based on the minimum value between the first power upper limit value and the second power upper limit value.
3. The method according to claim 2, characterized in that, Before determining the upper power limit value of the charging unit to be allocated, the method further includes: Obtain the reported power value of the charging unit to be allocated; The sum of the reported power value and the preset threshold is determined to be the third power upper limit value; Then, the upper limit value of the power of the charging unit to be allocated is determined as follows: The power upper limit value of the charging unit to be allocated is determined based on the minimum value among the first power upper limit value, the second power upper limit value, and the third power upper limit value.
4. The method according to claim 2 or 3, characterized in that, After determining the upper power limit value of the charging unit to be allocated, the method further includes: Determine whether the total power to be allocated is greater than the sum of the power upper limit values; When the total power to be allocated is greater than the sum of the power upper limit values, power is allocated to the charging unit according to the power upper limit values.
5. The method according to any one of claims 1 to 3, characterized in that, Before determining the target power, the following is also included: Determine the lower limit of the power of the charging unit to be allocated; Determine whether the sum of the power lower limit values is greater than the total power to be allocated; When the sum of the power lower limit values is greater than the total power to be allocated, power is allocated to the charging unit according to the power lower limit values.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 5.
7. A storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 5.