Power allocation method and apparatus, device, and storage medium
By dynamically allocating power modules in the charging equipment and managing them with switching switches and disable flags, the problem of low charging efficiency is solved, and efficient power allocation and enhanced applicability of the charging terminal are achieved.
Patent Information
- Application Number
- CN202310190024.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-02-22
AI Technical Summary
How to dynamically allocate the power of the charging gun to improve charging efficiency and meet the rated power requirements of different electric vehicles.
By acquiring the charging needs of the charging terminals, the power modules are dynamically allocated to meet the charging needs using the switching switches in the power module topology. The power modules are managed by traversing layer by layer and using disable flags, and the modules with the closest distance or the smallest gap are selected for allocation first.
It achieves that the output power of the charging terminal meets the charging requirements, improves charging efficiency, and is applicable to power module topologies with various connection methods, thus enhancing applicability.
Smart Images

Figure CN116001629B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of charging, in particular to a power distribution method and device, equipment and storage medium. BACKGROUND
[0002] New energy vehicles refer to vehicles using unconventional vehicle fuels as power sources. New energy vehicles using electric energy as power sources are called electric vehicles. Charging machines are a kind of charging equipment produced to meet the charging needs of electric vehicles.
[0003] The function of the charging machine is similar to that of the refueling machine in the gas station. It is installed in public buildings, residential parking lots or charging stations, and can charge various types of electric vehicles. The input end of the charging machine is directly connected to the AC power grid, and the output end is installed with a charging gun for charging electric vehicles. The charging machine installed with multiple charging guns can simultaneously charge multiple electric vehicles. Different electric vehicles have different rated powers, and the charging machine adjusts the output power of the charging gun according to the rated power of the electric vehicle, which can improve the charging efficiency. In order to improve the charging efficiency, how to dynamically allocate the power to the charging gun has become a problem to be solved. SUMMARY
[0004] The present application provides a power distribution method, device, equipment and storage medium to solve the technical problem of dynamic power distribution of the charging gun.
[0005] In a first aspect, a power distribution method is provided, applied to a charging device, the charging device comprising a plurality of power modules, the plurality of power modules being connected to form a power module topology, two adjacent power modules being connected using a switching switch, the distance between any two power modules in the plurality of power modules being equal to the number of switching switches between the any two power modules, and part or all of the plurality of power modules being connected to a DC bus in the charging device; the method comprises:
[0006] Obtaining the charging demand of a target charging terminal, the target charging terminal being connected to a first DC bus, and the first DC bus being any DC bus in the charging device;
[0007] In a case where the power provided by the power modules already connected to the first DC bus fails to meet the charging demand, if the directly connected power module connected to the first DC bus has been connected, a first power module is connected to the first DC bus, the directly connected power module is directly connected to the first DC bus, the first power module is a power module that has not been connected, and the first power module is closest to the directly connected power module, and the closeness of the plurality of power modules to the directly connected power module is measured by the number of switching switches connected between the plurality of power modules and the directly connected power module.
[0008] In the technical solution, after obtaining the charging demand of the charging terminal connected to the DC bus, in a case where the power provided by the power modules already connected to the DC bus fails to meet the charging demand of the charging terminal connected to the DC bus, if the directly connected power module connected to the DC bus has been connected, the power module closest to the directly connected power module is connected to the DC bus, so as to allocate the power modules to the charging terminal connected to the DC bus, and realize dynamic allocation of power, so that the output power of the charging terminal can meet the charging demand; the power modules in the charging device form a power module topology, two adjacent power modules are connected by switching switches, and the closeness of the power modules to the directly connected power module is measured by the number of switching switches connected between the power modules and the directly connected power module. The power module closest to the directly connected power module is allocated to the charging terminal, which is essentially allocating the power modules to the charging terminal according to the hierarchy of the topology formed by the power modules. This can not only make the output power of the charging terminal meet the charging demand, but also be applicable to various power module topologies formed by various connection modes, and has strong applicability.
[0009] In combination with the first aspect, in a possible implementation manner, before the first power module is connected to the first DC bus, the method further includes: starting from a layer of power modules closest to the directly connected power module, performing layer-by-layer traversal on the power module topology based on the closeness of the plurality of power modules to the directly connected power module; and determining the first power module from the power modules that have not been connected in the traversal. The power modules are allocated to the charging terminal in a layer-by-layer traversal manner, which can improve the allocation efficiency.
[0010] With reference to the first aspect, in a possible implementation manner, the power of the first power module is greater than or equal to a first power gap, and the first power gap is a power gap between a target power required by the charging demand and power provided by the power module that has been put into the first DC bus. By preferentially selecting the power module that is assigned power greater than the power gap between the demand power and the power that has been put in, the assigned power can be quickly brought into conformity with the charging demand of the charging terminal.
[0011] With reference to the first aspect, in a possible implementation manner, a difference between the power of the first power module and the first power gap has a minimum absolute value. By assigning the power module that has a minimum absolute value of the difference between the power and the power gap between the demand power and the power that has been put in, reasonable assignment can be achieved.
[0012] With reference to the first aspect, in a possible implementation manner, the first power module is a power module that is not 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. By preferentially assigning the power module that is not connected to the other DC bus to the charging terminal, the directly connected power module that is connected to the other DC bus can be used as soon as possible by the charging terminal connected to the other DC bus.
[0013] With reference to the first aspect, in a possible implementation manner, in a case where the power provided by the power module that has been put into the first DC bus does not meet the charging demand, if the directly connected power module has not been put in, the directly connected power module is put into the first DC bus. By preferentially assigning the directly connected power module that is connected to the DC bus to the charging terminal, the assignment efficiency can be improved.
[0014] With reference to the first aspect, in a possible implementation manner, the method further includes: in a case where the power provided by the power module that has been put into the first DC bus does not meet the charging demand, if the directly connected power module has been put in but is not put into the first DC bus, setting a disable identifier for the directly connected power module, and the disable identifier is used to indicate that the second DC bus is prohibited from connecting the directly connected power module, and the second DC bus is a DC bus other than the first DC bus in the charging device. By setting the disable identifier for the directly connected power module, it can be ensured that the directly connected power module can be preferentially assigned to the charging terminal connected to the DC bus corresponding to the directly connected power module in the future.
[0015] With reference to the first aspect, in a possible implementation manner, after the disabling identifier is set for the direct connection power module, the method further includes: monitoring the second DC bus with the disabling identifier to cut out the direct connection power module in a case where the charging demand is not met; and putting the direct connection power module into the first DC bus.
[0016] With reference to the first aspect, in a possible implementation manner, the method further includes: after the power module is put into the first DC bus, storing module information of the power module put into the first DC bus into a cache array, the cache array being used to store module information of all power modules that have been put in. The module information of the power modules that have been put in is stored by using the cache array, so that the allocation management of the power modules can be implemented.
[0017] With reference to the first aspect, in a possible implementation manner, the method further includes: in a case where power provided by the power module that has been put into the first DC bus exceeds target power required by the charging demand, cutting out a second power module, the second power module being one of the power modules that have been put into the first DC bus. In a case where power provided by the power module that has been put into the DC bus exceeds the charging demand of the charging terminal connected to the DC bus, the reliable management of the power modules can be implemented by cutting out the power module that has been put into the charging terminal.
[0018] With reference to the first aspect, in a possible implementation manner, the second power module is the power module farthest from the direct connection power module. By preferentially cutting out the power module farthest from the direct connection power module, the reasonable management of the power modules can be implemented.
[0019] With reference to the first aspect, in a possible implementation manner, the second power module is the power module directly connected to a second DC bus, the second DC bus being a DC bus other than the first DC bus in the charging device. By preferentially cutting out the other direct connection power module, it can be ensured that each direct connection power module is preferentially allocated to the charging terminal connected to the DC bus corresponding to the direct connection power module, so that the direct connection power module connected to the DC bus can be used by the charging terminal connected to the DC bus as soon as possible.
[0020] With reference to the first aspect, in a possible implementation manner, power of the second power module is less than or equal to a second power gap, the second power gap being a power gap between power provided by the power module that has been put into the first DC bus and the target power required by the charging demand.
[0021] With reference to the first aspect, in a possible implementation manner, the power of the second power module is the minimum absolute value of the difference between the power and the power gap. By cutting out the power module with the minimum absolute value of the difference between the power and the power gap, reasonable distribution can be achieved.
[0022] With reference to the first aspect, in a possible implementation manner, the method further includes: after cutting out one power module that has been put into the first DC bus, deleting the module information of the cut-out power module in a cache array, the cache array being used to store the module information of all the power modules that have been put in. By deleting the module information of the cut-out power module in the cache array, distribution management of the power modules can be achieved.
[0023] With reference to the first aspect, in a possible implementation manner, 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 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, cutting out a third power module, the module information of the third power module being stored in the cache array, and the third power module being the one farthest from the unavailable power module, the unavailable power module being the directly-connected power module or the faulty power module. By preferentially cutting out the power module farthest from the unavailable power module that has been put in, reliable management of the power modules can be achieved, and invalid putting of the power modules can be avoided.
[0024] With reference to the first aspect, in a possible implementation manner, the first DC bus is an i-th DC bus in the charging device, i being a positive integer; and the method further includes: after putting one power module into the i-th DC bus or cutting out one power module that has been put into the i-th DC bus, acquiring the charging demand of a charging terminal connected to an (i+1)-th DC bus, where i is greater than or equal to 1 and less than or equal to (N-1), and N is the total number of DC buses in the charging device. By putting or cutting out one power module each time, the charging demands of all the charging terminals can be ensured to be met.
[0025] In a second aspect, a power distribution device is provided for use in a charging device. The charging device includes a plurality of power modules connected to form a power module topology. Two adjacent power modules are connected using a switching switch. The distance between any two power modules in the plurality of power modules is equal to the number of switching switches between the two power modules. Some or all of the plurality of power modules are connected to a DC bus in the charging device. The device includes:
[0026] a demand obtaining module configured to obtain a charging demand of a target charging terminal connected to a first DC bus, the first DC bus being any DC bus in the charging device;
[0027] a distribution module configured to, if the power provided by the power modules already connected to the first DC bus does not meet the charging demand, connect a first power module to the first DC bus if a direct connection power module connected to the first DC bus has been connected, the first power module being a power module not yet connected, the first power module being connected to the direct connection power module, and the first power module being closest to the direct connection power module, the distance between a power module and the direct connection power module being measured by the number of switching switches connected between the power module and the direct connection power module.
[0028] In a third aspect, a computer device is provided. The computer device includes a memory, a charging terminal, and one or more processors. The memory and the charging terminal are connected to the one or more processors. The one or more processors are configured 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 distribution method of the first aspect.
[0029] In a fourth aspect, a computer readable storage medium is provided. The computer readable storage medium stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the power distribution method of the first aspect.
[0030] In a fifth aspect, a charging device is provided. The charging device includes a plurality of power modules connected to form a power module topology. Two adjacent power modules are connected using a switching switch. The distance between any two power modules in the plurality of power modules is equal to the number of switching switches between the two power modules. Some or all of the plurality of power modules are connected to a DC bus in the charging device. The charging device is configured to execute the power distribution method of the first aspect.
[0031] The application can achieve the following technical effects: dynamic allocation of power is realized, 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, two adjacent power modules are connected using a switching switch, 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, in essence, the power module is allocated to the charging terminal according to the topology formed by the power module, so that the output power of the charging terminal can meet the charging demand, and the power module topology formed by various connection modes is applicable, and the applicability is strong. BRIEF DESCRIPTION OF DRAWINGS
[0032] Figure 1 A charging system connection schematic diagram provided by the embodiment of the application;
[0033] Figure 2 A connection schematic diagram of the power module in the charging device provided by the application;
[0034] Figure 3 A flowchart of a power allocation method provided by the embodiment of the application;
[0035] Figure 4 A flowchart of another power allocation method provided by the embodiment of the application;
[0036] Figure 5 A structure schematic diagram of a power allocation device provided by the embodiment of the application;
[0037] Figure 6 A structure schematic diagram of a computer device provided by the embodiment of the application. DETAILED DESCRIPTION
[0038] The technical solutions in the embodiments of the application will be described below with reference to the drawings in the embodiments of the application.
[0039] The technical solutions of the application can be applied to a charging scene, and specifically applied to a scene in which a multi-gun charger charges one or more electric vehicles. The multi-gun charger refers to a charger with multiple charging guns, the charging gun refers to a charging mechanism that can be directly connected to the charging interface of the electric vehicle to charge the electric vehicle, the charging gun is connected to the DC bus in the charger, and the DC bus refers to the position connected to the charging gun.
[0040] Firstly, refer to Figure 1 , Figure 1 A charging system connection schematic diagram provided by the embodiment of the application, such as Figure 1As shown, the charging system 10 comprises a charging device 101 and one or more electric devices 102, wherein the charging device 101 is configured to charge the electric devices 102, and the electric devices 102 are provided with battery systems for storing the electric energy charged by the charging device 101.
[0041] The charging device 101 can comprise a plurality of charging terminals, and each charging terminal can be configured to connect with a charging interface of an electric device 102 to charge the electric device 102. The charging device 101 further comprises a plurality of power modules, which can be understood as charging modules in the charging device 101. The power modules can be connected to the charging terminals through switching switches to provide the electric devices 102 with the required electric energy. The charging device 101 can be a multi-gun charger or a multi-gun charging pile, and the charging terminals can be charging guns in the multi-gun charger. The electric devices 102 can be electric vehicles.
[0042] During the charging process of the electric devices by the charging terminals, the charging demand of the charging terminals is determined based on the charging rated power of the electric devices. In order to meet the charging rated power of the electric devices, the power modules matching the charging demand of the charging terminals need to be allocated to the charging terminals for use, so that the output power of the charging terminals matches the charging rated power of the electric devices, thereby improving the charging efficiency. When the charging device simultaneously charges a plurality of electric devices through a plurality of charging terminals, the charging rated powers of the plurality of electric devices are different. In order to simultaneously meet the charging demands of the plurality of electric devices, the power modules matching the charging demands of the charging terminals need to be respectively allocated to the charging terminals for use according to the charging demands of the charging terminals, so that the output powers of the charging terminals match the charging rated powers of the electric devices.
[0043] Therefore, the present application provides a power allocation method, which can meet the charging demands of one or more electric terminals in a charging device. The technical solution of the present application can be applied to Figure 1 the charging device 101 as shown.
[0044] For the convenience of understanding, the relevant structures of the charging device of the present application will be introduced first. Referring to Figure 2 , Figure 2 the connection diagram of the power modules in the charging device provided by the present application, as shown in Figure 2As shown, the charging device 101 includes a plurality of power modules, and the plurality of 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 topology node in the power module topology is a power module. Two adjacent power modules are connected by using a switching switch. The switching switch is abstracted as a connection line in the power module topology, that is, a connection line in the power module topology is a switching switch. The switching switch is a control relay, which can also be referred to as a high-voltage direct-current contactor. Turning on the switching switch can establish electrical connection between the two adjacent power modules at both ends of the connection line corresponding to the switching switch. Turning off the switching switch can cut off the electrical connection between the two adjacent power modules at both ends of the connection line corresponding to the switching switch.
[0045] The connection between each power module in the power module topology can be direct connection or indirect connection. The direct connection between the power modules means that the two power modules are connected only by the switching switch without 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 in between the two directly connected power modules is 0. For example, Figure 2 The power module M1 and the power module M2 in FIG. 1 are two directly connected power modules. The indirect connection between the 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 in between the two indirectly connected power modules is greater than or equal to 1. For example, Figure 2 The power module M1 and the power module M3 in FIG. 1 are indirectly connected through the power module M2 in between, and the power module M1 and the power module M3 are two indirectly connected power modules.
[0046] The charging device further includes a direct-current bus and a charging terminal. The charging device can have one or more direct-current buses, and one direct-current bus is connected to one charging terminal. One direct-current bus can be directly connected to one power module, and the power module directly connected to the direct-current bus is referred to as a directly connected power module. The direct connection between the power module and the direct-current bus means that the power module is connected to the direct-current bus and the number of switching switches between the power module and the direct-current bus is 0. For example, Figure 2 The power module M1 in FIG. 1 is directly connected to the direct-current bus 1, and the power module M1 is a directly connected power module. Any power module in the power module topology can be a directly connected power module and be directly connected to the direct-current bus. The specific position of the direct-current bus can be set based on actual needs.
[0047] The power module topology can be any network topology. The power module topology can be regarded as a multi-layer network topology, wherein the concept of layers is defined with the DC bus as the reference benchmark. The farther the power module is from the DC bus, the larger the corresponding layer number is. The layer number of the power module can be determined by the number of power modules spaced from the DC bus. The layer number of the power module is equal to the distance between the power module and the directly connected power module of the DC bus plus 1. The distance between two power modules is measured by the number of switching switches between the two power modules. Taking the DC bus 1 in Figure 2 as the reference benchmark, the power module M1 is the directly connected power module of the DC bus 1. There is no switching switch between the power module M1 and the power module M1, so the distance between the power module M1 and the power module M1 is 0. The layer number of the power module M1 is 1 when the DC bus 1 is taken as the reference benchmark. There is one switching switch between the power module M2 and the power module M1, so the distance between the power module M2 and the power module M1 is 1. The layer number of the power module M2 is 2 when the DC bus 1 is taken as the reference benchmark. There are two switching switches between the power module M3 and the power module M1, so the distance between the power module M3 and the power module M1 is 2. The layer number of the power module M3 is 3 when the DC bus 1 is taken as the reference benchmark. It should be understood that in the power module topology, the layer number of each power module is different when the DC bus serving as the reference benchmark is different. For example, if the DC bus 2 in Figure 2 is taken as the reference benchmark, the layer number of the power module M2 is 1 when the DC bus 2 is taken as the reference benchmark.
[0048] Based on the charging device introduced in the foregoing Figure 2 , the technical scheme of the present application can be implemented, which will be specifically introduced below.
[0049] Referring to Figure 3 , Figure 3 , a flowchart of a power distribution method provided by an embodiment of the present application is shown. The method can be applied to the charging device 101 described above, as shown in Figure 3 , the method comprises the following steps:
[0050] S201, obtaining the charging demand of a target charging terminal.
[0051] The target charging terminal is connected with the first DC bus, and the first DC bus is any DC bus in the charging device. The related meanings of the charging terminal and the DC bus can be referred to the foregoing description, which will not be described here.
[0052] Specifically, the charging demand of the target charging terminal can be obtained by receiving, by the target charging terminal, demand information of the power consumption device connected to the target charging terminal. The demand information of the power consumption device can include a charging rated power (hereinafter referred to as a target power) required for charging of the power consumption device, that is, the charging demand of the target charging terminal includes the target power.
[0053] S202, in a case where the power provided by the power modules already put into the first DC bus does not meet the charging demand of the target charging terminal, if the direct-connection power module of the first DC bus has been put into, the first power module is put into the first DC bus.
[0054] The power modules already put into the first DC bus refer to the power modules already allocated for use by the target charging terminal. The power provided by the power modules already put into the first DC bus is equal to the sum of the rated powers (hereinafter referred to as the total rated power) of the power modules already allocated for use by the target charging terminal, that is, the maximum power currently outputtable by the target charging terminal.
[0055] The direct-connection power module of the first DC bus refers to the power module connected to the first DC bus. In the case of the first DC bus in Figure 2 The direct-connection power module of the first DC bus refers to the power module connected to the first DC bus. In the case of the first DC bus in Figure 2 The direct-connection power module of the first DC bus refers to the power module connected to the first DC bus. In the case of the first DC bus in
[0056] The first power module is a power module that has not been put into, which means that the first power module has not been allocated for use by any charging terminal. The first power module is connected to the direct-connection power module of the first DC bus and is closest to the direct-connection power module of the first DC bus. The first power module is connected to the direct-connection power module of the first DC bus, which means that the electrical connection between the first power module and the direct-connection power module of the first DC bus can be established by turning on a controllable switching switch.
[0057] Specifically, the total rated power and the target power can be compared to determine whether the power provided by the power modules already put into the first DC bus meets the charging demand of the target charging terminal. If the total rated power is less than the target power, it is determined that the charging demand of the target charging terminal is not met. If the total rated power is equal to the target power, it is determined that the charging demand of the target charging terminal is met. If the total rated power is greater than the target power, it is determined that the charging demand of the target charging terminal is exceeded.
[0058] Further, after determining that the power provided by the power modules already input into the first DC bus does not meet the charging demand of the target charging terminal, it can be determined whether the direct connection power module of the first DC bus has been input. When the direct connection power module of the first DC bus has been input, the power modules in the next layer of the direct connection power module of the first DC bus can be obtained based on the distance between the power modules in the power module topology and the direct connection power module of the first DC bus, and it can be determined whether all the power modules in the next layer have been input. If the power modules in the next layer have not been input, one of the power modules in the next layer that have not been input obtained through the traversal is selected as the first power module. If all the power modules in the next layer have been input, the power modules in the next layer are obtained based on the distance between the power modules in the power module topology and the direct connection power module of the first DC bus, and it is continuously determined whether all the power modules obtained through the traversal have been input and whether they can be connected to the first power module, until the power module topology is traversed completely or a power module that has not been input and can be connected to the direct connection power module of the first DC bus is found as the first power module. The power modules are allocated to the charging terminal through the layer-by-layer traversal manner, which can improve the allocation efficiency.
[0059] The power module closest to the direct connection power module is allocated to the charging terminal for use, which can realize the rapid allocation of the power module.
[0060] In some possible implementation manners, in the process of selecting the power module as the first power module from the power modules obtained through the traversal that have not been input, the power module whose power is greater than or equal to the first power gap can be determined from the power modules obtained through the traversal that have not been input, and one of the power modules whose power is greater than or equal to the first power gap is selected as the first power module. 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, it is assumed that there are three power modules obtained through the traversal that have not been input, which are power module m1, power module m2 and power module m3, the powers provided by the power module m1, the power module m2 and the power module m3 are 4 kW, 6 kW and 8 kW respectively, the sum of the rated powers already input into the first DC bus is 4 kW, and the target power corresponding to the charging demand is 9 kW. The first power gap is 5 kW. Since 6 kW and 8 kW are greater than 5 kW, one of the power module m2 and the power module m3 is selected as the first power module. By preferentially selecting the power module whose power is greater than the power gap between the demand power and the power already input, the allocated power can quickly meet the charging demand of the charging terminal.
[0061] Further, the power module with the minimum absolute value of the difference between the power and the first power gap can be selected as the first power module from the power modules with the power greater than or equal to the first power gap, i.e., the first power module has the minimum absolute value of the difference between the 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, the power module m2 is selected as the first power module. The power module with the minimum absolute value of the difference between the power and the demand power and the power already allocated can be allocated to achieve reasonable allocation of the power modules.
[0062] In some possible cases, the first power module can be a power module not directly connected to the second DC bus.
[0063] The second DC bus is a DC bus other than the first DC bus. Taking the DC bus 1 in the first DC bus as an example, the second DC bus can be the DC bus 2 and the DC bus 3. Figure 2 Figure 2 The second DC bus is a DC bus other than the first DC bus. Taking the DC bus 1 in the first DC bus as an example, the second DC bus can be the DC bus 2 and the DC bus 3.
[0064] Specifically, in the process of determining the first power module, if there are multiple power modules in the next layer obtained by traversal and none of them has been allocated, a power module can be selected as the first power module from the ordinary power modules in the multiple power modules in the next layer, i.e., the first power module is determined from the power modules that are not directly connected power modules.
[0065] By preferentially allocating the power module not connected to other DC buses to the charging terminal, the directly connected power module connected to other DC buses can be allocated to the charging terminal connected to other DC buses as soon as possible.
[0066] Optionally, after it is determined that the charging demand of the target charging terminal is not met, if the directly connected power module of the first DC bus has not been allocated, the directly connected power module of the first DC bus can be allocated to the first DC bus.
[0067] By preferentially allocating the directly connected power module connected to the DC bus to the charging terminal, the allocation efficiency of the power module can be improved.
[0068] Optionally, after it is determined that the charging demand of the target charging terminal is not met, if the directly connected power module of the first DC bus has been allocated, but not allocated to the first DC bus, a disable identifier is set for the directly connected power module of the first DC bus.
[0069] The disable identifier is used to indicate that the second DC bus is prohibited from connecting the directly-connected power module of the first DC bus. After the disable identifier is set, the second DC bus occupying the directly-connected power module can be waited to exit the directly-connected power module. The first DC bus is taken as an example Figure 2 The DC bus 1 in the foregoing is taken as an example, and it is assumed that Figure 2 The power module M1 in the foregoing has been put into the DC bus 2, and the disable identifier can be set for the power module M1 to prohibit the DC bus 2 from using the power module M1. The disable identifier can be set as {R:Module1, Bus2}, R represents disable, Module1 is the power module M1, and Bus2 is the DC bus 2.
[0070] By setting the disable identifier for the directly-connected power module, it can be ensured that the directly-connected power module can be preferentially allocated to the charging terminal connected to the DC bus corresponding to the directly-connected power module in the subsequent use.
[0071] Optionally, after the disable identifier is set for the directly-connected power module of the first DC bus, if the charging demand of the target charging terminal is not met, the second DC bus with the disable identifier can be monitored to exit the directly-connected power module of the first DC bus, and then the directly-connected power module of the first DC bus is put into the first DC bus. By monitoring the exit of the directly-connected power module by other DC buses and timely putting the directly-connected power module into the directly-connected DC bus, the charging terminal can be quickly charged.
[0072] Optionally, after a power module is put into the first DC bus, the module information of the power module put into the first DC bus can be stored in a cache array.
[0073] The cache array is used to store the module information of all the power modules that have been put in.
[0074] Specifically, the foregoing first power module or the directly-connected power module of the first DC bus can be executed to put in, and it is determined whether the putting in is successful. In the case that the putting in is successful, the module information of the power module put in can be stored in the cache array.
[0075] The power module is put into the first DC bus by the following steps: (a1) determining the power module to be put into the first DC bus; (a2) shutting down; (a3) setting a temporary group; (a4) starting up; (a5) boosting; (a6) switching in, that is, turning on the switching switch capable of establishing the electrical connection between the power module to be put in and the first DC bus; (a7) shutting down; (a8) clearing the temporary group address; (a9) setting a group, the purpose of setting the group is to bind the power module to be put in and the first DC bus through configuration information; and (a10) notifying that the putting in is completed.
[0076] After a power module is put into the DC bus, the module information of the power module that has been put in is saved through the buffer array, so that the distribution management of the power module can be realized.
[0077] S203, in the case that the power provided by the power module that has been put into the first DC bus exceeds the target power required by the charging demand, the second power module is cut off.
[0078] 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 cutting off the power module that has been put into the charging terminal, the reliable management of the power module can be realized.
[0079] In some possible cases, the second power module can be the power module farthest from the directly connected power module of the first DC bus.
[0080] Specifically, each power module that has been put into the first DC bus can be determined, and the distance between each power module and the directly connected power module of the first DC bus can be determined, and the power module with the largest distance is determined as the second power module.
[0081] By preferentially cutting off the power module farthest from the directly connected power module, the reasonable management of the power module can be realized.
[0082] In the case that there are multiple power modules farthest from the directly connected power module of the first DC bus, a power module with power less than or equal to the second power difference can be determined from the power modules farthest from the directly connected power module of the first DC bus, and one power module is selected from the power module with power less than or equal to the second power difference as the second power module, and the second power difference is the difference 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 difference. For example, assuming that there are three power modules farthest from the directly connected power module of the first DC bus, which are power module m4, power module m5 and power module m6, the powers provided by the power module m4, the power module m5 and the power module m6 are 4 kW, 9 kW and 5 kW respectively, the total rated power that has been put into the first DC bus is 18 kW, and the target power corresponding to the charging demand is 13 kW, then the second power difference is 5 kW, and since 4 kW and 5 kW are greater than or equal to 5 kW, one power module is selected from the power module m4 and the power module m6 as the second power module.
[0083] Further, the power module with the minimum absolute value of the difference between the power and the second power gap can be selected from the power modules with the power less than or equal to the second power gap as the second power module, i.e., the second power module is the power module with the minimum absolute value of the difference between the power and the second power gap. Taking the power modules m4 and m6 with the power less than or equal to the second power gap as an example, 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, the power module m6 is preferentially selected as the second power module. By cutting out the power module with the minimum absolute value of the difference between the power and the difference between the demand power and the power already put in, the power modules can be reasonably distributed.
[0084] In some possible cases, the second power module can be a power module directly connected to the second DC bus.
[0085] Specifically, it can be determined whether the power module farthest from the directly connected power module of the first DC bus and already put into 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.
[0086] By preferentially cutting out the other directly connected power module at the bottom layer, it can be ensured that each directly connected power module can be preferentially distributed to the charging terminal connected to the DC bus corresponding to the directly connected power module, 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.
[0087] Optionally, after cutting out one power module already put into the first DC bus, the module information of the cut-out power module can be deleted from the cache array.
[0088] Specifically, the second power module can be subjected to the cutting-out operation, and it is determined whether the cutting-out is successful. In the case where the cutting-out is successful, the module information of the cut-out power module can be deleted from the cache array.
[0089] The cutting-out of one power module already put into the first DC bus can be implemented by the following steps: (b1) marking the power module as unavailable and performing shutdown; (b2) shutdown state; (b3) cutting off the switch, i.e., turning off the switch closest to the power module among the switches for establishing the electrical connection between the power module and the first DC bus; (b4) clearing the group, i.e., canceling the binding relationship between the cut-out power module and the first DC bus; and (b5) exiting the completion notification.
[0090] By deleting the module information of the cut-out power module from the cache array, the distribution and management of the power modules can be implemented.
[0091] In Figure 3In the technical solution shown, after obtaining the charging demand of the charging terminal connected to the DC bus, the power module is put in or cut out according to the charging demand of the charging terminal, the input condition of the power module, and the distance between the power module and the direct connection power module, so that the dynamic allocation of power can be realized, and the output power of the charging terminal can meet the charging demand. The power modules in the charging equipment are connected to form a power module topology, two adjacent power modules are connected by using a switching switch, and the distance between the power module and the direct connection power module is measured by the number of the switching switch connected between the power module and the direct connection power module. The power module closest to the direct connection power module is allocated to the charging terminal, which is essentially allocating the power module to the charging terminal according to the level of the topology formed by the power module. This method can be applied to various power module topologies formed by various connection modes, and has strong applicability.
[0092] Optionally, if the module information of the direct connection power module exists in the cache array and the direct connection power module is not put into any DC bus in the charging equipment, or if the module information of the faulty power module exists in the cache array, the third power module is cut out.
[0093] In the method, the module information of the third power module is stored in the cache array, and the third power module is one power module connected to the unavailable power module and farthest from the unavailable power module. The unavailable power module is the direct connection power module whose module information exists in the cache array and is not put into any DC bus, or the faulty power module.
[0094] Specifically, all power modules connected to the lower layer of the unavailable power module can be obtained, it is determined whether the module information of each power module in the all power modules exists in the cache array, one power module whose module information exists in the cache array and is farthest from the unavailable power module is determined as the third power module, and the cut-out operation is performed on the third power module. The specific steps of the cut-out operation can refer to the foregoing steps (b1) to (b5).
[0095] When the module information of the direct connection power module exists in the cache array and the power module is not put into the charging equipment, it indicates that the input of the direct connection power module has a problem. By preferentially cutting out the power module farthest from the unavailable power module, reliable management of the power module can be realized, and invalid input of the power module can be avoided.
[0096] Optionally, after one power module is put into the first DC bus or one power module already put into the first DC bus is cut out, the charging terminal connected to the second DC bus can also be taken as a target charging terminal to perform the above steps (a1) to (a5). Figure 3The technical solution shown is to allocate power to other charging terminals.
[0097] By allocating or cutting out only one power module for each charging terminal at a time, the charging requirements of each charging terminal can be ensured to be met, and reliable and effective management of the power modules can be achieved.
[0098] When there are multiple DC buses in the charging device, the DC buses in the charging device can be iteratively polled, and the power modules in the charging device can be put in or cut out according to the scheme described above, to achieve dynamic allocation and management of the multiple power modules in the charging device, so that each DC bus can be allocated to a suitable and reliable power module. The process of iteratively polling the DC buses and putting in or cutting out the power modules is described below. It is assumed that the number of DC buses is N.
[0099] Referring to Figure 4 , Figure 4 Another power allocation method provided by the embodiments of the present application is shown in the flowchart, which can be applied to the charging device 101 described above, as Figure 4 shown, the method comprises the following steps:
[0100] S301, set i to 1.
[0101] S302, determine whether i is greater than N.
[0102] If i is greater than N, it means that all DC buses have been iteratively polled, and the next iteration is performed in step S301; if i is less than or equal to N, it means that all DC buses have not been iteratively polled, and step S303 is performed.
[0103] S303, obtain the required power P1 of the i-th DC bus.
[0104] Wherein, the required power P1 of the i-th DC bus is determined based on the charging rated power of the power-consuming device 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.
[0105] S304, calculate the first power P2 required by the i-th DC bus and the second power P3 already put into the i-th DC bus.
[0106] Wherein, the second power P3 already put into the i-th DC bus is equal to the sum of the rated power of the power module already put into the i-th DC bus; the first power P2 is equal to the required power P1 minus the second power P3.
[0107] S305, determine whether the i-th DC power module needs to be put in.
[0108] The i-th direct connection power module refers to a power module directly connected with the i-th DC bus.
[0109] 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 connection power module needs to be put into, and step S308 is executed. Otherwise, it is determined that the i-th direct connection power module does not need to be put into, and step S306 is executed.
[0110] S306, it is determined whether the i-th direct connection power module has been put into.
[0111] Specifically, it can be determined whether the i-th direct connection power module has been put into. If the i-th direct connection power module has been put into, step S307 is executed. Otherwise, i is added by 1, and the demand judgment of the next DC bus is performed, and step S302 is executed.
[0112] S307, it is determined whether the i-th direct connection power module has been put into other DC buses.
[0113] The other DC bus refers to a DC bus other than the i-th DC bus, that is, a DC bus other than the i-th DC bus.
[0114] Specifically, it can be determined whether the i-th direct connection power module has been put into other DC buses according to the grouping relationship set when the i-th direct connection power module is put into. If the i-th direct connection power module has been put into other DC buses, i is added by 1, and the demand judgment of the next DC bus is performed, and step S302 is executed. If the i-th direct connection power module has not been put into other DC buses, step S323 is executed.
[0115] S308, it is determined whether the i-th direct connection power module has been put into.
[0116] The judgment principle can refer to the foregoing step S306. If the i-th direct connection power module has been put into, step S310 is executed. If the i-th direct connection power module has not been put into, step S309 is executed.
[0117] S309, the i-th direct connection power module is taken as a power module to be put into, and step S319 is executed.
[0118] S310, it is determined whether the i-th direct connection power module has been put into other DC buses.
[0119] The judgment principle can refer to the foregoing step S307. If the i-th direct connection power module has been put into other DC buses, step S311 is executed. If the i-th direct connection power module has not been put into other DC buses, step S312 is executed.
[0120] S311, mark the i-th direct connection power module as disabled to other DC bus.
[0121] The other DC bus here refers to the DC bus to which the i-th direct connection power module is put into.
[0122] i is increased by 1, and the next DC bus is determined to be needed, and the step S302 is returned to be executed.
[0123] S312, determine whether there is an unavailable power module in the cache array.
[0124] Specifically, it can be determined whether there is the module information of the i-th direct connection power module or the module information of the faulty power module in the cache array. If there is the module information of the i-th direct connection power module or the module information of the faulty power module in the cache array, it is determined that there is an unavailable power module in the cache array, and the step S313 is executed. Otherwise, it is determined that there is no unavailable power module in the cache array, and the step S314 is executed.
[0125] S313, find the lowest layer power module under the unavailable power module from the cache array as the power module to be put into.
[0126] The lowest layer power module under the unavailable power module refers to the power module that has established electrical connection with the unavailable power module and is farthest from the unavailable power module.
[0127] S314, determine whether it is needed to increase the power module to be put into the i-th DC bus.
[0128] Specifically, if the second power P3 already put into the i-th DC bus is less than the required power P1, it is determined that it is needed to increase, and the step S315 is executed. If the second power P3 already put into the i-th DC bus is greater than the required power P1, it is not needed to increase, and the step S322 is executed.
[0129] S315, collect the module information of the j-th layer power module corresponding to the i-th DC bus.
[0130] The initial value of j is 1.
[0131] S316, determine whether there is an available power module in the j-th layer power module corresponding to the i-th DC bus.
[0132] Specifically, it is determined whether the module information of the jth layer power module corresponding to the ith DC bus is in the cache array. If the module information of the jth layer power module corresponding to any ith DC bus is not in the cache array, it is determined that there is a usable power module in the jth layer power module corresponding to the ith DC bus, and the power module can be put into operation, and step S318 is executed. Otherwise, it is determined that there is no usable power module in the jth layer power module corresponding to the ith DC bus, and the power module needs to be found in the next layer, and step S317 is executed.
[0133] S317, it is determined whether there is a power module that has been put into the ith DC bus in the jth layer power module corresponding to the ith DC bus.
[0134] If there is no power module that has been put into the ith DC bus in the jth layer power module, it means that the electrical connection between the power module in the next layer and the directly connected power module cannot be established, i is increased by 1, the demand judgment of the next DC bus is performed, and step S302 is returned to execute. If there is a power module that has been put into the ith DC bus in the jth layer power module, the power module can be found in the next layer, j is increased by 1, and step S315 is returned to execute.
[0135] S318, a usable power module is selected from the jth layer power module corresponding to the ith DC bus as a power module to be put into operation.
[0136] S319, the power module to be put into operation is put into operation.
[0137] S320, it is determined whether the putting into operation is successful.
[0138] If the putting into operation is successful, step S321 is executed; if the putting into operation is not successful, step S302 is executed.
[0139] S321, the module information of the power module put into operation successfully is stored in the cache array.
[0140] i is increased by 1, the demand judgment of the next DC bus is performed, and step S302 is executed.
[0141] S322, it is determined whether the power module allocated to the ith DC bus needs to be reduced.
[0142] Specifically, if the second power P3 put into the ith DC bus is less than the demand power P1, it is determined that the reduction is not needed, 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 put into the ith DC bus is greater than the demand power P1, it is determined that the reduction is needed, and step S323 is executed.
[0143] S323, find the bottommost power module under the i-th direct connection power module from the cache module as a power module to be put out.
[0144] The bottommost power module under the i-th direct connection power module refers to a power module that has established electrical connection with the i-th direct connection power module and is farthest from the i-th direct connection power module.
[0145] S324, perform a putting-out operation on the power module to be put out.
[0146] S325, judge whether the putting-out is successful.
[0147] If the putting-out is successful, perform step S326; if the putting-out is not successful, perform step S302.
[0148] S326, delete the module information of the power module successfully put out from the cache array.
[0149] Increase i by 1, and perform the demand judgment of the next DC bus, and return to perform S302.
[0150] The above introduces the method of the application, and the device of the application is introduced below.
[0151] Referring to Figure 5 , Figure 5 is a structural schematic diagram of a power distribution device provided by an embodiment of the application, applied to a charging device 101; the power distribution device 40 comprises:
[0152] A demand obtaining module 401 is configured to obtain a charging demand of a target charging terminal, the target charging terminal being connected with a first DC bus, and the first DC bus being any DC bus in the charging device;
[0153] A distribution module 402 is configured to, in a case where the power provided by the power modules already put into the first DC bus does not meet the charging demand, put a first power module into the first DC bus if a direct connection power module of the first DC bus has been put in, the direct connection power module being directly connected with the first DC bus, the first power module being a power module that has not been put in, and the first power module being closest to the direct connection power module and connectable to the direct connection power module, the closeness of the power module to the direct connection power module being measured by the number of switching switches connected between the power module and the direct connection power module.
[0154] In a possible design, the distribution module 402 is further configured to perform layer-by-layer traversal on the power module topology starting from a layer of power modules closest to the direct connection power module based on distances between the plurality of power modules and the direct connection power module, and determine the first power module from power modules that have not been put into use in the traversal.
[0155] In a possible design, the power of the first power module is greater than or equal to a first power gap, and the first power gap is a power gap between a target power required by the charging demand and power provided by power modules that have been put into use on the first DC bus.
[0156] In a possible design, the absolute value of a difference between the power of the first power module and the first power gap is minimum.
[0157] In a possible design, the first power module is a power module that is not 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.
[0158] In a possible design, the distribution module 402 is further configured to, in a case where power provided by power modules that have been put into use on the first DC bus does not meet the charging demand, put the direct connection power module into use on the first DC bus if the direct connection power module has not been put into use.
[0159] In a possible design, the distribution module 402 is further configured to, in a case where power provided by power modules that have been put into use on the first DC bus does not meet the charging demand, set a disable identifier for the direct connection power module if the direct connection power module has been put into use but not on the first DC bus, where the disable identifier is used to indicate that a second DC bus is prohibited from connecting the direct connection power module, and the second DC bus is a DC bus other than the first DC bus in the charging device.
[0160] In a possible design, the distribution module 402 is further configured to, in a case where the charging demand is not met, monitor the second DC bus with the disable identifier to cut out the direct connection power module, and put the direct connection power module into use on the first DC bus.
[0161] In a possible design, the distribution module 402 is further configured to, after putting a power module into use on the first DC bus, store module information of the power module put into use on the first DC bus in a cache array, and the cache array is used to store module information of all power modules that have been put into use.
[0162] In a possible design, the distribution module 402 is further configured to cut off a second power module if the power provided by the power modules already connected to the first DC bus exceeds the target power required by the charging demand, where the second power module is one of the power modules already connected to the first DC bus.
[0163] In a possible design, the second power module is the power module farthest away from the direct-connection power module.
[0164] In a possible design, the second power module is the power module directly connected to a second DC bus, where the second DC bus is a DC bus other than the first DC bus in the charging device.
[0165] In a 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 a power gap between the power provided by the power modules already connected to the first DC bus and the target power required by the charging demand.
[0166] In a possible design, the power of the second power module is the power with the smallest absolute value of the difference from the second power gap.
[0167] In a possible design, the distribution module 402 is further configured to delete the module information of the cut-off power module from a cache array after cutting off one of the power modules already connected to the first DC bus, where the cache array is configured to store the module information of all the power modules already connected.
[0168] In a possible design, the distribution module 402 is further configured to cut off a third power module if the cache array stores the module information of the direct-connection power module and the direct-connection power module is not connected to any DC bus in the charging device, or the cache array stores the module information of the faulty power module, where the cache array is configured to store the module information of all the power modules already connected, the module information of the third power module is stored in the cache array, and the third power module is the power module farthest away from the unavailable power module and connected to the unavailable power module, where the unavailable power module is the direct-connection power module or the faulty power module.
[0169] In a possible design, the first DC bus is an i-th DC bus in the charging device, i is a positive integer; the requirement obtaining module 401 is further configured to, after one power module is put into the i-th DC bus or one power module already put into the i-th DC bus is cut out, obtain a charging requirement of a charging terminal connected to an (i+1)-th DC bus, where i is greater than or equal to 1 and less than or equal to (N-1), and N is a total number of DC buses in the charging device.
[0170] It should be noted that, Figure 5 Details not mentioned in the corresponding embodiments can be found in the description of the foregoing method embodiments, which will not be repeated here.
[0171] The device described above, after obtaining the charging requirement of the charging terminal connected to the DC bus, performs putting in or cutting out of the power module according to the charging requirement of the charging terminal, the putting-in situation of the power module, and the distance between the power module and the directly-connected power module, so that the dynamic allocation of power can be implemented, and the output power of the charging terminal can meet the charging requirement. The power modules in the charging device are connected to form a power module topology, two adjacent power modules are connected by using a switching switch, and 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, which is essentially allocating the power module to the charging terminal according to the level of the topology formed by the power module. In this way, the output power of the charging terminal can meet the charging requirement, and the power module topology formed by various connection modes can be applied, and the applicability is strong.
[0172] For example, Figure 6 , Figure 6 is a structural schematic diagram of a computer device provided by an embodiment of the present application, which can be the charging device 101 described above. 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, by a bus; and the charging terminal 503 is connected to the processor 501, for example, by a DC bus.
[0173] The processor 501 is configured to support the computer device 50 to perform the corresponding functions in the methods in the above method embodiments. The processor 501 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0174] The memory 502 is configured to store program codes and the like. The memory 502 can include a volatile memory (VM) such as a random access memory (RAM), and / or a non-volatile memory (NVM) such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), and / or a combination thereof.
[0175] The charging terminal 503 is configured to obtain a charging demand.
[0176] The processor 501 can invoke the program codes to perform the following operations:
[0177] obtain a charging demand of a target charging terminal, the target charging terminal being connected with a first DC bus, and the first DC bus being any one of the DC buses in the charging device;
[0178] In a case that the power provided by the power modules already connected to the first DC bus cannot meet the charging demand, if the first DC bus has connected power modules already connected, a first power module is connected to the first DC bus, the connected power module is directly connected to the first DC bus, the first power module is a power module not yet connected, and the first power module can be connected to the connected power module and is closest to the connected power module, the distance between the power module and the connected power module being measured by the number of switching switches connected between the power module and the connected power module.
[0179] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, the computer program comprising program instructions, the program instructions causing a computer to execute the method according to the foregoing embodiment when the computer executes the program instructions.
[0180] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware, and the program can be stored in a computer readable storage medium. When the program is executed, the program can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM) and the like.
[0181] The above only describes the preferred embodiments of the present application, and of course cannot limit the scope of the rights of the present application, so equivalent changes made according to the claims of the present application still fall within the scope of the present application.
Claims
1. A power distribution method, characterized in that, The method is applied to a charging device, which includes multiple power modules connected to form a power module topology. Adjacent power modules are connected using a switching switch. Some or all of the power modules are connected to a DC bus in the charging device. The charging requirements of the target charging terminal are obtained, and the target charging terminal is connected to a first DC bus, which is any DC bus in the charging equipment. If the power provided by the power modules already connected to the first DC bus is insufficient to meet the charging demand, and if the direct-connected power modules of the first DC bus are already connected, the first power module is connected to 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 connected. Furthermore, the first power module is connected to the direct-connected power module, and the first power module 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. Before the first power module is put into the first DC bus, the method further includes: based on the distance between the plurality of power modules and the directly connected power module, starting from the power module layer closest to the directly connected power module, traversing the power module topology layer by layer; and determining the first power module from the power modules that have not yet been put into operation obtained from the traversal.
2. The method according to claim 1, characterized in that, The power of the first power module is greater than or equal to the first power gap, which is the power difference between the target power required for the charging demand and the power provided by the power module already connected to the first DC bus.
3. The method according to claim 2, characterized in that, The absolute value of the difference between the power of the first power module and the first power is the smallest.
4. 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 besides the first DC bus.
5. The method according to claim 1, characterized in that, The method further includes: If the charging demand is not met and the direct-connect power module is not yet in operation, the direct-connect power module will be connected to the first DC bus.
6. The method according to claim 1, characterized in that, The method further includes: If the charging demand is not met, and the direct-connect power module is already in operation but not connected to the first DC bus, a disable flag is set for the direct-connect power module. The disable flag is used to indicate that the second DC bus is prohibited from connecting the direct-connect power module. The second DC bus is any DC bus in the charging device other than the first DC bus.
7. The method according to claim 6, characterized in that, After setting a disable flag for the directly connected power module, the method further includes: If the charging demand is not met, monitor the second DC bus with the disabled flag to disconnect the direct-connected power module; Connect the direct-connect power module to the first DC bus.
8. The method according to any one of claims 1-7, characterized in that, The method further includes: 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, which is used to store the module information of all the power modules that have been put into the bus.
9. The method according to claim 1, characterized in that, 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 charging, the second power module is switched off. The second power module is a power module already connected to the first DC bus.
10. The method according to claim 9, characterized in that, The second power module is the power module that is furthest away from the directly connected power module.
11. The method according to claim 10, characterized in that, The second power module is a power module directly connected to the second DC bus, which is another DC bus in the charging device besides the first DC bus.
12. The method according to claim 10, characterized in that, The power of the second power module is less than or equal to the second power gap, which is the power difference between the power provided by the power module already connected to the first DC bus and the target power required for the charging demand.
13. The method according to claim 12, characterized in that, The absolute value of the difference between the power of the second power module and the power difference of the second power is the smallest.
14. The method according to any one of claims 9-13, characterized in that, The method further includes: After cutting out a power module that has been put into the first DC bus, the module information of the cut-out power module is deleted from the cache array, which is used to store the module information of all the power modules that have been put into operation.
15. The method according to claim 1, characterized in that, The method further includes: If the cache array contains module information of the directly connected power module and the directly connected power module is not connected to any DC bus in the charging device, or if the cache array contains module information of a faulty power module, the third power module is switched out. The cache array is used to store module information of all power modules that have been connected. The module information of the third power module is stored in the cache array. The third power module is the power module connected to the unavailable power module and the one that is furthest away from the unavailable power module. The unavailable power module is either the directly connected power module or the faulty power module.
16. The method according to claim 1 or 9, 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 includes: After a power module is connected to the i-th DC bus or a power module that has been connected to the i-th DC bus is disconnected, 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 equipment.
17. A power distribution device, characterized in that, An application in charging equipment, the charging equipment comprising multiple power modules connected to form a power module topology, adjacent power modules being connected using a switching switch, and some or all of the power modules being connected to a DC bus in the charging equipment; the device includes: The demand acquisition module is used to acquire the charging demand of the target charging terminal, which is connected to a first DC bus, and the first DC bus is any DC bus in the charging equipment. The allocation module is used to, when the power provided by the power modules already connected to the first DC bus is insufficient to meet the charging demand, connect a first power module to the first DC bus if a directly connected power module to the first DC bus is already connected. The directly connected power module is directly connected to the first DC bus. The first power module is a power module that has not yet been connected. Furthermore, the first power module is connected to the directly connected power module, and the first power module is closest to the directly connected power module. The distance between the multiple power modules and the directly connected power module is measured by the number of switching switches connected between the multiple power modules and the directly connected power module. The allocation module is further configured to, based on the distance between the plurality of power modules and the directly connected power module, traverse the power module topology layer by layer, starting from the power module closest to the directly connected power module; and determine the first power module from the power modules that have not yet been deployed obtained from the traversal.
18. A computer device, characterized in that, The device includes a memory, a processor, and a charging terminal, wherein the memory and the charging terminal are connected to the processor, and the processor is configured to execute one or more computer programs stored in the memory, wherein when the processor executes the one or more computer programs, the computer device causes the computer device to implement the method as described in any one of claims 1-16.
19. 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-16.
20. A charging device, characterized in that, The device includes multiple power modules connected to form a power module topology. Adjacent power modules are connected using a switching switch. Some or all of the power modules are connected to a DC bus in the charging device, which is used to perform the method as described in any one of claims 1-16.
Citation Information
Patent Citations
Matrix-type flexible charging pile and charging method capable of dynamically allocating power
CN106033904A
Mesh-type power distribution system and method
CN111614085A