Power distribution method and apparatus, device, and storage medium

By using multiple power module topologies and switch connections in charging equipment to dynamically allocate power modules, the problem of charging equipment being difficult to meet the charging needs of different electric vehicles is solved, and charging efficiency and applicability are improved. Enhance.

WO2024174791A1PCT designated stage expired Publication Date: 2024-08-29AUTEL DIGITAL POWER CO LTD

Patent Information

Application Number
PCT/CN2024/073611
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2024-01-23
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing charging equipment is difficult to dynamically allocate power, resulting in low charging efficiency and inability to effectively meet the charging needs of different electric vehicles.

Method used

By using a topology structure formed by multiple power modules in the charging equipment, using switching switches to connect adjacent modules, dynamically allocate power modules to meet the needs of the charging terminal, including obtaining the charging requirements of the charging terminal and traversing the power modules Topology, select the closest module to put in, and cut out or disable modules when necessary to optimize power distribution.

Benefits of technology

It achieves matching of charging terminal output power with charging demand, improves charging efficiency, and is suitable for power module topologies of various connection methods, enhancing applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024073611_29082024_PF_FP_ABST
    Figure CN2024073611_29082024_PF_FP_ABST
Patent Text Reader

Abstract

A power distribution method and apparatus, a device, and a storage medium. The method comprises: acquiring a charging requirement of a target charging terminal, wherein the target charging terminal is connected to a first direct-current bus, and the first direct-current bus is any direct-current bus in a charging device; and when power supplied by a power module that has been put on the first direct-current bus does not meet the charging requirement, if a direct-connection power module of the first direct-current bus has been put, putting a first power module onto the first direct-current bus, wherein the direct-connection power module is directly connected to the first direct-current bus, the first power module is a power module that has not been put, and the first power module is connected to the direct-connection power module and is closest to the direct-connection power module. The technical solution achieves dynamic distribution of power, such that output power can meet the charging requirement of the charging terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Power distribution method, device, equipment and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on February 22, 2023, with application number 2023101900247 and application name “Power distribution method, device, equipment and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of charging, and in particular to power distribution methods, devices, equipment and storage media. Background Art

[0003] New energy vehicles are vehicles that use unconventional fuels as their power source. New energy vehicles powered by electricity are called electric vehicles. Chargers are devices designed to meet the charging needs of electric vehicles.

[0004] A charger functions similarly to a gas pump at a gas station. Installed in public buildings, residential parking lots, or charging stations, it can charge a wide range of electric vehicles. Its input is directly connected to the AC grid, while its output is equipped with a charging gun for charging the electric vehicle. A charger equipped with multiple charging guns can charge multiple electric vehicles simultaneously. Different electric vehicles have different power ratings, and the charger adjusts the output power of the charging guns based on the rated power of the vehicle to improve charging efficiency. To improve charging efficiency, dynamically allocating power to the charging guns has become a pressing issue.

[0005] Summary of the Invention

[0006] The present application provides a power distribution method, apparatus, device and storage medium to solve the technical problem of dynamic power distribution of a charging gun.

[0007] In a first aspect, a power distribution method is provided, which is applied to a charging device. The charging device includes a plurality of power modules, the plurality of power modules are connected to form a power module topology, two adjacent power modules are connected using switching switches, the distance between any two power modules in the plurality of power modules is equal to the number of switching switches between the any two power modules, and some or all of the plurality of power modules are connected to a DC bus in the charging device. The method includes:

[0008] Obtaining a charging demand of a target charging terminal, where the target charging terminal is connected to a first DC bus, where the first DC bus is any DC bus in the charging device;

[0009] When the power provided by the power module that has been put into operation on the first DC bus does not meet the charging demand, if the direct-connected power module of the first DC bus has been put into operation, the first power module is put into operation on the first DC bus, and the direct-connected power module is directly connected to the first DC bus. The first power module is a power module that has not yet been put into operation, and the first power module can be connected to the direct-connected power module and is closest to the direct-connected power module. The distance between the multiple power modules and the direct-connected power module is measured by the number of switching switches connected between the multiple power modules and the direct-connected power module.

[0010] In this technical solution, after obtaining the charging demand of the charging terminal connected to the DC bus, if the power provided by the power module already connected to the DC bus does not meet the charging demand of the charging terminal connected to the DC bus, if the direct-connected power module connected to the DC bus has already been connected, the power module closest to the direct-connected power module is connected to the DC bus to allocate the power module to the charging terminal connected to the DC bus for use, thereby achieving dynamic power allocation so that the output power of the charging terminal can meet the charging demand; the power modules in the charging device are connected to form a power module topology, and two adjacent power modules are connected using switching switches. The distance between the power module and the direct-connected power module is measured by the number of switching switches connected between the power module and the direct-connected power module. The power module closest to the direct-connected power module is allocated to the charging terminal for use. In essence, the power module is allocated to the charging terminal according to the level of the topological structure formed by the power modules. This not only ensures that the output power of the charging terminal can meet the charging demand, but also is applicable to power module topologies formed by various connection methods, with strong applicability.

[0011] In conjunction with the first aspect, in one possible implementation, before placing the first power module on the first DC bus, the method further includes: based on the distances between the multiple power modules and the directly connected power module, traversing the power module topology layer by layer, starting with the power module closest to the directly connected power module; and determining the first power module from the traversed power modules that have not yet been placed on the network. Allocating power modules to charging terminals by traversing layer by layer can improve allocation efficiency.

[0012] In conjunction with the first aspect, in one possible implementation, the power of the first power module is greater than or equal to a first power gap, where the first power gap is the power gap between the target power required for charging and the power provided by the power module already connected to the first DC bus. By preferentially selecting power modules whose allocated power is greater than the power gap between the required power and the already connected power, the allocated power can be quickly aligned with the charging needs of the charging terminal.

[0013] In conjunction with the first aspect, in one possible implementation, the absolute value of the difference between the power of the first power module and the first power gap is minimized. Reasonable allocation can be achieved by allocating power to the power module with the smallest absolute value of the difference between the power gap between the required power and the already invested power.

[0014] In conjunction with the first aspect, in one possible implementation, the first power module is a power module not directly connected to the second DC bus, and the second DC bus is a DC bus other than the first DC bus in the charging device. By prioritizing the allocation of power modules not connected to other DC buses to charging terminals, directly connected power modules connected to other DC buses can be quickly made available to charging terminals connected to other DC buses.

[0015] In conjunction with the first aspect, in one possible implementation, if the power provided by the power module already connected to the first DC bus does not meet the charging demand, if the directly connected power module has not yet been connected, the directly connected power module is connected to the first DC bus. By prioritizing the direct-connected power module connected to the DC bus for use by the charging terminal, allocation efficiency can be improved.

[0016] In conjunction with the first aspect, in one possible implementation, the method further includes: if the power provided by the power module already connected to the first DC bus does not meet the charging demand, if the direct-connected power module has been connected but not connected to the first DC bus, setting a disable flag for the direct-connected power module, the disable flag being used to indicate that a second DC bus is prohibited from being connected to the direct-connected power module, the second DC bus being a DC bus other than the first DC bus in the charging device. By setting a disable flag for the direct-connected power module, it can be ensured that the direct-connected power module can subsequently be preferentially allocated to the charging terminal connected to the DC bus corresponding to the direct-connected power module.

[0017] In combination with the first aspect, in a possible implementation, after setting a disable flag for the direct-connected power module, the method further includes: when the charging demand is not met, monitoring the second DC bus with the disable flag to cut out the direct-connected power module; and putting the direct-connected power module into the first DC bus.

[0018] In conjunction with the first aspect, in one possible implementation, the method further includes: after a power module is connected to the first DC bus, storing module information of the power module connected to the first DC bus in a cache array, wherein the cache array is used to store module information of all connected power modules. By storing the module information of the connected power modules in the cache array, allocation and management of the power modules can be implemented.

[0019] In conjunction with the first aspect, in one possible implementation, the method further includes: if the power provided by the power module already connected to the first DC bus exceeds the target power required for the charging demand, switching out a second power module, where the second power module is a power module already connected to the first DC bus. If the power provided by the power module already connected to the DC bus exceeds the charging demand of a charging terminal connected to the DC bus, reliable management of the power modules can be achieved by switching out the power module already connected to the charging terminal.

[0020] In conjunction with the first aspect, in one possible implementation, the second power module is the power module farthest from the directly connected power module. By preferentially switching out the power module farthest from the directly connected power module, reasonable management of the power modules can be achieved.

[0021] In conjunction with the first aspect, in one possible implementation, the second power module is a power module directly connected to a second DC bus, which is a DC bus other than the first DC bus in the charging device. By prioritizing the removal of other directly connected power modules, each directly connected power module can be preferentially allocated to a charging terminal connected to its corresponding DC bus, allowing the directly connected power modules connected to the DC bus to be used by the charging terminal as quickly as possible.

[0022] In combination with the first aspect, in one possible implementation, the power of the second power module is less than or equal to the second power gap, and the second power gap is the power gap between the power provided by the power module that has been put into the first DC bus and the target power required for the charging demand.

[0023] In conjunction with the first aspect, in one possible implementation, the absolute value of the difference between the power of the second power module and the second power gap is minimized. Reasonable allocation can be achieved by switching out the power module with the smallest absolute value of the difference between the power and the required power and the power already invested.

[0024] In conjunction with the first aspect, in one possible implementation, the method further includes: after disconnecting a power module already connected to the first DC bus, deleting module information of the disconnected power module from a cache array, the cache array being configured to store module information of all connected power modules. By deleting the module information of the disconnected power module from the cache array, allocation management of the power modules can be implemented.

[0025] In combination with the first aspect, in a possible implementation, the method further includes: if the module information of the directly connected power module exists in the cache array and the directly connected power module has not been put into any DC bus in the charging device, or if the module information of the faulty power module exists in the cache array, a third power module is cut out, the cache array is used to store the module information of all power modules that have been put into use, the module information of the third power module is stored in the cache array, and the third power module is a power module that is connected to the unavailable power module and is the farthest away from the unavailable power module, and the unavailable power module is the directly connected power module or the faulty power module. By preferentially cutting out the power module that has been put into use and is the farthest away from the unavailable power module, reliable management of the power modules can be achieved and ineffective input of the power modules can be avoided.

[0026] In conjunction with the first aspect, in one possible implementation, the first DC bus is the i-th DC bus in the charging device, where i is a positive integer; the method further includes: after adding a power module to the i-th DC bus or removing a power module already added to the i-th DC bus, obtaining a charging demand of a charging terminal connected to the (i+1)th DC bus, where i is greater than or equal to 1 and i is less than or equal to (N-1), and N is the total number of DC buses in the charging device. By adding or removing only one power module at a time, it is possible to ensure that the charging demand of each charging terminal is met.

[0027] In a second aspect, a charging power distribution device is provided, which is applied to a charging device. The charging device includes a plurality of power modules, wherein the plurality of power modules are connected to form a power module topology, wherein adjacent power modules are connected using switching switches, wherein the distance between any two power modules in the plurality of power modules is equal to the number of switching switches between the any two power modules, and wherein some or all of the plurality of power modules are connected to a DC bus in the charging device. The device includes:

[0028] a demand acquisition module, configured to acquire a charging demand of a target charging terminal, wherein the target charging terminal is connected to a first DC bus, and the first DC bus is any DC bus in the charging device;

[0029] A distribution module is used to put the first power module onto the first DC bus if the power provided by the power module that has been put into use on the first DC bus does not meet the charging demand, if the direct-connected power module of the first DC bus has been put into use. The direct-connected power module is directly connected to the first DC bus, the first power module is a power module that has not yet been put into use, and the first power module is connected to the direct-connected power module, and the distance between the first power module and the direct-connected power module is the shortest. The distance between the power module and the direct-connected power module is measured by the number of switching switches connected between the power module and the direct-connected power module.

[0030] In a third aspect, a computer device is provided, comprising a memory, a charging terminal, and one or more processors, wherein the memory and the charging terminal are connected to the one or more processors, and the one or more processors are used to execute one or more computer programs stored in the memory. When the one or more processors execute the one or more computer programs, the computer device implements the power allocation method of the first aspect mentioned above.

[0031] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the power allocation method of the first aspect.

[0032] In a fifth aspect, a charging device is provided, comprising a plurality of power modules, wherein the plurality of power modules are connected to form a power module topology, and adjacent power modules are connected using switching switches, wherein the distance between any two of the plurality of power modules is equal to the number of switching switches between the any two power modules, and some or all of the plurality of power modules are connected to a DC bus in the charging device, and the charging device is used to execute the power distribution method of the first aspect.

[0033] The present application can achieve the following technical effects: dynamic allocation of power is achieved so that the output power of the charging terminal can meet the charging requirements; the power modules in the charging equipment are connected to form a power module topology, and two adjacent power modules are connected using switching switches. The distance between the power module and the directly connected power module is measured by the number of switching switches connected between the power module and the directly connected power module. The power module closest to the directly connected power module is allocated to the charging terminal for use. In essence, the power module is allocated to the charging terminal according to the level of the topological structure formed by the power module. This not only allows the output power of the charging terminal to meet the charging requirements, but also is applicable to power module topologies formed by various connection methods, and has strong applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] FIG1 is a connection diagram of a charging system provided in an embodiment of the present application;

[0035] FIG2 is a schematic diagram of the connection of the power module in the charging device provided by this application;

[0036] FIG3 is a schematic diagram of a flow chart of a power distribution method provided in an embodiment of the present application;

[0037] FIG4 is a schematic diagram of a flow chart of another power distribution method provided in an embodiment of the present application;

[0038] FIG5 is a schematic structural diagram of a power distribution device provided in an embodiment of the present application;

[0039] FIG6 is a schematic structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0041] The technical solution of this application is applicable to charging scenarios, specifically scenarios where a multi-charger is used to charge one or more electric vehicles. A multi-charger is a charger with multiple charging guns, each of which is a charging mechanism that can be directly connected to an electric vehicle's charging port to charge the electric vehicle. The charging guns are connected to the DC bus in the charger, and the DC bus is where the charging guns are connected.

[0042] First, refer to Figure 1, which is a connection diagram of a charging system provided in an embodiment of the present application. As shown in Figure 1, the charging system 10 includes a charging device 101 and one or more power-consuming devices 102, wherein the charging device 101 is used to charge the power-consuming device 102, and the power-consuming device 102 is provided with a battery system for storing the electrical energy charged by the charging device 101.

[0043] The charging device 101 may include multiple charging terminals, each of which can be connected to the charging port of a power-consuming device 102 to charge the power-consuming device 102. The charging device 101 also includes multiple power modules, which can be understood as charging modules within the charging device 101. These power modules can be connected to the charging terminals via switches to provide the power required by the power-consuming device 102. The charging device 101 may be a multi-charger or a multi-charger charging station, and the charging terminals may be the charging guns within the multi-charger. The power-consuming device 102 may be an electric vehicle.

[0044] When a charging terminal charges an electrical device, the charging demand of the charging terminal is determined based on the rated charging power of the electrical device. To meet the rated charging power of the electrical device, a power module that matches the charging demand of the charging terminal needs to be allocated to the charging terminal. This ensures that the output power of the charging terminal matches the rated charging power of the electrical device, thereby improving charging efficiency. When a charging device simultaneously charges multiple electrical devices through multiple charging terminals, each of which has a different rated charging power. To meet the charging demand of multiple electrical devices simultaneously, a power module that matches the charging demand of each charging terminal needs to be allocated to each charging terminal. This ensures that the output power of each charging terminal matches the rated charging power of each electrical device.

[0045] Therefore, the present application proposes a power distribution method that can meet the charging needs of one or more power-consuming terminals in a charging device. The technical solution of the present application can be applied to the charging device 101 shown in FIG1 .

[0046] For ease of understanding, the relevant structures of the charging device of the present application are first introduced. Referring to Figure 2, Figure 2 is a connection diagram of the power modules in the charging device provided by the present application. As shown in Figure 2, the charging device 101 includes multiple power modules, and the multiple power modules are connected to form a power module topology. Each power module is abstracted as a node in the power module topology, that is, a topological node in the power module topology is a power module. Two adjacent power modules are connected using a switching switch, and the switching switch is abstracted as a connecting line in the power module topology, that is, a connecting line in the power module topology is a switching switch. The switching switch is a control relay, which can also be called a high-voltage DC contactor. Turning on the switching switch can establish an electrical connection between the two adjacent power modules at both ends of the connecting line corresponding to the switching switch, and turning off the switching switch can cut off the electrical connection between the two adjacent power modules at both ends of the connecting line corresponding to the switching switch.

[0047] The connection between each power module in the power module topology can be a direct connection or an indirect connection. Among them, the direct connection between power modules means that the two power modules are connected only by a switching switch, without any other power modules in between, the number of switching switches between the two directly connected power modules is 1, and the number of power modules spaced between the two directly connected power modules is 0. For example, the power module M1 and the power module M2 in Figure 2 are two directly connected power modules. The indirect connection between power modules means that the two power modules are connected through other power modules, the number of switching switches between the two indirectly connected power modules is greater than 1, and the number of power modules spaced between the two indirectly connected power modules is greater than or equal to 1. For example, the power module M1 and the power module M3 in Figure 2 are separated by the power module M2, so the power module M1 and the power module M3 are two indirectly connected power modules.

[0048] The charging device also includes a DC bus and a charging terminal. There can be one or more DC buses in the charging device, and one DC bus is connected to one charging terminal. A DC bus can be directly connected to a power module, and a power module directly connected to the DC bus is called a direct-connected power module. Among them, the direct connection of the power module to the DC bus means that the power module is connected to the DC bus and the number of switching switches between the power module and the DC bus is 0. For example, the power module M1 in Figure 2 is directly connected to the DC bus 1, then the power module M1 is a direct-connected power module. Any power module in the power module topology can be used as a direct-connected power module and directly connected to the DC bus. The specific position of the DC bus can be set based on actual needs.

[0049] The power module topology can be any network topology. This power module topology can be considered a multi-layer network topology, where the concept of layers is defined with respect to the DC bus as a reference. The farther the power module is from the DC bus, the greater the number of layers it corresponds to. The number of power module layers can be calculated by the number of power modules spaced from the DC bus. The number of power module layers is equal to the distance between the power module and the DC bus plus one. The distance between two power modules is measured by the number of switches between the two power modules. Taking DC bus 1 in Figure 2 as a reference, for example, power module M1 is a directly connected power module to DC bus 1. There is no switching switch between power module M1 and power module M1. Therefore, the distance between power module M1 and power module M1 is 0, and the number of layers of power module M1 is 1 when DC bus 1 is used as the reference. Power module M2 has one switching switch between power module M1 and power module M1. Therefore, the distance between power module M2 and power module M1 is 1, and the number of layers of power module M2 is 2 when DC bus 1 is used as the reference. Power module M3 has two switching switches between power module M1 and power module M1. Therefore, the distance between power module M3 and power module M1 is 2, and the number of layers of power module M3 is 3 when DC bus 1 is used as the reference. It should be understood that in a power module topology, the number of layers of each power module will vary depending on the DC bus used as the reference. For example, if the DC bus 2 in FIG. 2 is used as a reference, the number of layers of the power module M2 is 1 when the DC bus 2 is used as a reference.

[0050] Based on the charging device described in conjunction with FIG. 2 , the technical solution of the present application can be implemented, as described in detail below.

[0051] Referring to FIG. 3 , FIG. 3 is a flow chart of a power distribution method provided in an embodiment of the present application. The method can be applied to the aforementioned charging device 101. As shown in FIG. 3 , the method includes the following steps:

[0052] S201: Obtain charging requirements of a target charging terminal.

[0053] The target charging terminal is connected to the first DC bus, which is any DC bus in the charging device. For the relevant meanings of the charging terminal and the DC bus, please refer to the above description and will not be repeated here.

[0054] Specifically, the target charging terminal may receive demand information from a power-consuming device connected to the target charging terminal to obtain the charging demand of the target charging terminal. The demand information of the power-consuming device may include the rated charging power required for charging the power-consuming device (hereinafter referred to as the target power), that is, the charging demand of the target charging terminal includes the target power.

[0055] S202, when the power provided by the power module already put into the first DC bus does not meet the charging demand of the target charging terminal, if the direct-connected power module of the first DC bus has been put into use, the first power module is put into the first DC bus.

[0056] Among them, the power module that has been put into use on the first DC bus refers to the power module that has been allocated to the target charging terminal for use; the power provided by the power module that has been put into use on the first DC bus is equal to the sum of the rated powers of the power modules that have been allocated to the target charging terminal for use (hereinafter referred to as the total rated power), which is also the maximum power that the target charging terminal can currently output.

[0057] The power module directly connected to the first DC bus refers to a power module connected to the first DC bus. Taking the first DC bus as DC bus 1 in FIG2 as an example, the power module directly connected to the first DC bus refers to power module M1 in FIG2 .

[0058] The first power module is a power module that has not yet been put into operation. "Not yet put into operation" means that it has not yet been allocated to any charging terminal for use. The first power module is connected to the direct-connected power module of the first DC bus and is closest to the direct-connected power module of the first DC bus. The first power module is connected to the direct-connected power module of the first DC bus by a controllable switching switch. By turning on the controllable switching switch, an electrical connection can be established between the first power module and the direct-connected power module of the first DC bus.

[0059] Specifically, the aforementioned sum of rated powers can be compared with the aforementioned target power to determine whether the power provided by the power modules already connected to the first DC bus meets the charging requirements of the target charging terminal. If the sum of rated powers is less than the target power, it is determined that the charging requirements of the target charging terminal are not met; if the sum of rated powers is equal to the target power, it is determined that the charging requirements of the target charging terminal are met; if the sum of rated powers is greater than the target power, it is determined that the charging requirements of the target charging terminal are exceeded.

[0060] Furthermore, after determining that the power provided by the power module that has been put into use on the first DC bus does not meet the charging demand of the target charging terminal, it can be determined whether the direct-connected power module of the first DC bus has been put into use. When the direct-connected power module of the first DC bus has been put into use, the power modules of the next layer of the direct-connected power module of the first DC bus can be traversed based on the distance between the power modules in the power module topology and the direct-connected power modules of the first DC bus, and it can be determined whether the power modules of the next layer have all been put into use. If the power modules of the next layer have not yet been put into use, the power modules obtained from the traversal can be used. From the power modules of the next layer that have not yet been put into use, a power module is selected as the first power module; if all the power modules of the next layer have been put into use, then based on the distance between the power modules in the power module topology and the directly connected power modules of the first DC bus, the next layer is traversed to obtain power modules, and it is further determined whether all the traversed power modules have been put into use and whether they can be connected to the first power module, until the power module topology is completely traversed, or a power module that has not yet been put into use and can be connected to the directly connected power module of the first DC bus is found as the first power module. Allocating power modules to charging terminals by traversing layer by layer can improve allocation efficiency.

[0061] By allocating the power module closest to the directly connected power module to the charging terminal for use, rapid allocation of the power module can be achieved.

[0062] In some possible implementations, in the process of selecting a power module as the first power module from the power modules obtained from the traversal that have not yet been put into operation, a power module whose power is greater than or equal to a first power gap can be determined from the power modules obtained from the traversal that have not yet been put into operation, and a power module can be selected from the power modules whose power is greater than or equal to the first power gap as the first power module, where the first power gap is the power gap between the target power and the sum of the rated powers, that is, the power of the first power module is greater than or equal to the first power gap. For example, assume that there are three power modules currently traversed and not yet deployed: power module m1, power module m2, and power module m3. The power provided by power modules m1, m2, and m3 is 4 kW, 6 kW, and 8 kW, respectively. The total rated power already deployed on the first DC bus is 4 kW, and the target power corresponding to the charging demand is 9 kW. Therefore, the first power gap is 5 kW. Since 6 kW and 8 kW are greater than 5 kW, a power module is selected from power modules m2 and m3 as the first power module. By prioritizing the power module with a greater allocated power than the gap between the required power and the already deployed power, the allocated power can be quickly aligned with the charging demand of the charging terminal.

[0063] Furthermore, among the power modules with power greater than or equal to the first power gap, the power module with the smallest absolute value of the difference between its power and the first power gap can be selected as the first power module, that is, the power module with the smallest absolute value of the difference between its power and the first power gap. Taking the power modules m2 and m3 as an example, since the absolute value of the difference between 6 kW and 5 kW is 1 kW, and the absolute value of the difference between 8 kW and 5 kW is 3 kW, power module m2 is preferentially selected as the first power module. By allocating power to the power module with the smallest absolute value of the difference between the power gap between the required power and the power already invested, reasonable allocation of power modules can be achieved.

[0064] In some possible situations, the first power module may be a power module that is not directly connected to the second DC bus.

[0065] The second DC bus is a DC bus other than the first DC bus. For example, if the first DC bus is DC bus 1 in FIG. 2 , the second DC bus may be DC bus 2 and DC bus 3 in FIG. 2 .

[0066] Specifically, in the aforementioned process of determining the first power module, if there are multiple power modules in the next layer obtained through traversal and none of them have been put into use, then one power module can be selected from the ordinary power modules in the multiple power modules of the power modules in the next layer as the first power module, that is, the first power module is determined from the power modules that are not directly connected power modules.

[0067] By preferentially allocating power modules that are not connected to other DC buses to charging terminals, direct-connected power modules connected to other DC buses can be allocated to charging terminals connected to other DC buses as quickly as possible.

[0068] Optionally, after determining that the charging demand of the target charging terminal is not met, if the direct-connected power module of the first DC bus has not been put into use, the direct-connected power module of the first DC bus can be put into use in the first DC bus.

[0069] By prioritizing the allocation of direct-connected power modules connected to the DC bus to charging terminals, the allocation efficiency of the power modules can be improved.

[0070] Optionally, after determining that the charging demand of the target charging terminal is not met, if the direct-connected power module of the first DC bus has been put into operation but has not been put into operation on the first DC bus, a disable flag is set for the direct-connected power module of the first DC bus.

[0071] Among them, the disable flag is used to indicate that the second DC bus is prohibited from connecting to the direct-connected power module of the first DC bus. After setting the disable flag, you can wait for the second DC bus occupying the direct-connected power module to exit the direct-connected power module. Taking the first DC bus as the DC bus 1 in Figure 2 as an example, assuming that the power module M1 in Figure 2 has been put into the DC bus 2, you can set a disable flag for the power module M1 to prohibit the DC bus 2 from using the power module M1. The disable flag can be set to: {R: Module1, Bus2}, R means disable, Module1 is the power module M1, and Bus2 is the DC bus 2.

[0072] By setting a disable flag for the direct-connected power module, it can be ensured that the direct-connected power module can be preferentially allocated to the charging terminal connected to the DC bus corresponding to the direct-connected power module in the future.

[0073] Optionally, after setting a disable flag for the direct-connected power module of the first DC bus, if the charging needs of the target charging terminal are not met, the second DC bus with the disable flag can be monitored to disconnect the direct-connected power module of the first DC bus, and then the direct-connected power module of the first DC bus can be connected to the first DC bus. By monitoring the disconnection of the direct-connected power modules of other DC buses and promptly connecting the direct-connected power modules to the directly connected direct-connected buses, the charging terminal can be quickly charged.

[0074] Optionally, after a power module is connected to the first DC bus, module information of the power module connected to the first DC bus may be stored in a cache array.

[0075] The cache array is used to store module information of all power modules that have been put into use.

[0076] Specifically, the aforementioned first power module or the power module directly connected to the first DC bus can be put into operation, and it can be determined whether the putting into operation is successful. If the putting into operation is successful, the module information of the put into operation power module can be stored in the cache array.

[0077] Among them, putting a power module into the first DC bus can be achieved through the following steps: (a1) determining the power module to be put into the first DC bus; (a2) shutdown state; (a3) ​​setting a temporary group; (a4) power on; (a5) boosting; (a6) switch on, that is, turning on the switching switch that can establish an electrical connection between the power module to be put into use and the first DC bus; (a7) shutdown; (a8) clearing the temporary group address; (a9) setting the group, the purpose of setting the group is to bind the power module to be put into use to the first DC bus through configuration information; (a10) notification of completion of the put-in.

[0078] After a power module is put into the DC bus, the module information of the power module that has been put into use is saved through the cache array, so that the allocation management of the power module can be realized.

[0079] S203 , when the power provided by the power module already connected to the first DC bus exceeds the target power required for charging, switching off the second power module.

[0080] The second power module is a power module that has been put into the first DC bus, that is, a power module that has been allocated to the target charging terminal. By switching out the power module that has been put into the charging terminal, reliable management of the power modules can be achieved.

[0081] In some possible situations, the second power module may be a power module that is farthest away from the power module directly connected to the first DC bus.

[0082] Specifically, the power modules already connected to the first DC bus can be determined, and the distances between the power modules and the power module directly connected to the first DC bus can be determined, and the power module with the largest distance can be determined as the second power module.

[0083] By preferentially switching out the power module farthest from the directly connected power module, reasonable management of the power modules can be achieved.

[0084] Among them, when there are multiple power modules that are farthest away from the power module directly connected to the first DC bus, a power module whose power is less than or equal to the second power gap can be determined from the power modules that are farthest away from the power module directly connected to the first DC bus, and a power module can be selected from the power modules whose power is less than or equal to the second power gap as the second power module. The second power gap is the gap between the total rated power and the target power, that is, the power of the second power module is less than or equal to the second power gap. For example, assuming that there are three power modules farthest away from the directly connected power module of the first DC bus, namely power module m4, power module m5, and power module m6. The power provided by power module m4, power module m5, and power module m6 are 4 kW, 9 kW, and 5 kW, respectively. The total rated power already invested in the first DC bus is 18 kW, and the target power corresponding to the charging demand is 13 kW. The second power gap is 5 kW. Since 4 kW and 5 kW are greater than or equal to 5 kW, a power module is selected from power module m4 and power module m6 as the second power module.

[0085] Furthermore, among the power modules with power less than or equal to the second power gap, the power module with the smallest absolute value of the difference between its power and the second power gap can be selected as the second power module. That is, the second power module is the power module with the smallest absolute value of the difference between its power and the second power gap. Taking power modules m4 and m6 as an example, where the power modules have power less than or equal to the second power gap, since the absolute value of the difference between 4 kW and 5 kW is 1 kW, and the absolute value of the difference between 5 kW and 5 kW is 0 kW, power module m6 is preferentially selected as the second power module. By selecting the power module with the smallest absolute value of the difference between its power and the power gap between the required power and the already invested power, reasonable allocation of power modules can be achieved.

[0086] In some possible cases, the second power module may be a power module directly connected to the second DC bus.

[0087] Specifically, it can be determined whether the power module that is already put into the first DC bus and is the farthest away from the power module directly connected to the first DC bus is connected to the second DC bus, and the power module connected to the second DC bus is determined as the second power module.

[0088] By preferentially cutting out other directly connected power modules at the bottom layer, it can be ensured that each directly connected power module can be preferentially allocated to the charging terminal connected to its corresponding DC bus, so that the directly connected power module connected to the DC bus can be used by the charging terminal connected to the DC bus as soon as possible.

[0089] Optionally, after a power module that has been put into use on the first DC bus is switched out, module information of the switched-out power module may be deleted from the cache array.

[0090] Specifically, a switching-out operation may be performed on the aforementioned second power module, and it may be determined whether the switching-out is successful. If the switching-out is successful, the module information of the switched-out power module may be deleted from the cache array.

[0091] Among them, the following steps can be used to cut out a power module that has been put into use on the first DC bus: (b1) mark the power module as unusable and execute shutdown; (b2) shutdown state; (b3) cut off the switch, that is, among the switches that establish the electrical connection between the power module and the first DC bus, the one closest to the power module is turned off; (b4) clear the group, that is, release the binding relationship between the cut-out power module and the first DC bus; (b5) exit completion notification.

[0092] By deleting the module information of the power module that has been switched out from the cache array, allocation management of the power modules can be achieved.

[0093] In the technical solution shown in FIG3 , after obtaining the charging demand of the charging terminal connected to the DC bus, the power modules are switched on or off based on the charging demand of the charging terminal, the power module availability, and the distance between the power modules and the directly connected power modules. This enables dynamic power allocation, ensuring that the output power of the charging terminal meets the charging demand. The power modules in the charging device are connected to form a power module topology. Adjacent power modules are connected using switching switches. The distance between the power modules and the directly connected power modules is measured by the number of switching switches connected between the power modules. The power module closest to the directly connected power module is allocated to the charging terminal. In essence, the power module is allocated to the charging terminal based on the level of the power module topology. This is applicable to power module topologies formed by various connection methods and has strong applicability.

[0094] Optionally, if module information of a directly connected power module exists in the cache array and the directly connected power module is not connected to any DC bus in the charging device, or module information of a faulty power module exists in the cache array, the third power module is switched out.

[0095] Among them, the module information of the third power module is stored in the cache array, and the third power module is a power module connected to the unavailable power module and is the farthest away from the unavailable power module. The unavailable power module is a direct-connected power module whose module information exists in the cache array and is not put into any DC bus or the aforementioned faulty power module. The faulty power module is a power module that cannot provide electrical energy due to a fault.

[0096] Specifically, all power modules connected to the lower layer of the unavailable power module can be obtained, and module information of each of the power modules among all the power modules can be determined to be present in the cache array. The power module whose module information is present in the cache array and is farthest from the unavailable power module can be determined as the third power module, and a switching-out operation can be performed on the third power module. The specific steps of the switching-out operation can be referred to in the aforementioned steps (b1) to (b5).

[0097] If the cache array contains information about a directly connected power module and the power module is not deployed to the charging device, it indicates that there is a problem with the deployment of the directly connected power module. By preferentially switching out the deployed power module that is farthest from the unavailable power module, reliable management of the power modules can be achieved, avoiding ineffective deployment of power modules.

[0098] Optionally, after putting a power module into the first DC bus, or cutting out a power module that has been put into the first DC bus, the charging terminal connected to the second DC bus can be used as the target charging terminal, and the technical solution shown in the above step 3 can be executed to realize power allocation to other charging terminals.

[0099] By allocating or cutting out only one power module to a charging terminal each time, it can be ensured that the charging needs of each charging terminal can be met, and reliable and effective management of the power modules can be achieved.

[0100] When a charging device has multiple DC buses, dynamic allocation and management of the multiple power modules can be achieved by polling the DC buses and switching power modules in the charging device according to the previously described scheme. This ensures that each DC bus is assigned a suitable and reliable power module. The following describes the process of polling the DC buses and switching power modules. Assume that the number of DC buses is N.

[0101] Referring to FIG. 4 , FIG. 4 is a flow chart of another power distribution method provided in an embodiment of the present application. The method can be applied to the aforementioned charging device 101. As shown in FIG. 4 , the method includes the following steps:

[0102] S301, set i to 1.

[0103] S302, determine whether i is greater than N.

[0104] If i is greater than N, it means that all DC buses have been traversed and polled, and the next traversal and polling is performed to execute step S301; if i is less than or equal to N, it means that all DC buses have not been traversed and polled, and step S303 is performed.

[0105] S303: Obtain the required power P1 of the i-th DC bus.

[0106] The required power P1 of the i-th DC bus is determined based on the charging rated power of the electrical equipment connected to the i-th charging terminal, and the i-th charging terminal refers to the charging terminal connected to the i-th DC bus.

[0107] S304 , calculating the first power P2 still required for the i-th DC bus and the second power P3 already supplied to the i-th DC bus.

[0108] The second power P3 supplied to the i-th DC bus is equal to the total rated power of the power modules supplied to the i-th DC bus; and the first power P2 is equal to the required power P1 minus the second power P3.

[0109] S305: Determine whether the i-th direct-connected power module needs to be put into operation.

[0110] The i-th directly connected power module refers to a power module directly connected to the i-th DC bus.

[0111] Specifically, it can be determined whether the first power P2 is greater than 0. If the first power P2 is greater than 0, it is determined that the i-th direct-connected power module needs to be put into use, and step S308 is executed; otherwise, it is determined that the i-th direct-connected power module does not need to be put into use, and step S306 is executed.

[0112] S306: Determine whether the i-th direct-connected power module has been put into operation.

[0113] Specifically, it is possible to query whether there is module information of the i-th direct-connected power module in the cache array. If there is module information of the i-th direct-connected power module in the cache array, it is determined that the i-th direct-connected power module has been put into operation, and step S307 is executed; if there is no module information of the i-th direct-connected power module in the cache array, it is determined that the i-th direct-connected power module has not been put into operation, i is added by 1, and the demand judgment of the next DC bus is performed, and step S302 is executed.

[0114] S307 , determining whether the i-th direct-connected power module has been put into use on other DC buses.

[0115] The other DC busbars refer to DC busbars other than the i-th DC busbar, that is, DC busbars that are not the i-th DC busbar.

[0116] Specifically, it can be determined whether it is put into other DC buses based on the grouping relationship set when the i-th direct-connected power module is put into use. If it has been put into other DC buses, i is increased by 1, and the demand for the next DC bus is determined, and step S302 is executed; if it has not been put into other DC buses, step S323 is executed.

[0117] S308: Determine whether the i-th direct-connected power module has been put into operation.

[0118] The judgment principle can be referred to the aforementioned step S306. If the i-th direct-connected power module has been put into operation, step S310 is executed; if the i-th direct-connected power module has not been put into operation, step S309 is executed.

[0119] S309 , taking the i-th directly connected power module as the power module to be put into operation, and executing step S319 .

[0120] S310 , determining whether the i-th direct-connected power module has been connected to other DC buses.

[0121] The judgment principle can be referred to the aforementioned step S307. If it has been put into other DC buses, step S311 is executed; if it has not been put into other DC buses, step S312 is executed.

[0122] S311: Mark the i-th direct-connected power module as disabled for other DC buses.

[0123] The other DC bus here refers to the DC bus connected to the i-th direct-connected power module.

[0124] i is incremented by 1, the next DC bus demand determination is performed, and the process returns to step S302 .

[0125] S312: Determine whether there is an unavailable power module in the cache array.

[0126] Specifically, it can be determined whether there is module information of the i-th directly connected power module or module information of a faulty power module in the cache array. If there is module information of the i-th directly connected power module or module information of a faulty power module in the cache array, it is determined that there is an unavailable power module in the cache array, and step S313 is executed; otherwise, it is determined that there is no unavailable power module in the cache array, and step S314 is executed.

[0127] S313: Find the bottom-level power module under the unavailable power modules from the cache array as the power module to be deployed.

[0128] The bottom-most power module under the unavailable power module refers to a power module that has established an electrical connection with the unavailable power module and is farthest from the unavailable power module.

[0129] S314: Determine whether it is necessary to add a power module to the i-th DC bus.

[0130] Specifically, if the second power P3 already supplied to the i-th DC bus is less than the required power P1, it is determined that it needs to be increased, and step S315 is executed; if the second power P3 already supplied to the i-th DC bus is greater than the required power P1, it does not need to be increased, and step S322 is executed.

[0131] S315 , collecting module information of the j-th layer power module corresponding to the i-th DC bus.

[0132] The initial value of j is 1.

[0133] S316 , determining whether there is an available power module in the j-th layer of power modules corresponding to the i-th DC bus.

[0134] Specifically, it can be determined whether the module information of the j-th layer power module corresponding to the i-th DC bus is in the cache array. If the module information of the j-th layer power module corresponding to any i-th DC bus is not in the cache array, it is determined that there is an available power module in the j-th layer power module corresponding to the i-th DC bus, and the power module can be put into use, and step S318 is executed; otherwise, it is determined that there is no available power module in the j-th layer power module corresponding to the i-th DC bus, and it is necessary to search for the power module in the next layer, and step S317 is executed.

[0135] S317 , determining whether there is a power module already connected to the i th DC bus in the j th layer of power modules corresponding to the i th DC bus.

[0136] If there is no power module in the j-th layer of power modules that has been put into use on the i-th DC bus, it means that an electrical connection cannot be established between the power module in the next layer and the directly connected power module. i is increased by 1, the demand for the next DC bus is judged, and the process returns to execute S302; if there is a power module in the j-th layer of power modules that has been put into use on the i-th DC bus, the power module can be searched for in the next layer. j is increased by 1, and the process returns to execute step S315.

[0137] S318 : Select an available power module from the power modules of the jth layer corresponding to the i-th DC bus as the power module to be put into use.

[0138] S319, performing a startup operation on the power module to be started.

[0139] S320, determining whether the input is successful.

[0140] If the input is successful, execute step S321; if the input is unsuccessful, execute step S302.

[0141] S321, storing the module information of the successfully put-into-use power module into a cache array.

[0142] Add 1 to i, determine the demand for the next DC bus, and execute step S302.

[0143] S322, determining whether it is necessary to reduce the power modules allocated to the i-th DC bus.

[0144] Specifically, if the second power P3 already supplied to the i-th DC bus is less than the required power P1, it is determined that no reduction is required, i is increased by 1, the demand judgment of the next DC bus is performed, and step S302 is executed; if the second power P3 already supplied to the i-th DC bus is greater than the required power P1, it is determined that a reduction is required, and step S323 is executed.

[0145] S323 , finding the bottom-level power module under the i-th directly connected power module from the cache modules as the power module to be deployed.

[0146] The bottom-most power module under the i-th directly-connected power module refers to a power module that has established an electrical connection with the i-th directly-connected power module and is farthest from the i-th directly-connected power module.

[0147] S324, performing an operation on the power module to be deployed.

[0148] S325, determine whether the throw is successful.

[0149] If the throw is successful, execute step S326; if the throw is unsuccessful, execute step S302.

[0150] S326, deleting the module information of the successfully deployed power module from the cache array.

[0151] Increment i by 1, determine the demand for the next DC bus, and return to S302.

[0152] The method of the present application is introduced above, and the device of the present application is introduced below.

[0153] 5 , which is a schematic diagram of the structure of a power distribution device provided in an embodiment of the present application, and applied to a charging device 101 ; the power distribution device 40 includes:

[0154] A demand acquisition module 401 is configured to acquire a charging demand of a target charging terminal, where the target charging terminal is connected to a first DC bus, which is any DC bus in the charging device;

[0155] The allocation module 402 is used to put the first power module onto the first DC bus if the power provided by the power module that has been put into use on the first DC bus does not meet the charging demand, if the direct-connected power module of the first DC bus has been put into use. The direct-connected power module is directly connected to the first DC bus, the first power module is a power module that has not yet been put into use, and the first power module can be connected to the direct-connected power module and is closest to the direct-connected power module. The distance between the power module and the direct-connected power module is measured by the number of switching switches connected between the power module and the direct-connected power module.

[0156] In a possible design, the allocation module 402 is also used to traverse the power module topology layer by layer based on the distances between the multiple power modules and the directly connected power module, starting from the layer of power modules closest to the directly connected power module; and determine the first power module from the power modules that have not yet been put into use obtained through the traversal.

[0157] In one possible design, the power of the first power module is greater than or equal to a first power gap, which is the power gap between the target power required for the charging demand and the power provided by the power module already connected to the first DC bus.

[0158] In a possible design, the absolute value of the difference between the power of the first power module and the first power gap is the smallest.

[0159] In a possible design, the first power module is a power module that is not directly connected to the second DC bus, and the second DC bus is another DC bus in the charging device except the first DC bus.

[0160] In one possible design, the above-mentioned distribution module 402 is also used to: when the power provided by the power module that has been put into the first DC bus does not meet the charging demand, if the direct-connected power module has not yet been put into use, put the direct-connected power module into the first DC bus.

[0161] In one possible design, the above-mentioned allocation module 402 is also used to: when the power provided by the power module that has been put into use on the first DC bus does not meet the charging demand, if the direct-connected power module has been put into use but has not been put into use on the first DC bus, set a disable flag for the direct-connected power module, and the disable flag is used to indicate that the second DC bus is prohibited from being connected to the direct-connected power module, and the second DC bus is a DC bus other than the first DC bus in the charging device.

[0162] In a possible design, the allocation module 402 is further used to: when the charging demand is not met, monitor the second DC bus with the disable flag to cut out the direct-connected power module; and put the direct-connected power module into the first DC bus.

[0163] In one possible design, the allocation module 402 is also used to store the module information of the power module put into the first DC bus into a cache array after a power module is put into the first DC bus. The cache array is used to store the module information of all power modules that have been put into use.

[0164] In one possible design, the above-mentioned distribution module 402 is also used to cut out the second power module when the power provided by the power module that has been put into the first DC bus exceeds the target power required for the charging demand. The second power module is a power module that has been put into the first DC bus.

[0165] In a possible design, the second power module is a power module that is farthest away from the directly connected power module.

[0166] In a possible design, the second power module is a power module directly connected to a second DC bus, and the second DC bus is a DC bus other than the first DC bus in the charging device.

[0167] In one possible design, the power of the second power module is less than or equal to a second power gap, where the second power gap is the power gap between the power provided by the power module already put into the first DC bus and the target power required for the charging demand.

[0168] In a possible design, the absolute value of the difference between the power of the second power module and the second power gap is the smallest.

[0169] In one possible design, the allocation module 402 is also used to delete the module information of a power module that has been put into operation on the first DC bus after the power module has been cut out in the cache array, and the cache array is used to store the module information of all power modules that have been put into operation.

[0170] In a possible design, the allocation module 402 is further used to: if the module information of the directly connected power module exists in the cache array and the directly connected power module is not put into any DC bus in the charging device, or if the module information of the faulty power module exists in the cache array, cut out the third power module, the cache array is used to store the module information of all power modules that have been put into use, the module information of the third power module is stored in the cache array, and the third power module is a power module connected to the unavailable power module and is the farthest away from the unavailable power module, and the unavailable power module is the directly connected power module or the faulty power module.

[0171] In one possible design, the first DC bus is the i-th DC bus in the charging device, where i is a positive integer; the above-mentioned demand acquisition module 401 is also used to obtain the charging demand of the charging terminal connected to the (i+1)-th DC bus after a power module is put into the i-th DC bus or a power module that has been put into the i-th DC bus is cut off, where i is greater than or equal to 1 and i is less than or equal to (N-1), and N is the total number of DC buses in the charging device.

[0172] It should be noted that for the contents not mentioned in the embodiment corresponding to FIG5 , reference can be made to the description of the aforementioned method embodiment, which will not be repeated here.

[0173] After obtaining the charging requirements of the charging terminal connected to the DC bus, the above-mentioned device switches the power module on or off based on the charging requirements of the charging terminal, the power module status, and the distance between the power module and the directly connected power module. This can achieve dynamic power allocation so that the output power of the charging terminal can meet the charging requirements. The power modules in the charging device are connected to form a power module topology. Two adjacent power modules are connected using switching switches. The distance between the power module and the directly connected power module is measured by the number of switching switches connected between the power module and the directly connected power module. The power module closest to the directly connected power module is allocated to the charging terminal for use. In essence, the power module is allocated to the charging terminal according to the level of the topological structure formed by the power modules. This not only ensures that the output power of the charging terminal can meet the charging requirements, but also is applicable to power module topologies formed by various connection methods, and has strong applicability.

[0174] Referring to Figure 6, Figure 6 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device may be the aforementioned charging device 101. The computer device 50 includes a processor 501, a memory 502, and a charging terminal 503. The memory 502 is connected to the processor 501, for example, via a bus; the charging terminal 503 is connected to the processor 501, for example, via a DC bus.

[0175] The processor 501 is configured to support the computer device 50 in executing the corresponding functions of the method in the above method embodiment. The processor 501 can be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0176] Memory 502 is used to store program code, etc. Memory 502 may include volatile memory (VM), such as random access memory (RAM); non-volatile memory (NVM), such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the aforementioned types of memory.

[0177] The charging terminal 503 is used to obtain charging requirements.

[0178] The processor 501 may call the program code to perform the following operations:

[0179] Obtaining a charging demand of a target charging terminal, where the target charging terminal is connected to a first DC bus, where the first DC bus is any DC bus in a charging device;

[0180] When the power provided by the power module that has been put into operation on the first DC bus does not meet the charging demand, if the direct-connected power module of the first DC bus has been put into operation, the first power module is put into operation on the first DC bus, and the direct-connected power module is directly connected to the first DC bus. The first power module is a power module that has not yet been put into operation, and the first power module can be connected to the direct-connected power module and is closest to the direct-connected power module. The distance between the power module and the direct-connected power module is measured by the number of on-off switches connected between the power module and the direct-connected power module.

[0181] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method as described in the above embodiment.

[0182] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0183] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A power distribution method, characterized in that: Applied to a charging device, the charging device includes a plurality of power modules, the plurality of power modules are connected to form a power module topology, two adjacent power modules are connected using a switching switch, and some or all of the plurality of power modules are connected to a DC bus in the charging device; the method includes: Acquiring a charging demand of a target charging terminal, where the target charging terminal is connected to a first DC bus, where the first DC bus is any DC bus in the charging device; In the case where the power provided by the power module that has been put into operation on the first DC bus does not meet the charging demand, if the direct-connected power module of the first DC bus has been put into operation, the first power module is put into operation on the first DC bus, the direct-connected power module is directly connected to the first DC bus, the first power module is a power module that has not yet been put into operation, and the first power module is connected to the direct-connected power module, and the distance between the first power module and the direct-connected power module is the shortest, and the distance between the multiple power modules and the direct-connected power module is measured by the number of switching switches connected between the multiple power modules and the direct-connected power module.

2. The method according to claim 1, characterized in that Before putting the first power module into the first DC bus, the method further includes: Based on the distances between the multiple power modules and the directly connected power module, starting from a layer of power modules closest to the directly connected power module, traversing the power module topology layer by layer; The first power module is determined from the traversed power modules that have not yet been put into use.

3. The method according to claim 2, characterized in that The power of the first power module is greater than or equal to a first power gap, where the first power gap is a power gap between a target power required by the charging demand and a power provided by the power module already supplied to the first DC bus.

4. The method according to claim 3, characterized in that: The absolute value of the difference between the power of the first power module and the first power gap is the smallest.

5. The method according to claim 1, characterized in that The first power module is a power module that is not directly connected to the second DC bus, and the second DC bus is another DC bus in the charging device except the first DC bus.

6. The method according to claim 1, characterized in that The method further comprises: When the charging demand is not met, if the direct-connected power module has not been put into use, the direct-connected power module is put into use on the first DC bus.

7. The method according to claim 1, characterized in that The method further comprises: When the charging demand is not met, if the direct-connected power module has been put into operation but has not been put into operation on the first DC bus, a disable flag is set for the direct-connected power module, and the disable flag is used to indicate that the second DC bus is prohibited from connecting to the direct-connected power module. The second DC bus is a DC bus in the charging device other than the first DC bus.

8. The method according to claim 7, characterized in that After setting a disable flag for the direct-connected power module, the method further includes: When the charging demand is not met, monitoring the second DC bus with the disable flag to cut out the direct-connected power module; The direct-connect power module is connected to the first DC bus.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: After a power module is put into the first DC bus, the module information of the power module put into the first DC bus is stored in a cache array, and the cache array is used to store the module information of all the power modules that have been put into use.

10. The method according to claim 1, characterized in that The method further comprises: When the power provided by the power module already put into the first DC bus exceeds the target power required by the charging demand, the first DC bus is switched out. The second power module is a power module that has been put into use on the first DC bus.

11. The method according to claim 10, characterized in that The second power module is a power module that is farthest away from the directly connected power module.

12. The method according to claim 11, characterized in that The second power module is a power module directly connected to a second DC bus, and the second DC bus is another DC bus in the charging device except the first DC bus.

13. The method according to claim 11, characterized in that The power of the second power module is less than or equal to the second power gap, where the second power gap is the power gap between the power provided by the power module that has been put into the first DC bus and the target power required by the charging demand.

14. The method according to claim 13, characterized in that The absolute value of the difference between the power of the second power module and the second power gap is the smallest.

15. The method according to any one of claims 10 to 14, characterized in that: The method further comprises: After a power module that has been put into use on the first DC bus is switched out, the module information of the switched out power module is deleted from the cache array, and the cache array is used to store the module information of all the power modules that have been put into use.

16. The method according to claim 1, characterized in that The method further comprises: If the module information of the directly connected power module exists in the cache array and the directly connected power module is not put into any DC bus in the charging device, or the module information of a faulty power module exists in the cache array, the third power module is cut out. The cache array is used to store the module information of all power modules that have been put into use. The module information of the third power module is stored in the cache array, and the third power module is a power module that is connected to the unavailable power module and is the farthest away from the unavailable power module. The unavailable power module is the directly connected power module or the faulty power module.

17. The method according to claim 1 or 10, characterized in that: The first DC bus is the i-th DC bus in the charging device, where i is a positive integer; The method further comprises: After a power module is put into the i-th DC bus or a power module that has been put into the i-th DC bus is cut off, the charging demand of the charging terminal connected to the (i+1)th DC bus is obtained, where i is greater than or equal to 1 and i is less than or equal to (N-1), and N is the total number of DC buses in the charging device.

18. A power distribution device, characterized in that: Applied to a charging device, the charging device includes a plurality of power modules, the plurality of power modules are connected to form a power module topology, two adjacent power modules are connected using a switching switch, and some or all of the plurality of power modules are connected to a DC bus in the charging device; the device includes: A demand acquisition module, used to acquire a charging demand of a target charging terminal, wherein the target charging terminal is connected to a first DC bus, and the first DC bus is any DC bus in the charging device; A distribution module is used for, when the power provided by the power module that has been put into use on the first DC bus does not meet the charging demand, if the direct-connected power module of the first DC bus has been put into use, putting the first power module into use on the first DC bus, the direct-connected power module is directly connected to the first DC bus, the first power module is a power module that has not been put into use, and the first power module is connected to the direct-connected power module, and the distance between the first power module and the direct-connected power module is the shortest, and the distance between the multiple power modules and the direct-connected power module is measured by the number of switching switches connected between the multiple power modules and the direct-connected power module.

19. A computer device, characterized in that: The method comprises a memory, a processor and a charging terminal, wherein the memory and the charging terminal are connected to the processor, and the processor is used to execute one or more computer programs stored in the memory. When the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1 to 17.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 17.

21. A charging device, characterized in that: It includes multiple power modules, which are connected to form a power module topology, and two adjacent power modules are connected using a switching switch. Some or all of the multiple power modules are connected to a DC bus in the charging device, and the charging device is used to execute the method described in any one of claims 1 to 17.

Citation Information

Patent Citations

  • Matrix-type flexible charging pile and charging method capable of dynamically allocating power

    CN106033904A

  • Matrix network type charger system

    CN110103746A

  • Energy-saving method and system for charger and storage medium

    CN112737011A

  • Power distribution method and device, equipment and storage medium

    CN116001629A

  • Matrix network fills motor system

    CN207984589U

Cited By

  • Charging pile system and power scheduling method and apparatus therefor, and computer device

    WO2026051205A1