Charging pile output power control method and related device

By constructing a CAN bus master-slave charging pile communication network, the output power of the charging piles can be dynamically adjusted, thus solving the risk of transformer overload in the charging station and improving the operating efficiency and power supply reliability of the charging station.

CN121848982APending Publication Date: 2026-04-14SHENZHEN WINLINE TECH
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN WINLINE TECH
Filing Date
2026-03-17
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

The existing power management methods for charging piles lack real-time coordination capabilities at the station level, leading to transformer overload risks and an inability to dynamically adjust output power, which affects the operating efficiency and power supply reliability of charging stations.

Method used

A master-slave charging pile communication network based on CAN bus is constructed. The output power of multiple charging piles is obtained through the first charging pile, the required power is calculated, and when the required power exceeds a preset threshold, a control command is generated to adjust the output power of the charging piles to control the total output to be less than the threshold, thereby realizing dynamic power allocation.

Benefits of technology

It effectively solved the transformer overload problem, improved the operating efficiency and power supply reliability of the charging station, and made full use of the existing power distribution capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121848982A_ABST
    Figure CN121848982A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a charging pile output power control method and a related device, the method is applied to a controller of a first charging pile of a charging station, the charging station comprises the first charging pile and a plurality of second charging piles, and the first charging pile is in communication connection with the plurality of second charging piles through a CAN bus; comprising the steps of obtaining output power of a plurality of second charging piles; according to the output power of the plurality of second charging piles, calculating the required power of the charging station; when the required power is greater than a preset power threshold value of the charging station, generating a first control instruction; and broadcasting the first control instruction to a plurality of second charging piles through a CAN bus. Therefore, the control of the output power of the charging pile is realized, the overload protection problem of the transformer is solved on the premise of not additionally adding hardware equipment, and the operation efficiency and the power supply reliability of the charging station are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of new energy technology, and in particular to a method and related device for controlling the output power of a charging pile. Background Technology

[0002] With the rapid popularization of electric vehicles, the construction scale of supporting charging infrastructure continues to expand, and the number and individual power of charging piles are constantly increasing. At charging stations, the simultaneous operation of multiple high-power charging piles can easily bring the total load close to or even exceed the rated capacity of the station's distribution transformer, leading to a long-term overload risk for the transformer.

[0003] In existing technologies, common charging pile power management methods are mostly limited to independent control of the charging piles or simple priority scheduling, lacking real-time coordination capabilities at the station level. Existing technologies cannot dynamically adjust the output power of each charging pile according to the actual load status of the transformer, and only adopt conservative power limits, resulting in low transformer capacity utilization, making it difficult to meet users' fast charging needs, or causing overload faults during peak load periods.

[0004] Therefore, there is an urgent need for a charging pile output power control system that can monitor and dynamically allocate power in real time, so as to fully tap the potential of existing power distribution capacity and improve the overall operating efficiency and reliability of charging stations while ensuring the safety of transformers. Summary of the Invention

[0005] In view of this, this application provides a method and related device for controlling the output power of a charging pile. By constructing a master-slave charging pile communication network based on a CAN bus, the method controls the charging piles in the charging station to adjust their output power in a timely manner when the total demand power exceeds a preset safety threshold, thereby realizing the control of the output power of the charging piles. Without the need for additional hardware equipment, this method effectively solves the problem of transformer overload protection and also improves the operating efficiency and power supply reliability of the charging station.

[0006] In a first aspect, embodiments of this application provide a method for controlling the output power of a charging pile, applied to a controller of a first charging pile at a charging station. The charging station includes: the first charging pile and a plurality of second charging piles, wherein the first charging pile is communicatively connected to the plurality of second charging piles via a CAN bus; the method includes: Obtain the output power of the plurality of second charging piles; Calculate the power demand of the charging station based on the output power of the plurality of second charging piles; When the required power exceeds the preset power threshold of the charging station, a first control command is generated, wherein the preset power threshold is used to characterize the rated power of the charging station. The first control command is broadcast to the plurality of second charging piles via the CAN bus. The first control command is used to instruct the first charging pile and the plurality of second charging piles to adjust the output power so that the total output power of the charging station after adjustment is less than the preset power threshold.

[0007] In one possible embodiment, generating the first control command includes: calculating the ratio of the preset power threshold to the required power and determining it as a first power coefficient; generating the first control command based on the first power coefficient, wherein the first control command is a broadcast message containing the first power coefficient, and the first control command is used to instruct the first charging pile and the plurality of second charging stations to reduce the output power according to the first power coefficient.

[0008] In one possible embodiment, the charging station further includes a transformer connected to the first charging pile and the plurality of second charging piles; the method further includes: obtaining the rated capacity and safety factor of the transformer configuration, the safety factor being a proportional coefficient characterizing the maximum allowable load operation of the charging station; and determining the preset power threshold based on the product of the rated capacity and the safety factor.

[0009] In one possible embodiment, after sending the first control command to the second charging pile, the method further includes: receiving the output power of the plurality of second charging piles at a preset period, the preset period being a time interval configured by the maintenance personnel of the charging station; updating the demand power according to the output power of the plurality of second charging piles to obtain the updated demand power; comparing the updated demand power with the preset power threshold to obtain a comparison result; and executing a power control strategy according to the comparison result to ensure that the total output power of the charging station is less than the preset power threshold.

[0010] In one possible embodiment, executing a power control strategy based on the comparison result includes: when the comparison result indicates that the updated power demand is greater than the preset power threshold, calculating and determining a second power coefficient based on the preset power threshold and the updated power demand; generating a second control command based on the second power coefficient; broadcasting the second control message to the plurality of second charging piles to instruct the first charging pile and the plurality of second charging piles to reduce the output power according to the second power coefficient and a power adjustment step rate, wherein the power adjustment step rate is the operating parameter configured by the maintenance personnel for the second charging pile; when the comparison result indicates that the updated power demand is less than or equal to the preset power threshold, generating a third control command; and broadcasting the third control command to the plurality of second charging piles to instruct the plurality of second charging piles to output power according to the output power.

[0011] In one possible embodiment, after receiving the output power of the plurality of second charging piles at a preset period, the method further includes: detecting the operating status of the plurality of second charging piles; when it is determined that the operating status of one or more of the plurality of second charging piles indicates that a communication interruption or AC power failure has occurred, determining one or more of the plurality of second charging piles as abnormal charging piles; recording the power value of the abnormal charging pile in the previous preset period as a locked power; updating the preset power threshold according to the locked power; determining a third power coefficient according to the updated preset power threshold and the power demand of other charging piles, wherein the other charging piles refer to the charging piles in the charging station other than the abnormal charging piles; generating a fourth control command according to the third power coefficient, and broadcasting the fourth control command to the other charging piles to instruct the other charging piles to adjust the output power according to the third power coefficient.

[0012] In one possible embodiment, multiple charging piles in the charging station are configured with DIP switch addresses, which are used to characterize the control priority of the charging piles; the method further includes: when it is detected that the communication between the first charging pile and the multiple second charging piles is interrupted, or when the first charging pile experiences an AC power failure, retrieving the DIP switch addresses of the multiple charging piles in the charging station; and determining the charging pile with the highest control priority as the updated first charging pile according to the DIP switch addresses.

[0013] Secondly, embodiments of this application provide a control device for the output power of a charging pile, applied to a controller of a first charging pile at a charging station. The charging station includes a first charging pile and multiple second charging piles, the first charging pile being communicatively connected to the multiple second charging piles via a CAN bus. The device includes an acquisition unit, a calculation unit, a control unit, and a broadcast unit. The acquisition unit is used to acquire the output power of the multiple second charging piles. The calculation unit is used to calculate the required power of the charging station based on the output power of the multiple second charging piles. The control unit is used to generate a first control command when the required power exceeds a preset power threshold of the charging station, the preset power threshold representing the rated power of the charging station. The broadcast unit is used to broadcast the first control command to the multiple second charging piles via the CAN bus, the first control command instructing the first charging pile and the multiple second charging piles to adjust the output power so that the total output power of the charging station after adjustment is less than the preset power threshold.

[0014] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory being used to store one or more programs and configured to be executed by the processor, the programs including instructions for performing the steps in the first aspect of embodiments of this application.

[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first aspect of embodiments of this application.

[0016] Fifthly, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of embodiments of this application. The computer program product may be a software installation package.

[0017] As can be seen, the charging pile output power control method and related device provided in this application are applied to the controller of the first charging pile at a charging station. The charging station includes a first charging pile and multiple second charging piles, with the first charging pile communicating with the multiple second charging piles via a CAN bus. The method includes: firstly, acquiring the output power of the multiple second charging piles; secondly, calculating the required power of the charging station based on the output power of the multiple second charging piles; then, when the required power exceeds a preset power threshold of the charging station, generating a first control command, whereby the preset power threshold characterizes the rated power of the charging station; and finally, broadcasting the first control command to the multiple second charging piles via the CAN bus. The first control command instructs the first charging pile and the multiple second charging piles to adjust their output power so that the total output power of the charging station after adjustment is less than the preset power threshold. In this way, the output power of the charging pile is controlled, effectively solving the transformer overload protection problem without the need for additional hardware, and also improving the operating efficiency and power supply reliability of the charging station. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the system architecture of a charging station provided in an embodiment of this application; Figure 2This is a schematic diagram of a charging station scenario provided in an embodiment of this application; Figure 3 This is a flowchart illustrating a method for controlling the output power of a charging pile according to an embodiment of this application; Figure 4 This is a flowchart illustrating another method for controlling the output power of a charging pile provided in an embodiment of this application; Figure 5 This is a functional unit block diagram of a charging pile output power control device provided in an embodiment of this application; Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0020] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0021] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0022] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article indicates that the preceding and following related objects have an "or" relationship.

[0023] In this application's embodiments, "multiple" refers to two or more. In this application's embodiments, "connection" refers to various connection methods, such as direct or indirect connections, to achieve communication between devices; this application's embodiments do not impose any limitations on this.

[0024] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0025] The following describes the relevant content, concepts, meanings, technical issues, technical solutions, and beneficial effects involved in the embodiments of this application.

[0026] Power adjustment step rate: refers to the minimum unit change in the output power of the controlled power module during dynamic power adjustment, and its unit is power unit (e.g., watt, W).

[0027] CAN: Controller Area Network.

[0028] With the rapid popularization of electric vehicles, the construction scale of supporting charging infrastructure continues to expand, and the number and individual power of charging piles are constantly increasing. Within a charging station, the simultaneous operation of multiple high-power charging piles can easily bring the total load close to or even exceed the rated capacity of the station's distribution transformer, leading to a long-term overload risk for the transformer. Current technologies for charging pile power management are mostly limited to independent control of the piles or simple priority scheduling, lacking real-time coordination capabilities at the station level. Existing technologies cannot dynamically adjust the output power of each pile according to the actual load status of the transformer, only adopting conservative power limits, resulting in low transformer capacity utilization, difficulty in meeting users' fast charging needs, or overload failures during peak load periods.

[0029] To address the aforementioned issues, this application provides a method and related apparatus for controlling the output power of charging piles. By constructing a master-slave charging pile communication network based on a CAN bus, the method controls the charging piles within the charging station to adjust their output power in a timely manner when the total demand power exceeds a preset safety threshold. This achieves control over the output power of the charging piles, effectively solving the transformer overload protection problem without requiring additional hardware. It also improves the operating efficiency and power supply reliability of the charging station. Under the premise of ensuring transformer safety, it fully taps the potential of existing power distribution capacity and enhances the overall operating efficiency and reliability of the charging station.

[0030] First, the method in this application embodiment is applied to the controller of the charging pile in the charging station, combined with Figure 1 The method for controlling the output power of the charging pile in the embodiments of this application will be described. Figure 1 This is a schematic diagram of the system architecture of a charging station provided in an embodiment of this application, such as... Figure 1As shown, the charging station 100 includes a first charging pile 110 and a plurality of second charging piles 120, and the first charging pile 110 and the plurality of second charging piles 120 are connected to each other via a CAN bus 130.

[0031] The first charging pile 110 includes a controller 111, which acquires the rated power of multiple second charging piles 120. Then, the controller 111 calculates the required power of the charging station 100 based on the rated power of the multiple second charging piles 120. When the required power is greater than the preset power threshold of the charging station 100, a first control command is generated. The preset power threshold is used to characterize the rated power of the charging station 100. The first control command is broadcast to the multiple second charging piles 120 through the CAN bus 130. The first control command is used to instruct the first charging pile and the multiple second charging piles 120 to adjust their output power so that the total output power of the charging station 100 after adjustment is less than the preset power threshold.

[0032] Specifically, please refer to Figure 2 , Figure 2 This is a schematic diagram of a charging station scenario provided in an embodiment of this application, such as... Figure 2 As shown, charging pile 1 is the first charging pile 110, and charging piles 2-n are all second charging piles 120. Specifically, the charging piles in the charging station can be integrated charging piles, which are complete nodes and can be directly connected to the network via the CAN bus 130; or they can be split charging piles, which physically separate the core components of the charging system, usually consisting of a charging host and a terminal charging pile, meaning that they only need to be connected to the CAN bus via the charging host main control to access the network.

[0033] For example, such as Figure 2 As shown, charging piles 1 (210), 2 (220), and 3 (230) are integrated charging piles, while charging pile 4 (240) is a separate charging pile. Charging piles 1 (210), 2 (220), and 3 (230) are sequentially connected via CAN bus 130. Charging pile 3 (230) is connected to the host controller 241 of charging pile 4 (240) via CAN bus 130. The terminal charging pile 242 of charging pile 4 (240) communicates with the host controller 241 via an internal protocol, such as Ethernet. It should be understood that... Figure 2 Only the connection methods of 4 charging stations are shown, such as Figure 2 The connection method shown can be applied to the connection of multiple charging piles. Figure 2 This is for illustrative purposes only and is not intended to impose any restrictions.

[0034] The following is combined Figure 3 This application describes a method for controlling the output power of a charging pile in an embodiment. Figure 3 This is a flowchart illustrating a method for controlling the output power of a charging pile according to an embodiment of this application. The method in this embodiment is applied to, for example... Figure 1 The controller 111 of the first charging pile 110 shown includes the following steps: Step S310: Obtain the output power of multiple second charging piles.

[0035] The first charging pile and multiple second charging piles are connected via a CAN bus to form a distributed control network. The first charging pile acts as the host and periodically sends data requests to each second charging pile via the CAN bus (e.g., every 2 seconds) or listens to the data frames actively reported by each second charging pile, thereby obtaining the real-time output power of each second charging pile. The real-time output power reflects the actual charging power that the charging pile is currently providing to the electric vehicle.

[0036] Step S320: Calculate the power demand of the charging station based on the output power of the multiple second charging piles.

[0037] In this process, the controller of the first charging pile sums up the output power of all the second charging piles obtained in the steps to obtain the required power of the charging station. It should be understood that this calculation is performed continuously, for example, updated in a period of 2 seconds as mentioned above.

[0038] Step S330: When the required power is greater than the preset power threshold of the charging station, a first control command is generated.

[0039] The preset power threshold is used to characterize the rated power of the charging station. It is a pre-set and stored maximum allowable output power limit set to ensure the safe operation of equipment such as the upstream transformer at the station. The controller calculates a first power coefficient K1 between 0 and 1 according to the formula K1 = preset power threshold / required power.

[0040] In step S340, the first control command is broadcast to multiple second charging piles via the CAN bus.

[0041] The first control command is used to instruct the first charging pile and multiple second charging piles to adjust their output power so that the total output power of the charging stations after adjustment is less than a preset power threshold.

[0042] Upon receiving the first control command, each second charging station parses the first power coefficient K1. Then, based on its current power demand, the first charging station and each second charging station calculate their target output power by multiplying their output power by the first power coefficient K1, and control their internal power modules to stably adjust to that target power. This adjustment process is typically performed at a configurable step rate, such as 5W / step, to ensure smooth power changes and avoid impacting the power grid, vehicle batteries, and other end-user electrical equipment.

[0043] Closed-loop control is achieved by cyclically executing steps S310-S340 as described above. Furthermore, when the total output power of the adjusted charging stations drops below a preset power threshold, the first charging pile can stop broadcasting the limiting command, or it can broadcast a command indicating that the first power coefficient K1=1, allowing each second charging pile to resume outputting the maximum power required by its vehicle.

[0044] As can be seen, the charging pile output power control method and related apparatus provided in this application are applied to the controller of the first charging pile at a charging station. The charging station includes a first charging pile and multiple second charging piles, with the first charging pile communicating with the multiple second charging piles via a CAN bus. The method includes: firstly, acquiring the output power of the multiple second charging piles; secondly, calculating the required power of the charging station based on the output power of the multiple second charging piles; then, when the required power exceeds a preset power threshold of the charging station, generating a first control command, whereby the preset power threshold characterizes the rated power of the charging station; and finally, broadcasting the first control command to the multiple second charging piles via the CAN bus. The first control command instructs the first charging pile and the multiple second charging piles to adjust their output power so that the total output power of the charging station after adjustment is less than the preset power threshold. In this way, the output power of the charging pile is controlled, effectively solving the transformer overload protection problem without the need for additional hardware, and also improving the operating efficiency and power supply reliability of the charging station.

[0045] In one possible embodiment, generating a first control command includes: calculating the ratio of a preset power threshold to the required power and determining it as a first power coefficient; generating a first control command based on the first power coefficient, wherein the first control command is a broadcast message containing the first power coefficient, and the first control command is used to instruct the first charging pile and multiple second charging stations to reduce their output power according to the first power coefficient.

[0046] The controller first performs a calculation, taking a preset power threshold and dividing the calculated demand power by the two to obtain a first power coefficient K1. This coefficient is a global scaling factor that represents the total demand power that needs to be compressed to a safe range. Subsequently, the controller generates a first control command based on this first power coefficient K1. The first control command is a broadcast message containing the value of the first power coefficient K1. The core function of this first control command is that, once published via the CAN bus network, it instructs multiple second charging piles connected to the network to synchronously and proportionally reduce their current output power according to the first power coefficient K1 carried in the command.

[0047] As can be seen, in this embodiment, the required power adjustment level of the charging station is characterized by calculating the first power coefficient, and this coefficient is broadcast as a control command, which ensures the timeliness and synchronization of the power adjustment action, avoids the complexity of calculating and sending different control quantities for each charging pile separately, reduces the computing load of the main controller, and improves the response capability of the charging station system.

[0048] In one possible embodiment, the charging station further includes a transformer connected to a first charging pile and a plurality of second charging piles; the method further includes: obtaining the rated capacity and safety factor of the transformer configuration, the safety factor being a proportional coefficient characterizing the maximum allowable load operation of the charging station; and determining a preset power threshold based on the product of the rated capacity and the safety factor.

[0049] The charging station also includes a transformer, which is connected to the first charging pile and multiple second charging piles, serving as the common power source for the entire station. First, the rated capacity and safety factor of the transformer are obtained. The rated capacity is the maximum power capability of the transformer for long-term stable operation; the safety factor is a value less than or equal to 1, pre-set by maintenance personnel based on operating strategies, environmental factors, and auxiliary load conditions. It is a proportional coefficient characterizing the maximum allowable load operation of the charging station, used to define a safe operating range within the transformer's rated capacity. Then, the product of the rated capacity and the safety factor is used to determine the preset power threshold.

[0050] Specifically, for example, the charging station has four 400kW integrated dual-gun charging piles: Charging pile #1 is designated as the primary charging pile (main unit), and the station's rated load power is set to 1600kW. A safety factor of P=0.8 (1600kW × 0.8 = 1280kW) is set. If vehicles arrive at charging piles #1, #2, and #3, each charging pile will have a power output of 400kW. The total power of the three charging piles is 400kW × 3 = 1200kW, and each charging pile will output its maximum power of 400kW. If a vehicle then arrives at the fourth charging pile with a maximum power requirement of 200kW: At this point, the total required output power is 400kW × 3 + 200kW = 1400kW.

[0051] The power control coefficient K is calculated as K = 1280 / 1400 = 0.914.

[0052] The output power (maximum power × K1) of each charging pile is as follows: Charging pile No. 1: 400 × 0.914 = 365.6 kW, Charging pile No. 2: 400 × 0.914 = 365.6 kW, Charging pile No. 3: 400 × 0.914 = 365.6 kW, Charging pile No. 4: 200 × 0.914 = 182.6 kW (the actual demand is 200 kW, but it is 182.6 kW after proportional allocation); Finally, the total output power of the 4 charging piles is 365.6 + 365.6 + 365.6 + 182.6 = 1279.4 kW (≈1280 kW).

[0053] As can be seen, in this embodiment, by introducing a safety factor and determining the preset power threshold together with the rated capacity, the total power limit of the charging station becomes a flexibly configurable operating parameter adaptable to different safety strategies. By adjusting the safety factor, a safe operating boundary can be flexibly set within the rated capacity of the transformer. This avoids the risks of instantaneous impacts, auxiliary loads, or equipment aging that might be ignored by directly using the rated capacity as a threshold, thus fully ensuring the safe operation of the transformer.

[0054] Specifically, please refer to Figure 4 , Figure 4 This is a flowchart illustrating another method for controlling the output power of a charging pile provided in an embodiment of this application, as shown below. Figure 4 As shown, after broadcasting the first control command to multiple second charging piles via the CAN bus, the method further includes the following steps: S401 receives the output power of multiple second charging piles according to a preset cycle.

[0055] The preset cycle is a time interval configured by the charging station's maintenance personnel. Specifically, this time interval can also be changed through settings, and can be set to 2 seconds.

[0056] S402 updates the required power based on the output power of multiple second charging piles, thus obtaining the updated required power.

[0057] The updated power requirement is the sum of the output power of multiple second charging piles and the output power of the first charging pile.

[0058] S403, determine the magnitude of the updated power demand compared to the preset power threshold.

[0059] If the updated power demand is greater than the preset power threshold, proceed to step S404; if the updated power demand is less than the preset power threshold, proceed to step S407.

[0060] If the updated power demand is greater than the preset power threshold, it means that the total power demand of the charging station exceeds the maximum threshold, and the power adjustment strategy still needs to be implemented; if the updated power demand is less than or equal to the preset power threshold, it means that the total power demand of the charging station is within the maximum threshold, and each charging pile is allowed to output without restriction.

[0061] S404, calculate and determine the second power coefficient based on the preset power threshold and the updated power demand.

[0062] The method for calculating the second power coefficient K2 is the same as that for calculating the first power coefficient K1, that is, K2 = preset power threshold / updated demand power.

[0063] S405 generates a second control command based on the second power coefficient.

[0064] S406, broadcast the second control message to multiple second charging piles to instruct the first charging pile and multiple second charging piles to reduce the output power according to the second power coefficient and power adjustment step rate.

[0065] The power adjustment step rate is a working parameter configured by maintenance personnel for the second charging station. The power adjustment step rate is the smallest unit of power reduction, ensuring a smooth decrease in the output power of the second charging station.

[0066] S407 generates the third control command.

[0067] The third control command instructs the second charging pile to output power at its original output power, that is, to adjust the first power coefficient K1 to 1 and not limit the output power of the charging pile.

[0068] S408 broadcasts a third control command to multiple second charging piles to instruct the first charging pile and multiple second charging piles to output according to the output power.

[0069] As can be seen, in this embodiment, by performing high-frequency monitoring through a configurable preset period, the system can track continuous load changes in real time. By calculating and issuing new control commands in real time based on the latest comparison results, the system achieves precise and continuous closed-loop control of the total power of the site. Simultaneously, it effectively prevents electrical stress on the power grid and charging equipment caused by sudden power fluctuations, improving the reliability of control and the safety of the equipment.

[0070] In one possible embodiment, after receiving the output power of multiple second charging piles at a preset period, the method further includes: detecting the operating status of the multiple second charging piles; when it is determined that the operating status of one or more of the multiple second charging piles indicates that a communication interruption or AC power failure has occurred, identifying one or more of the multiple second charging piles as abnormal charging piles; recording the power value of the abnormal charging pile in the previous preset period as a locked power; updating a preset power threshold based on the locked power; determining a third power coefficient based on the updated preset power threshold and the power demand of other charging piles, wherein other charging piles refer to charging piles in the charging station other than the abnormal charging piles; generating a fourth control command based on the third power coefficient, and broadcasting the fourth control command to other charging piles to instruct other charging piles to adjust their output power according to the third power coefficient.

[0071] The controller of the first charging pile monitors the operating status of multiple second charging piles. When it determines that one or more of the second charging piles have experienced a communication interruption or AC power failure, it identifies one or more of these charging piles as abnormal. Once an abnormality is identified, the system immediately records the power value of the abnormal charging pile in the previous preset cycle as the locked power, which represents the power quota occupied by the pile at the instant before the fault occurred. Next, the system updates the preset power threshold based on the locked power. Specifically, the update logic is to subtract the sum of the locked powers of all abnormal charging piles from the original preset power threshold to obtain a new preset power threshold. Then, based on the updated preset power threshold and the power demand of other charging piles, the system determines a third power coefficient K3. The calculation of the third power coefficient K3 aims to limit the total power demand of other charging piles within the new available power budget. Finally, the system generates a fourth control command based on the third power coefficient K3 and broadcasts the fourth control command to other charging piles, instructing them to adjust their output power according to the third power coefficient K3.

[0072] Specifically, if the preset power threshold of the charging station is 1280kW, and the operating status of each charging pile is 4 piles outputting 365.6kW, 365.6kW, 365.6kW, and 182.6kW respectively, totaling 1279.4kW, then when a fault occurs, such as the 4th charging pile outputting 182.6kW suddenly losing power, according to traditional logic, the total demand power is considered to drop to 365.6 × 3 = 1096.8kW, which is lower than the threshold of 1280kW. A new K>1 is calculated (e.g., 1280 / 1096.8 ≈ 1.167), and the remaining three piles are instructed to resume full power output of 400kW, increasing the total power to 1200kW. However, the control logic provided in this embodiment is: locking the power quota of the 4th charging pile at 182.6kW, and the upper limit of the available total power allocated to the remaining piles becomes: 1280kW - 182.6kW = 1097.4kW. The first charging pile, based on the total demand of the remaining three charging piles (400 × 3 = 1200 kW) and the new upper limit of 1097.4 kW, calculates a new K3 = 1097.4 / 1200 ≈ 0.9145. The remaining three charging piles adjust their output according to the new K value, to approximately 365.8 kW, stabilizing the total power at around 1097.4 kW, below the 1280 kW threshold. Following traditional logic, when a power outage occurs and the charging pile is restored, the total system demand would suddenly increase by 182.6 kW, potentially causing the total power to instantly exceed the threshold 1200 + 182.6 > 1280, triggering protection actions or transformer overload. However, the lockout mechanism provided in this embodiment avoids the power restoration shock, reserving recovery space for the charging pile during the fault period, ensuring the continuous stability of the system under dynamic changes.

[0073] As can be seen, in this embodiment, by deducting and freezing the locked power of the abnormal charging pile from the total budget at the moment of its power failure, power space is reserved for the potential power restoration of the pile. This ensures that other normal charging piles receive redistributed power according to the new third power coefficient during this period, and the total operating power of the entire site is always lower than the original preset power threshold. Thus, throughout the entire cycle of fault occurrence and recovery, the risk of transformer overload caused by improper power budget management is avoided, and the safety and stability of the system under abnormal operating conditions are improved.

[0074] In one possible embodiment, multiple charging piles in the charging station are configured with DIP switch addresses, which are used to characterize the control priority of the charging piles; the method further includes: when it is detected that the communication between the first charging pile and multiple second charging piles is interrupted, or the first charging pile experiences an AC power failure, retrieving the DIP switch addresses of multiple charging piles in the charging station; and determining the charging pile with the highest control priority as the updated first charging pile according to the DIP switch addresses.

[0075] Each charging pile in the charging station is configured with a physical DIP address during deployment. The DIP address is a preset hardware identifier used to characterize the control priority of the charging pile. For example, the smaller the address value, the higher the priority.

[0076] When the CAN bus communication or power monitoring module detects a communication interruption or AC power failure in the first charging pile, it can be determined that the first charging pile has malfunctioned. Subsequently, the system will initiate a host replacement process, retrieving the DIP switch addresses of multiple charging piles at the charging station. Based on preset rules, such as finding the address with the smallest value, all online and normally functioning charging piles are prioritized according to their DIP switch addresses. The charging pile with the highest control priority is then selected and replaced as the updated first charging pile, taking over the aforementioned steps. Specifically, when the first charging pile with DIP switch 0 loses power or malfunctions, other piles, such as the second charging pile with DIP switch 1, will automatically take over as the first charging pile, performing its functions. Similarly, if the second charging pile with DIP switch 1 also loses power or experiences a communication interruption, the second charging pile with DIP switch 2 will automatically take over as the host, and so on.

[0077] As can be seen, this embodiment effectively solves the single point of failure problem by implementing priority judgment and automatic replacement based on hardware DIP switch addresses. When the original first charging pile fails due to a fault, the system can automatically and quickly select a new control entity without manual intervention, ensuring the continuous and uninterrupted power coordination control function. This significantly improves the system reliability and stability of the entire charging station. Furthermore, using hardware DIP switch addresses to determine control priority is a simple and reliable method, resulting in low implementation cost and high robustness of the fault tolerance mechanism.

[0078] This application embodiment can divide the electronic device into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0079] and Figure 3 The implementation is consistent with the previous one; please refer to [link / reference]. Figure 5 , Figure 5 This is a functional unit block diagram of a charging pile output power control device 500 provided in an embodiment of this application. The charging pile output power control device 500 is applied to, for example... Figure 1The controller 111 of the first charging pile 110 shown, and the charging pile output power control device 500 include: an acquisition unit 510, a calculation unit 520, a control unit 530, and a broadcasting unit 540; wherein, the acquisition unit 510 is used to acquire the output power of multiple second charging piles; the calculation unit 520 is used to calculate the required power of the charging station based on the output power of the multiple second charging piles; the control unit 530 is used to generate a first control command when the required power is greater than a preset power threshold of the charging station, the preset power threshold being used to characterize the rated power of the charging station; the broadcasting unit 540 is used to broadcast the first control command to the multiple second charging piles via a CAN bus, the first control command being used to instruct the first charging pile and the multiple second charging piles to adjust their output power so that the total output power of the adjusted charging station is less than the preset power threshold.

[0080] In one possible embodiment, a first control instruction is generated. The calculation unit 520 is specifically used to: calculate the ratio of a preset power threshold to the required power and determine it as a first power coefficient; generate a first control instruction based on the first power coefficient. The first control instruction is a broadcast message containing the first power coefficient. The first control instruction is used to instruct the first charging pile and multiple second charging stations to reduce their output power according to the first power coefficient.

[0081] In one possible embodiment, the charging station further includes a transformer connected to a first charging pile and multiple second charging piles; the charging pile output power control device 500 is specifically used to: obtain the rated capacity and safety factor of the transformer configuration, the safety factor being a proportional coefficient characterizing the maximum allowable load operation of the charging station; and determine a preset power threshold based on the product of the rated capacity and the safety factor.

[0082] In one possible embodiment, after broadcasting the first control command to multiple second charging piles via the CAN bus, the broadcasting unit 540 is further configured to: receive the output power of the multiple second charging piles at a preset period, the preset period being a time interval configured by the maintenance personnel of the charging station; update the required power based on the output power of the multiple second charging piles to obtain the updated required power; compare the updated required power with a preset power threshold to obtain a comparison result; and execute a power control strategy based on the comparison result to ensure that the total output power of the charging station is less than the preset power threshold.

[0083] In one possible embodiment, based on the comparison result, a power control strategy is executed. The broadcast unit 540 is further configured to: when the comparison result indicates that the updated power demand is greater than a preset power threshold, calculate and determine a second power coefficient based on the preset power threshold and the updated power demand; generate a second control command based on the second power coefficient; broadcast the second control message to multiple second charging piles to instruct the first charging pile and multiple second charging piles to reduce the output power according to the second power coefficient and the power adjustment step rate, wherein the power adjustment step rate is the working parameter configured by the maintenance personnel for the second charging piles; when the comparison result indicates that the updated power demand is less than or equal to the preset power threshold, generate a third control command; and broadcast the third control command to multiple second charging piles to instruct the first charging pile and multiple second charging piles to output according to the output power.

[0084] In one possible embodiment, after receiving the output power of multiple second charging piles according to a preset period, the broadcast unit 540 is further configured to: detect the operating status of the multiple second charging piles; when it is determined that the operating status of one or more of the multiple second charging piles indicates that a communication interruption or AC power failure has occurred, determine one or more of the multiple second charging piles as abnormal charging piles; record the power value of the abnormal charging pile in the previous preset period as the locked power; update the preset power threshold according to the locked power; determine a third power coefficient according to the updated preset power threshold and the power demand of other charging piles, wherein other charging piles refer to charging piles in the charging station other than the abnormal charging piles; generate a fourth control command according to the third power coefficient, and broadcast the fourth control command to other charging piles to instruct other charging piles to adjust their output power according to the third power coefficient.

[0085] In one possible embodiment, multiple charging piles in the charging station are configured with DIP address, which is used to characterize the control priority of the charging pile; the charging pile output power control device 500 is further configured to: when it is detected that the communication between the first charging pile and multiple second charging piles is interrupted, or the first charging pile experiences an AC power failure, retrieve the DIP address of multiple charging piles in the charging station; and determine the charging pile with the highest control priority as the updated first charging pile according to the DIP address.

[0086] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section in a synchronous manner, and will not be repeated here.

[0087] Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of this application. For example... Figure 6As shown, electronic device 600 may include one or more components: a processor 601 and a memory 602 coupled to the processor 601, wherein the memory 602 may store one or more computer programs, which may be configured to implement the methods described in the examples above when executed by one or more processors 601. Electronic device 600 may be as follows: Figure 1 The controller 111 shown.

[0088] Processor 601 may include one or more processing cores. Processor 601 connects to various parts within the electronic device 600 using various interfaces and lines, and performs various functions and processes data of the electronic device 600 by running or executing instructions, programs, code sets, or instruction sets stored in memory 602, and by calling data stored in memory 602. Optionally, processor 601 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 601 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. It is understood that the aforementioned modem may also not be integrated into processor 601, but may be implemented separately through a communication chip.

[0089] The memory 602 may include random access memory (RAM) or read-only memory (ROM). The memory 602 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 602 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method examples described above. The data storage area may also store data created during the use of the electronic device 600.

[0090] It is understood that the electronic device 600 may include more or fewer structural elements than those shown in the above block diagram, such as a power module, physical buttons, WiFi (Wireless Fidelity) module, speaker, Bluetooth module, sensor, etc., without limitation.

[0091] This application also provides a computer storage medium storing a computer program / instructions thereon, which, when executed by a processor, implements some or all of the steps of any of the methods described in the above method embodiments.

[0092] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments.

[0093] It should be understood that, in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0094] In the several embodiments provided in this application, it should be understood that the disclosed methods, apparatuses, and systems can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0095] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0096] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can be physically comprised separately, or two or more units can be integrated into one unit. The integrated unit described above can be implemented in hardware or in the form of hardware plus software functional units.

[0097] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute partial steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes: a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, volatile memory, or non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous linked DRAM (SLDRAM), and direct rambus RAM (DR RAM), etc., which are various media capable of storing program code.

[0098] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can easily conceive of variations or substitutions without departing from the spirit and scope of the present invention, and various modifications and alterations can be made, including combinations of the different functions and implementation steps described above, as well as software and hardware implementation methods, all of which are within the protection scope of the present invention.

Claims

1. A method for controlling the output power of a charging pile, characterized in that, A controller for a first charging pile at a charging station, the charging station comprising: the first charging pile and a plurality of second charging piles, the first charging pile being communicatively connected to the plurality of second charging piles via a CAN bus; the method comprising: Obtain the output power of the plurality of second charging piles; Calculate the power demand of the charging station based on the output power of the plurality of second charging piles; When the required power exceeds the preset power threshold of the charging station, a first control command is generated, wherein the preset power threshold is used to characterize the rated power of the charging station. The first control command is broadcast to the plurality of second charging piles via the CAN bus. The first control command is used to instruct the first charging pile and the plurality of second charging piles to adjust the output power so that the total output power of the charging station after adjustment is less than the preset power threshold.

2. The method according to claim 1, characterized in that, The generation of the first control command includes: The ratio of the preset power threshold to the required power is calculated and determined as the first power coefficient; The first control instruction is generated based on the first power coefficient. The first control instruction is a broadcast message containing the first power coefficient. The first control instruction is used to instruct the first charging pile and the plurality of second charging stations to reduce the output power according to the first power coefficient.

3. The method according to claim 2, characterized in that, The charging station further includes a transformer, which is connected to the first charging pile and the plurality of second charging piles; the method further includes: Obtain the rated capacity and safety factor of the transformer configuration, wherein the safety factor is a proportional coefficient characterizing the maximum allowable load operation of the charging station; The preset power threshold is determined by multiplying the rated capacity and the safety factor.

4. The method according to any one of claims 1-3, characterized in that, After broadcasting the first control command to the plurality of second charging piles via the CAN bus, the method further includes: The output power of the plurality of second charging piles is received according to a preset period, wherein the preset period is a time interval configured by the operation and maintenance personnel of the charging station; Based on the output power of the plurality of second charging piles, the required power is updated to obtain the updated required power. The updated power demand is compared with the preset power threshold to obtain the comparison result; Based on the comparison results, a power control strategy is executed to ensure that the total output power of the charging station is less than the preset power threshold.

5. The method according to claim 4, characterized in that, The step of executing a power control strategy based on the comparison result includes: When the comparison result indicates that the updated power demand is greater than the preset power threshold, a second power coefficient is calculated and determined based on the preset power threshold and the updated power demand. A second control command is generated based on the second power coefficient; The second control message is broadcast to the plurality of second charging piles to instruct the first charging pile and the plurality of second charging piles to reduce the output power according to the second power coefficient and the power adjustment step rate, wherein the power adjustment step rate is the charging pile operating parameter configured by the maintenance personnel; When the comparison result indicates that the updated power demand is less than or equal to the preset power threshold, a third control command is generated; The third control command is broadcast to the plurality of second charging piles to instruct the first charging pile and the plurality of second charging piles to output according to the output power.

6. The method according to claim 5, characterized in that, After receiving the output power of the plurality of second charging piles at a preset cycle, the method further includes: The operating status of the plurality of second charging piles is detected. When it is determined that the operating status of one or more of the plurality of second charging piles indicates that a communication interruption or AC power failure has occurred, one or more of the plurality of second charging piles are determined to be abnormal charging piles. Record the power value of the abnormal charging pile in the previous preset cycle and lock the power value; Update the preset power threshold based on the locked power; A third power coefficient is determined based on the updated preset power threshold and the power requirements of other charging piles, wherein the other charging piles refer to the charging piles in the charging station other than the abnormal charging piles. A fourth control command is generated based on the third power coefficient, and the fourth control command is broadcast to the other charging piles to instruct the other charging piles to adjust the output power according to the third power coefficient.

7. The method according to claim 1, characterized in that, The charging station has multiple charging piles configured with DIP switch addresses, which are used to characterize the control priority of the charging piles; the method further includes: When it is detected that the communication between the first charging pile and the plurality of second charging piles is interrupted, or that the first charging pile experiences an AC power failure, the DIP switch address of the plurality of charging piles in the charging station is retrieved. Based on the dial switch address, the charging pile with the highest control priority is determined as the updated first charging pile.

8. A control device for the output power of a charging pile, characterized in that, A controller for a first charging pile at a charging station, the charging station comprising: the first charging pile and multiple second charging piles, the first charging pile being communicatively connected to the multiple second charging piles via a CAN bus; the device comprising: an acquisition unit, a calculation unit, a control unit, and a broadcast unit; wherein... The acquisition unit is used to acquire the output power of the plurality of second charging piles; The calculation unit is used to calculate the power demand of the charging station based on the output power of the plurality of second charging piles; The control unit is configured to generate a first control command when the required power exceeds a preset power threshold of the charging station, wherein the preset power threshold is used to characterize the rated power of the charging station. The broadcasting unit is used to broadcast the first control command to the plurality of second charging piles via the CAN bus. The first control command is used to instruct the first charging pile and the plurality of second charging piles to adjust the output power so that the total output power of the charging station after adjustment is less than the preset power threshold.

9. An electronic device, characterized in that, It includes a processor and a memory, the memory being used to store one or more programs and configured to be executed by the processor, the programs including instructions for performing the steps of the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, A computer program for storing electronic data interchange, wherein the computer program causes a computer to perform the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Multi-battery pack charging and discharging control system and scheduling method

    CN117118023A

  • Charging station regulation and control method and device, storage medium and computer equipment

    CN117767333A

  • Charging pile cluster load distribution control method

    CN118316049A

  • AC flexible charging system

    CN212861156U