Inverter reactive current control method and device

The reactive current command is generated through the port voltage of the inverter and the control reference voltage, and the control loop is determined based on the working status, which solves the problem of mismatch between active power and reactive power after the inverter fault recovery in weak power grids, and realizes the port Voltage stability and power matching avoid the risk of disconnection.

CN117353326BActive Publication Date: 2024-09-17HUAWEI DIGITAL POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311161646.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-13
Publication Date
2024-09-17
Estimated Expiration
2040-07-13

AI Technical Summary

Technical Problem

In weak and extremely weak power grids, the active power and reactive power output by the existing inverter after fault recovery do not match, resulting in large port voltage fluctuations, which may cause repeated oscillations of high voltage ride through, low voltage ride through or fault ride through failure. , which increases the difficulty of disconnecting the inverter from the grid and damages the stability of the grid.

Method used

The corresponding reactive current instructions are generated through the inverter's port voltage and overvoltage and undervoltage control reference voltages, and the third loop control instructions are determined based on the working status to achieve adaptive adjustment of reactive current and flexibly switch between overvoltage, undervoltage, and undervoltage control reference voltages. Undervoltage loop control ensures that the port voltage is stable near the reference voltage and matches the active power and reactive power.

Benefits of technology

It effectively avoids the inverter triggering fault ride-through and failure to ride-through multiple times under weak and extremely weak grids, and improves the stability and fault recovery capabilities of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117353326B
    Figure CN117353326B
Patent Text Reader

Abstract

The present application relates to a reactive current control method and device for an inverter. The method and device generate an overvoltage control reactive current instruction according to the port voltage of the inverter and an overvoltage control reference voltage, generate an undervoltage control reactive current instruction according to the port voltage and the undervoltage control reference voltage, determine a third loop control reactive current instruction according to the working state of the inverter, and determine a comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction, and select a loop control corresponding to the comparison result, thereby realizing adaptive adjustment of reactive current according to the port voltage, and realizing flexible and smooth switching between overvoltage loop control, undervoltage loop control and third loop control, which helps to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power electronics technology, and in particular to a reactive current control method and device for an inverter. Background Art

[0002] With the increasing depletion of traditional energy sources such as oil and natural gas, new energy technologies such as photovoltaic power generation and wind power generation have developed rapidly. Photovoltaic power generation refers to the use of the photovoltaic effect of semiconductor materials to convert solar radiation energy into electrical energy, such as generating direct current through photovoltaic modules under sunlight. Photovoltaic power generation systems and wind turbines are generally DC voltage sources. The generated DC power is converted into AC power through an inverter and then connected to the power grid for transmission. The AC power output by the grid-tie inverter (IGT) needs to be synchronized with the frequency and phase of the mains power in the power grid in order to be transmitted through the power grid.

[0003] As the grid-connected capacity of power generation systems based on new energy technologies continues to expand, a large number of new power generation equipment are connected and the installed capacity increases, the system short circuit ratio (SCR) at the grid connection point, which represents the system short circuit capacity divided by the equipment capacity, becomes lower and lower. The lower the SCR, the weaker the grid, which brings great challenges to the stability of the grid. In addition, newly built photovoltaic power generation systems and wind turbines are generally located in places far away from the power load center, so long-distance transmission of electricity is required, which also brings challenges to the maintenance of the grid after these power generation systems are disconnected from the grid. Generally speaking, an AC power grid with an SCR less than 3 can be regarded as a weak grid, while an AC power grid with an SCR less than 2 can be regarded as an extremely weak grid. For weak and extremely weak grids, the connection between the grid and the power generation system is weak, which is manifested as a lower system short circuit capacity and a higher grid impedance. Therefore, when a fault or disturbance occurs, the grid-connected voltage changes significantly, which may cause frequent switching between high voltage ride-through and low voltage ride-through and lead to fault ride-through failure, so that the grid-connected inverter has to be disconnected from the grid, which increases the difficulty of local grid fault recovery and damages the stability of the grid.

[0004] In order to maintain the safe and stable operation of the power grid, reduce the difficulty of power grid maintenance, and reduce the number of repeated grid connection when the power system fails, the new energy power generation system needs to have a certain fault ride-through capability. Fault ride-through means that when a fault or disturbance occurs and causes the output AC voltage to exceed the normal operating range, the power generation system can ensure continuous operation without disconnecting from the grid within the specified range of change and time interval. Fault ride-through can be divided into low voltage ride-through (LVRT) and high voltage ride-through (HVRT). LVRT means that when the port voltage at the AC output end of the power generation system (that is, the voltage at the common point where the output port of the DC to AC conversion device is connected to the transmission line or transformer of the power grid) drops to a certain value, the power generation system can maintain operation without disconnecting from the power grid, and even provide a certain amount of reactive power to help the system recover. HVRT means that when the port voltage at the AC output end of the power generation system rises to a certain value, the power generation system can maintain operation without disconnecting from the power grid, and even provide a certain amount of reactive power to help the system recover.

[0005] Inverters in the prior art, especially grid-connected inverters connected to the power grid, restore active power to the active power before the fault according to a fixed gradient after the grid fault is restored, and there are two ways to restore reactive power: one is to clear the reactive power first and then directly output the reactive power before the fault, which will cause a large step change in reactive power output after the grid fault is restored; the other is to clear the reactive power first and then restore the reactive power to the reactive power before the fault according to a preset fixed gradient, which will cause the reactive power output after the grid fault is restored to only increase or decrease monotonically according to the preset fixed gradient. Therefore, the inverters in the prior art, especially grid-connected inverters for weak and extremely weak power grids, do not match the active power and reactive power output after the fault is restored, resulting in large fluctuations in the port voltage, which may cause repeated oscillations of high voltage ride-through and low voltage ride-through, or disconnection from the grid after the failure of fault ride-through. Summary of the invention

[0006] The purpose of the present application is to provide a reactive current control method and device for an inverter, and the specific application scenarios include but are not limited to new energy power generation systems such as photovoltaic power generation systems connected to weak power grids and extremely weak power grids. The reactive current control method and device for the inverter generates an overvoltage control reactive current instruction according to the port voltage and overvoltage control reference voltage of the inverter, generates an undervoltage control reactive current instruction according to the port voltage and undervoltage control reference voltage, determines a third loop control reactive current instruction according to the working state of the inverter, and determines a comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction, and selects a loop control corresponding to the comparison result, thereby realizing adaptive adjustment of reactive current according to port voltage, and realizing flexible and smooth switching between overvoltage loop control, undervoltage loop control and third loop control, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0007] In a first aspect, an embodiment of the present application provides an inverter reactive current control method, the inverter reactive current control method comprising: generating an overvoltage control reactive current instruction for overvoltage loop control according to a port voltage of the inverter and an overvoltage control reference voltage, wherein the overvoltage loop control is marked as a first loop control, and the overvoltage loop control controls the output reactive current of the inverter according to the overvoltage control reactive current instruction so that the absolute value of the difference between the port voltage and the overvoltage control reference voltage is less than a first threshold value; generating an undervoltage control reactive current instruction for undervoltage loop control according to the port voltage and the undervoltage control reference voltage, wherein the undervoltage loop control is marked as a second loop control, and the undervoltage loop control controls the output reactive current of the inverter according to the overvoltage control reactive current instruction so that the absolute value of the difference between the port voltage and the overvoltage control reference voltage is less than a first threshold value. The undervoltage control reactive current instruction controls the output reactive current of the inverter so that the absolute value of the difference between the port voltage and the undervoltage control reference voltage is less than a second threshold value; determines a third loop control reactive current instruction for a third loop control according to the working state of the inverter, wherein the third loop control is independent of the first loop control and the second loop control, and the working state includes a fault ride-through state, a fault recovery state or a normal state; determines a comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction; and selects the first loop control, the second loop control or the third loop control corresponding to the comparison result.

[0008] The technical solution described in the first aspect generates an overvoltage control reactive current instruction according to the port voltage of the inverter and the overvoltage control reference voltage, generates an undervoltage control reactive current instruction according to the port voltage and the undervoltage control reference voltage, determines the third loop control reactive current instruction according to the working state of the inverter, and determines the comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction, and selects the loop control corresponding to the comparison result, thereby realizing adaptive adjustment of reactive current according to the port voltage, and realizing flexible and smooth switching between overvoltage loop control, undervoltage loop control and third loop control, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0009] According to the first aspect, in a possible implementation method, when the working state is the fault-crossing state, the reactive current instruction controlled by the third loop is a fault-crossing reactive current instruction, when the working state is the fault recovery state, the reactive current instruction controlled by the third loop is a fault recovery reactive current instruction, and when the working state is the normal state, the reactive current instruction controlled by the third loop is a power scheduling reactive current instruction.

[0010] This is conducive to achieving flexible control of different control objectives and different power grid environments.

[0011] According to the first aspect, in a possible implementation manner, the third loop control reactive current instruction is preset or determined according to an instruction received from a host computer relative to the inverter.

[0012] This is conducive to achieving flexible control of different control objectives and different power grid environments.

[0013] According to the first aspect, in a possible implementation manner, the working state is determined according to the port voltage or an instruction of a host computer relative to the inverter.

[0014] This is conducive to achieving flexible control of different control objectives and different power grid environments.

[0015] According to the first aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command includes: determining that the output current direction of the inverter is a forward reference direction; determining the smaller result of the undervoltage control reactive current command and the third loop control reactive current command based on the forward reference direction; and determining the smaller result and the larger result of the overvoltage control reactive current command based on the forward reference direction, wherein the larger result is the comparison result.

[0016] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0017] According to the first aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command includes: determining that the output current direction of the inverter is a forward reference direction; determining a first maximum result of the undervoltage control reactive current command and the overvoltage control reactive current command according to the forward reference direction; determining a second maximum result of the third loop control reactive current command and the overvoltage control reactive current command according to the forward reference direction; determining a minimum result of the first maximum result and the second maximum result according to the forward reference direction, wherein the minimum result is the comparison result.

[0018] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0019] According to the first aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command includes: determining that the output current direction of the inverter is a negative reference direction; determining the larger result of the undervoltage control reactive current command and the third loop control reactive current command based on the negative reference direction; and determining the larger result and the smaller result of the overvoltage control reactive current command based on the negative reference direction, wherein the smaller result is the comparison result.

[0020] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0021] According to the first aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction includes: determining that the output current direction of the inverter is a negative reference direction; according to the negative reference direction, determining a first smaller result of the undervoltage control reactive current instruction and the overvoltage control reactive current instruction; according to the negative reference direction, determining a second smaller result of the third loop control reactive current instruction and the overvoltage control reactive current instruction; according to the negative reference direction, determining a larger result of the first smaller result and the second smaller result, wherein the larger result is the comparison result.

[0022] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0023] According to the first aspect, in a possible implementation manner, when the overvoltage control reference voltage is equal to the undervoltage control reference voltage, the overvoltage loop control and the undervoltage loop control are the same single-loop control.

[0024] In this way, by simplifying the overvoltage loop control and the undervoltage loop control into the same single loop control, the system structure and control process are simplified, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0025] According to the first aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction includes: determining a first weight value corresponding to the first loop control, a second weight value corresponding to the second loop control, and a third weight value corresponding to the third loop control; calculating a weighted overvoltage control reactive current instruction according to the overvoltage control reactive current instruction and the first weight value; calculating a weighted undervoltage control reactive current instruction according to the undervoltage control reactive current instruction and the second weight value; calculating a weighted third loop control reactive current instruction according to the third loop control reactive current instruction and the third weight value; determining the comparison result according to the weighted overvoltage control reactive current instruction, the weighted undervoltage control reactive current instruction and the weighted third loop control reactive current instruction.

[0026] In this way, by introducing corresponding weight values ​​for weighted comparison, it is possible to focus on a certain type of loop control according to different control requirements, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0027] According to the first aspect, in a possible implementation manner, the first weight value, the second weight value and the third weight value are respectively determined according to the working state of the inverter and the state of a power grid to which the inverter is connected.

[0028] In this way, by determining the weight value according to the working state of the inverter and the state of the grid, the weighted comparison result can be adjusted according to the actual situation, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak grids.

[0029] According to the first aspect, in a possible implementation manner, the first weight value, the second weight value and the third weight value respectively have independent time parameters, and the time parameters are determined according to the duration of the working state.

[0030] In this way, by setting independent time parameters, the weight value can be flexibly adjusted according to the duration, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0031] According to the first aspect, in a possible implementation, the inverter reactive current control method also includes: setting the overvoltage control reference voltage according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the overvoltage protection point of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0032] In this way, by setting the reference voltage according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0033] According to the first aspect, in a possible implementation, the inverter reactive current control method also includes: setting the undervoltage control reference voltage according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the undervoltage protection point of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0034] In this way, by setting the reference voltage according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0035] According to the first aspect, in a possible implementation manner, the inverter reactive current control method further includes: determining the overvoltage control reference voltage according to the port voltage.

[0036] In this way, adaptive adjustment based on real-time port voltage is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0037] According to the first aspect, in a possible implementation, determining the overvoltage control reference voltage according to the port voltage includes: determining the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold according to the smaller value of the high voltage ride-through trigger threshold and the overvoltage protection threshold of the inverter, wherein the overvoltage loop control exit threshold is not greater than the overvoltage loop control trigger threshold, and the overvoltage loop control trigger threshold is not greater than the smaller value; when the port voltage is greater than the high voltage ride-through trigger threshold, the inverter triggers high voltage ride-through; when the port voltage is greater than the overvoltage protection threshold, the inverter triggers overvoltage disconnection protection; when the port voltage is greater than the overvoltage loop control trigger threshold, determining a first overvoltage reference voltage as the overvoltage control reference voltage; when the port voltage is less than the overvoltage loop control exit threshold, determining a second overvoltage reference voltage as the overvoltage control reference voltage, wherein the first overvoltage reference voltage is not greater than the second overvoltage reference voltage, and the second overvoltage reference voltage is not greater than the overvoltage loop control exit threshold.

[0038] In this way, the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold are determined by referring to the high voltage ride-through trigger threshold and the overvoltage protection threshold, and the first overvoltage reference voltage and the second overvoltage reference voltage are determined according to the real-time port voltage, thereby realizing adaptive adjustment based on the real-time port voltage and flexible control to adapt to different situations, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0039] According to the first aspect, in a possible implementation, the inverter reactive current control method further includes: setting the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold respectively according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0040] In this way, by setting the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold respectively according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0041] According to the first aspect, in a possible implementation manner, the inverter reactive current control method further includes: determining the undervoltage control reference voltage according to the port voltage.

[0042] In this way, adaptive adjustment based on real-time port voltage is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0043] According to the first aspect, in a possible implementation, determining the undervoltage control reference voltage according to the port voltage includes: determining an undervoltage loop control trigger threshold and an undervoltage loop control exit threshold according to a larger value of a low voltage ride-through trigger threshold and an undervoltage protection threshold of the inverter, wherein the undervoltage loop control exit threshold is not less than the undervoltage loop control trigger threshold, and the undervoltage loop control trigger threshold is not less than the larger value; when the port voltage is less than the low voltage ride-through trigger threshold, the inverter triggers low voltage ride-through; when the port voltage is less than the undervoltage protection threshold, the inverter triggers undervoltage network disconnection protection; when the port voltage is less than the undervoltage loop control trigger threshold, determining a first undervoltage reference voltage as the undervoltage control reference voltage; when the port voltage is greater than the undervoltage loop control exit threshold, determining a second undervoltage reference voltage as the undervoltage control reference voltage, wherein the first undervoltage reference voltage is not less than the second undervoltage reference voltage, and the second undervoltage reference voltage is not less than the undervoltage loop control exit threshold.

[0044] In this way, the undervoltage loop control trigger threshold and the undervoltage loop control exit threshold are determined by referring to the low voltage ride-through trigger threshold and the undervoltage protection threshold, and the first undervoltage reference voltage and the second undervoltage reference voltage are determined according to the real-time port voltage, thereby realizing adaptive adjustment based on the real-time port voltage and flexible control to adapt to different situations, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0045] According to the first aspect, in a possible implementation, the inverter reactive current control method further includes: setting the undervoltage loop control trigger threshold and the undervoltage loop control exit threshold respectively according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0046] In this way, by setting the undervoltage loop control trigger threshold and the undervoltage loop control exit threshold respectively according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0047] According to the first aspect, in a possible implementation manner, the port voltage is obtained by real-time acquisition.

[0048] In this way, adaptive adjustment based on real-time port voltage is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0049] In a second aspect, an embodiment of the present application provides an inverter reactive current control device, the inverter reactive current control device comprising a memory and a processor, the memory storing a computer program, the processor performing the following operations according to the computer program: generating an overvoltage control reactive current instruction for overvoltage loop control according to the port voltage of the inverter and an overvoltage control reference voltage, wherein the overvoltage loop control is marked as a first loop control, and the overvoltage loop control controls the output reactive current of the inverter according to the overvoltage control reactive current instruction so that the absolute value of the difference between the port voltage and the overvoltage control reference voltage is less than a first threshold value; generating an undervoltage control reactive current instruction for undervoltage loop control according to the port voltage and the undervoltage control reference voltage, wherein the undervoltage loop control Marked as the second loop control, the undervoltage loop control controls the output reactive current of the inverter according to the undervoltage control reactive current instruction so that the absolute value of the difference between the port voltage and the undervoltage control reference voltage is less than a second threshold value; determines a third loop control reactive current instruction for the third loop control according to the working state of the inverter, wherein the third loop control is independent of the first loop control and the second loop control, and the working state includes a fault ride-through state, a fault recovery state or a normal state; determines a comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction; and selects the first loop control, the second loop control or the third loop control corresponding to the comparison result.

[0050] The technical solution described in the second aspect generates an overvoltage control reactive current instruction according to the port voltage of the inverter and the overvoltage control reference voltage, generates an undervoltage control reactive current instruction according to the port voltage and the undervoltage control reference voltage, determines the third loop control reactive current instruction according to the working state of the inverter, and determines the comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction, and selects the loop control corresponding to the comparison result, thereby realizing adaptive adjustment of reactive current according to the port voltage, and realizing flexible and smooth switching between overvoltage loop control, undervoltage loop control and third loop control, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0051] According to the second aspect, in a possible implementation method, when the working state is the fault-crossing state, the reactive current instruction controlled by the third loop is a fault-crossing reactive current instruction, when the working state is the fault recovery state, the reactive current instruction controlled by the third loop is a fault recovery reactive current instruction, and when the working state is the normal state, the reactive current instruction controlled by the third loop is a power scheduling reactive current instruction.

[0052] This is conducive to achieving flexible control of different control objectives and different power grid environments.

[0053] According to the second aspect, in a possible implementation manner, the third loop control reactive current instruction is preset or determined according to an instruction received from a host computer relative to the inverter.

[0054] This is conducive to achieving flexible control of different control objectives and different power grid environments.

[0055] According to the second aspect, in a possible implementation manner, the working state is determined according to the port voltage or an instruction of a host computer relative to the inverter.

[0056] This is conducive to achieving flexible control of different control objectives and different power grid environments.

[0057] According to the second aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command includes: determining that the output current direction of the inverter is a forward reference direction; determining the smaller result of the undervoltage control reactive current command and the third loop control reactive current command based on the forward reference direction; and determining the smaller result and the larger result of the overvoltage control reactive current command based on the forward reference direction, wherein the larger result is the comparison result.

[0058] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0059] According to the second aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command includes: determining that the output current direction of the inverter is a forward reference direction; determining a first maximum result of the undervoltage control reactive current command and the overvoltage control reactive current command according to the forward reference direction; determining a second maximum result of the third loop control reactive current command and the overvoltage control reactive current command according to the forward reference direction; determining a minimum result of the first maximum result and the second maximum result according to the forward reference direction, wherein the minimum result is the comparison result.

[0060] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0061] According to the second aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command includes: determining that the output current direction of the inverter is a negative reference direction; determining the larger result of the undervoltage control reactive current command and the third loop control reactive current command based on the negative reference direction; and determining the larger result and the smaller result of the overvoltage control reactive current command based on the negative reference direction, wherein the smaller result is the comparison result.

[0062] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0063] According to the second aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command includes: determining that the output current direction of the inverter is a negative reference direction; according to the negative reference direction, determining a first smaller result of the undervoltage control reactive current command and the overvoltage control reactive current command; according to the negative reference direction, determining a second smaller result of the third loop control reactive current command and the overvoltage control reactive current command; according to the negative reference direction, determining a larger result of the first smaller result and the second smaller result, wherein the larger result is the comparison result.

[0064] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0065] According to the second aspect, in a possible implementation manner, when the overvoltage control reference voltage is equal to the undervoltage control reference voltage, the overvoltage loop control and the undervoltage loop control are the same single-loop control.

[0066] In this way, by simplifying the overvoltage loop control and the undervoltage loop control into the same single loop control, the system structure and control process are simplified, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0067] According to the second aspect, in a possible implementation method, the determination of the comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction includes: determining a first weight value corresponding to the first loop control, a second weight value corresponding to the second loop control, and a third weight value corresponding to the third loop control; calculating a weighted overvoltage control reactive current instruction according to the overvoltage control reactive current instruction and the first weight value; calculating a weighted undervoltage control reactive current instruction according to the undervoltage control reactive current instruction and the second weight value; calculating a weighted third loop control reactive current instruction according to the third loop control reactive current instruction and the third weight value; determining the comparison result according to the weighted overvoltage control reactive current instruction, the weighted undervoltage control reactive current instruction and the weighted third loop control reactive current instruction.

[0068] In this way, by introducing corresponding weight values ​​for weighted comparison, it is possible to focus on a certain type of loop control according to different control requirements, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0069] According to the second aspect, in a possible implementation manner, the first weight value, the second weight value and the third weight value are respectively determined according to the working state of the inverter and the state of a power grid to which the inverter is connected.

[0070] In this way, by determining the weight value according to the working state of the inverter and the state of the grid, the weighted comparison result can be adjusted according to the actual situation, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak grids.

[0071] According to the second aspect, in a possible implementation manner, the first weight value, the second weight value and the third weight value respectively have independent time parameters, and the time parameters are determined according to the duration of the working state.

[0072] In this way, by setting independent time parameters, the weight value can be flexibly adjusted according to the duration, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0073] According to the second aspect, in a possible implementation method, the processor further executes: setting the overvoltage control reference voltage according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the overvoltage protection point of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0074] In this way, by setting the reference voltage according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0075] According to the second aspect, in a possible implementation method, the processor further executes: setting the undervoltage control reference voltage according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the undervoltage protection point of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0076] In this way, by setting the reference voltage according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0077] According to the second aspect, in a possible implementation manner, the processor further executes: determining the overvoltage control reference voltage according to the port voltage.

[0078] In this way, adaptive adjustment based on real-time port voltage is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0079] According to the second aspect, in a possible implementation, determining the overvoltage control reference voltage according to the port voltage includes: determining the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold according to the smaller value of the high voltage ride-through trigger threshold and the overvoltage protection threshold of the inverter, wherein the overvoltage loop control exit threshold is not greater than the overvoltage loop control trigger threshold, and the overvoltage loop control trigger threshold is not greater than the smaller value; when the port voltage is greater than the high voltage ride-through trigger threshold, the inverter triggers high voltage ride-through; when the port voltage is greater than the overvoltage protection threshold, the inverter triggers overvoltage grid disconnection protection; when the port voltage is greater than the overvoltage loop control trigger threshold, determining a first overvoltage reference voltage as the overvoltage control reference voltage; when the port voltage is less than the overvoltage loop control exit threshold, determining a second overvoltage reference voltage as the overvoltage control reference voltage, wherein the first overvoltage reference voltage is not greater than the second overvoltage reference voltage, and the second overvoltage reference voltage is not greater than the overvoltage loop control exit threshold.

[0080] In this way, the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold are determined by referring to the high voltage ride-through trigger threshold and the overvoltage protection threshold, and the first overvoltage reference voltage and the second overvoltage reference voltage are determined according to the real-time port voltage, thereby realizing adaptive adjustment based on the real-time port voltage and flexible control to adapt to different situations, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0081] According to the second aspect, in a possible implementation method, the processor further executes: setting the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold respectively according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0082] In this way, by setting the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold respectively according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0083] According to the second aspect, in a possible implementation manner, the processor further executes: determining the undervoltage control reference voltage according to the port voltage.

[0084] In this way, adaptive adjustment based on real-time port voltage is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0085] According to the second aspect, in a possible implementation, determining the undervoltage control reference voltage according to the port voltage includes: determining an undervoltage loop control trigger threshold and an undervoltage loop control exit threshold according to a larger value of a low voltage ride-through trigger threshold and an undervoltage protection threshold of the inverter, wherein the undervoltage loop control exit threshold is not less than the undervoltage loop control trigger threshold, and the undervoltage loop control trigger threshold is not less than the larger value; when the port voltage is less than the low voltage ride-through trigger threshold, the inverter triggers low voltage ride-through; when the port voltage is less than the undervoltage protection threshold, the inverter triggers undervoltage network disconnection protection; when the port voltage is less than the undervoltage loop control trigger threshold, determining a first undervoltage reference voltage as the undervoltage control reference voltage; when the port voltage is greater than the undervoltage loop control exit threshold, determining a second undervoltage reference voltage as the undervoltage control reference voltage, wherein the first undervoltage reference voltage is not less than the second undervoltage reference voltage, and the second undervoltage reference voltage is not less than the undervoltage loop control exit threshold.

[0086] In this way, the undervoltage loop control trigger threshold and the undervoltage loop control exit threshold are determined by referring to the low voltage ride-through trigger threshold and the undervoltage protection threshold, and the first undervoltage reference voltage and the second undervoltage reference voltage are determined according to the real-time port voltage, thereby realizing adaptive adjustment based on the real-time port voltage and flexible control to adapt to different situations, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0087] According to the second aspect, in a possible implementation method, the processor further executes: setting the undervoltage loop control trigger threshold and the undervoltage loop control exit threshold respectively according to the state parameters of the inverter, wherein the state parameters include the average port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average reactive power of the inverter before the fault ride-through state.

[0088] In this way, by setting the undervoltage loop control trigger threshold and the undervoltage loop control exit threshold respectively according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0089] According to the second aspect, in a possible implementation, a photovoltaic power generation system is provided, the photovoltaic power generation system comprising the inverter reactive current control device as described above, wherein the inverter reactive current control device controls the reactive current of the photovoltaic power generation system.

[0090] In this way, the reactive current control device of the inverter is used to control the reactive current of the photovoltaic power generation system, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids. BRIEF DESCRIPTION OF THE DRAWINGS

[0091] In order to illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.

[0092] Figure 1 A schematic structural diagram of a photovoltaic power generation system including an inverter reactive current control device provided in an embodiment of the present application.

[0093] Figure 2 A flowchart of an inverter reactive current control method provided in an implementation manner of an embodiment of the present application.

[0094] Figure 3 A flow chart of another implementation method of an inverter reactive current control method provided in an embodiment of the present application.

[0095] Figure 4 A flow chart of another implementation method of an inverter reactive current control method provided in an embodiment of the present application.

[0096] Figure 5 A flow chart of another implementation method of an inverter reactive current control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0097] The embodiment of the present application provides a reactive current control method and device for an inverter, and the specific application scenarios of the reactive current control method and device for the inverter include, but are not limited to, a new energy power generation system connected to a weak power grid or an extremely weak power grid. For example, the direct current generated by solar photovoltaic power generation or wind power generation needs to be converted into alternating current by an inverter and then incorporated into the power grid for long-distance transmission, while weak power grids and extremely weak power grids with small SCRs are prone to disconnection from the grid due to voltage fluctuations, which may cause the inverter to trigger fault ride-through multiple times or even fail to ride-through. The reactive current control method and device of the inverter generate an overvoltage control reactive current instruction according to the port voltage of the inverter and an overvoltage control reference voltage, generate an undervoltage control reactive current instruction according to the port voltage and the undervoltage control reference voltage, determine a third loop control reactive current instruction according to the working state of the inverter, determine a comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction, and select a loop control corresponding to the comparison result, thereby realizing adaptive adjustment of reactive current according to the port voltage, and realizing flexible and smooth switching between overvoltage loop control, undervoltage loop control and the third loop control, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0098] The embodiments of the present application can be adjusted and improved according to the specific application environment and are not specifically limited here.

[0099] In order to enable those skilled in the art to better understand the present application, the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0100] See also Figure 1 , Figure 1 A schematic diagram of the structure of a photovoltaic power generation system including an inverter reactive current control device provided in an embodiment of the present application. Figure 1As shown, the photovoltaic power generation system 100 includes a DC-AC inverter circuit 102, a DC input terminal 104, an AC output terminal 106, a data collector 108, a reactive current control device 110 and a drive signal generator 112. Among them, the input terminal of the DC-AC inverter circuit 102 is electrically connected to the DC input terminal 104, and the output terminal is electrically connected to the AC output terminal 106. The DC-AC inverter circuit 102 can be regarded as a converter from DC to AC, which converts the DC input of the DC input terminal 104 into AC and transmits it to the AC output terminal 106 for output. The data collector 108 has a suitable structure and device to realize the function of real-time data collection. The data collected by the data collector 108 in real time may include but is not limited to: an electrical signal at the input terminal of the DC-AC inverter circuit 102, an electrical signal at the output terminal of the DC-AC inverter circuit 102, and various signals that can reflect the operating state and internal conditions of the DC-AC inverter circuit 102. Taking the DC-AC inverter circuit 102 as a voltage-type inverter circuit of a three-phase inverter as an example, the data collected in real time by the data collector 108 may include but is not limited to the three-phase voltage and three-phase current of the three-phase AC output by the voltage-type inverter circuit of the three-phase inverter, and the DC voltage input to the voltage-type inverter circuit. The data collector 108 transmits the collected real-time data to the reactive current control device 110. The reactive current control device 110 uses the real-time collected data as input data, calculates the corresponding output result according to a specific model, and transmits the output result to the drive signal generator 112. The drive signal generator 112 generates a corresponding control signal according to the calculated output result and sends the control signal to the DC-AC inverter circuit 102 to achieve the corresponding control effect. In some exemplary embodiments, the reactive current control device 110 can also receive data from the outside, and use both the externally received data and the real-time collected data as input data to calculate the output result; in addition, the drive signal generator 112 may also directly receive an external control signal and send the external control signal to the DC-AC inverter circuit to achieve a control effect corresponding to the external control signal.

[0101] In some exemplary embodiments, the photovoltaic power generation system 100 further includes a DC bus capacitor 114 and a filter 116. One end of the DC bus capacitor 114 is connected to the DC input terminal 104, and the other end is connected to the input terminal of the DC-AC inverter circuit 102. In a possible implementation, the positive terminal and the negative terminal of the DC bus capacitor 114 are respectively connected to the positive terminal and the negative terminal of the input terminal of the DC-AC inverter circuit 102, that is, they are in parallel relationship. Among them, the positive terminal of the DC bus capacitor 114 is connected to the positive terminal of the input terminal of the DC-AC inverter circuit 102 as a positive DC bus; the negative terminal of the DC bus capacitor 114 is connected to the negative terminal of the input terminal of the DC-AC inverter circuit 102 as a negative DC bus. One end of the filter 116 is connected to the output terminal of the DC-AC inverter circuit 102, and the other end is connected to the AC output terminal 106. The AC output terminal 106 serves as an external output interface of the photovoltaic power generation system 100. The data collected in real time by the data collector 108 may include the DC bus voltage between the positive terminal and the negative terminal of the DC bus capacitor 114, for example, by detecting the voltage between the positive and negative wiring at the input end of the DC-AC inverter circuit 102. The data collected in real time by the data collector 108 may also include the port voltage, which generally refers to the voltage at the common point where the output port of the power electronic conversion device is connected to the transmission line or transformer. In the photovoltaic power generation system 100, the port voltage should be understood as the voltage at one end of the filter 116 connected to the AC output terminal 106; in some exemplary embodiments, the port voltage may also refer to the voltage at the output end of the DC-AC inverter circuit 102.

[0102] In some exemplary embodiments, the DC-AC inverter circuit 102 is a three-phase three-level inverter, which has the advantages of multiple output levels, low voltage stress, low ripple current, good harmonic characteristics, etc., and is therefore widely used in the field of power electronics technology, especially in frequency converter application scenarios and photovoltaic inverter application scenarios. In other exemplary embodiments, the DC-AC inverter circuit 102 is another type of three-phase multi-level inverter, or another type of inverter. In some exemplary embodiments, the DC-AC inverter circuit 102 may include a specific topological structure with semiconductor switching devices so as to achieve a control effect by controlling the switching action and on-off of each semiconductor switching device. For example, the DC-AC inverter circuit 102 may include an inverter circuit with a semiconductor switching device and a bridge arm structure, each bridge arm having a corresponding semiconductor switching device, and the output AC power may be affected by controlling the switching action and on-off of each semiconductor switching device. Among them, the semiconductor switch device can be a power transistor (Giant Transistor, GTR), a metal-oxide-semiconductor field-effect transistor (Metal-Oxide-Semiconductor Field-Effect Transistor, MOSFET), an insulated gate bipolar transistor (Insulated Gate Bipolar Transistor, IGBT), a gate turn-off thyristor (GTO) or other suitable devices. The specific topological structure, such as the setting of the semiconductor switch tube and the bridge arm, can refer to the common NPC type and T type. As long as the control requirements can be met, the photovoltaic power generation system 100 can generate corresponding control signals according to the collected data to control the switching action and on-off of each semiconductor switch device to achieve the expected control effect.In some exemplary embodiments, the inverter control system 100 can control the output through pulse width modulation (PWM), including but not limited to continuous pulse width modulation (CPWM), such as sinusoidal pulse width modulation (SPWM), space vector pulse width modulation (SVPWM), third-harmonic pulse width modulation (THIPWM); discontinuous pulse width modulation (DPWM), such as DPWMMIN, DPWMM0, DPWMM1, DPWMM2, DPWMM3, DPWMMAX and GDPWM; and model predictive control (MPC) method. In other exemplary embodiments, the photovoltaic power generation system 100 can also control the output through a phase shift control method, a closed-loop controller such as a proportional integral controller (PI) and a proportional integral derivative controller (PID), a control based on a dq coordinate system, or other suitable control methods. The DC-AC inverter circuit 102 may include a corresponding circuit topology for a specific control method. For example, when the control method is PWM, the DC-AC inverter circuit 102 may have a typical three-phase bridge inverter circuit structure, and the semiconductor switch tube of each bridge arm is turned on for half a cycle in a sinusoidal cycle, and the bridge arms of the three phases are alternately turned on and have a conduction angle difference of 120 degrees, so that the output voltage waveform obtained is approximately a sine wave. These can be adjusted and improved according to the specific application environment, and are not specifically limited here.

[0103] The DC input terminal 104 of the photovoltaic power generation system 100 is connected to a photovoltaic power generation component (not shown) and receives the DC power generated by the photovoltaic power generation component. The photovoltaic power generation component refers to a device that converts solar radiation energy into DC power energy according to the solar photovoltaic power generation effect, such as a solar panel. In some exemplary embodiments, the DC input terminal 104 can also be connected to energy storage elements such as batteries, fuel cells, or solar cells. The source of the DC input can also include other accessories to provide more functions, such as a programmable DC power supply and a feedback DC electronic load. In one possible implementation, the source of the DC input is other types of new energy power generation systems, such as a DC voltage source generated by a wind turbine or a hydroelectric generator set. These can be adjusted and improved according to the specific application environment, and are not specifically limited here.

[0104] In some exemplary embodiments, the AC outlet terminal 106 serves as an external output interface of the inverter control system 100, and can directly output electric energy to the load or return electric energy to the power grid, so as to be respectively applicable to a passive inverter circuit or an active inverter circuit. In one possible implementation, the photovoltaic power generation system 100 includes a grid-connected inverter connected to the power grid, and the AC outlet terminal 106 can be directly connected to the power grid through a cable and a line equivalent impedance. Here, the line equivalent impedance should be understood as a circuit impedance network composed of equivalent resistance, inductance, and capacitance of the transmission line and transformer. These can be adjusted and improved according to the specific application environment, and are not specifically limited here.

[0105] In some exemplary embodiments, the data collector 108 can detect and collect the voltage phase and frequency of the AC output terminal in real time through phase-locked loop technology, such as through a three-phase software phase-locked loop; or can track a given signal through dq coordinate transformation technology, such as through three-phase dq control to convert three-phase AC into two-phase DC; or can use other suitable technologies to collect data in real time. These can be adjusted and improved according to the specific application environment, and are not specifically limited here.

[0106] In some exemplary embodiments, the reactive current control device 110 includes at least one processor and at least one memory. The memory stores a computer program, and the processor calculates the output result according to the input data and a specific model by executing the computer program. The input data can be directly pushed to the processor for calculation, or can be first stored in the memory and then read by the processor for calculation. The computer program can be pre-set, or can be adjusted and set in real time by the outside, or can be a network model with machine learning characteristics based on artificial intelligence neural network technology. In a possible implementation, the reactive current control device 110 also has an external interface for receiving input data for calculation from the outside relative to the photovoltaic power generation system 100, and the processor can calculate according to the data received from the outside and the internal data received from the data collector 108. These can be adjusted and improved according to the specific application environment, and are not specifically limited here.

[0107] In some exemplary embodiments, the drive signal generator 112 generates a corresponding control signal or a drive signal according to the output result calculated by the reactive current control device 110 so as to control the DC-AC inverter circuit 102 to achieve the desired control effect. The specific method of generating the control signal and the specific content of the generated control signal are determined according to the specific method of controlling the output of the photovoltaic power generation system 100, and taking into account the corresponding circuit topology of the DC-AC inverter circuit 102, as long as the control requirements can be met. For example, when the control mode is PWM, the control signal generated is a corresponding output voltage modulation wave used to control the switching action and on-off of each semiconductor switching device so that the equivalent output contains the required waveform. These can be adjusted and improved according to the specific application environment, and are not specifically limited here.

[0108] In some exemplary embodiments, the filter 116 can be used to suppress the high-frequency harmonics of the switch generated by adopting a specific control method. The filter 116 can be L-type, LC-type or LCL-type, or it can be an adjustable filter with adjustable filter parameters to cope with the changing output frequency and equivalent impedance. The filter 116 can be a part of the photovoltaic power generation system 100, or it can be set separately without being regarded as an internal component of the photovoltaic power generation system 100. In one possible implementation, the photovoltaic power generation system 100 includes a grid-connected inverter connected to the power grid, and the filter 116 is a grid-connected filter, such as a photovoltaic grid-connected filter that uses an LCL circuit or other circuit to filter out high-frequency waves. These can be adjusted and improved according to the specific application environment, and are not specifically limited here.

[0109] Please continue reading Figure 1In some exemplary embodiments, the data collector 108 collects the port voltage of the inverter in real time. A computer program is stored in the memory of the reactive current control device 110. In response to the processor executing the computer program, the processor of the reactive current control device 110 performs the following operations: generating an overvoltage control reactive current instruction for overvoltage loop control according to the port voltage of the inverter and the overvoltage control reference voltage, wherein the overvoltage loop control is marked as a first loop control, and the overvoltage loop control controls the output reactive current of the inverter according to the overvoltage control reactive current instruction so that the absolute value of the difference between the port voltage and the overvoltage control reference voltage is less than a first threshold value; generating an undervoltage control reactive current instruction for undervoltage loop control according to the port voltage and the undervoltage control reference voltage, wherein the undervoltage loop control is marked as a second loop control, and the undervoltage loop control is marked as a second loop control. The undervoltage loop control controls the output reactive current of the inverter according to the undervoltage control reactive current instruction so that the absolute value of the difference between the port voltage and the undervoltage control reference voltage is less than a second threshold value; determines a third loop control reactive current instruction for a third loop control according to the working state of the inverter, wherein the third loop control is independent of the first loop control and the second loop control, and the working state includes a fault ride-through state, a fault recovery state or a normal state; determines a comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the third loop control reactive current instruction; and selects the first loop control, the second loop control or the third loop control corresponding to the comparison result.

[0110] Thus, in some exemplary embodiments, Figure 1 The photovoltaic power generation system 100 shown realizes adaptive adjustment of reactive current according to port voltage, and also realizes flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control, which is beneficial to stabilize the port voltage near the reference voltage, and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0111] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the photovoltaic power generation system 100. In other embodiments of the present application, the photovoltaic power generation system 100 may include more or fewer components than shown, or combine some components, or separate some components, or arrange the components differently.

[0112] See also Figure 2 , Figure 2 The flowchart of the inverter reactive current control method provided in an implementation mode of the present application is as follows. Figure 2 As shown, the control method includes the following steps.

[0113] Step S200: Obtaining the port voltage U of the inverter inv .

[0114] It should be understood that the inverter refers to a power electronic conversion device that converts direct current into alternating current. inv The voltage at the common point where the output port of the power electronic conversion device is connected to the transmission line or transformer. For example, assuming that the power electronic conversion device is a common three-phase three-level inverter, the three-phase output terminal of the three-phase three-level inverter outputs three-phase AC power, and the three-phase port voltage refers to the three-phase voltage of the three-phase port on the AC side of the three-phase three-level inverter, that is, the voltage between each phase of the three-phase port and the neutral line or zero line. Get the port voltage U inv The port voltage U can be obtained by real-time detection and acquisition techniques, such as phase-locked loop technology or dq coordinate transformation technology or other suitable techniques. inv It can also be inferred through indirect means, such as by detecting other electrical signals of the inverter.

[0115] It should be understood that the inverter includes a DC-AC inverter circuit for realizing the conversion from DC input to AC output. The input port of the inverter is connected to the DC input, and the DC input can be a DC voltage source or a DC current source equivalent in the circuit. Taking a new energy power generation system such as photovoltaic power generation as an example, the DC input comes from the DC power generated by the photovoltaic module after receiving light. When the DC input is an equivalent DC voltage source in the circuit, the DC-AC inverter circuit is a corresponding voltage-type inverter circuit. In one possible implementation, the inverter includes a DC-AC inverter circuit with a specific topological structure of semiconductor switching devices so as to control the port voltage by controlling the switching action and on-off of each semiconductor switching device.

[0116] In some exemplary embodiments, the inverter may further include a DC bus capacitor composed of positive and negative bus capacitors, a filter, and an AC output terminal. Among them, the positive terminal of the DC bus capacitor is connected to the positive terminal of the DC-AC inverter circuit as a positive DC bus; the negative terminal of the DC bus capacitor is connected to the negative terminal of the DC-AC inverter circuit as a negative DC bus. One end of the filter is connected to the output end of the DC-AC inverter circuit, and the other end is connected to the AC output terminal, and the AC output terminal is connected to the power grid through a cable and a line equivalent impedance. The line equivalent impedance should be understood as a circuit impedance network composed of equivalent resistance, inductance, and capacitance of the transmission line and transformer. These can be determined according to the specific application environment and are not specifically limited here.

[0117] Step S202: According to the port voltage U inv Determine the overvoltage control reference voltage U ov_ref .

[0118] According to the port voltage U of the inverter inv Determine the overvoltage control reference voltage U ov_ref , including the following details:

[0119] First, determine the smaller value of the high voltage ride-through trigger threshold and the overvoltage protection threshold of the inverter as the overvoltage control reference value U ov_base Then, the overvoltage loop control trigger threshold U is determined according to formula (1): ov_enter and overvoltage loop control exit threshold U ov_exit :

[0120] U ov_exit ≤U ov_enter ≤U ov_base (1)

[0121] Wherein, the overvoltage loop control exit threshold U ov_exit No greater than the overvoltage loop control trigger threshold U ov_enter , that is, the overvoltage loop trigger threshold U ov_enter Greater than or equal to the overvoltage loop exit threshold U ov_exit The overvoltage loop controls the trigger threshold U ov_enter is not greater than the smaller value, that is, the overvoltage loop control trigger threshold U ov_enter Not greater than the overvoltage control reference value U ov_base When the port voltage U inv When the port voltage U inv When the voltage is greater than the overvoltage protection threshold, the inverter triggers overvoltage disconnection protection.

[0122] The high voltage ride-through trigger threshold can be pre-set, or can be set according to the real-time status of the inverter and the grid it is connected to, or can be adjusted by the host computer of the inverter. The high voltage ride-through trigger threshold is used to judge the working state of the inverter according to whether the real-time value of the port voltage is within the normal range; when the port voltage exceeds the high voltage ride-through trigger threshold, it means that the port voltage is beyond the normal range, and then the inverter and the grid can be judged according to the fault judgment standard to be in the high voltage ride-through period or should be switched to the fault ride-through working state. In order to achieve high voltage ride-through, the inverter port voltage needs to be reduced to the normal range, that is, reduced to below the high voltage ride-through trigger threshold.

[0123] The overvoltage protection threshold may be pre-set, or may be set according to the real-time status of the inverter and the grid it is connected to, or may be adjusted by the host computer of the inverter. The overvoltage protection threshold is suitable for allowing the inverter to trigger overvoltage disconnection protection to prevent the inverter from being damaged due to overvoltage. For example, the overvoltage protection threshold may be set to the upper limit of the high voltage that the current inverter can withstand in design, or the upper limit of the high voltage specified according to the current grid and working environment. In practical applications, the high voltage ride-through trigger threshold and the overvoltage protection threshold should be understood as representing two independent protection mechanisms, each applicable to different control objectives and based on different judgment criteria. According to the actual working state of the inverter and the state of the grid in which it is located, the overvoltage protection threshold may be set to a voltage value smaller than the high voltage ride-through trigger threshold, or the overvoltage protection threshold may be set to a voltage value larger than the high voltage ride-through trigger threshold.

[0124] In this way, the smaller value of the high voltage ride-through trigger threshold and the overvoltage protection threshold is set as the overvoltage control reference value U ov_base , and according to the overvoltage control reference value U ov_base To calculate the overvoltage loop control trigger threshold U ov_enter and overvoltage loop control exit threshold U ov_exit , it can simultaneously take into account the control requirements of the inverter under various working states, including fault ride-through state, fault recovery state and other possible multiple working states, thereby effectively avoiding repeated triggering of high voltage ride-through and high voltage ride-through oscillation and grid disconnection.

[0125] Then, the first overvoltage reference voltage U is determined according to formulas (2) and (3): ov_ref1 , the second overvoltage reference voltage U ov_ref2 and the overvoltage control reference voltage U ov_ref :

[0126] U ov_ref1 ≤U ov_ref2 ≤U ov_exit (2)

[0127]

[0128] Wherein, when the port voltage U inv Greater than the overvoltage loop control trigger threshold U ov_enter When the first overvoltage reference voltage U is determined ov_ref1 is the overvoltage control reference voltage U ov_ref ; When the port voltage U of the inverter inv is less than the overvoltage loop control exit threshold U ov_exit When the second overvoltage reference voltage U ov_ref2 is the overvoltage control reference voltage Uov_ref The first overvoltage reference voltage U oc_ref1 No greater than the second overvoltage reference voltage U ov_ref2 , the second overvoltage reference voltage U ov_ref2 Not greater than the overvoltage loop control exit threshold U ov_exit In a possible implementation, the first overvoltage reference voltage U ov_ref1 With respect to the second overvoltage reference voltage U ov_ref2 To reduce a certain value, the second overvoltage reference voltage U ov_ref2 Relative to the overvoltage loop control exit threshold U ov_exit Also reduce a certain value.

[0129] Thus, by setting the first overvoltage reference voltage U ov_ref1 and the second overvoltage reference voltage U ov_ref2 , and requires the first overvoltage reference voltage U ov_ref1 No greater than the second overvoltage reference voltage U ov_ref2 , therefore, when the port voltage U inv exceeds the overvoltage loop control trigger threshold U ov_enter When a lower or at least equal first overvoltage reference voltage U is used ov_ref1 , and when the port voltage U inv is less than the overvoltage loop control exit threshold U ov_exit , a higher or at least equal second overvoltage reference voltage U is used ov_ref2 , thus achieving the port voltage U inv Approaching the overvoltage loop control trigger threshold U ov_enter When the overvoltage loop control exit threshold U is applied, it is close to ov_exit Stronger overvoltage loop control, that is, lower overvoltage control reference voltage U ov_ref This allows the overvoltage loop to control the port voltage U inv It is more sensitive when it suddenly increases, which is more conducive to reducing the port voltage U inv Increased to the possibility of triggering high voltage ride through.

[0130] In a possible implementation, according to the port voltage U inv Determine the overvoltage control reference voltage U ov_ref , including the following details: according to the smaller value U of the high voltage ride through trigger threshold and the overvoltage protection threshold of the inverter ov_base Determine the overvoltage loop control trigger threshold U ov_enter and overvoltage loop control exit threshold U ov_exit , wherein the overvoltage loop control exit threshold U ov_exitNo greater than the overvoltage loop control trigger threshold U ov_enter , the overvoltage loop control trigger threshold U ov_enter Not greater than the smaller value U ov_base , when the port voltage U inv When the voltage at the port U inv When the voltage at the port is greater than the overvoltage protection threshold, the inverter triggers overvoltage disconnection protection; inv Greater than the overvoltage loop control trigger threshold U ov_enter When the first overvoltage reference voltage U is determined ov_ref1 is the overvoltage control reference voltage U ov_ref ; When the port voltage U inv is less than the overvoltage loop control exit threshold U ov_exit When the second overvoltage reference voltage U ov_ref2 is the overvoltage control reference voltage U ov_ref Wherein, the first overvoltage reference voltage U ov_ref1 No greater than the second overvoltage reference voltage U ov_ref2 , the second overvoltage reference voltage U ov_ref2 Not greater than the overvoltage loop control exit threshold U ov_exit .

[0131] In a possible implementation, the overvoltage loop control trigger threshold U can be set according to the state parameters of the inverter. ov_enter and the overvoltage loop control exit threshold U ov_exit . The state parameters include the average value of the port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average value of the reactive power of the inverter before the fault ride-through state. Some of these state parameters can be preset, such as the rated voltage, and some can be detected according to the real-time status of the inverter and the grid it is connected to, such as the system short-circuit ratio.

[0132] In this way, the overvoltage loop control trigger threshold and the overvoltage loop control exit threshold are determined by referring to the high voltage ride-through trigger threshold and the overvoltage protection threshold, and the first overvoltage reference voltage and the second overvoltage reference voltage are determined according to the real-time port voltage, thereby realizing adaptive adjustment based on the real-time port voltage and flexible control to adapt to different situations, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0133] Step S204: According to the port voltage Uinv Determine the undervoltage control reference voltage U uv_ref .

[0134] According to the port voltage U of the inverter inv Determine the undervoltage control reference voltage U uv_ref , including the following details:

[0135] First, determine the larger value of the low voltage ride-through trigger threshold and the undervoltage protection threshold of the inverter as the undervoltage control reference value U uv_base Then, the undervoltage loop control trigger threshold U is determined according to formula (4): uv_enter and undervoltage loop control exit threshold U uv_exit :

[0136] U uv_base ≤U uv_enter ≤U uv_exit (4)

[0137] Among them, the undervoltage loop control exit threshold U uv_exit Not less than the undervoltage loop control trigger threshold U uv_enter , that is, the undervoltage loop trigger threshold U uv_enter Less than or equal to the undervoltage loop exit threshold U uv_exit The undervoltage loop control trigger threshold U uv_enter is not less than the larger value, that is, the undervoltage loop control trigger threshold U uv_enter Not less than the undervoltage control reference value U uv_base When the port voltage U inv When the voltage U inv When the voltage is less than the undervoltage protection threshold, the inverter triggers undervoltage disconnection protection.

[0138] The low voltage ride-through trigger threshold can be pre-set, or can be set according to the real-time status of the inverter and the grid it is connected to, or can be adjusted by the host computer of the inverter. The low voltage ride-through trigger threshold is used to judge the working state of the inverter according to whether the real-time value of the port voltage is within the normal range; when the port voltage is lower than the low voltage ride-through trigger threshold, it means that the port voltage is beyond the normal range, and then the inverter and the grid can be judged according to the fault judgment standard to be in the low voltage ride-through period or should be switched to the fault ride-through working state. In order to achieve low voltage ride-through, the inverter port voltage needs to be increased to the normal range, that is, increased to above the low voltage ride-through trigger threshold.

[0139] The undervoltage protection threshold may be pre-set, or may be set according to the real-time status of the inverter and the grid it is incorporated into, or may be adjusted by the host computer of the inverter. The undervoltage protection threshold is suitable for allowing the inverter to trigger undervoltage grid disconnection protection to prevent the inverter from being damaged due to undervoltage. For example, the undervoltage protection threshold may be set to the lower limit of the low voltage that the current inverter can withstand in design, or the lower limit of the low voltage specified according to the current grid and working environment. In practical applications, the low voltage ride-through trigger threshold and the undervoltage protection threshold should be understood as representing two independent protection mechanisms, each applicable to different control objectives and based on different judgment criteria. According to the actual working state of the inverter and the state of the grid in which it is located, the undervoltage protection threshold may be set to a voltage value smaller than the low voltage ride-through trigger threshold, or the undervoltage protection threshold may be set to a voltage value larger than the low voltage ride-through trigger threshold.

[0140] In this way, the larger value of the low voltage ride-through trigger threshold and the undervoltage protection threshold is set as the undervoltage control reference value U uv_base , and according to the undervoltage control reference value U uv_base To calculate the undervoltage loop control trigger threshold U uv_enter and undervoltage loop control exit threshold U uv_exit , it can simultaneously take into account the control requirements of the inverter under various working states, including fault ride-through state, fault recovery state and other possible multiple working states, thereby effectively avoiding repeated triggering of low voltage ride-through and low voltage ride-through oscillation and grid disconnection.

[0141] Then, the first undervoltage reference voltage U is determined according to formulas (5) and (6): uv_ref1 , the second undervoltage reference voltage U uv_ref2 and the undervoltage control reference voltage U uv_ref :

[0142] U uv_exit ≤U uv_ref2 ≤U uv_ref1 (5)

[0143]

[0144] Wherein, when the port voltage U inv is less than the undervoltage loop control trigger threshold U uv_enter When the first undervoltage reference voltage U is determined uv_ref1 The undervoltage control reference voltage U uv_ref ; When the port voltage U of the inverter inv Greater than the undervoltage loop control exit threshold U uv_exit When the second undervoltage reference voltage U is determined uv_ref2 The undervoltage control reference voltage Uuv_ref The first undervoltage reference voltage U uv_ref1 Not less than the second undervoltage reference voltage U uv_ref2 , the second undervoltage reference voltage U uv_ref2 Not less than the undervoltage loop control exit threshold U uv_exit In a possible implementation, the first undervoltage reference voltage U uv_ref1 With respect to the second undervoltage reference voltage U uv_ref2 To increase a certain value, the second undervoltage reference voltage U uv_ref2 Relative to the undervoltage loop control exit threshold U uv_exit Also increases a certain value.

[0145] Thus, by setting the first undervoltage reference voltage U uv_ref1 and the second undervoltage reference voltage U uv_ref2 , and requires the first undervoltage reference voltage U uv_ref1 Not less than the second undervoltage reference voltage U uv_ref2 , therefore, when the port voltage U inv is less than the undervoltage loop control trigger threshold U uv_enter When a higher or at least equal first undervoltage reference voltage U is used uv_ref1 , and when the port voltage U inv Greater than the undervoltage loop control exit threshold U uv_exit , a lower or at least equal second undervoltage reference voltage U is used uv_ref2 , thus achieving the port voltage U inv Approaching the under-loop control trigger threshold U uv_enter When the undervoltage loop control exit threshold U is applied, the uv_exit Stronger undervoltage loop control, that is, higher undervoltage control reference voltage U uv_ref This allows the undervoltage loop to control the port voltage U inv It is more sensitive when it decreases suddenly, which is more conducive to reducing the port voltage U inv Reduce the possibility of triggering low voltage ride-through.

[0146] In a possible implementation, the port voltage U inv Determine the undervoltage control reference voltage U ov_ref , including the following details: according to the larger value U of the low voltage ride-through trigger threshold and the undervoltage protection threshold of the inverter uv_base Determine the undervoltage loop control trigger threshold U uv_enter and undervoltage loop control exit threshold U uv_exit , wherein the undervoltage loop control exit threshold U uv_exitNot less than the undervoltage loop control trigger threshold U uv_enter , the undervoltage loop control trigger threshold U uv_enter Not less than the larger value U uv_base , when the port voltage U inv When the voltage U inv When the voltage at the port is lower than the undervoltage protection threshold, the inverter triggers undervoltage disconnection protection; inv When U is less than the undervoltage loop control trigger threshold uv_enter , determine the first undervoltage reference voltage U uv_ref1 The undervoltage control reference voltage U ov_ref ; When the port voltage U inv Greater than the undervoltage loop control exit threshold U uv_exit When the second undervoltage reference voltage U is determined uv_ref2 The undervoltage control reference voltage U ov_ref Wherein, the first undervoltage reference voltage U uv_ref1 Not less than the second undervoltage reference voltage U uv_ref2 , the second undervoltage reference voltage U uv_ref2 Not less than the undervoltage loop control exit threshold U uv_exit .

[0147] In a possible implementation, the undervoltage loop control trigger threshold U is set according to the state parameters of the inverter. uv_enter and the undervoltage loop control exit threshold U uv_exit . The state parameters include the average value of the port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average value of the reactive power of the inverter before the fault ride-through state. Some of these state parameters can be preset, such as the rated voltage, and some can be detected according to the real-time status of the inverter and the grid it is connected to, such as the system short-circuit ratio.

[0148] In this way, the undervoltage loop control trigger threshold and the undervoltage loop control exit threshold are determined by referring to the low voltage ride-through trigger threshold and the undervoltage protection threshold, and the first undervoltage reference voltage and the second undervoltage reference voltage are determined according to the real-time port voltage, thereby realizing adaptive adjustment based on the real-time port voltage and flexible control to adapt to different situations, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0149] Step S206: According to the port voltage Uinv and the overvoltage control reference voltage U ov_ref Generate overvoltage control reactive current command i q_ov Used for overvoltage loop control, wherein the overvoltage loop control is marked as first loop control.

[0150] According to formula (7), according to the port voltage U inv and the overvoltage control reference voltage U ov_ref Generate the overvoltage control reactive current instruction i for overvoltage loop control q_ov .

[0151] i q_ov =G(s)*(U ov_ref -U inv ) (7)

[0152] Wherein G(s) is a transfer function used to characterize the mathematical model corresponding to the inverter, which is based on the excitation (the overvoltage control reference voltage U ov_ref With the port voltage U inv The difference between the overvoltage control and reactive current command i q_ov ). The transfer function G(s) can be linear, nonlinear, piecewise, or other mathematical forms. Generally speaking, different excitations cause different responses and different control effects. ov_ref , so that the inverter can have the same port voltage U inv Different control effects are generated, which is conducive to flexibly adjusting the required response according to the current state of the inverter and the control target to be achieved. For example, the overvoltage loop control is based on the overvoltage control reactive current instruction i q_ov Control the output reactive current of the inverter so that the port voltage U inv The overvoltage control reference voltage U ov_ref The absolute value of the difference between the values ​​of 1 and 2 is less than a first threshold value. The first threshold value may be preset, or may be set according to the inverter type, or may be determined according to the actual working state of the inverter.

[0153] In some exemplary embodiments, the transfer function G(s) may be in the form of a controller, including but not limited to a proportional-integral controller (PI), a proportional-integral-derivative controller (PID), and other closed-loop controllers.

[0154] Taking the proportional-integral controller (PI) as an example, G(s) is expressed as:

[0155]

[0156] Among them, K p Represents the proportional adjustment coefficient, K i Indicates the integral adjustment coefficient.

[0157] In this way, adaptive adjustment based on real-time port voltage is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0158] Step S208: According to the port voltage U inv and the undervoltage control reference voltage U uv_ref Generate undervoltage control reactive current command i q_uv , used for undervoltage loop control, wherein the undervoltage loop control is marked as second loop control.

[0159] According to formula (9), according to the port voltage U inv and the undervoltage control reference voltage U uv_ref Generate the undervoltage control reactive current command i for undervoltage loop control q_uv .

[0160] i q_uv =G(s)*(U uv_ref -U inv ) (9)

[0161] Wherein, G(s) is a transfer function used to characterize the mathematical model corresponding to the inverter, which is based on the excitation (the undervoltage control reference voltage U uv_ref With the port voltage U inv The difference between the two values) gives the corresponding response (undervoltage control reactive current command i q_uv ). The transfer function G(s) can be linear, or nonlinear, or can be expressed in a piecewise function, or in other mathematical forms. Generally speaking, different excitations cause different responses and also lead to different control effects. Thus, by setting different undervoltage control reference voltages U uv_ref , so that the inverter can have the same port voltage U inv Different control effects are generated, which is conducive to flexibly adjusting the required response according to the current state of the inverter and the control target to be achieved. For example, the undervoltage loop control is based on the undervoltage control reactive current instruction i q_uv , control the output reactive current of the inverter so that the port voltage U inv With the undervoltage control reference voltage U ov_refThe absolute value of the difference between the values ​​of φ and φ is less than a second threshold value. The second threshold value may be preset, or may be set according to the inverter type, or may be determined according to the actual working state of the inverter.

[0162] In some exemplary embodiments, the transfer function G(s) may be in the form of a controller, including but not limited to: a proportional-integral controller (PI), a proportional-integral-differential controller (PID) and other closed-loop controllers. For example, the expression of the above formula (8) may be used.

[0163] In a possible implementation, different transfer functions may be designed for overvoltage loop control and undervoltage loop control, respectively. That is, formula (7) and formula (9) may have different transfer functions G(s), thereby facilitating flexible control of different control objectives and different power grid environments.

[0164] In this way, adaptive adjustment based on real-time port voltage is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0165] Step S210: Determine the third loop control reactive current instruction i according to the working state of the inverter q_normal Used for third loop control.

[0166] The third loop control is independent of the first loop control, i.e., the overvoltage loop control, and the second loop control, i.e., the undervoltage loop control. The working state includes a fault ride-through state, a fault recovery state, or a normal state. When the working state is the fault ride-through state, the third loop control reactive current instruction i q_normal is the fault-crossing reactive current instruction; when the working state is the fault recovery state, the third loop controls the reactive current instruction i q_normal is a fault recovery reactive current instruction; when the working state is the normal state, the third loop controls the reactive current instruction i q_normalIt is the power dispatching reactive current instruction. The fault ride-through reactive current instruction is used to control the inverter to output the required reactive power when it is in the fault ride-through state. In practical applications, there are strict requirements on the fault ride-through capability of the inverter. It must be able to output a certain reactive power so that the inverter and the power grid can recover from the fault. In particular, grid-connected inverters working in weak and extremely weak power grids face huge challenges. Therefore, the fault ride-through reactive current instruction is generally pre-set according to specific regulations and industrial standards. The fault recovery reactive current instruction is applicable to the inverter in the recovery period after the fault. At this time, the real-time state of the inverter should be combined to achieve the matching of active power and reactive power. The power dispatching reactive current instruction under normal conditions is generally a dispatching instruction issued by the upper computer in the power grid where the inverter is located to control the inverter to output the specified reactive power to meet the power dispatching control requirements. Therefore, the third loop controls the reactive current instruction i q_normal It is preset or determined according to an instruction received from a host computer relative to the inverter.

[0167] The working state is determined according to the port voltage U inv Or it is determined by the command of the host computer of the inverter. For example, when the port voltage U inv When the port voltage U is greater than the high voltage ride-through trigger threshold or less than the low voltage ride-through trigger threshold, the working state can be determined as a fault ride-through state. inv After the voltage drops to the high voltage ride-through trigger threshold or increases to the low voltage ride-through trigger threshold for a period of time, the working state can be judged as a fault recovery state. The working state can also be specified by the host computer according to actual needs. For example, the host computer predicts that the inverter will encounter the risk of a sudden increase in voltage exceeding the high voltage ride-through trigger threshold based on the inverter and the grid state to which it is connected, thereby instructing the inverter to switch to the fault ride-through state in advance.

[0168] This is conducive to achieving flexible control of different control objectives and different power grid environments.

[0169] Step S212: Determine the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command i q_normal The comparison results.

[0170] It is assumed that the output current direction of the inverter is the forward reference direction. According to the forward reference direction, the reactive current command loop competition scheme can be performed according to formulas (10) and (11):

[0171] i q_temp =MIN(i q_nomal ,i q_uv) (10)

[0172] i q_ref =MAX(i q_temp ,i q_ov ) (11)

[0173] Among them, M1N is the smaller function, MAX is the larger function, i q_normal is the reactive current command of the third loop control, i q_temp is the reactive current instruction i of the third loop control q_normal and the undervoltage control reactive current command i q_uv The reactive current command loop competition scheme can be expressed as: Determine the undervoltage control reactive current command i q_uv and the third loop controls the reactive current command i q_normal The smaller result i q_temp ; Determine the minimum result i q_temp and the overvoltage control reactive current command i q_ov The larger result is the final reactive current command i q_ref ; Take the larger result, that is, the final reactive current instruction i q_ref As the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command i q_normal The comparison results.

[0174] In a possible implementation, the reactive current command loop competition scheme can also be expressed as: determining the undervoltage control reactive current command i q_uv and the overvoltage control reactive current command i q_ov The first larger result; determine the third loop control reactive current instruction i q_normal and the overvoltage control reactive current command i q_ov The second larger result; determine the smaller result of the first larger result and the second larger result as the final reactive current instruction i q_ref ; Take the smaller result, that is, the final reactive current instruction i q_ref As the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command i q_normal The comparison results.

[0175] In this way, by applying a specific reactive current command loop competition scheme to the overvoltage control reactive current command, the undervoltage control reactive current command and the third loop control reactive current command, the requirements of overvoltage loop control, undervoltage loop control and third loop control are taken into account, and flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is conducive to stabilizing the port voltage near the reference voltage, thereby avoiding disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure by the inverter in weak and extremely weak power grids.

[0176] The above assumption is that the output current direction of the inverter is the positive reference direction, and the corresponding reactive current command loop competition scheme is also based on the positive reference direction to obtain the corresponding reactive current command. In practical applications, it is also possible to assume that the output current direction of the inverter is the negative reference direction, and thus adjust the reactive current command loop competition scheme accordingly.

[0177] Assuming that the output current direction of the inverter is a negative reference direction, according to the negative reference direction, the reactive current command loop competition scheme can also be expressed as: according to the negative reference direction, determining the larger result of the undervoltage control reactive current command and the third loop control reactive current command; and according to the negative reference direction, determining the larger result and the smaller result of the overvoltage control reactive current command, wherein the smaller result is the comparison result. The reactive current command loop competition scheme can also be expressed as: according to the negative reference direction, determining the first smaller result of the undervoltage control reactive current command and the overvoltage control reactive current command; according to the negative reference direction, determining the second smaller result of the third loop control reactive current command and the overvoltage control reactive current command; according to the negative reference direction, determining the larger result of the first smaller result and the second smaller result, wherein the larger result is the comparison result.

[0178] In this way, by determining the comparison result, flexible and smooth switching among overvoltage loop control, undervoltage loop control and third loop control is achieved, which is beneficial to stabilizing the port voltage near the reference voltage and is also beneficial to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak power grids.

[0179] In a possible implementation, the above comparison result is a weighted comparison result, that is, the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command i q_normalEach is multiplied by a weight value and then the reactive current command loop competition scheme is performed. The reactive current command loop competition scheme using the weighted comparison result includes the following details: determining a first weight value corresponding to the first loop control, a second weight value corresponding to the second loop control, and a third weight value corresponding to the third loop control; controlling the reactive current command according to the overvoltage q_ov and the first weight value to calculate the weighted overvoltage control reactive current instruction; according to the undervoltage control reactive current instruction i q_uv , and the second weight value calculates the weighted undervoltage control reactive current instruction; according to the third loop control reactive current instruction i q_normal and the third weight value to calculate a weighted third loop control reactive current instruction; and determine the comparison result according to the weighted overvoltage control reactive current instruction, the weighted undervoltage control reactive current instruction and the weighted third loop control reactive current instruction.

[0180] The first weight value, the second weight value and the third weight value are determined according to the working state of the inverter and the state of the power grid to which the inverter is connected. For example, when the inverter is in a fault ride-through state, the third loop controls the reactive current instruction i q_normal For fault recovery of reactive current command, the third weight value can be adjusted to increase the probability of the third loop control being selected as the final comparison result. That is, through comparison with weight coefficient adjustment, a certain type of loop control is emphasized according to the control target.

[0181] In a possible implementation, the first weight value, the second weight value and the third weight value have independent time parameters respectively. The time parameter is determined according to the duration of the working state. In other words, the weight value can be a function that changes according to time. For example, for a period of time after the inverter fault state is released, the inverter is in a fault recovery state. At this time, the third loop control corresponding to the fault recovery reactive current instruction is focused on. Therefore, the third weight value can be set with a time parameter related to the duration of the fault recovery.

[0182] In this way, by determining the weight value according to the working state of the inverter and the state of the grid, the weighted comparison result can be adjusted according to the actual situation, which is conducive to stabilizing the port voltage near the reference voltage and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection from the grid due to multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak grids.

[0183] Step S214: selecting the first loop control, the second loop control or the third loop control corresponding to the comparison result.

[0184] Wherein, the comparison result is the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command iq _normal According to the comparison result, the corresponding specific loop control can be determined.

[0185] In this way, flexible and smooth switching among overvoltage loop control, undervoltage loop control and the third loop control is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0186] In a possible implementation, when the overvoltage control reference voltage U ov_ref Equal to the undervoltage control reference voltage U uv_ref , the overvoltage loop control and the undervoltage loop control are the same single loop control. At this time, the comparison result is equivalent to selecting one of the two loop competitions. In this way, by simplifying the overvoltage loop control and the undervoltage loop control into the same single loop control, the system structure and control process are simplified, which is conducive to stabilizing the port voltage near the reference voltage, and is also conducive to the matching between active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter under weak and extremely weak grids.

[0187] See also Figure 3 , Figure 3 A flowchart of another implementation method of an inverter reactive current control method provided in an embodiment of the present application. Figure 3 As shown, the control method includes the following steps.

[0188] Step S300: Obtaining the port voltage U of the inverter inv .

[0189] The details of step S300 are basically the same as those of step S200 and will not be repeated here.

[0190] Step S302: Setting the overvoltage control reference voltage U according to the state parameters of the inverter ov_ref .

[0191] The main difference between step S302 and step S202 is that the overvoltage control reference voltage U is set ov_ref No need to depend on the inverter port voltage U invSpecifically, the state parameter includes one of the following or any combination of multiple thereof: the average value of the port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the overvoltage protection point of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average value of the reactive power of the inverter before the fault ride-through state. Some of these state parameters can be preset, such as the rated voltage; some do not depend on the port voltage U inv The real-time value of the inverter is determined based on the previous state of the inverter, such as the average value of the port voltage of the inverter before the fault ride-through state or the average value of the reactive power of the inverter before the fault ride-through state; some do not depend on the port voltage U inv The overvoltage protection point is a pre-set voltage threshold value for overvoltage disconnection protection.

[0192] In this way, by setting the reference voltage according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0193] Step S304: Setting the undervoltage control reference voltage U according to the state parameters of the inverter uv_ref .

[0194] The main difference between step S304 and step S204 is that the undervoltage control reference voltage U is set uv_ref No need to depend on the inverter port voltage U inv Specifically, the state parameter includes one of the following or any combination of multiple thereof: the average value of the port voltage of the inverter before the fault ride-through state, the rated voltage of the inverter, the output power of the inverter, the undervoltage protection point of the inverter, the short-circuit ratio of the power system corresponding to the inverter, or the average value of the reactive power of the inverter before the fault ride-through state. Some of these state parameters can be preset, such as the rated voltage; some do not depend on the port voltage U inv The real-time value of the inverter is determined based on the previous state of the inverter, such as the average value of the port voltage of the inverter before the fault ride-through state or the average value of the reactive power of the inverter before the fault ride-through state; some do not depend on the port voltage U invThe undervoltage protection point is a pre-set voltage threshold value for undervoltage disconnection protection.

[0195] In this way, by setting the reference voltage according to the state parameters, flexible control according to different control objectives is achieved, which is conducive to stabilizing the port voltage near the reference voltage and matching the active power and reactive power, thereby helping to avoid disconnection caused by multiple triggering of fault ride-through and ride-through failure of the inverter in weak and extremely weak power grids.

[0196] Step S306: According to the port voltage U inv and the overvoltage control reference voltage U ov_ref Generate overvoltage control reactive current command i q_ov Used for overvoltage loop control, wherein the overvoltage loop control is marked as first loop control.

[0197] The details of step S306 are basically the same as those of step S206 and will not be repeated here.

[0198] Step S308: According to the port voltage U inv and the undervoltage control reference voltage U uv_ref Generate undervoltage control reactive current command i q_uv Used for undervoltage loop control, wherein the undervoltage loop control is marked as second loop control.

[0199] The details of step S308 are basically the same as those of step S208 and will not be repeated here.

[0200] Step S310: Determine the third loop control reactive current instruction i according to the working state of the inverter q_normal Used for third loop control.

[0201] The details of step S310 are basically the same as those of step S210 and will not be repeated here.

[0202] Step S312: Determine the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command iq _normal The comparison results.

[0203] The details of step S312 are basically the same as those of step S212 and will not be repeated here.

[0204] Step S314: selecting the first loop control, the second loop control or the third loop control corresponding to the comparison result.

[0205] The details of step S314 are basically the same as those of step S214 and will not be repeated here.

[0206] See also Figure 4 , Figure 4 A flowchart of another implementation method of an inverter reactive current control method provided in an embodiment of the present application. Figure 4 As shown, the control method includes the following steps.

[0207] Step S400: Obtaining the port voltage U of the inverter inv .

[0208] The details of step S400 are basically the same as those of step S200 and will not be repeated here.

[0209] Step S402: According to the port voltage U inv Determine the overvoltage control reference voltage U ov_ref .

[0210] The details of step S402 are basically the same as those of step S202 and will not be described again here.

[0211] Step S404: Setting the undervoltage control reference voltage U according to the state parameters of the inverter uv_ref .

[0212] The details of step S404 are basically the same as those of step S304 and will not be described again here.

[0213] Step S406: According to the port voltage U inv and the overvoltage control reference voltage U ov_ref Generate overvoltage control reactive current command i q_ov Used for overvoltage loop control, wherein the overvoltage loop control is marked as first loop control.

[0214] The details of step S406 are basically the same as those of step S206 and will not be repeated here.

[0215] Step S408: According to the port voltage U inv and the undervoltage control reference voltage U uv_ref Generate undervoltage control reactive current command i q_uv Used for undervoltage loop control, wherein the undervoltage loop control is marked as second loop control.

[0216] The details of step S408 are basically the same as those of step S208 and will not be repeated here.

[0217] Step S410: Determine the third loop control reactive current instruction i according to the working state of the inverter q_normalUsed for third loop control.

[0218] The details of step S410 are basically the same as those of step S210 and will not be repeated here.

[0219] Step S412: Determine the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command i q_normal The comparison results.

[0220] The details of step S412 are basically the same as those of step S212 and will not be repeated here.

[0221] Step S414: selecting the first loop control, the second loop control or the third loop control corresponding to the comparison result.

[0222] The details of step S414 are basically the same as those of step S214 and will not be repeated here.

[0223] See also Figure 5 , Figure 5 A flowchart of another implementation method of an inverter reactive current control method provided in an embodiment of the present application. Figure 5 As shown, the control method includes the following steps.

[0224] Step S500: Obtaining the port voltage U of the inverter inv .

[0225] The details of step S500 are basically the same as those of step S200 and will not be repeated here.

[0226] Step S502: Setting the overvoltage control reference voltage U according to the state parameters of the inverter ov_ref .

[0227] The details of step S502 are basically the same as those of step S302 and will not be repeated here.

[0228] Step S504: According to the port voltage U inv Determine the undervoltage control reference voltage U uv_ref .

[0229] The details of step S504 are basically the same as those of step S204 and will not be described again here.

[0230] Step S506: According to the port voltage U inv and the overvoltage control reference voltage U ov_ref Generate overvoltage control reactive current command i q_ovUsed for overvoltage loop control, wherein the overvoltage loop control is marked as first loop control.

[0231] The details of step S506 are basically the same as those of step S206 and will not be repeated here.

[0232] Step S508: According to the port voltage U inv and the undervoltage control reference voltage U uv_ref Generate undervoltage control reactive current command i q_uv Used for undervoltage loop control, wherein the undervoltage loop control is marked as second loop control.

[0233] The details of step S508 are basically the same as those of step S208 and will not be repeated here.

[0234] Step S510: Determine the third loop control reactive current instruction i according to the working state of the inverter q_normal Used for third loop control.

[0235] The details of step S510 are basically the same as those of step S210 and will not be repeated here.

[0236] Step S512: Determine the overvoltage control reactive current instruction i q_ov , the undervoltage control reactive current instruction i q_uv and the third loop controls the reactive current command i q_normal The comparison results.

[0237] The details of step S512 are basically the same as those of step S212 and will not be repeated here.

[0238] Step S514: selecting the first loop control, the second loop control or the third loop control corresponding to the comparison result.

[0239] The details of step S514 are basically the same as those of step S214 and will not be repeated here.

[0240] In some exemplary embodiments, the inverter is a grid-connected inverter connected to a power grid, and receives a power dispatch instruction from a host computer in the power grid relative to the grid-connected inverter. In this way, by receiving the power dispatch instruction from the host computer, power dispatch of the grid-connected inverter is achieved. The grid-connected inverter is used in a photovoltaic power generation system, a wind power generation system, or a hydropower generation system. In this way, by applying the grid-connected inverter to a new energy power generation system, the disconnection caused by multiple triggering of fault ride-through and ride-through failure of the new energy power generation system is avoided.

[0241] The specific embodiments provided by the present application can be implemented with any one or combination of hardware, software, firmware or solid-state logic circuits, and can be implemented in combination with signal processing, control and / or special circuits. The equipment or device provided by the specific embodiments of the present application may include one or more processors (e.g., microprocessors, controllers, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), etc.), which process various computer-executable instructions to control the operation of the equipment or device. The equipment or device provided by the specific embodiments of the present application may include a system bus or a data transmission system that couples various components together. The system bus may include any one or a combination of different bus structures, such as a memory bus or a memory controller, a peripheral bus, a universal serial bus and / or a processor or local bus utilizing any one of a variety of bus architectures. The equipment or device provided by the specific embodiments of the present application may be provided separately, may be a part of a system, or may be a part of other equipment or devices.

[0242] The specific embodiments provided in the present application may include a computer-readable storage medium or be combined with a computer-readable storage medium, such as one or more storage devices capable of providing non-temporary data storage. The computer-readable storage medium / storage device may be configured to store data, program modules and / or instructions, which, when executed by a processor of a device or apparatus provided in a specific embodiment of the present application, enable the device or apparatus to perform relevant operations. The computer-readable storage medium / storage device may include one or more of the following features: volatility, non-volatility, dynamic, static, readable / writable, read-only, random access, sequential access, location addressability, file addressability, and content addressability. In one or more exemplary embodiments, the computer-readable storage medium / storage device may be integrated into the device or apparatus provided in a specific embodiment of the present application or belong to a common system. Computer-readable storage media / storage devices may include optical storage devices, semiconductor storage devices and / or magnetic storage devices, etc., and may also include random access memory (RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, removable disks, recordable and / or rewritable compact disks (CDs), digital versatile disks (DVDs), mass storage media devices or any other form of suitable storage media.

[0243] The above is the implementation method of the embodiment of the present application. It should be noted that the steps in the method described in the specific embodiment of the present application can be adjusted in order, merged and deleted according to actual needs. In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, refer to the relevant description of other embodiments. It is understandable that the structure shown in the embodiment of the present application and the accompanying drawings does not constitute a specific limitation on the relevant device or system. In other embodiments of the present application, the relevant device or system may include more or fewer components than the specific embodiments and the accompanying drawings, or combine certain components, or split certain components, or have different component arrangements. Those skilled in the art will understand that, without departing from the spirit and scope of the specific embodiments of the present application, various modifications or changes can be made to the arrangement, operation and details of the methods and equipment recorded in the specific embodiments; without departing from the principles of the embodiments of the present application, several improvements and modifications can also be made, and these improvements and modifications are also regarded as the scope of protection of the present application.

Claims

1. A method for controlling reactive current of an inverter, characterized in that: The method comprises: generating an overvoltage control reactive current instruction according to the port voltage of the inverter and an overvoltage control reference voltage; Generate an undervoltage control reactive current instruction according to the port voltage and the undervoltage control reference voltage; generating a power scheduling reactive current instruction according to the working state of the inverter; The working state includes a fault-travel state, a fault-recovery state and a normal state; Based on the comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the power scheduling reactive current instruction, controlling the inverter to output reactive current; When the port voltage is greater than the overvoltage loop control trigger threshold, the first overvoltage reference voltage is the overvoltage control reference voltage, and when the port voltage is less than the overvoltage loop control exit threshold, the second overvoltage reference voltage is the overvoltage control reference voltage, wherein the first overvoltage reference voltage is not greater than the second overvoltage reference voltage, and the second overvoltage reference voltage is not greater than the overvoltage loop control exit threshold, wherein the overvoltage loop control exit threshold is not greater than the overvoltage loop control trigger threshold, and the overvoltage loop control trigger threshold is not greater than the smaller value of the high voltage ride-through trigger threshold and the overvoltage protection threshold of the inverter; The absolute value of the overvoltage control reactive current command is positively correlated with the absolute value of the difference between the overvoltage control reference voltage and the port voltage; or When the port voltage is less than the undervoltage loop control trigger threshold, the first undervoltage reference voltage is the undervoltage control reference voltage, and when the port voltage is greater than the undervoltage loop control exit threshold, the second undervoltage reference voltage is the undervoltage control reference voltage, wherein the first undervoltage reference voltage is not less than the second undervoltage reference voltage, and the second undervoltage reference voltage is not less than the undervoltage loop control exit threshold, wherein the undervoltage loop control exit threshold is not less than the undervoltage loop control trigger threshold, and the undervoltage loop control trigger threshold is not less than the larger value of the low voltage ride-through trigger threshold and the undervoltage protection threshold of the inverter; The absolute value of the undervoltage control reactive current command is positively correlated with the absolute value of the difference between the undervoltage control reference voltage and the port voltage.

2. The inverter reactive current control method according to claim 1, characterized in that: The method comprises: When the output current direction of the inverter is a forward reference direction; Comparing the undervoltage control reactive current instruction and the power dispatch reactive current instruction to obtain the smaller result; Comparing the smaller result with the overvoltage control reactive current instruction to obtain a larger result; The output reactive current of the inverter is controlled based on the maximum result.

3. The inverter reactive current control method according to claim 1, characterized in that: The method comprises: When the output current direction of the inverter is a forward reference direction; Comparing the undervoltage control reactive current instruction and the overvoltage control reactive current instruction to obtain a first larger result; Comparing the power dispatching reactive current instruction and the overvoltage control reactive current instruction to obtain a second larger result; Comparing the first larger result with the second larger result to obtain a smaller result; The output reactive current of the inverter is controlled based on the smaller result.

4. The inverter reactive current control method according to claim 1, characterized in that: The method comprises: When the output current direction of the inverter is a negative reference direction; Comparing the undervoltage control reactive current instruction and the power dispatch reactive current instruction to obtain the larger result; Comparing the larger result with the overvoltage control reactive current instruction to obtain a smaller result; The output reactive current of the inverter is controlled based on the smaller result.

5. The inverter reactive current control method according to claim 1, characterized in that: The method comprises: When the output current direction of the inverter is a negative reference direction; Comparing the undervoltage control reactive current instruction and the overvoltage control reactive current instruction to obtain a first smaller result; Comparing the power dispatching reactive current instruction and the overvoltage control reactive current instruction to obtain a second smaller result; Comparing the first smaller result with the second smaller result to obtain a larger result; The output reactive current of the inverter is controlled based on the maximum result.

6. An inverter, characterized in that: The inverter includes a power conversion circuit, a port and a controller, wherein the power conversion circuit is used to convert direct current from a photovoltaic module or an energy storage battery into alternating current, and output the alternating current to an alternating current grid through the port; The controller is used to: generating an overvoltage control reactive current instruction according to the port voltage of the inverter and an overvoltage control reference voltage; Generate an undervoltage control reactive current instruction according to the port voltage and the undervoltage control reference voltage; generating a power scheduling reactive current instruction according to the working state of the inverter; The working state includes a fault-travel state, a fault-recovery state and a normal state; Based on the comparison result of the overvoltage control reactive current instruction, the undervoltage control reactive current instruction and the power scheduling reactive current instruction, controlling the inverter to output reactive current; When the port voltage is greater than the overvoltage loop control trigger threshold, the first overvoltage reference voltage is the overvoltage control reference voltage, and when the port voltage is less than the overvoltage loop control exit threshold, the second overvoltage reference voltage is the overvoltage control reference voltage, wherein the first overvoltage reference voltage is not greater than the second overvoltage reference voltage, and the second overvoltage reference voltage is not greater than the overvoltage loop control exit threshold, wherein the overvoltage loop control exit threshold is not greater than the overvoltage loop control trigger threshold, and the overvoltage loop control trigger threshold is not greater than the smaller value of the high voltage ride-through trigger threshold and the overvoltage protection threshold of the inverter; The absolute value of the overvoltage control reactive current command is positively correlated with the absolute value of the difference between the overvoltage control reference voltage and the port voltage; or When the port voltage is less than the undervoltage loop control trigger threshold, the first undervoltage reference voltage is the undervoltage control reference voltage, and when the port voltage is greater than the undervoltage loop control exit threshold, the second undervoltage reference voltage is the undervoltage control reference voltage, wherein the first undervoltage reference voltage is not less than the second undervoltage reference voltage, and the second undervoltage reference voltage is not less than the undervoltage loop control exit threshold, wherein the undervoltage loop control exit threshold is not less than the undervoltage loop control trigger threshold, and the undervoltage loop control trigger threshold is not less than the larger value of the low voltage ride-through trigger threshold and the undervoltage protection threshold of the inverter; The absolute value of the undervoltage control reactive current command is positively correlated with the absolute value of the difference between the undervoltage control reference voltage and the port voltage.

7. The inverter according to claim 6, characterized in that: The controller is used to: When the output current direction of the inverter is a forward reference direction; Comparing the undervoltage control reactive current instruction and the power dispatch reactive current instruction to obtain the smaller result; Comparing the smaller result with the overvoltage control reactive current instruction to obtain a larger result; The output reactive current of the inverter is controlled based on the maximum result.

8. The inverter according to claim 6, characterized in that: The controller is used to: When the output current direction of the inverter is a forward reference direction; Comparing the undervoltage control reactive current instruction and the overvoltage control reactive current instruction to obtain a first larger result; Comparing the power dispatching reactive current instruction and the overvoltage control reactive current instruction to obtain a second larger result; Comparing the first larger result with the second larger result to obtain a smaller result; The output reactive current of the inverter is controlled based on the smaller result.

9. The inverter according to claim 6, characterized in that: The controller is used to: When the output current direction of the inverter is a negative reference direction; Comparing the undervoltage control reactive current instruction and the power dispatch reactive current instruction to obtain the larger result; Comparing the larger result with the overvoltage control reactive current instruction to obtain a smaller result; The output reactive current of the inverter is controlled based on the smaller result.

10. The inverter according to claim 6, characterized in that: The controller is used to: When the output current direction of the inverter is a negative reference direction; Comparing the undervoltage control reactive current instruction and the overvoltage control reactive current instruction to obtain a first smaller result; Comparing the power dispatching reactive current instruction with the overvoltage control reactive current instruction to obtain a second smaller result; comparing the first smaller result with the second smaller result to obtain a larger result; The output reactive current of the inverter is controlled based on the maximum result.