A method, system and electronic device for anti-inrush control of grid-connected inverter networking
By monitoring the net power at the grid connection point in real time and dynamically screening inverters, a two-level allocation strategy is adopted to optimize the anti-reverse current control of the grid-connected inverter network. This solves the problems of difficult transformation, poor compatibility, and resource waste in existing technologies, and improves grid stability and energy utilization efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN SANDUO ENERGY TECHNOLOGY CO LTD
- Filing Date
- 2026-01-26
- Publication Date
- 2026-07-21
AI Technical Summary
Existing grid-connected inverter anti-reverse current technology is difficult to retrofit, costly, and has limited compatibility. It also fails to fully utilize the potential power generation capacity of each device, leading to abnormal grid voltage and waste of renewable energy.
By monitoring the net power at the grid's point of common coupling in real time, grid-connected inverters with power regulation capacity are dynamically selected. A two-level allocation strategy is adopted to optimize power distribution, ensuring that control commands are accurately issued and maximizing the system's power generation potential.
It achieves precise anti-backflow control, improves grid stability and renewable energy utilization efficiency, and avoids equipment overload and resource waste.
Smart Images

Figure CN121863543B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of grid-connected control technology for new energy power generation, and in particular to a method and system for preventing reverse current flow in grid-connected inverters. Background Technology
[0002] Grid-connected inverters are key devices that convert DC power, such as photovoltaic power, into AC power synchronized with the power grid. In scenarios where multiple grid-connected inverters operate in a network, when the power consumed by the local load is lower than the total output power of the inverter cluster, the excess power will be fed back into the public grid, resulting in reverse current or reverse power flow. Reverse current can cause abnormal voltage increases at the grid connection point, leading to a decline in power quality. In severe cases, it may cause grid equipment overload, malfunction of protection devices, and threaten the stability and safe operation of the regional power grid.
[0003] Currently, common anti-reverse current technologies mainly involve installing power sensors at the point of common coupling (PCC) and regulating the inverter output through a controller. However, these technologies have significant limitations: First, some solutions rely on smart meters with communication capabilities to obtain power data, but in many existing installations, these meters may lack this capability, leading to difficulties in system upgrades, high costs, and limited compatibility. Second, in terms of control strategies, many solutions adopt a one-size-fits-all approach to inverter clusters, such as uniformly reducing the rate or directly shutting down some devices, failing to fully consider the differences in real-time power generation capacity and operating status of different inverters due to variations in sunlight, temperature, aging, or initial settings. This crude control not only lacks precision and is prone to power oscillations near the anti-reverse current threshold, but more importantly, it fails to tap the potential power generation capacity of each device, resulting in a waste of renewable energy. Furthermore, some solutions allocate power solely based on the inverter's rated power without real-time assessment of its current load rate and actual power margin for increase / decrease. This can lead to control commands exceeding the device's instantaneous execution capacity or failing to fully utilize the device's remaining potential. Additionally, for hybrid inverter systems including energy storage units, existing solutions sometimes excessively intervene in the device's internal battery charging and discharging management, resulting in a high degree of coupling between system-level power scheduling and device-level energy management, increasing system complexity and failure risks. Summary of the Invention
[0004] This invention provides a method, system, electronic device, and storage medium for anti-reverse current control of grid-connected inverters, in order to solve the technical problems in the current technology, such as the lack of coupling guidance strategy between photovoltaics and energy storage, low returns of photovoltaic power generation due to weather and attenuation, high grid dispatch pressure, high cost of new energy storage and its matching and retrofitting, and the failure of existing solutions to achieve accurate energy storage configuration and photovoltaic output compensation.
[0005] In a first aspect, embodiments of the present invention provide a method for preventing reverse current flow in a grid-connected inverter network, wherein each of the grid-connected inverters is connected to the grid via a grid common coupling point (PCC), and the method for preventing reverse current flow includes: S1. Obtain the real-time power value of the PCC and determine the power deviation value based on the real-time power value and the preset anti-reverse current power threshold.
[0006] S2. Periodically acquire the operating status data of each grid-connected inverter, the operating status data including real-time output power, current power setting value and rated power.
[0007] S3. Based on the operating status data, select grid-connected inverters with power regulation capacity as target devices.
[0008] S4. Iterate through each of the grid-connected inverters. If the current power setting value is greater than the real-time output power, reclaim the unused power quota to the total allocable power and update the power setting value.
[0009] S5. Perform power allocation according to the power deviation value: If the power deviation value is positive, the power increment, including the total allocable power, is first allocated to the target device. If there is a remainder after allocation, it is then allocated to all online grid-connected inverters, and the power setting value of each grid-connected inverter does not exceed the rated power. If the deviation value is negative, the power setting value of each grid-connected inverter is reduced sequentially. If the reduction is insufficient, the corresponding power setting value is adjusted to zero, and the uncompleted reduction is transferred to subsequent grid-connected inverters until the total reduction reaches the absolute value of the deviation.
[0010] S6. The power setting values determined or updated in S4 and S5 are sent to the corresponding grid-connected inverters respectively.
[0011] Preferably, in step S3, selecting grid-connected inverters with power regulation capacity based on the operating status data includes: Calculate the equipment load rate of each of the grid-connected inverters. or load,i With power output margin or margin,i .
[0012] Among them, for the first i The corresponding equipment load rate of the grid-connected inverter. or load,i for: or load,i = P out,i / P set,i , P out,iFor grid-connected inverters i Real-time output power, P set,i For grid-connected inverters i The current power setting value.
[0013] The power output margin or margin,i for: or margin,i =( P rated,i -P out,i ) / P rated,i , P rated,i For grid-connected inverters i Rated power.
[0014] The device load rate exceeds the first preset threshold. T 1. And the power output margin is greater than the second preset threshold. T The grid-connected inverter of type 2 is selected as the target device with power regulation capacity.
[0015] Preferably, S4 specifically includes: Initialize the total allocable power, iterate through each grid-connected inverter, and if the current power setting value is greater than the real-time output power, calculate the difference between the current power setting value and the real-time output power, and add the difference to the total allocable power.
[0016] Based on the real-time output power and rated power, a set power setting value not lower than the real-time output power is set for the grid-connected inverter.
[0017] Preferably, based on the real-time output power and rated power, a set power setting value not lower than the real-time output power is set for the grid-connected inverter, specifically including: Calculate a first reference value and a second reference value, wherein the first reference value is the real-time output power multiplied by a first preset coefficient, and the second reference value is the rated power multiplied by a second preset coefficient; Compare the first reference value with the second reference value, and take the larger one as the target value.
[0018] Determine whether the target value exceeds the rated power.
[0019] If not, then set the power setting value to the target value.
[0020] If so, the power setting value is set to the rated power.
[0021] Preferably, an initialization step is also included: Get a list of all online grid-connected inverters in the grid-connected inverter network.
[0022] Based on the first acquired real-time power value, the initial power deviation value is calculated.
[0023] Initial power allocation is performed based on the initial power deviation value: if the initial power deviation value is positive, the initial power deviation value is evenly distributed to each online grid-connected inverter as the corresponding initial power setting value; if the initial power deviation value is negative or zero, the power setting value of all online grid-connected inverters is set to zero.
[0024] Preferably, in step S5, the inverters are first allocated to the target device, and if there are any remaining inverters after allocation, they are then allocated to all online grid-connected inverters. Specifically, this includes: Iterate through all the target devices, calculate the available power capacity of each target device, where the available power capacity is the difference between the rated power and the current power setting value, and allocate power increments according to the available power capacity to update the power deviation value.
[0025] If the updated power deviation value is still greater than zero after allocation, then all online grid-connected inverters are traversed, the available power capacity of each online grid-connected inverter is calculated, and the power increment is allocated according to the available power capacity.
[0026] Preferably, in step S5, the power setting values of each grid-connected inverter are reduced sequentially, specifically including: When the power deviation value DP≤0, first calculate based on the real-time output power of each grid-connected inverter. P out,i The power deviation value DP is assigned.
[0027] According to a predetermined order, each grid-connected inverter is traversed, and for the currently traversed first inverter... i A grid-connected inverter is used to calculate the target power reduction. redu power The target power that can be reduced redu power = P out,i +DP.
[0028] Determine the target power that can be reduced redu power Is it greater than 0?
[0029] If the target power can be reduced redu power >0, then the first i Power setting value of grid-connected inverter P set,iSet as the target power that can be reduced redu power .
[0030] If the target power can be reduced redu power If ≤0, then the first i Power setting value of grid-connected inverter P set,i Adjust to 0, and set the number to 0. i Real-time output power of the grid-connected inverter described above P out,i The power deviation value DP is accumulated to obtain the updated power deviation value DP.
[0031] Complete the first i After connecting the inverters to the grid, determine whether there are any grid-connected inverters that have not been traversed.
[0032] If so, return to continue iterating through the next grid-connected inverter.
[0033] If not, then again check the real-time output power of each grid-connected inverter. P out,i The updated power deviation value DP is assigned.
[0034] If not, the power setting value of the grid-connected inverter is adjusted to zero, and the power that can be reduced is subtracted from the current total power to be reduced. The difference is then updated as the new current total power to be reduced, so that subsequent grid-connected inverters can continue to reduce the power.
[0035] Secondly, embodiments of the present invention provide an anti-reverse current control system for grid-connected inverters, wherein each of the grid-connected inverters is connected to the grid via a grid common coupling point (PCC), and the anti-reverse current control system includes: The power grid information acquisition module is used to acquire the real-time power value of the PCC and determine the power deviation value based on the real-time power value and the preset anti-reverse power threshold.
[0036] The data communication module is used to periodically acquire the operating status data of each grid-connected inverter, including real-time output power, current power setting value, and rated power.
[0037] The anti-reverse current power dispatching module is connected to both the power grid information acquisition module and the data communication module, and is configured to perform the following operations: Based on the operating status data, grid-connected inverters with power regulation capacity are selected as target devices.
[0038] For each of the grid-connected inverters, if the current power setting value is greater than the real-time output power, then unused power quotas are reclaimed to the total allocable power, and the power setting value is updated. Power allocation is performed based on the power deviation value: if the power deviation value is positive, the power increment, including the total allocable power, is first allocated to the target device. If there is a remainder after allocation, it is then allocated to all online grid-connected inverters, and the power setting value of each grid-connected inverter does not exceed the rated power. If the deviation value is negative, the power setting value of each grid-connected inverter is reduced sequentially. If the reduction is insufficient, the corresponding power setting value is adjusted to zero, and the uncompleted reduction is transferred to subsequent grid-connected inverters until the total reduction reaches the absolute value of the deviation.
[0039] The data communication module is also used to send the power setting values determined or updated by the anti-reverse power scheduling module to the corresponding grid-connected inverters.
[0040] Thirdly, embodiments of the present invention provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the anti-reverse flow control method for grid-connected inverters as described in the first aspect of the present invention.
[0041] Fourthly, embodiments of the present invention provide a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the anti-reverse flow control method for grid-connected inverters as described in the first aspect of the present invention.
[0042] This invention provides an anti-reverse current control method, system, electronic device, and storage medium for grid-connected inverter networks. It dynamically determines the overall power demand requiring either an increase or decrease by monitoring the net power at the grid's point of common coupling (PCC) in real time and calculating its deviation from a preset positive power threshold. Simultaneously, it collects multi-dimensional operating status data for each device in the grid-connected inverter network, including real-time output power, current power setting, and rated power. Based on this, it intelligently selects devices with high current load rates and remaining output margin as priority scheduling targets. Before power allocation, it iterates through all inverters to reclaim idle quotas where the current set power exceeds the actual output power, integrating these into system-allocable resources. Simultaneously, it sets up anti-reverse current control for each device. A reasonable power buffer value is set to improve control stability. When power needs to be increased, a two-level allocation strategy is adopted, prioritizing equipment with spare capacity and then covering all equipment. The power increment (including the recovery quota) is first allocated to the target equipment. If there is still a surplus, it is then allocated to all online equipment, strictly limited to the rated power of each equipment. When power needs to be reduced, it is precisely reduced according to a predetermined order, based on the current power setting value of each equipment. If the reduction amount of a single equipment is insufficient, its power is directly set to zero and the uncompleted reduction amount is transferred to subsequent equipment, thereby ensuring that the total reduction amount is accurately achieved. Finally, the optimized power setting value is issued for execution, forming a closed-loop control of monitoring-evaluation-recovery-scheduling-execution. Through dynamic evaluation of equipment status and two-level allocation, the shortcomings of traditional schemes, such as insufficient overall adjustment accuracy and neglect of equipment differences, are overcome. The adjustment command is accurately issued to the most suitable equipment, maximizing the system's power generation potential under the premise of strict anti-backflow. The mechanism of recovering unused power quota and setting a buffer effectively improves the efficiency of power resource utilization, while avoiding frequent command oscillations caused by equipment response delays or fluctuations, thus enhancing the stability of system operation. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention 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 some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 This is a flowchart of an anti-reverse current control method for grid-connected inverters according to an embodiment of the present invention; Figure 2 This is a detailed flowchart of the anti-reverse current control method for grid-connected inverter networking according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the equipment capacity determination mechanism according to an embodiment of the present invention; Figure 4This is a schematic diagram of the mechanism for recycling unused power quotas according to an embodiment of the present invention; Figure 5 This is a schematic diagram of actual output allocation according to an embodiment of the present invention; Figure 6 This is a block diagram of the anti-reverse current control system for grid-connected inverters according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the physical structure according to an embodiment of the present invention. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] In the embodiments of this application, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0047] 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.
[0048] This invention provides a method for preventing reverse current flow in a grid-connected inverter network, wherein each of the grid-connected inverters is connected to the grid via a point of common coupling (PCC). Figure 1 and Figure 2 As shown, the anti-backflow control method includes: S1. Obtain the real-time power value of the PCC and determine the power deviation value based on the real-time power value and the preset anti-reverse current power threshold.
[0049] Among them, PCC (Point of Common Coupling) is the junction connection node between grid-connected inverters, local loads, and the public power grid (e.g., in a residential distributed photovoltaic system, all household inverters are connected to the grid through this node); real-time power value ( P gridThis is the instantaneous power data at the PCC (Power Control Center). A positive value indicates that the local load is drawing power from the grid, while a negative value indicates that the inverter is generating power and feeding it back to the grid (i.e., reverse current). It is collected in real time by a high-precision power sensor; a preset anti-reverse current power threshold is provided. P threshold ) is a custom positive parameter used to reserve a stable adjustment buffer; the power deviation (DP) is the difference between the real-time power value and the preset threshold (DP= P grid - P threshold The power data collected by the inverter is the core basis for judging the system's power regulation. Existing technologies rely on electricity meters for data acquisition, but these meters may lack communication capabilities, and the real-time data acquisition is insufficient, leading to delayed or unimplemented anti-reverse current control. In this embodiment, S1 directly collects comprehensive power data at the PCC in real time (without relying on electricity meter communication), accurately reflecting the dynamic balance between local load power consumption and inverter power generation. This solves the problems of limited data acquisition and poor real-time performance in existing technologies, providing a core basis for anti-reverse current judgment. It can not only prevent reverse current phenomena with negative power but also provide a clear direction for subsequent scheduling through deviation calculation, ensuring regional power grid voltage stability and power supply security.
[0050] S2. Periodically acquire the operating status data of each grid-connected inverter, the operating status data including real-time output power, current power setting value and rated power.
[0051] In this embodiment, "periodic" refers to the system collecting data at fixed time intervals (such as a cyclic mechanism including a period counter, updating the online device list every 10 cycles), adapting to scenarios where multiple inverters work together (such as industrial distributed photovoltaic power stations); the operating status data is the core set of operating parameters of the inverter; among them, real-time output power ( P out,i ) is the first i The inverter's current actual output power; current power setting value ( P set,i ) is what the system previously issued to the first i The target operating power of the inverter; rated power ( P rated,i ) is the first iThe maximum safe output power of the inverter design. Existing technologies are limited in that they only regulate the overall power of the inverter group, ignoring the real-time operational differences between different devices, leading to a disconnect between control commands and actual conditions and insufficient adjustment accuracy. In this embodiment, S2 periodically acquires key operating parameters of each inverter through the User Datagram Protocol (UDP), solving the problem of lacking real-time status awareness of individual devices in existing technologies. This provides data support for subsequent device capacity assessment and precise power allocation, ensuring that the system can formulate control strategies based on the actual operating status of the devices and avoid blind adjustments.
[0052] S3. Based on the operating status data, select grid-connected inverters with power regulation capacity as target devices.
[0053] Among them, power regulation margin refers to the inverter's current ability to handle additional power output or reduce power; the target equipment is a grid-connected inverter with power regulation margin after screening, and the screening criteria are equipment load rate and power output margin, equipment load rate ( or load,i = Real-time output power / Current power setting ( P out,i / P set,i ), reflecting the current power utilization level of the equipment; power output margin ( or margin,i = (Rated Power - Real-time Output Power) / Rated Power (( P rated,i - P out,i ) / P rated,i This indicator reflects the remaining power potential of equipment. In application scenarios such as commercial photovoltaic power plants, inverters of different brands and operating durations can be differentiated by this indicator to distinguish their regulation capabilities. Existing technologies allocate power based solely on the rated power of the equipment, without considering actual regulation capabilities, leading to ineffective allocation. In this embodiment, S3 dynamically calculates two core indicators based on operating status data, selecting target equipment with a load rate exceeding 85% and a power output margin greater than 15%. This solves the problem of existing technologies ignoring real-time differences in equipment operation, clearly prioritizing equipment for subsequent power allocation, avoiding the allocation of power to equipment without regulation capacity, and improving the efficiency and accuracy of power allocation.
[0054] S4. Iterate through each of the grid-connected inverters. If the current power setting value is greater than the real-time output power, reclaim the unused power quota to the total allocable power and update the power setting value.
[0055] Among them, the unused power quota refers to the difference between the inverter's current power setting value and the real-time output power.P set , IP out,i The target power is the portion of the system-issued target power that is not actually utilized; the total allocable power (Allowance) is the sum of the unused power quotas of all inverters; the updated power setting is the target power optimized according to the rules, calculated from the first reference value (real-time output power × 1.01) and the second reference value (rated power × 0.01), and the larger one is taken as the target value. If the target value does not exceed the rated power, it is updated accordingly; otherwise, it is updated according to the rated power. This is suitable for scenarios such as residential photovoltaic systems where the actual output of inverters is lower than the set value due to fluctuations in sunlight. Existing technologies do not recover idle power quotas, resulting in resource waste, and frequent adjustments to the setting value affect equipment stability. In this embodiment, S4 traverses all inverters, recovers unused quotas, and optimizes and updates the setting value, solving the problems of idle power resources and large fluctuations in setting values in existing technologies. The technical effect is to maximize the utilization of idle power resources, while avoiding frequent adjustments due to power fluctuations through the setting of minimum buffer values and upward floating space, thus balancing system power utilization efficiency and equipment operation stability.
[0056] S5. Perform power allocation according to the power deviation value: If the power deviation value is positive, the power increment, including the total allocable power, is first allocated to the target device. If there is a remainder after allocation, it is then allocated to all online grid-connected inverters, and the power setting value of each grid-connected inverter does not exceed the rated power. If the deviation value is negative, the power setting value of each grid-connected inverter is reduced sequentially. If the reduction is insufficient, the corresponding power setting value is adjusted to zero, and the uncompleted reduction is transferred to subsequent grid-connected inverters until the total reduction reaches the absolute value of the deviation.
[0057] In this embodiment, the power increment is the sum of the power deviation value and the total allocable power, i.e., the additional power that the system can allocate. This embodiment employs a two-level allocation mechanism: the first level allocates the power increment to the target device, and the remaining portion is then allocated to all online inverters in a hierarchical strategy; the second level, sequential reduction, refers to performing power reduction on each inverter one by one, with the unfinished reduction transferred when an inverter's power reduction capacity is insufficient, setting its setting to zero, and the unfinished reduction being borne by subsequent inverters. Existing technologies suffer from insufficient adjustment accuracy and excessive system complexity, or simply involve overall device start-up and shutdown, or excessive intervention in the internal management of energy storage. This embodiment's S5 adopts a differentiated allocation strategy for positive and negative power deviation values: for positive deviations, the two-level allocation prioritizes devices with spare capacity; for negative deviations, it precisely reduces and transfers the unfinished amount on each inverter, solving the problems of low adjustment accuracy, ineffective allocation, and system complexity in existing technologies. While eliminating backflow, it maximizes the system's power generation potential, ensures accurate execution of adjustment commands, and balances system reliability and economy.
[0058] S6. The power setting values determined or updated in S4 and S5 are sent to the corresponding grid-connected inverters respectively.
[0059] Among them, the power setting value issuance of S6 refers to the issuance of the target power after being updated or determined by S4 and S5. P set,i The command, sent to the corresponding grid-connected inverter, includes two key fields: the target device's unique identifier (UID) and the power setting value. Existing technologies suffer from poor system compatibility and a lack of communication security mechanisms, leading to the inability of some inverters to connect or security risks arising from communication interruptions. In this embodiment, S6 standardizes command delivery via the UDP protocol, ensuring compatibility with all compliant grid-connected inverters. It also includes a communication interruption security mechanism, resolving the issues of poor compatibility and high security risks inherent in existing technologies. This enables mixed deployment and coordinated control of different types of inverters, ensuring accurate delivery and execution of control commands while guaranteeing system security in the event of communication anomalies, thus improving system adaptability and scalability.
[0060] Based on the above embodiments, as a preferred implementation method, such as Figure 3 As shown in the figure, in step S3, selecting grid-connected inverters with power regulation capacity based on the operating status data includes: Calculate the equipment load rate of each of the grid-connected inverters. or load,i With power output margin or margin,i Among them, for the first i The corresponding equipment load rate of the grid-connected inverter. or load,i for: or load,i = P out,i / P set,i , P out,i For grid-connected inverters i Real-time output power, P set,i For grid-connected inverters i Current power setting; device load rate or load,i It is the first i The ratio of the real-time output power of the grid-connected inverter to the current power setting value reflects the degree to which the grid-connected inverter utilizes the current target power.
[0061] The power output margin or margin,i for: or margin,i =( P rated,i-P out,i ) / P rated,i , P rated,i For grid-connected inverters i The rated power; is the first i The ratio of the difference between the rated power and the real-time output power of the inverter to the rated power reflects the remaining safe power potential of the grid-connected inverter.
[0062] The device load rate exceeds the first preset threshold. T 1. And the power output margin is greater than the second preset threshold. T The grid-connected inverter of type 2 is selected as the target device with power regulation capacity. In this embodiment, the first preset threshold... T 1. Fixed at 85% (equipment load rate threshold), second preset threshold T 2 represents 15% (power output margin threshold), meaning that an inverter is marked as having spare capacity only when its load rate is greater than 85% and its margin is greater than 15%. This setting is based on balancing equipment utilization and regulation safety. An 85% load rate ensures that the equipment is close to full load but not overloaded, while a 15% margin provides sufficient power redundancy to cope with sudden regulation needs and prevent equipment damage due to instantaneous overload.
[0063] In this embodiment, the equipment load rate and power output margin of each grid-connected inverter are first calculated, and then those that simultaneously meet the condition of having an equipment load rate exceeding a first preset threshold are selected. T 1. Power output margin is greater than the second preset threshold. T The grid-connected inverter 2 is used as the target device. The shortcoming of existing technologies lies in the fact that when selecting devices with power regulation capacity, they often only consider the rated power surplus or the current output percentage. This easily leads to the selection of ineffective devices where the current set power is not fully utilized but the rated power is exhausted, or where the rated power is surplus but the current set power is already at full load, resulting in low efficiency in subsequent power allocation. This step solves the problems of inaccurate target device selection and insufficient targeted power allocation in existing technologies by using a dual-indicator screening method. It accurately identifies devices that fully utilize the current target power and have rated power redundancy, providing efficient priority targets for subsequent power allocation and improving the accuracy and response efficiency of the entire grid-connected system's anti-reverse current regulation.
[0064] Based on the above embodiments, as a preferred implementation, step S4 specifically includes: The process initializes the total allocable power. It iterates through each grid-connected inverter. If the current power setting is greater than the real-time output power, the difference between the current power setting and the real-time output power is calculated and added to the total allocable power. The total allocable power is a centrally managed, reschedulable power resource pool, initialized to 0, used to integrate underutilized power quotas from all inverters. The difference accumulation process sums the redundant power of each inverter's setting value minus its actual output value to the total allocable power. First, the total allocable power is initialized to zero. Then, each grid-connected inverter is iterated through, and its setting value is checked against its actual output value. If the setting value is greater than the actual output value, redundant power is calculated and added to the resource pool. The drawback of existing technology is the lack of recovery of idle power from inverters, resulting in some inverters having unused power while others need power but lack the necessary resources. Furthermore, the overall system regulation capability is insufficient, making it difficult to quickly respond to power fluctuations at the PCC point. This step addresses the issues of scattered and idle power resources and insufficient system redundancy in existing technologies by actively reclaiming unused power quotas. It centrally integrates redundant power to provide sufficient schedulable resources for subsequent power allocation, improving the flexibility and response speed of the system's anti-reverse current regulation. It is particularly suitable for multi-machine parallel scenarios in industrial and commercial settings, and can quickly coordinate the idle power of hundreds of inverters to cope with sudden load changes.
[0065] Based on the real-time output power and rated power, a set power setting value not lower than the real-time output power is set for the grid-connected inverter.
[0066] The newly optimized target power setting, which is not lower than the real-time output power, is designed to avoid setting the value below the actual current output while not exceeding the rated power. The calculation references the larger of real-time output power × 1.01 and rated power × 1%, adapting to different load fluctuation scenarios such as residential and commercial applications. Using the inverter's current actual output power as a baseline, combined with the safety constraint of rated power, a reasonable target power value is calculated and set to ensure that the setting value is neither lower than the real-time output nor exceeds the equipment's safety limit. The shortcomings of existing technologies lie in either ignoring the real-time output, resulting in an excessively low setting value (leading to frequent inverter shutdowns due to power reduction), or ignoring the rated power, resulting in an excessively high setting value. This step, through dual-parameter constraint setting of the power value, solves the problems of unreasonable setting values and unstable equipment operation in existing technologies. The technical effect is to ensure that the inverter always operates within a stable operating range, reducing equipment losses caused by setting value fluctuations, while avoiding wasted power generation potential, thus balancing system safety and power generation economy.
[0067] Based on the above embodiments, as a preferred implementation, a set power setting value not lower than the real-time output power is set for the grid-connected inverter based on the real-time output power and the rated power, specifically including: Calculate a first reference value and a second reference value, wherein the first reference value is the real-time output power multiplied by a first preset coefficient, and the second reference value is the rated power multiplied by a second preset coefficient; Compare the first reference value with the second reference value, and take the larger one as the target value.
[0068] Determine whether the target value exceeds the rated power.
[0069] If not, then set the power setting value to the target value.
[0070] If so, the power setting value is set to the rated power.
[0071] The first preset coefficient is 1.01, used to reserve power redundancy for equipment response delay; the second preset coefficient is 0.01, used to set the minimum safe operating power; the first reference value is a dynamic reference power calculated based on the real-time output power of the grid-connected inverter (e.g., a 5kW household inverter with a real-time output of 3kW, calculated with the first preset coefficient of 1.01, has a first reference value of 3.03kW), used to adapt to the real-time operating status of the equipment; the second reference value is a safety buffer power calculated based on the rated power of the inverter (e.g., the rated power of the inverter is 5kW, calculated with the second preset coefficient of 0.01, has a second reference value of 0.05kW), to avoid frequent start-stop of low-power equipment due to excessively low setting values; the target value is the optimal base power selected from the two reference values, taking into account both real-time operation and safety buffer; firstly, the first reference value based on the real-time output power and the second reference value based on the rated power are calculated respectively, and the larger of the two values is selected as the target value, then it is determined whether the target value exceeds the rated power. If it does not exceed the rated power, the target value is used as the final power setting value; if it exceeds the rated power, the rated power is used as the final setting value.
[0072] The shortcomings of existing technologies lie in the fact that when setting power settings, either the device response delay is not considered, leading to a setting value lower than the real-time output power (causing frequent power reduction by the inverter), or the lack of a minimum buffer power leads to frequent start-stop of low-power devices, or the neglect of rated power constraints results in device overload. This embodiment solves the problems of unreasonable power settings, poor equipment operation stability, and wasted power generation potential in existing technologies by calculating two reference values through explicit dual preset coefficients and then determining the final setting value through two layers of judgment. It ensures that the inverter power setting value is neither lower than the real-time output power (avoiding ineffective power reduction) nor higher than the rated power (ensuring equipment safety). At the same time, through a minimum buffer of 1% of the rated power and an upward float of 1.01 times the real-time output, it adapts to different scenarios such as small load fluctuations in residential applications and the operation of high-power equipment in industrial and commercial applications, reducing equipment losses and frequent setting adjustments, and balancing system operation stability and power generation economy.
[0073] Based on the above embodiments, as a preferred implementation, an initialization step is also included: Get a list of all online grid-connected inverters in the grid-connected inverter network.
[0074] Based on the first acquired real-time power value, the initial power deviation value is calculated.
[0075] Initial power allocation is performed based on the initial power deviation value: if the initial power deviation value is positive, the initial power deviation value is evenly distributed to each online grid-connected inverter as the corresponding initial power setting value; if the initial power deviation value is negative or zero, the power setting value of all online grid-connected inverters is set to zero.
[0076] The list of online grid-connected inverters is a device list generated by the system after broadcasting a query via User Datagram Protocol (UDP). It includes all grid-connected inverters currently connected to the wireless LAN and capable of receiving control commands, along with their rated power and unique identifier (UID). The first acquired real-time power value is the instantaneous power data of the grid point of common coupling (PCC) collected by a high-precision power sensor after system initialization. The initial power deviation value is the difference between the first real-time power value and the preset anti-reverse current power threshold (DP= P grid - P threshold The initial power allocation is the core basis for power scheduling during system startup. The initial power allocation is the first power command issued after system startup, laying the foundation for subsequent precise scheduling. Average allocation divides the positive deviation power equally among the number of online inverters. Setting the power setting value to zero is a safety strategy during system startup, meaning that the inverters instantly stop power output after receiving the command (e.g., triggered when the initial deviation is -0.3kW and there is a risk of reverse current). First, the list of online inverters is confirmed via UDP broadcast. Then, the initial deviation is calculated by collecting the first real-time power at the PCC point. Differential initial allocation is performed based on the sign of the deviation. Positive deviations are evenly allocated power to meet load demands, while negative or zero deviations result in a complete shutdown to prevent reverse current.
[0077] The shortcomings of existing technologies lie in the failure to confirm the online status of equipment during the initialization phase (leading to command failure), the blind allocation without distinguishing between positive and negative deviations (allocating power even with negative deviations causes reverse current, while uneven allocation with positive deviations results in wasted power generation), and the partial reliance on wired communication to query equipment status, which limits implementation. This embodiment solves the problems of low initialization efficiency, invalid commands, and easy reverse current in existing technologies by using UDP wireless query to query online equipment and accurately allocate power according to deviation type. It quickly establishes the foundation for system scheduling and is adaptable to different scenarios such as residential (few inverters) and industrial and commercial power plants (many inverters). During the startup phase, it not only eliminates the risk of reverse current but also maximizes the utilization of initial power generation potential, while avoiding invalid commands occupying communication resources, thus improving the stability and adaptability of system startup.
[0078] Based on the above embodiments, as a preferred implementation method, such as Figure 4 As shown in the diagram, in step S5, the inverter is first allocated to the target device. If there are any remaining inverters after allocation, they are then allocated to all online grid-connected inverters. Specifically, this includes: The process iterates through all target devices, calculates the available power capacity of each device (the difference between the rated power and the current power setting), and allocates power increments based on the available power capacity, updating the power deviation value. The power increment is the total additional power to be allocated in the system, equal to the sum of the positive power deviation value and the recovered unused power quota. The updated power deviation value represents the remaining power to be allocated after allocation, adapting to industrial and commercial scenarios involving multiple target devices working together. In this embodiment, all target devices with adjustment capacity are traversed first, the power handling capacity of each device is accurately calculated, power increments are allocated according to the available power capacity, and the remaining power deviation value to be allocated is updated synchronously. The drawback of existing technologies is that power allocation is based solely on the rated power of the device, without distinguishing actual adjustment capacity, leading to the allocation of power increments to devices with no capacity, resulting in ineffective scheduling and resource waste. This embodiment solves the problems of insufficient targeting and ineffective power allocation in existing technologies by prioritizing the scheduling of target devices. It ensures that every 1W power increment can be utilized by the most suitable device, improving power allocation efficiency. In large-scale industrial and commercial networking scenarios (such as hundreds of inverters connected in parallel), it can quickly complete the power scheduling of core devices, laying an efficient foundation for subsequent allocation, while avoiding the risk of equipment overload.
[0079] If the updated power deviation value is still greater than zero after allocation, then all online grid-connected inverters are traversed, the available power capacity of each online grid-connected inverter is calculated, and the power increment is allocated according to the available power capacity.
[0080] In this embodiment, all online grid-connected inverters are confirmed via UDP broadcast to represent all devices currently connected to the system, including previously targeted devices and devices with no spare capacity (e.g., in a 3kW residential photovoltaic system, there are 2 online inverters, 1 of which is the target device and the other is not marked as a target device due to a 70% load rate). The available power capacity is still the difference between the rated power and the current power setting (e.g., the aforementioned device with no spare capacity has a rated power of 3kW and a current setting of 2.1kW, resulting in an available capacity of 0.9kW). The power increment is the remaining power to be allocated after the previous allocation (e.g., a 2kW increment remaining after the previous allocation). In this embodiment, if there is still a remaining power increment after the target device is allocated, a full traversal is initiated to calculate the available power capacity of all online inverters. The remaining increment is allocated sequentially according to capacity until the power deviation value drops to zero or all devices are allocated. The drawback of existing technologies is that power is only allocated to the target device, leaving the remaining increment underutilized, resulting in wasted system power generation potential, or blindly allocating power evenly to all devices, ignoring the real-time available capacity of the devices. This embodiment solves the problems of incomplete power allocation and insufficient exploitation of power generation potential in existing technologies by allocating the remaining incremental power across the entire domain. The technical effect is to maximize the utilization of the overall power generation capacity of the system and adapt to different networking scenarios such as residential (few devices) and industrial and commercial (large number of devices). In residential scenarios, it can meet the instantaneous growth demand of loads such as lighting and air conditioning. In industrial and commercial scenarios, it can fully mobilize the redundant capacity of all devices to take over the remaining incremental power. Under the premise of eliminating backflow, it ensures that every 1W of power generation is not wasted, and takes into account both the comprehensiveness and economy of system regulation.
[0081] Based on the above embodiments, as a preferred implementation method, such as Figure 5 As shown in the diagram, in step S5, the power setting values of each grid-connected inverter are reduced sequentially, specifically including: When the power deviation value DP≤0, first calculate based on the real-time output power of each grid-connected inverter. P out,i The power deviation value DP is assigned.
[0082] According to a predetermined order, each grid-connected inverter is traversed, and for the currently traversed first inverter... i A grid-connected inverter is used to calculate the target power reduction. redu power The target power that can be reduced redu power = P out,i +DP.
[0083] Determine the target power that can be reduced redu power Is it greater than 0?
[0084] If the target power can be reduced redupower >0, then the first i Power setting value of grid-connected inverter P set,i Set as the target power that can be reduced redu power .
[0085] If the target power can be reduced redu power If ≤0, then the first i Power setting value of grid-connected inverter P set,i Adjust to 0, and set the number to 0. i Real-time output power of the grid-connected inverter described above P out,i The power deviation value DP is accumulated to obtain the updated power deviation value DP. This completes the first step. i After connecting the inverters to the grid, determine whether there are any grid-connected inverters that have not been traversed.
[0086] If so, return to continue iterating through the next grid-connected inverter.
[0087] If not, then again check the real-time output power of each grid-connected inverter. P out,i The updated power deviation value DP is assigned.
[0088] In this embodiment, when DP≤0 is detected (risk of reverse current), DP is first allocated according to the real-time output power ratio of each inverter, and then each inverter is traversed in a predetermined order to calculate the power of each device. redu power ,pass redu power The judgment of whether it is greater than 0 will be adjusted accordingly; if it is greater than 0, then... P set,i Set this value (precise power reduction); if it is less than or equal to 0, then... P set,i Set the output power to 0 (full reduction during shutdown) and update the DP. If there is still a deviation after going through all devices, then redistribute the updated DP according to the real-time output power until the risk of reverse current is eliminated.
[0089] The shortcomings of existing technologies lie in their reliance on average distribution of power deviation or fixed-ratio power reduction during power reduction, neglecting the real-time output differences of individual inverters. This leads to over-reduction in some devices (wasting power generation potential due to shutdowns) and under-reduction in others (residual reverse current risk). Furthermore, the lack of a dynamic deviation update mechanism makes them unsuitable for multi-device mixed grid scenarios. This embodiment solves the problems of inaccurate power reduction, residual reverse current risk, and wasted power generation potential in existing technologies by using a logic of real-time output distribution deviation + dynamic calculation of reduction targets + iterative update. It ensures that the reduction amount of each inverter is precisely matched with its actual output capacity, completely eliminating backflow of electricity and avoiding unnecessary shutdowns and power reduction. It is suitable for different scenarios such as residential low-power grids and large-scale parallel industrial and commercial grids, maximizing the self-consumption rate and economic efficiency of photovoltaic systems while ensuring grid safety and stability.
[0090] Secondly, embodiments of the present invention provide an anti-reverse current control system for grid-connected inverters, such as... Figure 6 As shown, each of the grid-connected inverters 650 is connected to the grid 610 via a grid common coupling point PCC. The anti-reverse current control system includes: The power grid information acquisition module 620 is used to acquire the real-time power value of the PCC in real time, and determine the power deviation value based on the real-time power value and the preset anti-reverse power threshold. The data communication module 640 is used to periodically acquire the operating status data of each of the grid-connected inverters 650, the operating status data including real-time output power, current power setting value and rated power; The anti-reverse current power dispatching module 630 is connected to both the power grid information acquisition module and the data communication module, and is configured to perform the following operations: Based on the operating status data, grid-connected inverter 650 with power regulation capacity was selected as the target device. For each of the grid-connected inverters 650, if the current power setting value is greater than the real-time output power, then unused power quotas are reclaimed to the total allocable power, and the power setting value is updated. Power allocation is performed based on the power deviation value: if the power deviation value is positive, the power increment, including the total allocable power, is first allocated to the target device. If there is a remainder after allocation, it is then allocated to all online grid-connected inverters 650, and the power setting value of each grid-connected inverter 650 does not exceed the rated power. If the deviation value is negative, the power setting value of each grid-connected inverter 650 is reduced sequentially. If the reduction is insufficient, the corresponding power setting value is adjusted to zero, and the uncompleted reduction is transferred to the subsequent grid-connected inverters 650 until the total reduction reaches the absolute value of the deviation. The data communication module 640 is also used to send the power setting value determined or updated by the anti-reverse power scheduling module 630 to the corresponding grid-connected inverter 650.
[0091] Based on the same concept, this invention also provides a schematic diagram of a physical structure, such as... Figure 7 As shown, the server may include a processor 710, a communications interface 720, a memory 730, and a communication bus 740. The processor 710, communications interface 720, and memory 730 communicate with each other via the communication bus 740. The processor 710 can call logic instructions stored in the memory 730 to execute the steps of the anti-reverse current control method for grid-connected inverters as described in the above embodiments.
[0092] Furthermore, the logical instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0093] Based on the same concept, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program containing at least one piece of code that can be executed by a master control device to control the master control device to implement the steps of the anti-reverse current control method for grid-connected inverter networking as described in the above embodiments.
[0094] Based on the same technical concept, this application also provides a computer program, which, when executed by a main control device, is used to implement the above-described method embodiments.
[0095] The program may be stored, in whole or in part, on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
[0096] Based on the same technical concept, this application also provides a processor for implementing the above-described method embodiments. The processor can be a chip.
[0097] The various embodiments of the present invention can be combined arbitrarily to achieve different technical effects.
[0098] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for preventing reverse current flow in a grid-connected inverter network, wherein each of the grid-connected inverters is connected to the grid via a grid common coupling (PCC), characterized in that, The backflow prevention control method includes: S1. Obtain the real-time power value of the PCC in real time, and determine the power deviation value based on the real-time power value and the preset anti-reverse current power threshold. S2. Periodically acquire the operating status data of each grid-connected inverter, the operating status data including real-time output power, current power setting value and rated power; S3. Based on the operating status data, select grid-connected inverters with power regulation capacity as target devices; S4. Iterate through each of the grid-connected inverters. If the current power setting value is greater than the real-time output power, reclaim the unused power quota to the total allocable power and update the power setting value. S5. Perform power allocation according to the power deviation value: If the power deviation value is positive, the power increment, including the total allocable power, is first allocated to the target device. If there is a remainder after allocation, it is then allocated to all online grid-connected inverters, and the power setting value of each grid-connected inverter does not exceed the rated power. If the deviation value is negative, the power setting value of each grid-connected inverter is reduced sequentially. If the reduction is insufficient, the corresponding power setting value is adjusted to zero, and the uncompleted reduction is transferred to subsequent grid-connected inverters until the total reduction reaches the absolute value of the deviation. S6. Send the power setting values determined or updated in S4 and S5 to the corresponding grid-connected inverters respectively; In step S3, grid-connected inverters with power regulation capacity are selected based on the operating status data, including: Calculate the equipment load rate of each of the grid-connected inverters. η load,i With power output margin η margin,i ; Among them, for the first i The corresponding equipment load rate of the grid-connected inverter. η load,i for: η load,i = P out,i / P set,i , P out,i For grid-connected inverters i Real-time output power, P set,i For grid-connected inverters i The current power setting value; The power output margin η margin,i for: η margin,i =( P rated,i -P out,i ) / P rated,i , P rated,i For grid-connected inverters i Rated power; The device load rate exceeds the first preset threshold. T 1. And the power output margin is greater than the second preset threshold. T The grid-connected inverter of type 2 is selected as the target device with power regulation capacity.
2. The anti-reverse current control method for grid-connected inverters according to claim 1, characterized in that, S4 specifically includes: Initialize the total allocable power, iterate through each grid-connected inverter, and if the current power setting value is greater than the real-time output power, calculate the difference between the current power setting value and the real-time output power, and add the difference to the total allocable power. Based on the real-time output power and rated power, a set power setting value not lower than the real-time output power is set for the grid-connected inverter.
3. The anti-reverse current control method for grid-connected inverters according to claim 2, characterized in that, Based on the real-time output power and rated power, a set power setting value not lower than the real-time output power is set for the grid-connected inverter, specifically including: Calculate a first reference value and a second reference value, wherein the first reference value is the real-time output power multiplied by a first preset coefficient, and the second reference value is the rated power multiplied by a second preset coefficient; Compare the first reference value and the second reference value, and take the larger one as the target value; Determine whether the target value exceeds the rated power; If not, then set the power setting value to the target value; If so, the power setting value is set to the rated power.
4. The anti-reverse current control method for grid-connected inverters according to claim 1, characterized in that, It also includes an initialization step: Get a list of all online grid-connected inverters in the grid-connected inverter network; Based on the first acquired real-time power value, calculate the initial power deviation value; Initial power allocation is performed based on the initial power deviation value: if the initial power deviation value is positive, the initial power deviation value is evenly distributed to each online grid-connected inverter as the corresponding initial power setting value; if the initial power deviation value is negative or zero, the power setting value of all online grid-connected inverters is set to zero.
5. The anti-reverse current control method for grid-connected inverters according to claim 1, characterized in that, In step S5, the inverter is first allocated to the target device. If there are any remaining inverters after allocation, they are then allocated to all online grid-connected inverters. Specifically, this includes: Traverse all the target devices, calculate the available power capacity of each target device, where the available power capacity is the difference between the rated power and the current power setting value, and allocate power increments according to the available power capacity to update the power deviation value; If the updated power deviation value is still greater than zero after allocation, then all online grid-connected inverters are traversed, the available power capacity of each online grid-connected inverter is calculated, and the power increment is allocated according to the available power capacity.
6. The anti-reverse current control method for grid-connected inverters according to claim 1, characterized in that, In step S5, the power setting values of each grid-connected inverter are reduced sequentially, specifically including: When the power deviation value DP≤0, first calculate based on the real-time output power of each grid-connected inverter. P out,i Assign the power deviation value DP; According to a predetermined order, each grid-connected inverter is traversed, and for the currently traversed first inverter... i A grid-connected inverter is used to calculate the target power reduction. redu power The target power that can be reduced redu power = P out,i +DP; Determine the target power that can be reduced redu power Is it greater than 0? If the target power can be reduced redu power >0, then the first i Power setting value of grid-connected inverter P set,i Set as the target power that can be reduced redu power ; If the target power can be reduced redu power If ≤0, then the first i Power setting value of grid-connected inverter P set,i Adjust to 0, and set the number to 0. i Real-time output power of the grid-connected inverter described above P out,i The power deviation value DP is accumulated to obtain the updated power deviation value DP; Complete the first i After connecting the inverters to the grid, determine whether there are any untraversed grid-connected inverters. If so, return to continue iterating through the next grid-connected inverter; If not, then again check the real-time output power of each grid-connected inverter. P out,i The updated power deviation value DP is assigned.
7. A reverse current prevention control system for grid-connected inverters, wherein each of the grid-connected inverters is connected to the grid via a grid common coupling point (PCC), characterized in that, The backflow prevention control system includes: The power grid information acquisition module is used to acquire the real-time power value of the PCC in real time, and determine the power deviation value based on the real-time power value and the preset anti-reverse power threshold. The data communication module is used to periodically acquire the operating status data of each grid-connected inverter, the operating status data including real-time output power, current power setting value and rated power; The anti-reverse current power dispatching module is connected to both the power grid information acquisition module and the data communication module, and is configured to perform the following operations: Based on the operating status data, grid-connected inverters with power regulation capacity are selected as target devices. For each of the grid-connected inverters, if the current power setting value is greater than the real-time output power, then unused power quotas are reclaimed to the total allocable power, and the power setting value is updated. Power allocation is performed based on the power deviation value: if the power deviation value is positive, the power increment, including the total allocable power, is first allocated to the target device. If there is a remainder after allocation, it is then allocated to all online grid-connected inverters, and the power setting value of each grid-connected inverter does not exceed the rated power. If the deviation value is negative, the power setting value of each grid-connected inverter is reduced sequentially. If the reduction is insufficient, the corresponding power setting value is adjusted to zero, and the uncompleted reduction is transferred to subsequent grid-connected inverters until the total reduction reaches the absolute value of the deviation. The data communication module is also used to send the power setting value determined or updated by the anti-reverse power scheduling module to the corresponding grid-connected inverters respectively; Based on the aforementioned operating status data, grid-connected inverters with power regulation capacity are selected, including: Calculate the equipment load rate of each of the grid-connected inverters. η load,i With power output margin η margin,i ; Among them, for the first i The corresponding equipment load rate of the grid-connected inverter. η load,i for: η load,i = P out,i / P set,i , P out,i For grid-connected inverters i Real-time output power, P set,i For grid-connected inverters i The current power setting value; The power output margin η margin,i for: η margin,i =( P rated,i -P out,i ) / P rated,i , P rated,i For grid-connected inverters i Rated power; The device load rate exceeds the first preset threshold. T 1. And the power output margin is greater than the second preset threshold. T The grid-connected inverter of type 2 is selected as the target device with power regulation capacity.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the anti-reverse flow control method for grid-connected inverters as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the anti-reverse flow control method for grid-connected inverters as described in any one of claims 1 to 6.