Power distribution method, device and equipment of charging station and medium
By forming a vehicle cluster within the charging station and calculating and adjusting the charging power, the resource mismatch problem of traditional charging stations is solved, fast charging of low-power vehicles and rational utilization of resources are achieved, and charging efficiency is improved.
Patent Information
- Application Number
- CN202511038881.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-28
- Publication Date
- 2025-10-03
AI Technical Summary
The power allocation method of traditional charging stations is difficult to adapt to the complex scenario of multiple vehicles charging at the same time, resulting in resource mismatch and low charging efficiency. In particular, low-battery vehicles urgently need to be recharged while high-battery vehicles occupy high power for a long time, and the remaining power of the charging station cannot be dynamically adjusted.
By detecting the remaining power of the charging station, a collection of charging vehicles is formed, the primary distribution power is calculated and the target vehicles whose needs are not met are identified, and secondary distribution power adjustments are made to ensure that low-power vehicles are given priority for charging and resources are used rationally.
It realizes the rapid charging of low-battery vehicles and the full utilization of charging resources, and improves the resource utilization and charging efficiency of charging stations.
Smart Images

Figure CN120735641A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of new energy vehicles, and in particular to a power distribution method, device, equipment and medium for a charging station. Background Art
[0002] With the rapid growth of electric vehicle ownership, the efficient use of charging infrastructure has become a key issue for the industry. Traditional charging stations often use fixed power allocation (such as allocating fixed power based on the order of access) or a simple "first-come, first-served" strategy. However, such methods are difficult to adapt to the complex scenario of multiple vehicles charging simultaneously: on the one hand, the remaining power of different vehicles varies significantly - low-power vehicles urgently need to be recharged, while high-power vehicles may occupy high power for a long time, resulting in resource mismatch; on the other hand, when new vehicles to be charged join or vehicles complete charging and leave, the remaining power of the charging station cannot be dynamically adjusted. Therefore, the current power allocation method wastes resources and has low charging efficiency. Summary of the Invention
[0003] The present invention provides a power distribution method, device, equipment and medium for a charging station. Through the technical solutions of the embodiments of the present invention, the reasonable distribution of charging power can be ensured and the utilization rate of charging resources can be improved.
[0004] In a first aspect, an embodiment of the present invention provides a power distribution method for a charging station, comprising:
[0005] When a new vehicle is detected to be connected to the charging station, the remaining charging power of the charging station is checked to see if it meets the power requirements of the new vehicle.
[0006] If not, the new vehicle and all the already charged vehicles in the charging station are grouped into a charging vehicle set, and the primary allocated power of each charging vehicle in the charging vehicle set is calculated based on the current remaining power and power demand of each charging vehicle;
[0007] After supplying power to each charging vehicle according to the primary allocated power, a target charging vehicle whose power demand is not met during the power supply process is identified in the charging vehicle set;
[0008] Based on the power difference between the power demand of each target charging vehicle and the allocated primary allocation power, as well as the updated current remaining charging power of the charging station, the secondary allocation power of each target charging vehicle is calculated, and the secondary allocation power is additionally provided to each target charging vehicle during the power supply process.
[0009] In a second aspect, an embodiment of the present invention provides a power distribution device for a charging station, comprising:
[0010] A detection module is used to detect whether the current remaining charging power of the charging station meets the power demand of the new vehicle when a new vehicle is detected to be connected to the charging station;
[0011] A first allocation module is configured to, if not, group the new vehicle and each already charged vehicle in the charging station into a charging vehicle set, and calculate a primary allocation power for each charging vehicle in the charging vehicle set based on the current remaining power and power demand of each charging vehicle;
[0012] A target charging vehicle determination module is used to identify target charging vehicles whose power requirements are not met in the charging vehicle set after powering each charging vehicle according to the primary allocated power;
[0013] The second allocation module is used to calculate the secondary allocation power of each target charging vehicle based on the power difference between the power demand of each target charging vehicle and the allocated primary allocation power, as well as the updated current remaining charging power of the charging station, and to provide the secondary allocation power to each target charging vehicle in the power supply process.
[0014] In a third aspect, an embodiment of the present invention provides an electronic device, comprising:
[0015] at least one processor; and,
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute a power distribution method for a charging station according to any one of the embodiments of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a power distribution method for a charging station according to any one of the embodiments of the present invention when executed.
[0019] An embodiment of the present invention provides a power allocation method, apparatus, device, and medium for a charging station. The method includes: upon detecting that a new vehicle has connected to the charging station, detecting whether the current remaining charging power of the charging station meets the power demand of the new vehicle; if not, grouping the new vehicle with each of the already charged vehicles in the charging station into a charging vehicle set, and calculating the primary allocation power of each charging vehicle based on the current remaining power and power demand of each charging vehicle in the charging vehicle set; after powering each charging vehicle according to the primary allocation power, identifying target charging vehicles in the charging vehicle set whose power demand has not been met during the power supply process; calculating the secondary allocation power of each target charging vehicle based on the power difference between the power demand of each target charging vehicle and the allocated primary allocation power, and the updated current remaining charging power of the charging station, and providing the secondary allocation power to each target charging vehicle during the power supply process. Specifically, calculating the primary allocation power of each charging vehicle based on the current remaining power and power demand of each charging vehicle can ensure that low-power vehicles receive reasonable power allocation. At the same time, through the secondary allocation power of each target charging vehicle, the full use of electric power and resource utilization can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 This is a flow chart of a power distribution method for a charging station provided in the first embodiment of the present invention;
[0022] Figure 2 This is a flow chart of a power distribution method for a charging station provided in the second embodiment of the present invention;
[0023] Figure 3 This is a schematic diagram of the structure of a power distribution device for a charging station provided in a third embodiment of the present invention;
[0024] Figure 4 This is a structural diagram of an electronic device provided in Example 4 of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] It should be noted that the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0028] Example 1
[0029] Figure 1 This is a flow chart of a power distribution method for a charging station, provided in Example 1 of the present invention. This method is specifically applicable to power distribution scenarios for charging piles at a charging station, and is particularly suitable for power distribution when the current remaining charging power at the charging station does not meet the power requirements of newly entered vehicles. This method can be implemented using a power distribution device for the charging station, which can be composed of software and / or hardware and configured in a computer or server of the charging station's power control system.
[0030] like Figure 1 As shown, including:
[0031] Step 110: When a new vehicle is detected to be connected to the charging station, it is detected whether the current remaining charging power of the charging station meets the power demand of the new vehicle.
[0032] Among them, the charging station includes multiple charging piles, which are used to charge multiple electric vehicles at the same time. When the electric vehicle is connected to the charging plug and starts charging, the charging pile can determine the rated power demand of the electric vehicle. Furthermore, the charging station includes a charging power upper limit. The charging power provided by each charging pile to each electric vehicle should not be greater than the charging power upper limit. The power demand is the rated charging power or rated input power of the electric vehicle. If the electric vehicle is charged at a charging power lower than the power demand, it will charge slowly. New vehicles are vehicles that have just been connected to the charging station. The remaining power of new vehicles is generally very low. Therefore, in order to ensure that their power is quickly restored, they can be given priority power supply to avoid low-power vehicles waiting for a long time and running out of power.
[0033] Specifically, after connecting to a charging station and starting charging, the charging station will determine whether the power requirements of the new vehicle can be met based on the current remaining charging power. If so, the charging power corresponding to the new vehicle's power requirements will be directly allocated to the new vehicle. However, due to the charging power limit of the charging station, there may be a situation where the current remaining charging power does not meet the power requirements of the new vehicle. Therefore, the charging power of each vehicle in the charging station needs to be allocated to ensure that the new vehicle can charge slowly.
[0034] Optionally, after detecting whether the current remaining charging power of the charging station meets the power requirement of the new vehicle, the method further includes:
[0035] If so, power is supplied to the new vehicle according to the power requirement of the new vehicle.
[0036] Specifically, if the current remaining charging power meets the power demand of the new vehicle, the new vehicle can be directly fully powered.
[0037] Step 120: If not, the new vehicle and the already charged vehicles in the charging station are grouped into a charging vehicle set, and the primary allocated power of each charging vehicle in the charging vehicle set is calculated based on the current remaining power and power demand of each charging vehicle.
[0038] Specifically, when a new vehicle is connected, if the current remaining charging power of the charging station is not enough to meet the power demand of the new vehicle alone, the new vehicle and the vehicles that are already in the charging state (vehicles being charged) in the charging station together form a charging vehicle set, and then calculate the one-time allocated power of each charging vehicle according to the current remaining power and power demand of each charging vehicle in the charging vehicle set. Among them, the one-time allocated power is the power value allocated to each vehicle in the charging vehicle set. The specific allocation method can be seen below. For example, the priority of each vehicle can be determined according to the current remaining power and power demand for allocation, or the corresponding allocation weight can be calculated according to the current remaining power and power demand, and then the power is allocated according to the allocation weight.
[0039] Step 130: After powering each charging vehicle according to the primary allocated power, identify target charging vehicles in the charging vehicle set whose power requirements are not met during the power supply process.
[0040] Specifically, after a power allocation, the charging power of each charging vehicle will be in two states: charging at the required charging power, or charging at a power lower than the required power. Therefore, for vehicles charging at a power lower than the required power, if the charging station still has some remaining charging power after the power allocation, the remaining charging power can be allocated to the target charging vehicle to ensure maximum resource utilization.
[0041] Optionally, the method for updating the current remaining charging power includes: calculating the total power of the charging station minus the first allocated power of each charging vehicle, and using the calculated value as the updated current remaining charging power of the charging station.
[0042] Step 140: Calculate the secondary distribution power for each target charging vehicle based on the power difference between the power demand of each target charging vehicle and the allocated primary distribution power, as well as the updated current remaining charging power of the charging station. Provide the secondary distribution power to each target charging vehicle during the power supply process.
[0043] For the identified target charging vehicles, the charging station management system will start the secondary allocation process. The core of this process is to recalculate the amount of power that should be added to each target vehicle based on the "unmet power amount" of the target charging vehicle (that is, the difference between its power demand and the primary allocated power) and the remaining allocable power after the charging station is updated (that is, the remaining available power after the primary allocation). Specifically, the system will give priority to vehicles with "larger unmet power amounts" or "lower power levels" (for example, a vehicle that still needs 200kW to meet demand and has less than 20% power will be given priority over another vehicle that still needs 100kW but still has 50% power). At the same time, the sum of the secondary allocated power of all target charging vehicles cannot exceed the remaining allocable power after the charging station is updated. Finally, the system adjusts the output power of the charging piles of each charging vehicle to add the secondary allocated power to the corresponding target charging vehicle until its power demand is met or the remaining power of the charging station is exhausted.
[0044] Optionally, when detecting that a vehicle is disconnected from the power supply connection of the charging station, detecting whether there is a power demand vehicle whose power demand is not met among the charged vehicles at the charging station;
[0045] If so, the newly allocated power for each power-demanding vehicle is calculated based on the power difference between the power demand of each power-demanding vehicle and the currently allocated power, as well as the updated current remaining charging power of the charging station, and the newly allocated power is additionally provided to each power-demanding vehicle during the power supply process.
[0046] A "charged vehicle" is an electric vehicle currently being charged at a charging station, but its charging process has not yet been completed. A "power-demanding vehicle" is a vehicle connected to a charging station but whose power demand has not been fully met. The power difference is the difference between a vehicle's power demand and its currently allocated power. The newly allocated power is the additional power allocated to a power-demanding vehicle, based on one or more existing allocations, to make up for the power difference.
[0047] Specifically, when a charging station detects a vehicle disconnected from the power supply, it triggers a power redistribution process: first, it identifies power-demanding vehicles among the currently charged vehicles whose actual received power does not meet their power requirements; based on the power difference between the power requirements of each power-demanding vehicle and the currently allocated power, and the remaining charging power after the charging station is updated (the power released due to vehicle disconnection), it calculates the "newly allocated power" required for each vehicle; finally, by adjusting the output of the charging pile, it adds the newly allocated power to the power-demanding vehicle until the power requirements of the charging vehicle are met or the remaining power is exhausted. This process can accurately supplement the needs of vehicles that have not yet completed charging, avoid idle power, and improve the utilization efficiency of charging station resources and the continuity of the charging process.
[0048] An embodiment of the present invention provides a power allocation method for a charging station. The method includes: upon detecting a new vehicle connecting to a charging station, detecting whether the current remaining charging power of the charging station meets the power requirements of the new vehicle; if not, grouping the new vehicle with each already charged vehicle in the charging station into a charging vehicle set, and calculating the primary allocation power for each charging vehicle based on the current remaining power and power requirements of each charging vehicle in the charging vehicle set; after powering each charging vehicle according to the primary allocation power, identifying target charging vehicles in the charging vehicle set whose power requirements were not met during the power supply process; calculating the secondary allocation power for each target charging vehicle based on the power difference between the power requirements of each target charging vehicle and the allocated primary allocation power, as well as the updated current remaining charging power of the charging station, and providing the secondary allocation power additionally to each target charging vehicle during the power supply process. Specifically, calculating the primary allocation power for each charging vehicle based on the current remaining power and power requirements of each charging vehicle allows for reasonable power allocation for vehicles with low power. At the same time, the secondary allocation power for each target charging vehicle can ensure the full use of electric power and resource utilization.
[0049] Example 2
[0050] Figure 2 This is a flow chart of a power distribution method for a charging station provided by an embodiment of the present invention. The method is based on the above embodiments and further defines the calculation method of the primary distribution power and the secondary distribution power.
[0051] like Figure 2 As shown, including:
[0052] Step 210: When a new vehicle is detected to be connected to the charging station, it is detected whether the current remaining charging power of the charging station meets the power demand of the new vehicle.
[0053] Step 220: For any charging vehicle in the charging vehicle set, determine a current allocation weight based on the power demand and current remaining power of the charging vehicle; wherein the current allocation weight is inversely proportional to the current remaining power and directly proportional to the power demand.
[0054] The current allocation weight is used to determine the allocation ratio of charging vehicles to charging station power.
[0055] Specifically, to address the existing problem of low-battery vehicles urgently needing to recharge, while high-battery vehicles may occupy high power for extended periods, leading to resource mismatch, current allocation weights can be determined based on the power requirements and current remaining power of the charging vehicles. Furthermore, the current allocation weights are inversely proportional to the current remaining power to ensure that low-battery vehicles receive more charging power, and directly proportional to the power requirements to ensure that high-power vehicles receive more charging power.
[0056] For example, the current allocation weight of the charging vehicle can be calculated by: W(i)=(100-SOC i )×Pdemand(i). Among them, SOC i is the current remaining power of the i-th vehicle, and Pdemand(i) is the power demand of vehicle i.
[0057] Step 230: Calculate the first allocated power of each charging vehicle according to the total power of the charging station, the current allocation weight of each charging vehicle, and the power demand of each charging vehicle.
[0058] Specifically, you can use P1 i = min[Pdemand(i), Ptotal×W(i) / Wtotal] determines the first allocated power P1 of charging vehicle i i , where Pdemand(i) is the power demand, Ptotal is the total power of the charging station, W(i) is the current allocation weight, and Wtotal is the sum of the current allocation weights of each charging vehicle.
[0059] Optionally, the candidate first allocation power of each charging vehicle is determined based on the current allocation weight of each charging vehicle and the total power of the charging station; for any charging vehicle, the smaller value of the candidate first allocation power of the charging vehicle and the power demand of the charging vehicle is determined as the first allocation power of the charging vehicle.
[0060] The candidate first allocated power is a theoretical value of the total power of the charging station allocated according to the weight, and the candidate first allocated power corresponds to Ptotal×W(i) / Wtotal in the above formula.
[0061] It should be noted that the candidate first allocated power value is greater than the power demand of the charging vehicle, but the ideal charging power of the charging vehicle is Pdemand(i). In this case, the smaller value of Pdemand(i) and Ptotal×W(i) / Wtotal should be selected as the first allocated power for the charging vehicle. If the candidate first allocated power value is less than the power demand of the charging vehicle, this indicates that the overall power of the charging station may not be able to support full charging of all charging vehicles. Therefore, it is necessary to sacrifice the charging power of some charging vehicles to enable them to charge at a lower power.
[0062] Step 240: After powering each charging vehicle according to the primary allocated power, identify target charging vehicles in the charging vehicle set whose power requirements are not met during the power supply process.
[0063] Specifically, according to the allocated power, each charging vehicle is supplied with power. There are two situations for the charging vehicle. The first is that the charging vehicle is fully charged according to its own power demand. The other is that the power demand is not met and low-power charging is performed.
[0064] At this time, because the allocation rule itself takes the minimum value between the candidate first allocation power and the power demand, it is possible that the total power of the charging station is not fully allocated. Therefore, the charging station will have excess charging power. In this case, the excess charging power can be allocated to the target charging vehicles whose power demand is not met to avoid wasting resources.
[0065] Step 250: Calculate the power difference between the power demand of each target charging vehicle and the allocated primary allocation power as the first alternative power of each target charging vehicle; and calculate the second alternative power of each target charging vehicle based on the current allocation weight of each target charging vehicle, the sum of the current allocation weights of each charging vehicle in the charging vehicle set, and the current remaining charging power.
[0066] Exemplarily, the second allocated power may be determined by the following formula:
[0067] P2(i) = min[Pdemand(i) - P1(i), Pleft × W(i) / W(U)], where Pdemand(i) and P1(i) are the power demand and first allocated power of charging vehicle i, respectively. Pleft is the current remaining charging power, and W(i) and W(U) are the current allocated weight and total weight of the charging vehicles, respectively.
[0068] Step 260: For any target charging vehicle, determine the smaller value between the first alternative power of the target charging vehicle and the second alternative power of the charging vehicle as the second allocated power of the target charging vehicle.
[0069] Specifically, to prevent each second allocated power from exceeding the current remaining charging power, the smaller value between the first alternative power and the second alternative power of the charging vehicle should be selected as the second allocated power of the target charging vehicle.
[0070] Step 270: During the power supply process, the secondary distributed power is additionally provided to each target charging vehicle.
[0071] Specifically, during the power supply process, the secondary distributed power will be additionally provided to each target charging vehicle to ensure full utilization of all power at the charging station, thereby improving charging efficiency.
[0072] Optionally, when detecting that a vehicle is disconnected from the power supply connection of the charging station, detecting whether there is a power demand vehicle whose power demand is not met among the charged vehicles at the charging station;
[0073] If so, the newly allocated power for each power-demanding vehicle is calculated based on the power difference between the power demand of each power-demanding vehicle and the currently allocated power, as well as the updated current remaining charging power of the charging station, and the newly allocated power is additionally provided to each power-demanding vehicle during the power supply process.
[0074] A vehicle disconnected from a charging station refers to a state where the electric vehicle no longer draws power from the charging station's charging pile, either because the vehicle has completed charging, the user has actively unplugged the charger, or due to a malfunction. At this point, the vehicle exits the charging station's "connected vehicles" list, and the charging power it occupied is released back to the charging station's total power pool. A charged vehicle is an electric vehicle that is still connected to the charging station's charging pile and charging (a vehicle that has not yet completed charging). These vehicles may have been charging for some time but have not yet reached full charge. Power-demanding vehicles with unmet power requirements are some of the charged vehicles whose actual allocated charging power is lower than their power requirements due to the charging station's total power limit (e.g., other vehicles charging simultaneously occupying power). Newly allocated power refers to the power released after a vehicle disconnects and releases power. The charging station allocates this released power (i.e., the updated remaining charging power) to "power-demanding vehicles" that still require more power to make up for their previous power difference. The newly allocated power is the value of this additional power allocation.
[0075] When it is detected that a vehicle is disconnected from the power supply of the charging station, the system triggers the power redistribution process: first, it checks whether there are any vehicles whose power requirements are not met among the currently connected charged vehicles (that is, vehicles whose actual allocated power is lower than the rated demand); if so, the system calculates the newly allocated power for each vehicle based on the power difference of each vehicle (the difference between the rated power demand and the currently allocated power) and the remaining charging power after the charging station is updated (the power released by the disconnected vehicle); finally, by adjusting the output of the charging pile, the newly allocated power is added to these vehicles whose requirements are not met, so as to make up for their power gap as much as possible, avoid idle power, and improve the utilization rate of the charging station's power resources.
[0076] The method of the embodiment of the present invention can ensure rapid charging of low-power charging vehicles by performing a primary power allocation to each charging vehicle. Secondary power allocation to target charging vehicles whose power requirements are not met can improve the utilization rate of the charging power of the charging vehicles.
[0077] Example 3
[0078] Figure 3 This is a schematic diagram of the structure of a power distribution device for a charging station provided in the third embodiment of the present invention. Figure 3 As shown, the device includes:
[0079] The detection module 310 is used to detect whether the current remaining charging power of the charging station meets the power demand of the new vehicle when a new vehicle is detected to be connected to the charging station;
[0080] A first allocation module 320 is configured to, if not, group the new vehicle and each already charged vehicle in the charging station into a charging vehicle set, and calculate the primary allocation power of each charging vehicle in the charging vehicle set based on the current remaining power and power demand of each charging vehicle;
[0081] The target charging vehicle determination module 330 is configured to, after supplying power to each charging vehicle according to the primary allocated power, identify target charging vehicles in the charging vehicle set whose power requirements are not met during the power supply process;
[0082] The second allocation module 340 is used to calculate the secondary allocation power for each target charging vehicle based on the power difference between the power demand of each target charging vehicle and the allocated primary allocation power, as well as the updated current remaining charging power of the charging station, and to provide the secondary allocation power to each target charging vehicle during the power supply process.
[0083] An embodiment of the present invention provides a power distribution device for a charging station. The device detects whether the current remaining charging power of the charging station meets the power requirements of the new vehicle when a new vehicle is detected. If not, the device groups the new vehicle into a charging vehicle set with the existing vehicles in the charging station, and calculates the primary power allocation for each charging vehicle based on the current remaining power and power requirements of each charging vehicle in the charging vehicle set. After powering each charging vehicle according to the primary power allocation, the device identifies target charging vehicles in the charging vehicle set whose power requirements are not met during the power supply process. The device calculates the secondary power allocation for each target charging vehicle based on the power difference between the power requirements of each target charging vehicle and the allocated primary power, as well as the updated current remaining charging power of the charging station, and provides the secondary power allocation to each target charging vehicle during the power supply process. Specifically, by calculating the primary power allocation for each charging vehicle based on the current remaining power and power requirements of each charging vehicle, power can be reasonably allocated to vehicles with low power. At the same time, the secondary power allocation for each target charging vehicle can ensure the full use of electric power and resource utilization.
[0084] Optionally, the first allocation module 320 is further configured to: if yes, supply power to the new vehicle according to the power requirement of the new vehicle.
[0085] Optionally, the first allocation module 320 includes:
[0086] a weight determination unit, configured to determine, for any charging vehicle in the set of charging vehicles, a current allocation weight based on the power demand and current remaining power of the charging vehicle; wherein the current allocation weight is inversely proportional to the current remaining power and directly proportional to the power demand;
[0087] The allocation unit is configured to calculate a first allocation power for each charging vehicle according to the total power of the charging station, the current allocation weight of each charging vehicle, and the power demand of each charging vehicle.
[0088] Optionally, a distribution unit, including:
[0089] a candidate first allocated power determination subunit, configured to determine a candidate first allocated power for each charging vehicle based on the current allocation weight of each charging vehicle and the total power of the charging station;
[0090] The determining subunit is configured to determine, for any charging vehicle, a smaller value between the candidate first allocated power of the charging vehicle and the power demand of the charging vehicle as the first allocated power of the charging vehicle.
[0091] Optionally, the device also includes: a power update module, which is used to calculate the total power of the charging station minus the first allocated power of each charging vehicle as the updated current remaining charging power of the charging station before calculating the secondary allocated power of each target charging vehicle based on the power difference between the power demand of each target charging vehicle and the allocated primary allocated power, and the updated current remaining charging power of the charging station.
[0092] Optionally, the second allocation module 340 includes:
[0093] a calculation unit, configured to calculate the power difference between the power demand of each target charging vehicle and the allocated primary allocation power as the first candidate power of each target charging vehicle; and calculate the second candidate power of each target charging vehicle based on the current allocation weight of each target charging vehicle, the sum of the current allocation weights of each charging vehicle in the charging vehicle set, and the current remaining charging power;
[0094] The determining unit is configured to determine, for any target charging vehicle, a smaller value between the first alternative power of the target charging vehicle and the second alternative power of the charging vehicle as the second allocated power of the target charging vehicle.
[0095] Optionally, the device further includes an update module, including:
[0096] a checking unit, configured to, when detecting that a vehicle is disconnected from the power supply connection of the charging station, check whether there is a power demand vehicle whose power demand has not been met among the charged vehicles at the charging station;
[0097] The judgment unit is used to calculate the newly allocated power for each vehicle requiring charging based on the power difference between the power demand of each power-requiring vehicle and the currently allocated power, as well as the updated current remaining charging power of the charging station, and provide the newly allocated power to each power-requiring vehicle in the power supply process.
[0098] The power distribution device for a charging station provided in an embodiment of the present invention can execute the power distribution method for a charging station provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0099] Example 4
[0100] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0101] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0102] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0103] Processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 11 executes the various methods and processes described above, such as the power distribution method for a charging station.
[0104] In some embodiments, the power distribution method for a charging station can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the power distribution method for a charging station described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the power distribution method for a charging station in any other suitable manner (e.g., via firmware).
[0105] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0106] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0107] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0108] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0109] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0110] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0111] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0112] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A power distribution method for a charging station, characterized in that: include: When a new vehicle is detected to be connected to the charging station, the remaining charging power of the charging station is checked to see if it meets the power requirements of the new vehicle. If not, the new vehicle and all the already charged vehicles in the charging station are grouped into a charging vehicle set, and the primary allocated power of each charging vehicle in the charging vehicle set is calculated based on the current remaining power and power demand of each charging vehicle; After supplying power to each charging vehicle according to the primary allocated power, a target charging vehicle whose power demand is not met during the power supply process is identified in the charging vehicle set; Based on the power difference between the power demand of each target charging vehicle and the allocated primary allocation power, as well as the updated current remaining charging power of the charging station, the secondary allocation power of each target charging vehicle is calculated, and the secondary allocation power is additionally provided to each target charging vehicle during the power supply process.
2. The method according to claim 1, characterized in that Calculating the primary distributed power of each charging vehicle according to the current remaining power and power demand of each charging vehicle in the charging vehicle set, which is characterized by including: For any charging vehicle in the charging vehicle set, determine a current allocation weight based on the power demand and current remaining power of the charging vehicle; wherein the current allocation weight is inversely proportional to the current remaining power and directly proportional to the power demand; The first allocated power of each charging vehicle is calculated according to the total power of the charging station, the current allocation weight of each charging vehicle, and the power demand of each charging vehicle.
3. The method according to claim 2, characterized in that Calculating a first allocated power for each charging vehicle based on the total power of the charging station, the current allocation weight of each charging vehicle, and the power demand of each charging vehicle includes: Determine a candidate first allocated power for each charging vehicle based on the current allocation weight of each charging vehicle and the total power of the charging station; For any charging vehicle, a smaller value between the candidate first allocated power of the charging vehicle and the power demand of the charging vehicle is determined as the first allocated power of the charging vehicle.
4. The method according to claim 1, wherein Before calculating the secondary distribution power of each target charging vehicle based on the power difference between the power demand of each target charging vehicle and the allocated primary distribution power, and the updated current remaining charging power of the charging station, the method further includes: The total power of the charging station minus the first allocated power of each charging vehicle is calculated as the updated current remaining charging power of the charging station.
5. The method according to claim 2, characterized in that The secondary distribution power of each target charging vehicle is calculated based on the power difference between the power demand of each target charging vehicle and the allocated primary distribution power, as well as the updated current remaining charging power of the charging station, including: Calculate the power difference between the power demand of each target charging vehicle and the allocated primary allocation power as the first alternative power of each target charging vehicle; calculate the second alternative power of each target charging vehicle based on the current allocation weight of each target charging vehicle, the sum of the current allocation weights of each charging vehicle in the charging vehicle set, and the current remaining charging power; For any target charging vehicle, a smaller value between the first alternative power of the target charging vehicle and the second alternative power of the charging vehicle is determined as the second allocated power of the target charging vehicle.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: When detecting that a vehicle is disconnected from the power supply of the charging station, detecting whether there is a power demand vehicle whose power demand has not been met among the charged vehicles at the charging station; If so, the newly allocated power for each power-demanding vehicle is calculated based on the power difference between the power demand of each power-demanding vehicle and the currently allocated power, as well as the updated current remaining charging power of the charging station, and the newly allocated power is additionally provided to each power-demanding vehicle during the power supply process.
7. The method according to any one of claims 1 to 5, characterized in that After detecting whether the current remaining charging power of the charging station meets the power demand of the new vehicle, the following steps are also included: If so, power is supplied to the new vehicle according to the power requirement of the new vehicle.
8. A power distribution device for a charging station, characterized in that: include: A detection module is used to detect whether the current remaining charging power of the charging station meets the power demand of the new vehicle when a new vehicle is detected to be connected to the charging station; A first allocation module is configured to, if not, group the new vehicle and each already charged vehicle in the charging station into a charging vehicle set, and calculate a primary allocation power for each charging vehicle in the charging vehicle set based on the current remaining power and power demand of each charging vehicle; A target charging vehicle determination module is used to identify target charging vehicles whose power requirements are not met in the charging vehicle set after powering each charging vehicle according to the primary allocated power; The second allocation module is used to calculate the secondary allocation power of each target charging vehicle based on the power difference between the power demand of each target charging vehicle and the allocated primary allocation power, as well as the updated current remaining charging power of the charging station, and to provide the secondary allocation power to each target charging vehicle in the power supply process.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the power distribution method for a charging station according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a power distribution method for a charging station according to any one of claims 1 to 7 when executed.