Power allocation method, device and storage medium based on charging station
By detecting the power of vehicles to be charged and calculating their priority, the problem of unreasonable power allocation in scenarios with multiple vehicles and multiple charging piles is solved, achieving efficient utilization and stable operation of charging station resources.
Patent Information
- Application Number
- CN202410154739.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2044-02-02
AI Technical Summary
In scenarios with multiple vehicles and multiple charging stations, the existing power allocation methods for charging stations cannot effectively reflect the actual needs of vehicles, leading to resource waste and unstable operation of charging stations.
By detecting the power of vehicles to be charged, the target charging power is determined, and the charging priority is calculated based on user attributes, historical charging status, and charging start time. Power is then allocated in sequence and combined with the available power of the charging station for reasonable allocation.
This effectively avoids power waste, makes reasonable use of charging station resources, and improves the operational efficiency and stability of charging stations.
Smart Images

Figure CN117901701B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart charging, and more particularly to a power distribution method, device, and storage medium based on a charging station. Background Technology
[0002] Charging stations are power supply devices that transmit electrical energy from the power grid to electric vehicles for charging. In recent years, with the growing awareness of energy conservation and emission reduction, new energy vehicles have become an increasingly important part of people's daily travel. Therefore, how to improve the utilization efficiency of charging station power to better meet user needs while ensuring charging safety is the most important issue that charging station operators need to consider.
[0003] In related technologies, the load balancing problem of charging power in multi-vehicle, multi-charging-pile scenarios is mainly addressed by averaging the charging station's upper limit or using a first-come, first-served approach to achieve balanced power allocation among users' vehicles. However, this method is static and idealistic. Real-world scenarios are often more complex, resulting in unsatisfactory power allocation performance. Specifically, during peak hours, multiple users' vehicles often require power allocation. Simply averaging power allocation fails to consider the actual power demands of each vehicle, leading to resource waste. Furthermore, the total resources of charging stations are often limited, and relying solely on a first-come, first-served standard cannot accurately reflect the priorities of different users, hindering the stable operation of charging stations. Summary of the Invention
[0004] One objective of this application is to provide a power allocation method based on charging stations to solve the technical problem of poor load balancing performance in multi-vehicle, multi-charging-station scenarios.
[0005] In a first aspect, embodiments of this application provide a power allocation method based on a charging station, comprising:
[0006] When a vehicle joins a charging station, power detection is performed on the vehicle to determine its target charging power. The vehicle is then moved to a preset power allocation set, which includes the target charging power of at least one target vehicle in the charging station. The target vehicles include vehicles waiting to be charged and vehicles currently charging in the charging station. Based on user attributes, historical charging information, and charging start time, the charging priority order of the at least one target vehicle in the power allocation set is determined. Power is then allocated to each target vehicle in the power allocation set sequentially according to the charging priority order and the target charging power.
[0007] In conjunction with the first aspect, in one possible implementation, when a vehicle to be charged joins a charging station, performing power detection on the vehicle to be charged to determine its target charging power includes: identifying vehicles already charging in the charging station; redistributing power among the vehicles already charging so that they charge at a preset minimum power; determining the available power of the charging station based on the preset minimum power of the vehicles already charging; performing power detection on the vehicle to be charged based on the available power of the charging station to determine its reported power value; and determining the target charging power of the vehicle to be charged based on its reported power value.
[0008] In conjunction with the first aspect, in one possible implementation, the vehicle to be charged is connected to a first charging pile. The step of power detection of the vehicle to be charged based on the available power of the charging station to determine the power reporting value of the vehicle to be charged includes: determining the rated power of each first charging pile; determining whether the sum of the rated power of each first charging pile is less than the available power of the charging station; if the sum of the rated power is less than the available power of the charging station, then allocating the rated power to each first charging pile so that the vehicles connected to each first charging pile are charged according to the rated power; and after the vehicles connected to each first charging pile have been charged according to the rated power for a preset time, determining the power reporting value of the vehicle to be charged.
[0009] In conjunction with the first aspect, in one possible implementation, the method further includes: if the sum of the rated power is not less than the available power of the charging station, then determining a power detection set, the power detection set including the plug-in time of each vehicle to be charged connecting to the first charging pile; sequentially selecting the first charging pile that meets the time sequence condition from the power detection set as the target charging pile; determining whether the rated power of the target charging pile is less than the available power of the charging station; if the rated power of the target charging pile is less than the available power of the charging station, then allocating the rated power to the target charging pile and updating the available power of the charging station so that the vehicles to be charged connected to the target charging pile charge according to the rated power; after the vehicles to be charged connected to the target charging pile charge according to the rated power for a preset time, performing power detection on the target charging pile to determine the power reporting value.
[0010] In conjunction with the first aspect, in one possible implementation, the method further includes: after the vehicle to be charged connected to the target charging pile has been charging at the rated power for a preset time, power recovery is performed on the target charging pile to enable the vehicle to be charged connected to the target charging pile to charge at a preset minimum power, and the available power of the charging station is updated.
[0011] In conjunction with the first aspect, in one possible implementation, determining the target charging power of the vehicle to be charged based on its reported power value includes: comparing the rated power of each vehicle connected to the charging pile with the reported power value of the vehicle to be charged; if the rated power is greater than the reported power value, then determining the reported power value of the vehicle to be charged as the target charging power of the vehicle to be charged.
[0012] In conjunction with the first aspect, in one possible implementation, determining the charging priority order of at least one target vehicle in the power allocation set based on user attributes, historical charging status, and charging start time includes: determining the combined weight of the target vehicles based on the user attributes, historical charging status, and charging start time; and determining the charging priority order of the target vehicles based on the combined weight of the target vehicles.
[0013] In conjunction with the first aspect, in one possible implementation, the step of sequentially allocating power to each target vehicle in the power allocation set according to the charging priority order and the target charging power includes: allocating a preset minimum power to each target vehicle; determining the available power value of the charging station based on the preset minimum power of the target vehicle; and performing power addition operations on each target vehicle sequentially according to the charging priority order based on the available power value.
[0014] In a second aspect, embodiments of this application also propose a power distribution device for use in a charging station, comprising:
[0015] The power detection module is used to detect the power of the vehicle to be charged when it joins the charging station, so as to determine the target charging power of the vehicle to be charged.
[0016] The information confirmation module is used to move the vehicle to be charged to a preset power allocation set, the power allocation set including the target charging power of at least one target vehicle in the charging station, the target vehicle including vehicles being charged in the charging station and vehicles being charged.
[0017] The weight calculation module is used to determine the charging priority order of at least one target vehicle in the power allocation set based on user attributes, historical charging information, and charging start time.
[0018] The power allocation module is used to sequentially allocate power to each target vehicle in the power allocation set according to the charging priority order and the target charging power.
[0019] In a third aspect, embodiments of this application also propose a power distribution device, including a memory, a processor, and a transceiver, wherein the memory and the transceiver are connected to the processor, the transceiver is used for data exchange with a charging station, and the processor is used to execute one or more computer programs stored in the memory, wherein when the processor executes the one or more computer programs, it causes the power distribution device to implement the method as described in the first aspect.
[0020] In a fourth aspect, embodiments of this application also provide a computer-readable storage medium storing a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method described in the first aspect.
[0021] The embodiments of this application can achieve the following technical effects:
[0022] The method proposed in this application is applied to a charging station. When a vehicle joins the charging station, power detection is performed on the vehicle to determine its target charging power. The vehicle is then moved to a preset power allocation set, which includes the target charging power of at least one target vehicle in the charging station. The target vehicles include vehicles waiting to be charged and vehicles currently charging in the charging station. Based on user attributes, historical charging information, and charging start time, the charging priority order of the at least one target vehicle in the power allocation set is determined. Power is then allocated sequentially to each target vehicle in the power allocation set according to the charging priority order and the target charging power. Based on this method, power detection is performed first during power allocation to determine the actual target charging power required by the vehicle. Since this target charging power reflects the actual charging status of the vehicle, power allocation based on the target charging power can effectively avoid power waste caused by unreasonable allocation. Furthermore, the allocation process considers the combined weight of each vehicle, ensuring that the power demand of vehicles with high combined weights is met first, resulting in more rational utilization of limited power. Attached Figure Description
[0023] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 A schematic diagram of a charging system provided in an embodiment of this application;
[0025] Figure 2A flowchart illustrating a power allocation method based on a charging station, provided as an embodiment of this application;
[0026] Figure 3 A schematic diagram of a power distribution device based on a charging station provided in an embodiment of this application;
[0027] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0029] It should be noted that, unless there is a conflict, the various features in the embodiments of this application can be combined with each other, all of which are within the protection scope of this application. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than the module division in the device or the order in the flowchart. Moreover, the terms "first," "second," and "third" used in this application do not limit the data or execution order, but only distinguish identical or similar items with essentially the same function and effect.
[0030] To better explain this application, the application scenarios involved in the embodiments of this application will first be described. Please refer to... Figure 1 , Figure 1 This is a schematic diagram of a charging system according to an embodiment of this application. The method provided in this embodiment can be applied to, for example... Figure 1 The charging system shown 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 current to each charging unit 200 according to the charging current allocation method. The charging units 200 are electrically connected to the user's vehicle 300 to be charged, and are used to collect vehicle charging information to transmit to the charging management device 100, and charge the vehicle 300 to be charged according to the current allocated by the charging management device 100.
[0031] 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 current to each group so that each group can complete its respective charging task. During the allocation of charging current to the groups, it is only necessary to determine the total current to be allocated to the charging station and the vehicle charging information of the vehicles connected to each charging pile in each group. Then, the current value allocated to each group can be calculated according to the charging current allocation algorithm of this application embodiment.
[0032] In other embodiments, the charging system is a charging group, and the charging unit 200 comprises multiple charging piles within the charging group. The charging group needs to allocate the total available current to each charging pile so that each group can complete its respective charging task. Similarly, it is necessary to determine the vehicle charging information of the vehicle connected to each charging pile and the total current to be allocated to the charging group, and calculate the current value allocated to each charging pile using a current allocation method based on vehicle information. That is, the charging unit 200 can be either a virtual charging group or a physical charging device such as a charging pile.
[0033] It is understood that the power allocation method provided in this application embodiment can not only allocate power from a charging station to a charging group and from a charging group to a charging pile, but also allocate current from a charging pile to a charging gun. Furthermore, based on this, the applicable system of the power allocation method based on charging stations can be expanded to match more complex charging station architectures, such as a charging station-charging group-charging pile-charging gun architecture.
[0034] As one feasible implementation, 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 current allocation schemes for it. Specifically, the data that the charging management device 100 can acquire includes the total current to be allocated in the charging system and the vehicle charging information of the vehicles connected to each charging pile in the charging unit 200.
[0035] Based on the aforementioned charging system, the current distribution method based on vehicle information provided in this application can be implemented. Specifically, please refer to... Figure 2 , Figure 2 The diagram shows a flowchart of a power allocation method based on a charging station, applicable to, for example... Figure 1 The charging station shown includes:
[0036] Step S10: When a vehicle to be charged joins the charging station, power detection is performed on the vehicle to be charged in order to determine the target charging power of the vehicle to be charged.
[0037] It should be noted that the charging station includes multiple charging piles, each capable of supplying power to one user vehicle. Based on the charging pile's operational status (whether it is already charging a user vehicle), these piles are categorized as idle or not. When a user vehicle needs charging, it can select any idle charging pile within the station. The charging station then allocates power to that pile based on a combination of various power allocation strategies, thus completing the user vehicle's charging plan. In other words, the vehicle to be charged in the various embodiments of this application refers to a user vehicle that has just joined the charging station and is connected to an idle charging pile. This idle charging pile has not yet been allocated power and can collect necessary information about the vehicle to be charged through its connection with the vehicle to be charged, which can be used in the power allocation process. As an example, this necessary information may include the user vehicle's identification or charging history, etc.
[0038] Target charging power refers to the actual charging power required by a vehicle. This power is related to the vehicle's own charging characteristics, such as battery model, charging and discharging characteristics, and battery aging status. For vehicles newly added to a charging station, since their target charging power cannot be directly determined, related technologies often assign a pre-set fixed power. This fixed power is set by collecting vehicle information from a large number of vehicles to make it as close as possible to the actual charging power required by most vehicles. It's easy to understand that if a fixed power is pre-set as the target charging power for all vehicles, it's inevitable that the target charging power will not match the actual charging power required by the vehicles. When multiple charging piles exist simultaneously in a charging station, the limited total power of the station can easily lead to unreasonable power allocation. For example, suppose a vehicle needs a target charging power of 80kW, but the preset fixed power is 100kW. The vehicle cannot utilize the excess power, and this excess power cannot be allocated to other vehicles with higher target charging power, resulting in power waste.
[0039] In this embodiment, power detection of the vehicles to be charged refers to allocating a larger detection power to each vehicle and collecting its actual reported power when each vehicle is charging according to the detection power. The target charging power actually required by the vehicle to be charged is indirectly calculated based on the reported power, so that the vehicle to be charged can be powered according to the target charging power in subsequent steps, avoiding unreasonable power allocation.
[0040] Step S20: Move the vehicle to be charged to a preset power allocation set. The power allocation set includes the target charging power of at least one target vehicle in the charging station. The target vehicle includes vehicles that are charging in the charging station and vehicles that are charging.
[0041] The power allocation set is essentially a set of all vehicles in the charging station. Specifically, all elements in the set collectively indicate the target charging power for each vehicle currently charging and waiting to be charged in the charging station. For example, assuming there are n charging piles in the charging station supplying power to n vehicles currently charging, the power allocation set Q includes the identification of each of the n vehicles and their respective target charging power. Ideally (assuming sufficient power in the charging station), all n vehicles charging will charge according to their respective target charging power. If m vehicles waiting to be charged join the charging station and perform power detection, thus determining their respective target charging power, then the identification of each of the m vehicles and their respective target charging power are added to the power allocation set Q, so that the power allocation set Q includes the target charging power of all vehicles in the charging station that have undergone power detection, both those waiting to be charged and those currently charging.
[0042] As a feasible implementation, the preset power allocation set can be in the form of an array or a table data structure, stored in the aforementioned power allocation device. If the power allocation set is an array data structure, the array should have at least two data storage dimensions, used to represent the identity of each target vehicle in the charging station and the target charging power, respectively. Correspondingly, if the power allocation set is a table data structure, the table should include at least two columns of data, used to represent the identity of each vehicle to be charged or charging vehicle and the target charging power, respectively. By accessing the array or table, the unique target charging power of each target vehicle can be directly determined.
[0043] Step S30: Determine the charging priority order of at least one target vehicle in the power allocation set based on user attributes, historical charging information, and charging start time.
[0044] The charging priority order of each target vehicle is used to characterize its priority in the power allocation process. For example, the combined weight of each target vehicle in the power allocation process can be calculated based on its user attributes, historical charging status, and charging start time. This combined weight is in numerical form, and the charging priority order of each target vehicle is determined according to the magnitude of each combined weight. The value of the combined weight is jointly determined by the values of multiple preset weight factors. Each weight factor is used to measure the proportion of a type of information of the target vehicle when calculating the final combined weight. In other words, the weight factors first determine the value of a type of information of the target vehicle (one of user attributes, historical charging status, and charging start time), and then the values of multiple weight factors jointly determine the final value of the combined weight.
[0045] For example, assuming the target vehicle includes multiple types of information a, b, and c, and the preset weight factors include a0, b0, and c0, then according to the value rules of each weight factor, the values a1, b1, and c1 of the target vehicle for each weight factor a0, b0, and c0 can be determined. Combining the values of each weight factor and the weights of different weight factors, the final combined weight D1 can be calculated. Assuming that the weights of a0 and b0 are both 1.0 and the weight of c0 is 1.5, then D1 = a0 + b0 + 1.5c0.
[0046] Step S40: According to the charging priority and target charging power, power is allocated to each target vehicle in the power allocation set in sequence.
[0047] It is easy to understand that, due to the limited total power of the charging station, it is difficult to meet the charging power of each target vehicle in most cases. Considering the importance of different users, it is necessary to identify the most important user vehicles among the target vehicles and prioritize their charging. After these important user vehicles are satisfied, power is then allocated to the relatively less important user vehicles based on the remaining available power in the charging station.
[0048] In some embodiments, before sequentially allocating power to each target vehicle, the available power of the charging station is checked. Specifically, assuming that target vehicle Q1 has already been allocated power, according to the order of combined weights, target vehicle Q2, whose combined weight is less than Q1, needs to be allocated power. At this time, the available power of the charging station is calculated and determined to be Qc. As known from the previous steps, the target charging power of target vehicle Q2 is P2. If Qc < P2, it is obviously impossible to allocate its target charging power to target vehicle Q2. A smaller power value can be allocated to Q2 to maintain charging. That is to say, by performing sequential allocation in this embodiment, target vehicles with higher combined weights (i.e., priorities) can be prioritized. Only after the target vehicles with higher priorities are allocated according to their target charging power are the vehicles with lower priorities considered. This makes the overall power allocation result of the charging station more in line with expectations and is conducive to the rational operation of the charging station.
[0049] Furthermore, in the above embodiments, when a vehicle to be charged joins the charging station, the step of power detection for the vehicle to be charged specifically includes: identifying vehicles already charging in the charging station; redistributing power among the vehicles already charging so that they charge according to a preset minimum power value; determining the available power of the charging station based on the preset minimum power value of the vehicles already charging; performing power detection on the vehicle to be charged based on the available power of the charging station to determine the power reporting value of the vehicle to be charged; and determining the target charging power of the vehicle to be charged based on the power reporting value of the vehicle to be charged.
[0050] It is easy to understand that since the purpose of power detection is to determine the actual target charging power required by the vehicle to be charged, the power detection of multiple vehicles to be charged requires the charging station to provide a large amount of power support.
[0051] Therefore, in this embodiment, before power detection, all vehicles charging in the charging station need to be redistributed with power. A preset minimum power value is redistributed to each vehicle charging. This minimum power value is essentially the minimum power that each vehicle can charge, ensuring that the charging process of the vehicles charging will not be interrupted suddenly. This allows the charging piles connected to each vehicle charging to release power higher than the minimum power value to supply power detection for the vehicles waiting to be charged.
[0052] After power redistribution, the available power of the charging station is recalculated. This available power is within the preset power upper limit of the charging station and is determined by the preset minimum power of all vehicles charging at the charging station. Assuming there are n vehicles charging at the charging station, the preset minimum power is W0, the preset power upper limit of the charging station is W, and the available power of the charging station is Wc, then Wc = Wn * W0. That is, the value of available power is equal to the preset power upper limit minus the product of the number of vehicles charging and the minimum power.
[0053] More specifically, if all vehicles to be charged are connected to the first charging pile, then the steps for power detection of the vehicles to be charged based on the available power of the charging station include: obtaining the rated power of each first charging pile; determining whether the sum of the rated power of each first charging pile is less than the available power of the charging station; if the sum of the rated power is less than the available power of the charging station, then allocating rated power to each first charging pile so that the vehicles to be charged connected to each first charging pile can be charged according to the rated power; and performing power detection on the first charging pile to determine the power reporting value.
[0054] The first charging pile refers to the charging pile connected to the vehicle to be charged, that is, the idle charging pile selected when the vehicle to be charged joins the charging station. The rated power of the charging pile refers to the power that the pile can continuously output under normal working conditions. Due to the influence of factors such as the charging characteristics of the vehicle itself, the rated power of the charging pile is usually higher than the target charging power actually required by the vehicle. Therefore, in this embodiment, when it is determined that the sum of the rated power is less than the available power of the charging station, the rated power of each first charging pile is directly allocated, and the power of the vehicle to be charged connected to the charging pile is detected by the rated power of the charging pile, so as to detect the power and determine the power reporting value when the vehicle to be charged is charging normally.
[0055] Furthermore, if the sum of the rated power is not less than the available power of the charging station, a power detection set is determined, which includes the plug-in time of each vehicle to be charged connecting to the first charging pile; the first charging pile that meets the time sequence condition is selected as the target charging pile in the power detection set; it is determined whether the rated power of the target charging pile is less than the available power of the charging station; if the rated power of the target charging pile is less than the available power of the charging station, the rated power is allocated to the target charging pile, and the available power of the charging station is updated so that the vehicles connected to the target charging pile can be charged according to the rated power; power detection is performed on the target charging pile according to the preset detection duration to determine the power reporting value.
[0056] The step of detecting the power of the target charging pile according to the preset detection cycle to determine the power reporting value specifically includes: after allocating the rated power to the target charging pile each time, detecting the duration for which the vehicle to be charged is charged at the rated power; when the duration reaches the detection time, reclaiming power from the target charging pile so that the vehicle to be charged connected to the target charging pile is charged at the preset minimum power, and updating the available power of the charging station.
[0057] It is easy to understand that when the available power of the charging station is insufficient to support allocating the rated power to all vehicles waiting to be charged at once, the vehicles need to be sorted according to the plug-in time of each vehicle connected to the first charging pile. The first charging pile with the earliest plug-in time is used as the target charging pile and is given priority to be allocated its rated power. After the target charging pile is charged at the rated power for a certain detection time, it is promptly retrieved. This ensures that each charging pile after power detection is charged at the preset minimum power, thereby completing the power detection of all vehicles waiting to be charged in turn according to a certain detection cycle.
[0058] Specifically, assuming the power detection set is Mx, which includes the insertion times of multiple first charging piles {x1, x2, x3, ...}, during power detection, the first insertion time xn in Mx is determined first, and the first charging pile Mn corresponding to xn is the target charging pile. If the rated power Pn of Mn is less than the available power Wc of the charging station, then power Pn is allocated to Mn. After allocating power Pn to a first charging pile each time, Wc is updated to Wc-Pn. At the same time, the duration of charging Mn according to power Pn is recorded. When this duration reaches the preset detection time, the power of Mn is reset to the minimum power... and the above steps are repeated until power detection is performed on the vehicles connected to each first charging pile in Mx.
[0059] Further, in the above embodiments, determining the target charging power of the vehicle to be charged based on the power reported value of the vehicle to be charged includes: comparing the rated power of each vehicle to be charged connected to the charging pile with the power reported value of the vehicle to be charged; if the rated power is greater than the power reported value, then the power reported value of the vehicle to be charged is determined to be the target charging power of the vehicle to be charged.
[0060] It is easy to understand that, under normal circumstances, the rated power of the vehicle to be charged connected to the charging pile is greater than the power reported value of the vehicle to be charged. Therefore, determining its actual power reported value as the target charging power can effectively avoid the waste caused by power redundancy.
[0061] Furthermore, in the above embodiments, determining the charging priority order of at least one target vehicle in the power allocation set based on user attributes, historical charging status, and charging start time includes: determining the combined weight of the at least one target vehicle based on the user attributes, historical charging status, and charging start time; and determining the charging priority order of the target vehicles based on the combined weight of the at least one target vehicle.
[0062] Among them, user attributes, historical charging status, and charging start time are obtained from the vehicle information of each target vehicle. Vehicle information refers to information that can indicate whether a target vehicle should be given priority in power allocation. Each charging pile can obtain its vehicle information and send it to the power allocation device. The power allocation device calculates the weight factor values corresponding to user attributes, historical charging status, and charging start time, and thus calculates the combined weight.
[0063] As an example, and not a limitation, the types of weighting factors mentioned above may include:
[0064] User privilege factor X1 indicates whether the user is a VIP user; temporary priority factor X2 indicates whether the user is a temporary priority charging user; power demand factor X3 indicates the remaining charging power demand of the user's vehicle per unit time; historical charging factor X4 indicates the user's historical cumulative number of charging times; time cost factor X5 indicates the user's charging start time.
[0065] For ease of implementation, this embodiment provides illustrative examples of the values for each weighting factor:
[0066] If a target vehicle is a VIP user, the user permission factor X1 is set to 1; conversely, if it is a non-VIP user, the user permission factor X1 is set to 0.
[0067] If a target vehicle is a temporary priority charging user, the temporary priority factor X2 is 2; correspondingly, if it is not a temporary priority charging user, the temporary priority factor X2 is 0.
[0068] After calculating the remaining charging power demand per unit time for each target vehicle, a corresponding serial number is assigned to each target vehicle, and then normalization is performed to determine the value of the power demand factor X3. The calculation method for the remaining charging power demand per unit time is as follows: assuming the target vehicle's initial charging time is T1, the expected end charging time is T2, its total power demand is energy, and the amount already charged is energy_h, then its remaining charging power demand per unit time can be calculated as (energy - energy_h) / (T2 - T1).
[0069] The historical charging counts of each target vehicle are counted and sorted from largest to smallest. The corresponding serial number of each target vehicle is then normalized to determine the value of the historical charging factor X4.
[0070] The charging start time of each target vehicle is counted, and the vehicles are sorted according to the order of their charging start times. Each target vehicle is assigned a corresponding serial number and then normalized to determine the value of the time cost factor X5.
[0071] Since each weighting factor corresponds to a weight percentage, the combined weight can be calculated based on each weighting factor. Assuming the combined weight is Y, then Y = x1 + x2 + 0.3 * (x3 + x4 + x5), meaning that the user permission factor X1 and the temporary priority factor X2 have the highest percentage of 1, while the other weighting factors have a percentage of 0.3. It is easy to understand that, for the overall operational benefits of the charging station, VIP users or temporary priority charging users should generally have the highest priority. Therefore, the weight percentage of the user permission factor and the temporary priority factor should be higher than that of other weighting factors. Of course, those skilled in the art can also set different weight percentages based on other strategies; this embodiment does not impose excessive limitations on this.
[0072] Furthermore, based on the order of the combined weights and the target charging power, power is allocated sequentially to each target vehicle in the power allocation set, including: allocating a preset minimum power to each target vehicle; determining the available power value of the charging station based on the preset minimum power of the target vehicle; and performing power addition operations on each target vehicle according to the charging priority order based on the available power value.
[0073] It is easy to understand that although different target vehicles have different priorities, for the sake of overall fairness, all vehicles joining the charging station should be able to charge. Therefore, in this embodiment, a preset minimum power is first assigned to all target vehicles in the power allocation set to avoid some vehicles with lower combination weights being unable to charge.
[0074] It should be noted that, without considering unforeseen circumstances, under ideal conditions, most of the target vehicles in the power allocation set have been allocated a preset minimum power (refer to the above embodiments). When power detection is performed on the vehicles to be charged, the vehicles charging in the charging station have already undergone power reallocation to charge at the minimum power. In addition, when power detection is performed according to the detection cycle, each vehicle to be charged is also allocated the minimum power after power detection.
[0075] In this embodiment, after determining that each target is allocated the minimum power, the power of each target vehicle is increased according to the order of the combined weight. The purpose of the power increase is to ensure that the power allocated to the target vehicle with the higher combined weight can reach its target charging power when the available power of the charging pile is sufficient.
[0076] Specifically, assuming that the power allocation set Q includes multiple target vehicles {Q1, Q2, Q3, ...}, and Q1, Q2, Q3, ... are all charged at the preset minimum power, the available power of the charging station is determined to be Qc, and the preset minimum power is Q_min. Then, the target vehicles Qn are determined in the power allocation set Q in descending order of their combined weights. If their target charging power Qt is less than Qc, an additional power of Qt-Q_min is allocated to them so that their allocated power reaches Qt. Qn is then removed from the power allocation set Q, and Qc is updated to Qc-(Qt-Q_min). The next target vehicle Qn with the highest combined weight is determined in the power allocation set Q, ..., until Qc < Qt, or all target vehicles in the power allocation set Q have undergone power addition operations.
[0077] It should be noted that in the above embodiments, there is no necessarily a certain order between the steps. Those skilled in the art can understand from the description of the embodiments of this application that the above steps may have different execution orders in different embodiments, that is, they may be executed in parallel or in turn, etc.
[0078] As another aspect of the embodiments of this application, this application provides a power distribution device based on a charging station. The power distribution device based on a charging station can be a software module, which includes several instructions stored in a memory. A processor can access the memory, call the instructions, and execute them to complete the power distribution method based on a charging station described in the various embodiments above.
[0079] In some embodiments, the power distribution device based on the charging station can also be constructed from hardware devices. For example, the power distribution device based on the charging station can be constructed from one or more chips, which can work together to complete the power distribution method based on the charging station described in the various embodiments above. As another example, the power distribution device based on the charging station can also be constructed from various logic devices, such as general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), microcontrollers, ARM (Acorn RISC Machine) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
[0080] Specifically, please refer to Figure 3 , Figure 3 The figure shows a schematic diagram of a power distribution device based on a charging station. As shown, the device includes:
[0081] The power detection module 310 is used to detect the power of the vehicle to be charged when the vehicle to be charged joins the charging station, so as to determine the target charging power of the vehicle to be charged.
[0082] Information confirmation module 320 is used to move the vehicle to be charged to a preset power allocation set, the power allocation set including the target charging power of at least one target vehicle in the charging station, the target vehicle including vehicles charging in the charging station and vehicles charging in the charging station.
[0083] The weight calculation module 330 is used to determine the charging priority order of at least one target vehicle in the power allocation set based on user attributes, historical charging status, and charging start time.
[0084] The power allocation module 340 is used to sequentially allocate power to each target vehicle in the power allocation set according to the charging priority order and the target charging power.
[0085] In one possible implementation, the power detection module 310, when used to detect the power of the vehicle to be charged in order to determine the target charging power of the vehicle to be charged, specifically performs the following: identifying vehicles currently charging in the charging station; redistributing power among the vehicles currently charging so that the vehicles currently charging in the charging station charge according to a preset minimum power value; determining the available power of the charging station based on the preset minimum power value of the vehicles currently charging in the charging station; detecting the power of the vehicle to be charged based on the available power of the charging station to determine the power reporting value of the vehicle to be charged; and determining the target charging power of the vehicle to be charged based on the power reporting value of the vehicle to be charged.
[0086] In one possible implementation, the power detection module 310, when used to detect the power of the vehicle to be charged based on the available power of the charging station to determine the power reporting value of the vehicle to be charged when the vehicle to be charged is connected to the first charging pile, is specifically used to: obtain the rated power of each first charging pile; determine whether the sum of the rated power of each first charging pile is less than the available power of the charging station; if the sum of the rated power is less than the available power of the charging station, allocate the rated power to each first charging pile so that the vehicle to be charged connected to each first charging pile is charged according to the rated power; and perform power detection on the first charging pile to determine the power reporting value.
[0087] In one possible implementation, the power detection module 310 is further configured to: determine a power detection set if the sum of the rated power is not less than the available power of the charging station, the power detection set including the plug-in time of each vehicle to be charged connecting to the first charging pile; sequentially select the first charging pile that meets the time sequence condition as the target charging pile in the power detection set; determine whether the rated power of the target charging pile is less than the available power of the charging station; if the rated power of the target charging pile is less than the available power of the charging station, allocate the rated power to the target charging pile and update the available power of the charging station so that the vehicles to be charged connected to the target charging pile are charged according to the rated power; and perform power detection on the target charging pile according to a preset detection cycle to determine the power reporting value.
[0088] In one possible implementation, the power detection module 310 is further configured to: detect the duration for which the vehicle to be charged is charged at the rated power after each allocation of the rated power to the target charging pile; when the duration reaches the detection duration, perform power recovery on the target charging pile so that the vehicle to be charged connected to the target charging pile is charged at a preset minimum power, and update the available power of the charging station.
[0089] In one possible implementation, the power detection module 310, when determining the target charging power of the vehicle to be charged based on the power reported value of the vehicle to be charged, is specifically configured to: compare the rated power of each vehicle to be charged connected to the charging pile with the power reported value of the vehicle to be charged; if the rated power is greater than the power reported value, then determine the power reported value of the vehicle to be charged as the target charging power of the vehicle to be charged.
[0090] In one possible implementation, the weight calculation module 330, when determining the charging priority order of at least one target vehicle in the power allocation set based on user attributes, historical charging status, and charging start time, is specifically used to: determine the combined weight of the at least one target vehicle based on the user attributes, historical charging status, and charging start time; and determine the charging priority order of the target vehicles based on the combined weight of the at least one target vehicle.
[0091] In one possible implementation, the power allocation module 340, when sequentially allocating power to each target vehicle in the power allocation set according to the charging priority order and the target charging power, is specifically configured to: allocate a preset minimum power to each target vehicle; determine the available power value of the charging station based on the preset minimum power of the target vehicle; and perform a power addition operation on each target vehicle according to the charging priority order based on the available power value.
[0092] It should be noted that the aforementioned power distribution device 30 based on a charging station can execute the power distribution method based on a charging station provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in the embodiments of the power distribution device 30 based on a charging station can be found in the power distribution method based on a charging station provided in the embodiments of this application.
[0093] See Figure 4 , Figure 4 This is a schematic diagram of a power distribution device provided in an embodiment of this application. The computer device can be installed in a charging station as a power distribution device to implement the method provided in the above embodiment. The computer device 40 includes one or more processors 41 and a memory 42. The memory 42 is connected to one or more processors 41, for example, via a bus.
[0094] Processor 41 is configured to support the computer device in performing the corresponding functions in the methods described in the above method embodiments. Processor 41 may be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0095] Memory 42 is used to store program code, etc. Memory 42 may include volatile memory (VM), such as random access memory (RAM); memory 42 may also include non-volatile memory (NVM), such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); memory 42 may also include combinations of the above types of memory.
[0096] The memory 42 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the power allocation method based on charging stations in the embodiments of this application. The processor 41 executes various functional applications and data processing of the power allocation method and the power allocation device based on charging stations by running the non-volatile software programs, instructions, and modules stored in the memory 42, that is, it realizes the functions of each module or unit of the power allocation method and the power allocation device based on charging stations provided in the above method embodiments.
[0097] The memory 42 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function. The data storage area may store data created based on the use of the charging station-based power distribution device. In some embodiments, the memory 42 may optionally include memory remotely located relative to the processor 41, which can be connected to the charging station-based power distribution device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0098] The one or more modules are stored in the memory 42. When executed by the one or more processors 41, they execute the power allocation method based on the charging station in any of the above method embodiments. For example, they execute the method steps described in the above method embodiments to realize the functions of the modules described in the above device embodiments.
[0099] 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.
[0100] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0101] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A power allocation method based on a charging station, characterized in that, include: When a vehicle to be charged joins a charging station, the vehicles already charging in the charging station are identified, wherein the vehicle to be charged is connected to a first charging pile. Power redistribution is performed on the vehicles being charged so that the vehicles being charged at the charging station are charged at a preset minimum power value; The available power of the charging station is determined based on the preset minimum power of the vehicles charging at the charging station. Determine the rated power of each first charging station; Determine whether the sum of the rated power of each first charging pile is less than the available power of the charging station; If the sum of the rated power is less than the available power of the charging station, the rated power is allocated to each first charging pile so that the vehicles connected to each first charging pile are charged according to the rated power. After the vehicles connected to each first charging pile are charged according to the rated power for a preset time, the power reporting value of the vehicles is determined. If the sum of the rated power is not less than the available power of the charging station, a power detection set is determined, which includes the plug-in time of each vehicle to be charged connecting to the first charging pile; the first charging pile that meets the time sequence condition is selected as the target charging pile from the power detection set; it is determined whether the rated power of the target charging pile is less than the available power of the charging station; if the rated power of the target charging pile is less than the available power of the charging station, the rated power is allocated to the target charging pile, and the available power of the charging station is updated so that the vehicles to be charged connected to the target charging pile can be charged according to the rated power; after the vehicles to be charged connected to the target charging pile have been charged according to the rated power for a preset time, the power of the target charging pile is detected to determine the power reporting value. The target charging power of the vehicle to be charged is determined based on the power reported by the vehicle to be charged. The vehicle to be charged is moved to a preset power allocation set, the power allocation set including the target charging power of at least one target vehicle in the charging station, the target vehicle including the vehicle to be charged and the vehicle being charged in the charging station; Based on user attributes, historical charging information, and charging start time, determine the charging priority order of at least one target vehicle in the power allocation set; According to the charging priority order and the target charging power, power is allocated to each target vehicle in the power allocation set in sequence.
2. The method according to claim 1, characterized in that, The method further includes: After the vehicle connected to the target charging pile has been charging at the rated power for a preset time, the target charging pile is reclaimed to enable the vehicle connected to the target charging pile to charge at the preset minimum power and update the available power of the charging station.
3. The method according to claim 1, characterized in that, Determining the target charging power of the vehicle to be charged based on its reported power value includes: Compare the rated power of each vehicle connected to the charging station with the power reported by the vehicle. If the rated power is greater than the reported power value, then the reported power value of the vehicle to be charged is determined to be the target charging power of the vehicle to be charged.
4. The method according to claim 1, characterized in that, The step of determining the charging priority order of at least one target vehicle in the power allocation set based on user attributes, historical charging information, and charging start time includes: The combined weight of the target vehicle is determined based on the user attributes, historical charging information, and charging start time. The charging priority order of the target vehicles is determined based on the combined weights of the target vehicles.
5. The method according to claim 1, characterized in that, The step of sequentially allocating power to each target vehicle in the power allocation set according to the charging priority order and the target charging power includes: Assign a preset minimum power to each target vehicle; The available power value of the charging station is determined based on the preset minimum power of the target vehicle. Based on the available power value, power addition operations are performed on each target vehicle in sequence according to the charging priority order.
6. A power distribution device, characterized in that, The device includes a memory, a processor, and a transceiver, the memory and the transceiver being connected to the processor, the transceiver being used for exchanging data with a charging station, and the processor being used to execute one or more computer programs stored in the memory, wherein, when executing the one or more computer programs, the processor causes the power distribution device to control the charging station to implement the method as described in any one of claims 1-5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program including program instructions that, when executed by a processor, cause the processor to perform the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Charging module distribution method of one-machine four-pile charging pile
CN110920457A
Vehicle charging sorting method and device, computer equipment and storage medium
CN116341809A