Operation control method and device for converter in grid-connected system and converter

Setting the initial value of the target state variable in the second control algorithm to the actual value of the corresponding parameter during converter algorithm switching addresses transient impacts, ensuring stable power system operation.

CN119231610APending Publication Date: 2024-12-31CONTEMPORARY AMPEREX FUTURE ENERGY RES INST (SHANGHAI) LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310781214.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The switching of control algorithms in converters of grid-connected systems causes transient impacts such as overcurrent or overvoltage, leading to instability in the power system.

Method used

By setting the initial value of the target state variable in the second control algorithm to the actual value of the corresponding target electrical parameter before switching, ensuring consistency and smooth transition between control algorithms, thereby reducing transient impacts and improving system stability.

Benefits of technology

This approach ensures smooth switching of control algorithms, reducing transient impacts and enhancing the stability of the power system by maintaining continuity of electrical parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119231610A_ABST
    Figure CN119231610A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of power systems, and provides an operation control method and device for a current converter in a grid-connected system and the current converter, and the method comprises the steps: obtaining an actual value of a target electric parameter of a power system if a first working mode switching instruction is received in a process of operating a first control algorithm; the target electric parameter corresponds to a target state variable in a second control algorithm; and stopping running the first control algorithm, setting the initial value of the target state variable as the actual value of the corresponding target electric parameter, and starting to run the second control algorithm. Therefore, smooth switching of the control algorithms can be realized, transient impact on a power grid when the converter is switched among different control algorithms is weakened, and the stability of a power system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of power systems, and in particular, relates to an operation control method and device for a converter in a grid-connected system, and a converter. Background Art

[0002] Virtual synchronous generator (VSG) technology is used to solve the low inertia level problem caused by the connection of renewable energy power generation systems to the AC power grid. It embeds the mathematical model of the traditional synchronous generator into the control algorithm of the converter and connects the energy storage system to the DC transmission system for VSG control. The grid-connected system composed of the converter and the energy storage system can simulate the rotational inertia and damping characteristics of the traditional synchronous generator, so that the renewable energy power generation system can be connected to the grid in the same way as the traditional synchronous generator, thereby improving the stability of the power system.

[0003] The grid-connected system composed of a converter and an energy storage system can provide inertia support, primary frequency regulation, and static synchronous compensator (STATCOM) for the power system. When the grid-connected system provides different functions for the power system, the converter in the grid-connected system needs to switch to different control algorithms. When the converter switches between different control algorithms, the power grid will generate transient shocks such as overcurrent or overvoltage, which will cause the power system to oscillate and become unstable. Summary of the invention

[0004] In view of this, an embodiment of the present application provides an operation control method, device and converter of a converter in a grid-connected system to solve the technical problem that when the converter in the grid-connected system switches between different control algorithms, it will cause transient impact on the power grid and reduce the stability of the power system.

[0005] In a first aspect, an embodiment of the present application provides an operation control method of a converter in a grid-connected system, comprising:

[0006] During the operation of the first control algorithm, if a first working mode switching instruction is received, an actual value of a target electrical parameter of the power system is obtained; the target electrical parameter corresponds to a target state variable in the second control algorithm;

[0007] The first control algorithm is stopped, the initial value of the target state variable is set to the actual value of the corresponding target electrical parameter, and the second control algorithm is started.

[0008] In an embodiment of the present application, by setting the initial value of the target state variable in the second control algorithm to the actual value of the corresponding target electrical parameter before the control algorithm is switched from the first control algorithm to the second control algorithm, it can be ensured that after switching to the second control algorithm, the initial value of the target state variable in the second control algorithm is consistent with the actual value of the corresponding target electrical parameter in the power system. In this way, smooth switching of the control algorithm can be achieved, reducing the transient impact on the power grid when the converter switches between different control algorithms, and improving the stability of the power system.

[0009] In an optional implementation of the first aspect, the first control algorithm is a virtual synchronous generator control algorithm, the second control algorithm includes a constant DC voltage control algorithm and a constant reactive power control algorithm; and the obtaining an actual value of a target electrical parameter of the power system includes:

[0010] Acquire an actual value of an active component and an actual value of a reactive component of a grid current of the power system at a first moment; the first moment being a moment when the first working mode switching instruction is received;

[0011] The step of setting the initial value of the target state variable to the actual value of the corresponding target electrical parameter comprises:

[0012] Setting the initial value of the first active current state quantity in the second control algorithm to the actual value of the active component of the grid current at the first moment;

[0013] An initial value of the first reactive current state quantity in the second control algorithm is set to the actual value of the reactive component of the grid current at the first moment.

[0014] In an embodiment of the present application, when the second control algorithm includes a constant DC voltage control algorithm and a constant reactive power control algorithm, since the target state variable in the second control algorithm includes a first active current state quantity and a first reactive current state quantity, when switching from the first control algorithm to the second control algorithm, the initial value of the first active current state quantity and the initial value of the first reactive current state quantity are respectively set to the actual value of the active component and the actual value of the reactive component of the grid current before switching the algorithm, thereby maintaining continuity of the DC bus voltage and the DC bus current of the power system before and after the control algorithm is switched, thereby reducing the transient impact on the AC power grid.

[0015] In an optional implementation of the first aspect, after starting to run the second control algorithm, the method further includes:

[0016] Determine a reference value of the first active current state quantity and a reference value of the first reactive current state quantity at a second moment; the second moment is any moment after the second control algorithm is executed;

[0017] Acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment;

[0018] Based on the reference value of the first active current state quantity, the reference value of the first reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the second moment, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined; the value of the active component and the value of the reactive component of the output potential are used to control the grid voltage of the power system.

[0019] In an embodiment of the present application, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined during the operation of the second control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the second moment are used to control the grid voltage of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch modulation signal can be used to control the switching of the power module in the converter, thereby achieving control of the grid voltage and further achieving regulation of the reactive power of the AC power grid.

[0020] In an optional implementation of the first aspect, after starting to run the second control algorithm, the method further includes:

[0021] Determine a reference value of the active power state quantity and a reference value of the reactive power state quantity at the second moment;

[0022] Determine a feedback value of the active power state quantity and a feedback value of the reactive power state quantity at the second moment; the feedback value of the active power state quantity and the feedback value of the reactive power state quantity are related to a reference value of a second active current state quantity and a reference value of a second reactive current state quantity in the first control algorithm at the second moment;

[0023] Acquire an actual value of the grid voltage, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, and an actual value of the grid frequency at the second moment;

[0024] Acquiring a setting value of the grid frequency and a setting value of the grid voltage;

[0025] Based on the reference value of the active power state quantity at the second moment, the reference value of the reactive power state quantity, the feedback value of the active power state quantity, the feedback value of the reactive power state quantity, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the grid frequency, the set value of the grid frequency, the set value of the grid voltage and the rated value of the grid frequency, the reference value of the second active current state quantity and the reference value of the second reactive current state quantity are adjusted.

[0026] In an embodiment of the present application, after the second control algorithm starts to run, the feedback value of the active power state quantity and the feedback value of the reactive power state quantity are determined based on the actual value of the active component and the actual value of the reactive component of the grid voltage, and based on the feedback value of the active power state quantity, the feedback value of the reactive power state quantity and the actual values ​​of each power parameter in the power system, the reference value of the second active current state quantity and the reference value of the second reactive current state quantity in the first control algorithm are adjusted, so that the reference value of the second active current state quantity and the reference value of the second reactive current state quantity in the first control algorithm can always be consistent with the actual values ​​of the corresponding power parameters in the actual power system. In this way, the converter can also achieve smooth switching when switching from the second control algorithm to the first control algorithm, further reducing the transient impact of the algorithm switching on the power grid and improving the stability of the power system.

[0027] In an optional implementation of the first aspect, determining a reference value of the first active current state quantity and a reference value of the first reactive current state quantity at the second moment includes:

[0028] Acquiring a setting value of a DC bus voltage of the power system and a setting value of reactive power of an AC power grid;

[0029] Acquire an actual value of the DC bus voltage and an actual value of reactive power of the AC power grid at a second moment;

[0030] Calculating a reference value of the first active current state quantity at the second moment based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment;

[0031] Based on the set value of the reactive power of the AC power grid and the actual value of the reactive power of the AC power grid at the second moment, a reference value of the first reactive current state quantity at the second moment is calculated.

[0032] In an optional implementation manner of the first aspect, determining a reference value of the active power state quantity and a reference value of the reactive power state quantity at the second moment includes:

[0033] Acquire an actual value of an active component and an actual value of a reactive component of the grid voltage at the second moment;

[0034] Based on the reference value of the first active current state quantity at the second moment, the reference value of the first reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage, the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment are determined.

[0035] In an optional implementation manner of the first aspect, determining a reference value of the active power state quantity and a reference value of the reactive power state quantity at the second moment includes:

[0036] Acquire an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, an actual value of the active component of the grid current, and an actual value of the reactive component of the grid current at the second moment;

[0037] Based on the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the second moment, determine the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment.

[0038] In an optional implementation manner of the first aspect, determining the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment includes:

[0039] Acquire an actual value of an active component and an actual value of a reactive component of the grid voltage at the second moment;

[0040] Based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage, the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment are calculated.

[0041] In an optional implementation of the first aspect, the method further includes:

[0042] In the process of running the first control algorithm, obtaining an actual value of active power, an actual value of reactive power, an actual value of grid frequency, an actual value of grid voltage, an actual value of an active component of the grid voltage, an actual value of a reactive component of the grid voltage, an actual value of an active component of a grid current, and an actual value of a reactive component of the grid current of the power system at a third moment;

[0043] Acquiring a setting value of the active power, a setting value of the reactive power, a setting value of the grid frequency, and a setting value of the grid voltage;

[0044] Determine a reference value of a second active current state quantity and a reference value of a second reactive current state quantity at the third moment based on an actual value of the active power, an actual value of the reactive power, an actual value of the grid frequency, an actual value of the grid voltage, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, a set value of the active power, a set value of the reactive power, a set value of the grid frequency, and a set value of the grid voltage at the third moment;

[0045] Based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are determined; the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to adjust the grid frequency of the power system.

[0046] In an embodiment of the present application, the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are determined during the operation of the first control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the third moment are used to control the grid frequency of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch control of the power module in the converter is achieved through the switch modulation signal, thereby achieving regulation of the grid frequency.

[0047] In an optional implementation of the first aspect, the first control algorithm is a virtual synchronous generator control algorithm, the second control algorithm includes a constant DC voltage control algorithm and the virtual synchronous generator control algorithm; and the obtaining an actual value of a target electrical parameter of the power system includes:

[0048] Acquire an actual value of an active component of a grid current of the power system at a first moment; the first moment being a moment when the first working mode switching instruction is received;

[0049] The step of setting the initial value of the target state variable to the actual value of the corresponding target electrical parameter comprises:

[0050] An initial value of the first active current state quantity in the second control algorithm is set to the actual value of the active component of the grid current at the first moment.

[0051] In an embodiment of the present application, when the second control algorithm is a constant DC voltage and VSG control algorithm, since the target state variable in the second control algorithm only includes the active current state quantity, when switching from the first control algorithm to the second control algorithm, the initial value of the active current state quantity in the second control algorithm is set to the actual value of the active component of the grid current before switching the algorithm, so that the DC bus voltage and DC bus current of the power system can maintain continuity before and after the control algorithm is switched, thereby avoiding transient shocks to the AC power grid.

[0052] In an optional implementation of the first aspect, after starting to run the second control algorithm, the method further includes:

[0053] Determining a reference value of the first active current state quantity at a second moment;

[0054] determining a reference value of a second reactive current state at the second moment;

[0055] Acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment;

[0056] Based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined; the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are used to control the grid voltage of the power system.

[0057] In an embodiment of the present application, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined during the operation of the second control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the second moment are used to control the grid voltage of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch control of the power module in the converter is achieved through the switch modulation signal, thereby achieving control of the grid voltage.

[0058] In an optional implementation manner of the first aspect, determining a reference value of the first active current state quantity at the second moment includes:

[0059] Obtaining a setting value of a DC bus voltage of the power system;

[0060] Acquire the actual value of the DC bus voltage at the second moment;

[0061] Based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment, a reference value of the first active current state quantity at the second moment is calculated.

[0062] In an optional implementation manner of the first aspect, determining a reference value of the second reactive current state at the second moment includes:

[0063] Determining a reference value of the active power state quantity at the second moment;

[0064] Determining a feedback value of the active power state quantity at the second moment;

[0065] Acquire an actual value of reactive power of the power system, an actual value of an active component of a grid voltage, and an actual value of a reactive component of the grid voltage at the second moment;

[0066] Obtaining the setting value of the reactive power, the setting value of the grid voltage, and the setting value of the grid frequency;

[0067] Based on the reference value of the active power state quantity at the second moment, the feedback value of the active power state quantity, the actual value of the reactive power, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the reactive power, the set value of the grid voltage, the set value of the grid frequency and the rated value of the grid frequency, determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the second moment.

[0068] In an optional implementation manner of the first aspect, determining the reference value of the active power state quantity at the second moment includes:

[0069] Based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage, the reference value of the active power state quantity at the second moment is determined.

[0070] In an optional implementation manner of the first aspect, determining the reference value of the active power state quantity at the second moment includes:

[0071] Acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment;

[0072] Based on the actual value of the active component of the grid voltage at the second moment, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, the reference value of the active power state quantity at the second moment is determined.

[0073] In an optional implementation manner of the first aspect, determining the feedback value of the active power state quantity at the second moment includes:

[0074] Based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage, the feedback value of the active power state quantity at the second moment is determined.

[0075] In an optional implementation of the first aspect, the method further includes:

[0076] In the process of running the first control algorithm, obtaining the actual value of the active power, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current of the power system at the third moment;

[0077] Acquiring a setting value of the active power, a setting value of the reactive power, a setting value of the grid frequency, and a setting value of the grid voltage;

[0078] Determine a reference value of a second active current state quantity and a reference value of a second reactive current state quantity at the third moment based on an actual value of the active power, an actual value of the reactive power, an actual value of the grid frequency, an actual value of the grid voltage, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, a set value of the active power, a set value of the reactive power, a set value of the grid frequency, and a set value of the grid voltage at the third moment;

[0079] Based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are determined; the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to regulate the grid voltage of the power system.

[0080] In an embodiment of the present application, the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are determined during the operation of the first control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the third moment are used to control the grid frequency of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch control of the power module in the converter is achieved through the switch modulation signal, thereby achieving regulation of the grid frequency.

[0081] In a second aspect, an embodiment of the present application provides an operation control device of a converter in a grid-connected system, comprising:

[0082] an acquisition module, configured to acquire an actual value of a target electrical parameter of the power system if a first working mode switching instruction is received during the operation of the first control algorithm; the target electrical parameter corresponds to a target state variable in the second control algorithm;

[0083] The setting module is used to stop running the first control algorithm, set the initial value of the target state variable to the actual value of the corresponding target electrical parameter, and start running the second control algorithm.

[0084] In a third aspect, an embodiment of the present application provides another operation control device for a converter in a grid-connected system, comprising a memory and a computer program stored in the memory and executable on a processor, wherein when the processor executes the computer program, it implements the operation control method as described in any optional implementation of the first aspect above.

[0085] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the operation control method as described in any optional implementation of the first aspect above is implemented.

[0086] In a fifth aspect, an embodiment of the present application provides a converter, comprising a converter module and an operation control device of the converter in the grid-connected system as described in the second aspect above.

[0087] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0089] Figure 1 A schematic structural diagram of a power system provided in an embodiment of the present application;

[0090] Figure 2 A schematic architecture diagram of a grid-connected system to which an operation control method of a converter in a grid-connected system provided in an embodiment of the present application is applicable;

[0091] Figure 3 A schematic flow chart of an operation control method of a converter in a grid-connected system provided in an embodiment of the present application;

[0092] Figure 4 A schematic flow chart of an operation control method of a converter in a grid-connected system provided by another embodiment of the present application;

[0093] Figure 5 A schematic flow chart of an operation control method of a converter in a grid-connected system provided in another embodiment of the present application;

[0094] Figure 6 A schematic flow chart of an operation control method of a converter in a grid-connected system provided in another embodiment of the present application;

[0095] Figure 7 A schematic flow chart of an operation control method of a converter in a grid-connected system provided in another embodiment of the present application;

[0096] Figure 8 A schematic diagram of the structure of an operation control device of a converter provided in an embodiment of the present application;

[0097] Fig. 9 A schematic diagram of the structure of an operation control device of a converter provided in another embodiment of the present application;

[0098] Fig.10 A schematic structural diagram of an operation control device for a converter provided in yet another embodiment of the present application;

[0099] Fig.11 A schematic structural diagram of an operation control device for a converter provided in yet another embodiment of the present application;

[0100] Fig.12 A schematic structural diagram of an operation control device for a converter provided in yet another embodiment of the present application;

[0101] Fig.13 A schematic structural diagram of an operation control device for a converter provided in yet another embodiment of the present application;

[0102] Fig.14 A schematic structural diagram of an operation control device for a converter provided in yet another embodiment of the present application;

[0103] Fig.15 A schematic structural diagram of an operation control device for a converter provided in yet another embodiment of the present application;

[0104] Fig.16 A schematic structural diagram of an operation control device for a converter provided in yet another embodiment of the present application;

[0105] Fig.17 A schematic structural diagram of an operation control device of a converter provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0106] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0107] It should be noted that, unless otherwise specified, all technical terms used in the embodiments of the present application have the same meaning as those commonly understood by technicians in the technical field of the present application. The technical terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0108] In the description of the embodiments of the present application, the technical terms "include", "comprises", "has" and any variations thereof all mean "including but not limited to", unless otherwise specifically emphasized.

[0109] In the description of the embodiments of the present application, unless otherwise specified, the technical term "plurality" refers to two or more than two, and the technical terms "at least one" and "one or more" refer to one, two or more than two.

[0110] The technical terms "first", "second", etc. are only used to distinguish different objects and should not be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary and secondary relationship of the indicated technical features.

[0111] The technical term "and / or" is just a way to describe the association relationship of related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally means that the related objects are in an "or" relationship.

[0112] The "embodiment" mentioned in the description of the embodiment of the present application means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0113] At present, with the increasing severity of global environmental problems, more and more renewable energy power generation systems (such as photovoltaic power generation systems) are connected to the power system to reduce carbon emissions in the power production process. Figure 1 As shown, renewable energy power generation systems are usually connected to the AC power grid through converters. Although converters have the advantage of fast response speed, they are static components and do not have the rotational inertia and damping characteristics of traditional synchronous generators. They cannot provide inertia and damping support for the power system. Therefore, the access of renewable energy power generation systems will cause the inertia level of the power system to drop significantly, thereby weakening the anti-interference ability of the power system and reducing the stability of the power system.

[0114] The virtual synchronous generator (VSG) technology was developed to solve the low inertia level problem caused by the grid connection of such renewable energy power generation systems. It embeds the mathematical model of the traditional synchronous generator into the control algorithm of the converter, and uses the characteristics of the energy storage system that can provide virtual inertia and virtual damping. The energy storage system is connected to the DC transmission system for VSG control, so that the grid-connected system composed of the converter and the energy storage system can simulate the rotational inertia and damping characteristics of the traditional synchronous generator, so that the renewable energy power generation system can be connected to the grid in the way of a traditional synchronous generator, and power exchange between the renewable energy power generation system and the AC power grid can be achieved according to the characteristics of the traditional synchronous generator, thereby improving the stability of the power system.

[0115] Converters can generally be divided into voltage source converters (VSC) and current source converters (CSC). Since CSC has weak support for the voltage and frequency of the power system, converters in power systems generally use VSC.

[0116] The grid-connected system consisting of VSC and energy storage system can provide inertia support, primary frequency regulation and static synchronous compensator (STATCOM) and other functions for the AC power grid.

[0117] Among them, the inertia support function is used to maintain the stability of the grid frequency when the AC grid fails or the load of the AC grid changes. Specifically, when the AC grid fails or the load of the AC grid changes, the inertia characteristics of the traditional synchronous generator can be simulated by controlling the energy storage system in the grid-connected system to charge and discharge, thereby injecting electric energy into the AC grid or absorbing electric energy from the AC grid to maintain the stability of the grid frequency.

[0118] The primary frequency regulation function is used to quickly restore the grid frequency by controlling the energy storage system to inject electrical energy into the AC grid or absorb electrical energy from the AC grid when the grid frequency changes instantaneously, so as to maintain the grid frequency within the rated range.

[0119] The STATCOM function is used to regulate the reactive power of the AC grid and maintain the stability of the grid voltage. Specifically, the VSC in the grid-connected system can regulate the reactive power of the AC grid and maintain the stability of the grid voltage by converting the DC voltage on the DC side into an AC voltage of the amplitude, frequency or phase required by the AC grid.

[0120] It can be seen that when the grid-connected system composed of VSC and energy storage system provides inertia support or primary frequency regulation for the AC power grid, VSC and energy storage system need to work closely together. Specifically, VSC is required to execute the VSG control algorithm, and the energy storage system is required to execute the constant DC voltage control algorithm to jointly realize the inertia support or primary frequency regulation of the AC power grid. When the energy storage system is forced to exit the power system due to maintenance or failure, the VSC itself cannot provide inertia support and primary frequency regulation for the AC power grid, and can only provide STATCOM function for the AC power grid. In this case, VSC is required to execute the constant DC voltage and constant reactive power control algorithm to independently undertake the reactive power regulation or voltage regulation of the AC power grid.

[0121] It can be seen that when the energy storage system exits the power system, the VSC needs to switch from the VSG control algorithm to the constant DC voltage and constant reactive power control algorithm; when the energy storage system is reconnected to the power system, the VSC needs to switch from the constant DC voltage and constant reactive power control algorithm to the VSG control algorithm. Since the state variables and control principles of the VSG control algorithm are different from those of the constant DC voltage and constant reactive power control algorithm, when the VSC switches between the above two algorithms, it will cause transient shocks such as overcurrent or overvoltage in the AC power grid, thereby causing oscillation and instability in the power system.

[0122] In order to solve the problem of transient impact on the AC power grid caused by the VSC in the grid-connected system when switching the control algorithm, the embodiment of the present application provides an operation control method, device and converter of the converter in the grid-connected system. By setting the initial value of the target state variable in the second control algorithm to the actual value of the corresponding target electrical parameter before the control algorithm is switched before switching from the first control algorithm to the second control algorithm, the initial value of the target state variable in the second control algorithm can be made to be consistent with the actual value of the corresponding target electrical parameter in the power system after switching to the second control algorithm. In this way, smooth switching of the control algorithm can be achieved, the transient impact on the power grid caused by the converter when switching between different control algorithms is reduced, and the stability of the power system is improved.

[0123] See also Figure 2 , which is a schematic architecture diagram of a grid-connected system applicable to an operation control method of a converter in a grid-connected system provided in an embodiment of the present application. The grid-connected system 20 can be connected between a renewable energy power generation system 21 and an AC power grid 22 in a power system, and is used to provide inertia support, primary frequency regulation, STATCOM and other functions for the AC power grid.

[0124] It should be noted that, for the specific meanings of the functions such as inertia support, primary frequency modulation and STATCOM, reference can be made to the relevant descriptions in the aforementioned embodiments, which will not be elaborated here.

[0125] Specifically, the grid-connected system 20 may include an inverter 201 and an energy storage system 202 .

[0126] The AC end of the converter 201 can be connected to the AC grid 22, and the DC end of the converter 201 can be connected to the renewable energy generation system 21 via a DC bus. The energy storage system 202 can be connected in parallel to the DC bus.

[0127] Exemplarily, the inverter 201 may be a VSC.

[0128] Specifically, the converter 201 may include a converter module 2011 and a converter operation control device 2012 .

[0129] The inverter module 2011 can be used to realize the mutual conversion between alternating current and direct current.

[0130] Exemplarily, the converter module 2011 may include three bridge arms corresponding to three different phases of the alternating current, and the three bridge arms may be connected in parallel to the DC bus. Optionally, each bridge arm may include an upper bridge arm and a lower bridge arm connected in series, and the common connection point of the upper bridge arm and the lower bridge arm of each bridge arm may be connected to the corresponding phase line of the alternating current.

[0131] Each upper bridge arm or lower bridge arm may include a bridge arm resistor R, a bridge arm inductor L connected in series, and at least one power module 20110. The power module 20110 may include, for example, switching devices such as a switch tube and / or a diode.

[0132] Exemplarily, the operation control device 2012 of the converter may be a programmable logic controller (PLC) or a micro controller unit (MCU), etc. The embodiment of the present application does not specifically limit the specific type of the operation control device 2012 of the converter.

[0133] Optionally, the input end of the operation control device 2012 of the converter can be connected to an electrical parameter acquisition device (such as Figure 2 23) is connected to the host computer (not shown) of the power system. Based on this, the operation control device 2012 of the converter can obtain the actual value of the preset electric parameter of the power system collected by the electric parameter collection device from the electric parameter collection device, or obtain the setting value of the preset electric parameter of the power system from the host computer.

[0134] For example, the input end of the operation control device 2012 of the converter can be connected to the electric parameter acquisition device and the host computer of the power system through a power line. Alternatively, the operation control device 2012 of the converter can be connected to the host computer of the power system wirelessly through Bluetooth or wireless fidelity (WIFI) and other connection methods.

[0135] Among them, the electrical parameters refer to the actual electrical parameters that exist during the operation of the power system. The types of preset electrical parameters can be determined according to the actual control requirements of the power system. Exemplarily, the preset electrical parameters may include grid voltage, grid frequency, DC bus voltage and / or grid current, etc.

[0136] The grid voltage refers to the AC voltage of the AC grid in the power system.

[0137] The grid voltage may include a three-phase AC voltage, for example, an A-phase AC voltage, a B-phase AC voltage, and a C-phase AC voltage. Based on this, the actual value of the grid voltage V g The actual value of the A phase AC voltage v gA , the actual value of the B phase AC voltage v gB And the actual value of the C phase AC voltage v gC .

[0138] Grid frequency refers to the periodic frequency of changes in the AC voltage of the AC grid in the power system.

[0139] Grid current refers to the AC current of the AC grid in the power system.

[0140] The grid current may include a three-phase AC current, for example, an A-phase AC current, a B-phase AC current, and a C-phase AC current. Based on this, the actual value of the grid current I g The actual value of the A phase AC current i can be included gA , the actual value of the B phase AC current i gB And the actual value of phase C AC current i gC .

[0141] Optionally, the output end of the operation control device 2012 of the converter can be connected to each power module 20110 in the converter 201. Based on this, the operation control device 2012 of the converter can realize the operation control of the converter 201 (such as the control of the output power of the converter 201) by switching each power module 20110.

[0142] Specifically, the operation control device 2012 of the converter can realize the operation control of the converter 201 by executing the operation control method of the converter provided in the embodiment of the present application. It should be noted that the specific content of the operation control method of the converter will be introduced below and will not be described in detail here.

[0143] See also Figure 3 , is a schematic flow chart of an operation control method of a converter in a grid-connected system provided in an embodiment of the present application. The execution subject of the operation control method of the converter may be the operation control device 2012 of the above-mentioned converter. The operation control method of the converter may include S301, which is described in detail as follows:

[0144] S31, during the operation of the first control algorithm, if a first working mode switching instruction is received, an actual value of a target electrical parameter of the power system is obtained; the target electrical parameter corresponds to a target state variable in the second control algorithm.

[0145] Among them, the first control algorithm can be a VSG algorithm.

[0146] It should be noted that when the operation control device of the converter runs the first control algorithm, the grid-connected system works in the first working mode. The first working mode is a mode in which the converter and the energy storage system in the grid-connected system work in coordination.

[0147] The first working mode switching instruction may be sent from a host computer of the power system to the operation control device of the converter.

[0148] Optionally, the first working mode switching instruction may be used to instruct the grid-connected system to switch from the first working mode to the second working mode, wherein the second working mode is a mode in which the converter in the grid-connected system works alone.

[0149] Optionally, the first working mode switching instruction can also be used to control the operation control device of the converter to switch from the first control mode to the second control mode. The first control mode may be a VSG control mode. The second control mode may be a control mode combining constant DC voltage control with constant reactive power control; or, the second control mode may be a control mode combining constant DC voltage control with VSG control.

[0150] Based on this, the second control algorithm may include a constant DC voltage control algorithm and a constant reactive power control algorithm; or, the second control algorithm may include a constant DC voltage control algorithm and a VSG control algorithm.

[0151] The first control mode corresponds to the first control algorithm, and the second control mode corresponds to the second control algorithm. That is, the operation control device of the converter needs to run the first control algorithm when the first control mode is used to control the operation of the converter, and needs to run the second control algorithm when the second control mode is used to control the operation of the converter.

[0152] In the embodiment of the present application, the type of the target electrical parameter can be determined according to the type of the target state variable in the second control algorithm, that is, the target electrical parameter can correspond to the target state variable in the second control algorithm.

[0153] The target state variable is a virtual control parameter used to control the corresponding target electrical parameter in the power system.

[0154] It is understandable that, since different control algorithms are used to implement different controls on the converter, the types of target state variables in different control algorithms may be different. Exemplarily, assuming that the second control algorithm includes an active current state quantity for controlling the first active component of the grid current, the operation control device of the converter may obtain the actual value of the active component of the grid current at the current moment when receiving the first working mode switching instruction.

[0155] S32, stop running the first control algorithm, set the initial value of the target state variable in the second control algorithm to the actual value of the corresponding target electrical parameter, and start running the second control algorithm.

[0156] It can be understood that the operation control device of the converter can switch from the first control algorithm to the second control algorithm by stopping running the first control algorithm and starting running the second control algorithm, thereby switching from providing inertial support or primary frequency regulation function for the AC power grid to providing STATCOM function for the AC power grid.

[0157] The initial value of the target state variable refers to the value of the target state variable at the time of starting to run the second control algorithm, that is, the value of the target state variable at the time of switching from the first control algorithm to the second control algorithm.

[0158] Exemplarily, assuming that the target state variable in the second control algorithm includes a first active current state quantity, the operation control device of the converter can set the initial value of the first active current state quantity in the second control algorithm to the actual value of the active component of the grid current before starting to run the second control algorithm before switching from the first control algorithm to the second control algorithm. Thereafter, the operation control device of the converter starts to run the second control algorithm again.

[0159] From the above, it can be seen that the operation control method of the converter provided in the embodiment of the present application can make the initial value of the target state variable in the second control algorithm consistent with the actual value of the corresponding target electrical parameter in the power system after switching to the second control algorithm, by setting the initial value of the target state variable in the second control algorithm to the actual value of the target electrical parameter corresponding to the control algorithm before switching from the first control algorithm to the second control algorithm. In this way, smooth switching of the control algorithm can be achieved, the transient impact on the power grid caused by the converter when switching between different control algorithms can be weakened, and the stability of the power system can be improved.

[0160] In one embodiment of the present application, when the second control algorithm includes a constant DC voltage control algorithm and a constant reactive power control algorithm, the process of obtaining the actual value of the target electrical parameter of the power system in S31 may include:

[0161] The actual value of the active component and the actual value of the reactive component of the grid current of the power system at the first moment are obtained.

[0162] Correspondingly, the process of setting the initial value of the target state variable to the actual value of the corresponding target electrical parameter in S32 may include the following steps:

[0163] Setting the initial value of the first active current state quantity in the second control algorithm to the actual value of the active component of the grid current at the first moment;

[0164] The initial value of the first reactive current state quantity in the second control algorithm is set to the actual value of the reactive component of the grid current at the first moment.

[0165] The first moment is the moment when the operation control device of the converter receives the first working mode switching instruction.

[0166] The actual value of the active component and the actual value of the reactive component of the grid current at the first moment can be the actual value i of the A-phase AC current collected by the electric parameter collection device at the first moment.gA , the actual value of the B phase AC current i gB And the actual value of phase C AC current i gC Obtained by coordinate transformation.

[0167] Optionally, the above coordinate transformation operation can be performed by an operation control device of the converter.

[0168] Based on this, the operation control device of the converter can obtain the actual value i of the A-phase AC current collected by the electric parameter collection device at the first moment from the electric parameter collection device. gA , the actual value of the B phase AC current i gB And the actual value of phase C AC current i gC , and the actual value of the A-phase AC current i at the first moment gA , the actual value of the B phase AC current i gB And the actual value of phase C AC current i gC Coordinate transformation is performed to obtain the actual value of the active component and the actual value of the reactive component of the grid current at the first moment.

[0169] Among them, the first active current state quantity can be an active current state quantity obtained based on a constant DC voltage control algorithm. The first active current state quantity can be used to control the flow direction of active power in the power system. Specifically, the positive or negative value of the first active current state quantity is used to determine whether the converter absorbs active power from the AC power grid or injects active power into the AC power grid. Exemplarily, when the value of the first active current state quantity is a positive value, it means that the converter absorbs active power from the AC power grid; when the value of the first active current state quantity is a negative value, it means that the converter injects active power into the AC power grid. Therefore, the grid frequency can be regulated by controlling the value of the first active current state quantity.

[0170] The initial value of the first active current state quantity refers to the value of the first active current state quantity at the moment when the operation control device of the converter starts to run the second control algorithm.

[0171] Among them, the first active current state quantity can be a reactive current state quantity obtained based on a fixed reactive power control algorithm. The first reactive current state quantity can be used to control the flow direction of reactive power in the power system. Specifically, the positive or negative value of the first reactive current state quantity is used to determine whether the converter absorbs reactive power from the AC power grid or injects reactive power into the AC power grid. Exemplarily, when the value of the first reactive current state quantity is a positive value, it means that the converter absorbs reactive power from the AC power grid; when the value of the first reactive current state quantity is a negative value, it means that the converter injects reactive power into the AC power grid. Therefore, the grid voltage can be regulated by controlling the value of the first reactive current state quantity.

[0172] The initial value of the first reactive current state quantity refers to the value of the first reactive current state quantity at the moment when the operation control device of the converter starts to run the second control algorithm.

[0173] In this embodiment, when the second control algorithm includes a constant DC voltage control algorithm and a constant reactive power control algorithm, since the target state variable in the second control algorithm includes a first active current state quantity and a first reactive current state quantity, when switching from the first control algorithm to the second control algorithm, the initial value of the first active current state quantity and the initial value of the first reactive current state quantity are respectively set to the actual value of the active component and the actual value of the reactive component of the grid current before switching the algorithm, thereby maintaining continuity of the DC bus voltage and the DC bus current of the power system before and after the control algorithm is switched, thereby reducing the transient impact on the AC power grid.

[0174] Based on this, after starting to run the second control algorithm, the operation control method of the converter may also include the following steps: Figure 4 S41 to S43 shown are described in detail as follows:

[0175] S41, determining a reference value of a first active current state quantity and a reference value of a first reactive current state quantity at a second moment.

[0176] The reference value of the first active current state quantity may refer to the value of the first active current state quantity after the second control algorithm is run (ie, the second control algorithm is effective). The reference value of the first reactive current state quantity may refer to the value of the first reactive current state quantity after the second control algorithm is run.

[0177] In a specific implementation, S41 may include the following steps:

[0178] 41-1, obtaining a setting value of the DC bus voltage of the power system and a setting value of the reactive power of the AC power grid.

[0179] 41-2, obtaining an actual value of the DC bus voltage and an actual value of the reactive power of the AC power grid at a second moment.

[0180] 41-3, based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment, calculate the reference value of the first active current state quantity at the second moment.

[0181] 41-4, calculating a reference value of a first reactive current state quantity based on a set value of reactive power of the AC power grid and an actual value of reactive power of the AC power grid at a second moment.

[0182] Among them, the setting value of the DC bus voltage of the power system and the setting value of the reactive power of the AC power grid can both be sent from the upper computer of the power system to the operation control device of the converter.

[0183] Optionally, the operation control device of the converter may obtain from the electric parameter acquisition device an actual value of the DC bus voltage acquired by the electric parameter acquisition device at the second moment.

[0184] Optionally, the actual value of the reactive power of the AC power grid may be the actual value v of the A-phase AC voltage collected by the electrical parameter collection device at the second moment. gA , the actual value of the B phase AC voltage v gB And the actual value of phase C AC voltage v gC , the actual value of phase A AC current i gA , the actual value of the B phase AC current i gB And the actual value of phase C AC current i gC The power calculation is performed. Exemplarily, the power calculation operation can be performed by the operation control device of the converter.

[0185] Based on this, the operation control device of the converter can obtain the actual value v of the A-phase AC voltage collected by the electrical parameter collection device at the second moment from the electrical parameter collection device. gA , the actual value of the B phase AC voltage v gB And the actual value of phase C AC voltage v gC , the actual value of phase A AC current i gA , the actual value of the B phase AC current i gB And the actual value of phase C AC current i gC , and the actual value of the A phase AC voltage v at the second moment gA , the actual value of the B phase AC voltage v gB And the actual value of phase C AC voltage v gC , the actual value of phase A AC current i gA , the actual value of the B phase AC current i gB And the actual value of phase C AC current i gC Perform power calculation to obtain the actual value of reactive power of the AC power grid.

[0186] Specifically, the operation control device of the converter can calculate the reference value of the first active current state quantity based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment by using the following formula (1):

[0187]

[0188] in, is the reference value of the first active current state quantity, G vdc (s) is the transfer function of the first proportional integral (PI) regulator for controlling the DC bus voltage, v dcsetis the setting value of DC bus voltage, v dc is the actual value of the DC bus voltage at the second moment.

[0189] The operation control device of the converter can calculate the reference value of the first reactive current state quantity by using the following formula (2) based on the set value of the reactive power of the AC power grid and the actual value of the reactive power of the AC power grid at the second moment:

[0190]

[0191] in, is the reference value of the first reactive current state quantity, G Q (s) is the transfer function of the second PI regulator for controlling the reactive power of the AC grid, Q set is the set value of the reactive power of the AC power grid, and Q is the actual value of the reactive power of the AC power grid at the second moment.

[0192] S42, obtaining an actual value of an active component and an actual value of a reactive component of the grid current at a second moment.

[0193] It should be noted that the specific method for obtaining the actual value of the active component and the actual value of the reactive component of the grid current can refer to the relevant description in the aforementioned embodiment, which will not be repeated here.

[0194] S43, based on the reference value of the first active current state quantity, the reference value of the first reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the second moment, determine the value of the active component and the value of the reactive component of the output potential of the converter at the second moment; the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are used to control the grid voltage of the power system.

[0195] The active component of the output potential of the converter at the second moment is used to adjust the active component of the grid voltage.

[0196] At the second moment, the reactive component of the output potential of the converter is used to adjust the reactive component of the grid voltage.

[0197] Specifically, the operation control device of the converter can determine the value of the active component and the value of the reactive component of the output potential of the converter at the second moment based on the reference value of the first active current state quantity, the reference value of the first reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current by using the following formula (3) and formula (4):

[0198]

[0199]

[0200] Among them, e d is the value of the active component of the output potential of the converter, e q is the value of the reactive component of the output potential of the converter, G id (s) is the transfer function of the third PI regulator for controlling the active component of the grid current, is the reference value of the first active current state quantity, is the reference value of the first reactive current state quantity, G iq (s) is the transfer function of the fourth PI regulator without components for controlling the grid current, i gd is the actual value of the active component of the grid current, i gq is the actual value of the reactive component of the grid current.

[0201] In a specific implementation, the process of controlling the grid voltage based on the value of the active component and the value of the reactive component of the output potential of the converter in S43 may include the following steps:

[0202] Modulating the switch control signal based on the value of the active component and the value of the reactive component of the output potential of the converter to obtain a switch modulation signal for controlling each power module in the converter;

[0203] The switching modulation signal is output to each power module in the inverter.

[0204] In this embodiment, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined during the operation of the second control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the second moment are used to control the grid voltage of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch modulation signal can be used to control the switching of the power module in the converter, thereby achieving control of the grid voltage and further achieving regulation of the reactive power of the AC grid.

[0205] Optionally, after starting to run the second control algorithm, the operation control method of the converter may further include: Figure 4 S44 to S48 shown are described in detail as follows:

[0206] S44: Determine a reference value of the active power state quantity and a reference value of the reactive power state quantity at the second moment.

[0207] Among them, the active power state quantity corresponds to the active power of the AC power grid in the actual power system; the reactive power state quantity corresponds to the reactive power of the AC power grid. That is, the active power state quantity is used to control the active power of the AC power grid in the actual power system; the reactive power state quantity is used to control the reactive power of the AC power grid in the actual power system.

[0208] In a specific implementation, S44 may include the following steps:

[0209] 44-1, obtaining an actual value of an active component and an actual value of a reactive component of the grid voltage at a second moment.

[0210] 44-2, based on the reference value of the first active current state quantity, the reference value of the first reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage at the second moment, determine the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment.

[0211] The actual value of the active component and the actual value of the reactive component of the grid voltage at the second moment can be the actual value v of the A-phase AC voltage collected by the electrical parameter collection device at the second moment. gA , the actual value of the B phase AC voltage v gB And the actual value of phase C AC voltage v gC Obtained by coordinate transformation.

[0212] Exemplarily, the above coordinate transformation operation can be performed by the operation control device of the converter. Based on this, the operation control device of the converter can obtain the actual value v of the A-phase AC voltage collected by the electrical parameter collection device at the second moment. gA , the actual value of the B phase AC voltage v gB And the actual value of phase C AC voltage v gC , and the actual value of the A phase AC voltage v at the second moment gA , the actual value of the B phase AC voltage v gB And the actual value of phase C AC voltage v gC Coordinate transformation is performed to obtain the actual value of the active component and the actual value of the reactive component of the grid voltage at the second moment.

[0213] Specifically, the operation control device of the converter can calculate the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment based on the reference value of the first active current state quantity, the reference value of the first reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage by using the following formulas (5) and (6), respectively:

[0214]

[0215]

[0216] Among them, P C is the reference value of the active power state quantity, Q C is the reference value of reactive power state quantity, v gd is the actual value of the active component of the grid voltage, v gq is the actual value of the reactive component of the grid voltage, is the reference value of the first active current state quantity, is the reference value of the first reactive current state quantity.

[0217] In another specific implementation, S44 may include the following steps:

[0218] 44-3, obtaining the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current at the second moment.

[0219] 44-4, based on the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the second moment, determine the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment.

[0220] It should be noted that the specific method for obtaining the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current can be referred to the relevant description in the aforementioned embodiments and will not be repeated here.

[0221] Specifically, the operation control device of the converter can calculate the reference value of the active power state quantity and the reference value of the reactive power state quantity in the second control algorithm by using the following formula (7) and formula (8) respectively based on the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the second moment:

[0222] P C =1.5(v gd ×i gd +v gq ×i gq ); Formula (7)

[0223] Q C =1.5(-v gd ×i gq +v gq ×i gd ); Formula (8)

[0224] Among them, P C is the reference value of the active power state quantity, Q C is the reference value of reactive power state quantity, v gd is the actual value of the active component of the grid voltage, v gq is the actual value of the reactive component of the grid voltage, i gd is the actual value of the active component of the grid current, i gq is the actual value of the reactive component of the grid current.

[0225] S45: Determine the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment; the feedback value of the active power state quantity and the feedback value of the reactive power state quantity are related to the reference value of the second active current state quantity and the reference value of the second reactive current state quantity in the first control algorithm.

[0226] The feedback value of the active power state quantity may be used to reflect the difference between the reference value of the active power state quantity and the actual value of the active power of the AC power grid.

[0227] The feedback value of the reactive power state quantity can be used to reflect the difference between the reference value of the reactive power state quantity and the actual value of the reactive power of the AC power grid.

[0228] In a specific implementation, S45 may include the following steps:

[0229] 45-1, obtaining an actual value of an active component and an actual value of a reactive component of the grid voltage at a second moment.

[0230] 45-2, based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage, calculate the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment.

[0231] It should be noted that the specific method for obtaining the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage can refer to the relevant description in the aforementioned embodiment, which will not be repeated here.

[0232] Specifically, the operation control device of the converter can calculate the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage by using the following formulas (9) and (10):

[0233]

[0234]

[0235] Among them, P V is the feedback value of the active power state quantity, Q V is the feedback value of reactive power state quantity, v gd is the actual value of the active component of the grid voltage, v gq is the actual value of the reactive component of the grid voltage, is the reference value of the second active current state quantity, is the reference value of the second reactive current state quantity.

[0236] S46, obtaining an actual value of the grid voltage at the second moment, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, and an actual value of the grid frequency.

[0237] The actual value of the grid voltage may refer to the actual value of the amplitude of the grid voltage.

[0238] Optionally, the operation control device of the converter may obtain from the electric parameter acquisition device an actual value of the grid voltage and an actual value of the grid frequency acquired by the electric parameter acquisition device at the second moment.

[0239] It should be noted that the specific method for obtaining the actual value of the active component and the actual value of the reactive component of the grid voltage can refer to the relevant description in the aforementioned embodiment, which will not be repeated here.

[0240] S47, obtaining a setting value of the grid frequency and a setting value of the grid voltage.

[0241] Optionally, the setting value of the grid frequency and the setting value of the grid voltage may be sent from a host computer of the power system to the operation control device of the converter.

[0242] S48, based on the reference value of the active power state quantity at the second moment, the reference value of the reactive power state quantity, the feedback value of the active power state quantity, the feedback value of the reactive power state quantity, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the grid frequency, the set value of the grid frequency, the set value of the grid voltage and the rated value of the grid frequency, adjust the reference value of the second active current state quantity and the reference value of the second reactive current state quantity.

[0243] Specifically, the operation control device of the converter can determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity based on the reference value of the active power state quantity at the second moment, the reference value of the reactive power state quantity, the feedback value of the active power state quantity, the feedback value of the reactive power state quantity, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the grid frequency, the set value of the grid frequency, the set value of the grid voltage and the rated value of the grid frequency by using the following formula (11) and formula (12):

[0244]

[0245]

[0246] in, is the reference value of the second active current state quantity, is the reference value of the second reactive current state quantity, R is the resistance of the bridge arm resistor in the converter module of the converter, L is the inductive reactance of the bridge arm inductance in the converter module of the converter, ω n is the rated value of the grid frequency, and It can be calculated by the following formula (13) and formula (14):

[0247]

[0248]

[0249] Where K is the integral coefficient of the reactive loop when the VSC executes the VSG control algorithm, s is the Laplace operator, Q C is the reference value of reactive power state quantity, Q V is the feedback value of reactive power state quantity, D p is the virtual damping coefficient of the grid-connected system, P C is the reference value of the active power state quantity, P V is the feedback value of the active power state quantity, J is the virtual moment of inertia of the grid-connected system, V set is the setting value of the grid voltage, V g is the actual value of the grid voltage, ω set is the setting value of the grid frequency, ω g is the actual value of the grid frequency.

[0250] It should be noted that the virtual damping coefficient D of the grid-connected system p The virtual moment of inertia J of the grid-connected system can be determined according to the actual operating conditions and control requirements of the power system, and its specific value is not limited here.

[0251] Rated value of grid frequencyωn For example, it may be 50 Hz or 60 Hz.

[0252] In this embodiment, after the second control algorithm starts to run, the feedback value of the active power state quantity and the feedback value of the reactive power state quantity are determined based on the actual value of the active component and the actual value of the reactive component of the grid voltage, and based on the feedback value of the active power state quantity, the feedback value of the reactive power state quantity and the actual values ​​of each power parameter in the power system, the reference value of the second active current state quantity and the reference value of the second reactive current state quantity in the first control algorithm are adjusted, so that the reference value of the second active current state quantity and the reference value of the second reactive current state quantity in the first control algorithm can always be consistent with the actual values ​​of the corresponding power parameters in the actual power system. In this way, the converter can also achieve smooth switching when switching from the second control algorithm to the first control algorithm, further reducing the transient impact of the algorithm switching on the power grid and improving the stability of the power system.

[0253] In this embodiment, the operation control method of the converter may also include: Figure 5 S51 to S54 shown are described in detail as follows:

[0254] S51, in the process of running the first control algorithm, obtain the actual value of the active power of the power system, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the third moment.

[0255] The third moment may be any moment after the first control algorithm is executed.

[0256] It should be noted that, for the specific methods of obtaining the actual value of active power, the actual value of reactive power, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current, reference can be made to the relevant description in the aforementioned embodiments and will not be repeated here.

[0257] S52, obtaining a setting value of active power, a setting value of reactive power, a setting value of grid frequency, and a setting value of grid voltage.

[0258] Among them, the setting value of active power, the setting value of reactive power, the setting value of grid frequency and the setting value of grid voltage can all be sent from the upper computer of the power system to the operation control device of the converter.

[0259] S53, based on the actual value of active power, the actual value of reactive power, the actual value of grid frequency, the actual value of grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of active power, the set value of reactive power, the set value of grid frequency and the set value of grid voltage at the third moment, determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the third moment.

[0260] Specifically, the operation control device of the converter can determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the third moment based on the actual value of the active power, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the active power, the set value of the reactive power, the set value of the grid frequency and the set value of the grid voltage at the third moment, using the above formulas (11) and (12).

[0261] In this embodiment, the formula (11) and the formula (12) and It can be calculated by the following formula (15) and formula (16):

[0262]

[0263]

[0264] Where K is the integral coefficient of the reactive loop when the VSC executes the VSG control algorithm, s is the Laplace operator, Q set is the setting value of reactive power, Q is the actual value of reactive power state quantity, D p is the virtual damping coefficient of the grid-connected system, P set is the setting value of active power, P is the actual value of active power, J is the virtual moment of inertia of the grid-connected system, V set is the setting value of the grid voltage, V g is the actual value of the grid voltage, ω set is the setting value of the grid frequency, ω g is the actual value of the grid frequency.

[0265] S54, based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment; the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to adjust the grid frequency of the power system.

[0266] Specifically, the operation control device of the converter can determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current by using the following formulas (17) and (18):

[0267]

[0268]

[0269] Among them, e d is the value of the active component of the output potential of the converter, e q is the value of the reactive component of the output potential of the converter, G id (s) is the transfer function of the third PI regulator for controlling the active component of the grid current, is the reference value of the second active current state quantity, is the reference value of the second reactive current state quantity, G iq (s) is the transfer function of the fourth PI regulator without components for controlling the grid current, i gd is the actual value of the active component of the grid current, i gq is the actual value of the reactive component of the grid current.

[0270] In this embodiment, the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are determined during the operation of the first control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the third moment are used to control the grid frequency of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch control of the power module in the converter is achieved through the switch modulation signal, thereby achieving regulation of the grid frequency.

[0271] In another embodiment of the present application, when the second control algorithm includes a constant DC voltage control algorithm and a VSG control algorithm, the process of obtaining the actual value of the target electrical parameter of the power system in S31 may include the following steps:

[0272] The actual value of the active component of the grid current of the power system at the first moment is obtained.

[0273] Correspondingly, the process of setting the initial value of the target state variable to the actual value of the corresponding target electrical parameter in step S32 may include the following steps:

[0274] The initial value of the first active current state quantity in the second control algorithm is set to the actual value of the active component of the grid current at the first moment.

[0275] The first moment is the moment when the first working mode switching instruction is received.

[0276] It should be noted that, for the specific method of obtaining the actual value of the active component of the grid current, reference may be made to the relevant description in the aforementioned embodiment, which will not be elaborated here.

[0277] The specific meaning of the first active current state quantity and the specific meaning of the initial value of the first active current state quantity can also be referred to the relevant description in the aforementioned embodiment, which will not be repeated here.

[0278] In this embodiment, when the second control algorithm includes a constant DC voltage control algorithm and a VSG algorithm, since the target state variable in the second control algorithm only includes the first active current state quantity, by setting the initial value of the first active current state quantity to the actual value of the active component of the grid current before switching the algorithm when switching from the first control algorithm to the second control algorithm, the DC bus voltage and DC bus current of the power system can be kept continuous before and after the control algorithm is switched, thereby reducing the transient impact on the AC power grid.

[0279] Based on this, after starting to run the second control algorithm, the operation control method of the converter may also include the following steps: Figure 6 S61 to S64 shown are described in detail as follows:

[0280] S61, determining a reference value of the first active current state quantity at the second moment.

[0281] It should be noted that, for the specific meaning of the reference value of the first active current state quantity, reference can be made to the relevant description in the aforementioned embodiment, which will not be elaborated here.

[0282] In a specific implementation, S61 may include the following steps:

[0283] 61-1, obtaining a setting value of a DC bus voltage of a power system.

[0284] 61-2, obtaining the actual value of the DC bus voltage at the second moment.

[0285] 61-3, based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment, calculate a reference value of the first active current state quantity at the second moment.

[0286] It should be noted that the specific explanation of 61-1 to 61-2 can refer to the relevant description of 41-1 to 41-3 in the above embodiment, which will not be repeated here. That is, the operation control device of the converter can use the above formula (1) to calculate the reference value of the first active current state quantity at the second moment.

[0287] S62, determining a reference value of a second reactive current state at a second moment.

[0288] It should be noted that, for the specific meaning of the reference value of the second active current state quantity, reference can be made to the relevant description in the aforementioned embodiment, which will not be elaborated here.

[0289] In a specific implementation, S62 may include the following steps:

[0290] 62-1, determine the reference value of the active power state quantity at the second moment.

[0291] 62-2, determine the feedback value of the active power state quantity at the second moment.

[0292] 62-3, obtaining the actual value of the reactive power of the power system, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage at the second moment.

[0293] 62-4, obtaining the setting value of reactive power, the setting value of grid voltage and the setting value of grid frequency.

[0294] 62-5, based on the reference value of the active power state quantity at the second moment, the feedback value of the active power state quantity, the actual value of the reactive power, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the reactive power, the set value of the grid voltage, the set value of the grid frequency and the rated value of the grid frequency, determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the second moment.

[0295] It should be noted that, for the specific meanings of the reference value of the active power state quantity and the feedback value of the active power state quantity, reference may be made to the relevant description in the aforementioned embodiment, which will not be elaborated here.

[0296] For specific methods of obtaining the actual value of reactive power, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of reactive power, the set value of the grid voltage, and the set value of the grid frequency, please refer to the relevant description in the aforementioned embodiments and will not be repeated here.

[0297] Specifically, the operation control device of the converter can calculate the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the second moment based on the reference value of the active power state quantity at the second moment, the feedback value of the active power state quantity, the actual value of the reactive power, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the reactive power, the set value of the grid voltage, the set value of the grid frequency and the rated value of the grid frequency, using the above formulas (11) and (12).

[0298] In this embodiment, the formula (11) and the formula (12) and It can be calculated by the following formula (19) and formula (20):

[0299]

[0300]

[0301] Where K is the integral coefficient of the reactive loop when the VSC executes the VSG control algorithm, s is the Laplace operator, Q set is the setting value of reactive power, Q is the actual value of reactive power state quantity, D p is the virtual damping coefficient of the grid-connected system, P C is the reference value of the active power state quantity, P V is the feedback value of the active power state quantity, J is the virtual moment of inertia of the grid-connected system, V set is the setting value of the grid voltage, V g is the actual value of the grid voltage, ω set is the setting value of the grid frequency, ω g is the actual value of the grid frequency.

[0302] In an optional implementation, S62-1 may include the following steps:

[0303] S62-1.1, determine the reference value of the active power state quantity at the second moment based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage.

[0304] Specifically, the operation control device of the converter can calculate the reference value of the active power state quantity at the second moment based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage by using the following formula (21):

[0305]

[0306] Among them, P C is the reference value of the active power state quantity, v gd is the actual value of the active component of the grid voltage, is the reference value of the first active current state quantity, v gq is the actual value of the reactive component of the grid voltage, is the reference value of the second reactive current state quantity.

[0307] In another optional implementation, S62-1 may include the following steps:

[0308] S62-1.2, obtaining an actual value of an active component and an actual value of a reactive component of the grid current at a second moment.

[0309] S62-1.3, determine the reference value of the active power state quantity at the second moment based on the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current.

[0310] It should be noted that the specific method for obtaining the actual value of the active component and the actual value of the reactive component of the grid current can refer to the relevant description in the aforementioned embodiment, which will not be repeated here.

[0311] Specifically, the operation control device of the converter can calculate the reference value of the active power state quantity at the second moment based on the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current, using the following formula (22):

[0312] P C =1.5(v gd ×i gd +v gq ×i gq ); formula (22)

[0313] Among them, P C is the reference value of the active power state quantity, v gd is the actual value of the active component of the grid voltage, i gd is the actual value of the active component of the grid current, v gq is the actual value of the reactive component of the grid voltage, i gq is the actual value of the reactive component of the grid current.

[0314] In a specific implementation, S63-1 may include the following steps:

[0315] Based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage, the feedback value of the active power state quantity at the second moment is determined.

[0316] Specifically, the operation control device of the converter can use the above formula (9) to calculate the feedback value of the active power state quantity at the second moment. For the content of formula (9), reference can be made to the relevant description in the corresponding embodiment, which will not be repeated here.

[0317] S63, obtaining an actual value of an active component and an actual value of a reactive component of the grid current at the second moment.

[0318] S64, based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, determine the value of the active component and the value of the reactive component of the output potential of the converter at the second moment.

[0319] It should be noted that the specific meanings of the values ​​of the active component and the reactive component of the output potential can be referred to the relevant description in the aforementioned embodiments, which will not be elaborated here.

[0320] Specifically, the operation control device of the converter can calculate the value of the active component and the value of the reactive component of the output potential of the converter at the second moment based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current by using the following formula (23) and formula (24):

[0321]

[0322]

[0323] Among them, e d is the value of the active component of the output potential of the converter, e q is the value of the reactive component of the output potential of the converter, G id (s) is the transfer function of the third PI regulator for controlling the active component of the grid current, is the reference value of the first active current state quantity, is the reference value of the second reactive current state quantity, G iq (s) is the transfer function of the fourth PI regulator without components for controlling the grid current, i gd is the actual value of the active component of the grid current, i gq is the actual value of the reactive component of the grid current.

[0324] In this embodiment, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined during the operation of the second control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the second moment are used to control the grid voltage of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch control of the power module in the converter is achieved through the switch modulation signal, thereby achieving control of the grid voltage.

[0325] In this embodiment, the operation control method of the converter may also include: Figure 7 S71 to S74 shown are described in detail as follows:

[0326] S71, in the process of running the first control algorithm, obtain the actual value of the active power of the power system, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current at the third moment.

[0327] The third moment may be any moment after the first control algorithm is executed.

[0328] It should be noted that, for the specific methods of obtaining the actual value of active power, the actual value of reactive power, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current, reference can be made to the relevant description in the aforementioned embodiments and will not be repeated here.

[0329] S72, obtaining a setting value of active power, a setting value of reactive power, a setting value of grid frequency, and a setting value of grid voltage.

[0330] Among them, the setting value of active power, the setting value of reactive power, the setting value of grid frequency and the setting value of grid voltage can all be sent from the upper computer of the power system to the operation control device of the converter.

[0331] S73, based on the actual value of active power, the actual value of reactive power, the actual value of grid frequency, the actual value of grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of active power, the set value of reactive power, the set value of grid frequency and the set value of grid voltage at the third moment, determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the third moment.

[0332] Specifically, the operation control device of the converter can determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the third moment based on the actual value of the active power, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the active power, the set value of the reactive power, the set value of the grid frequency and the set value of the grid voltage at the third moment, using the above formulas (11) and (12).

[0333] In this embodiment, the formula (11) and the formula (12) and It can be calculated by the above formula (15) and formula (16).

[0334] S74, based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment; the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to adjust the grid frequency of the power system.

[0335] Specifically, the operation control device of the converter can determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment based on the reference value of the active current state quantity at three moments, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current, using the above formulas (17) and (18).

[0336] In this embodiment, the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are determined during the operation of the first control algorithm. Since the value of the active component and the value of the reactive component of the output potential of the first converter at the third moment are used to control the grid frequency of the power system, the value of the active component and the value of the reactive component of the output potential of the converter can be modulated to obtain a switch modulation signal for controlling the switch module in the converter. The switch control of the power module in the converter is achieved through the switch modulation signal, thereby achieving regulation of the grid frequency.

[0337] It is understandable that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0338] Based on the operation control method of the converter provided in the above embodiment, the present application further provides an embodiment of the operation control device of the converter for implementing the above method embodiment. Figure 8, is a schematic diagram of the structure of a control device provided in an embodiment of the present application. For ease of description, only the parts related to this embodiment are shown. Figure 8 As shown, the operation control device 80 of the converter may include: an acquisition module 801 and a setting module 802. Among them:

[0339] The acquisition module 801 is used to acquire the actual value of the target electric parameter of the power system if a first working mode switching instruction is received during the operation of the first control algorithm; the target electric parameter corresponds to the target state variable in the second control algorithm.

[0340] The setting module 802 is used to stop running the first control algorithm, set the initial value of the target state variable to the actual value of the corresponding target electrical parameter, and start running the second control algorithm.

[0341] Optionally, the first control algorithm is a virtual synchronous generator control algorithm, and the second control algorithm includes a constant DC voltage control algorithm and a constant reactive power control algorithm;

[0342] The acquisition module 801 is specifically used for:

[0343] Acquire the actual value of the active component and the actual value of the reactive component of the grid current of the power system at a first moment; the first moment is the moment when the first working mode switching instruction is received.

[0344] The setting module 802 is specifically used for:

[0345] Setting the initial value of the first active current state quantity in the second control algorithm to the actual value of the active component of the grid current at the first moment;

[0346] An initial value of the first reactive current state quantity in the second control algorithm is set to the actual value of the reactive component of the grid current at the first moment.

[0347] Optionally, the acquisition module 801 is further used to acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment.

[0348] like Fig. 9 and Fig.10 As shown, the operation control device 80 of the converter may further include a constant DC voltage and constant reactive power control module 81 and a current inner loop 82 .

[0349] Among them, the constant DC voltage and constant reactive power control module 81 is used to determine the reference value of the first active current state quantity and the reference value of the first reactive current state quantity at the second moment; the second moment is any moment after running the second control algorithm.

[0350] The current inner loop 82 is used to determine the value of the active component and the value of the reactive component of the output potential of the converter at the second moment based on the reference value of the first active current state quantity, the reference value of the first reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current at the second moment; the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are used to control the grid voltage of the power system.

[0351] That is, when the operation control device 80 of the converter runs the second control algorithm, Fig. 9 and Fig.10 Switches S2 and S4 in are both set to position 1.

[0352] Specifically, Fig.11 and Fig.12 As shown, the current inner loop 82 can use the above formula (3) and formula (4) to determine the value of the active component and the value of the reactive component of the output potential of the converter at the second moment.

[0353] Optionally, the acquisition module 801 is further used to acquire the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage and the actual value of the grid frequency at the second moment.

[0354] like Fig. 9 and Fig.10 As shown, the operation control device 80 of the converter may further include a virtual power instruction calculation module 83 , a virtual power feedback calculation module 84 and a VSG module 85 .

[0355] The virtual power instruction calculation module 83 is used to determine the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment.

[0356] The virtual power feedback calculation module 84 is used to determine the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment; the feedback value of the active power state quantity and the feedback value of the reactive power state quantity are related to the reference value of the second active current state quantity and the reference value of the second reactive current state quantity in the first control algorithm at the second moment.

[0357] The acquisition module 801 is further used to acquire the setting value of the grid frequency and the setting value of the grid voltage.

[0358] The VSG module 85 is used to adjust the reference value of the second active current state quantity and the reference value of the second reactive current state quantity based on the reference value of the active power state quantity at the second moment, the reference value of the reactive power state quantity, the feedback value of the active power state quantity, the feedback value of the reactive power state quantity, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the grid frequency, the set value of the grid frequency, the set value of the grid voltage and the rated value of the grid frequency.

[0359] That is, when the operation control device 80 of the converter runs the second control algorithm, Fig. 9 and Fig.10 The switches S1 and S3 in the circuit are both set to position 1.

[0360] Optionally, the acquisition module 801 is further used to acquire a setting value of a DC bus voltage of the power system and a setting value of reactive power of an AC power grid.

[0361] The acquisition module 801 is further used to acquire the actual value of the DC bus voltage and the actual value of the reactive power of the AC power grid at the second moment.

[0362] like Fig. 9 and Fig.10 As shown, the constant DC voltage and constant reactive power control module 81 may include a DC voltage loop 811 and a reactive power loop 812 .

[0363] The DC voltage loop 811 is used to calculate a reference value of the first active current state quantity at the second moment based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment.

[0364] Specifically, Fig.11 and Fig.12 As shown, the DC voltage loop 811 can use the above formula (1) to calculate the reference value of the first active current state quantity at the second moment.

[0365] The reactive power loop 812 is used to calculate a reference value of the first reactive current state quantity at the second moment based on a set value of the reactive power of the AC power grid and an actual value of the reactive power of the AC power grid at the second moment.

[0366] Specifically, Fig.11 and Fig.12 As shown, the reactive power loop 812 can use the above formula (2) to calculate the reference value of the first reactive current state quantity at the second moment.

[0367] Optionally, the acquisition module 801 is further used to acquire an actual value of an active component and an actual value of a reactive component of the grid voltage at the second moment.

[0368] like Fig.11 As shown, the virtual power instruction calculation module 83 is specifically used to determine the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment based on the reference value of the first active current state quantity at the second moment, the reference value of the first reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage.

[0369] Specifically, the virtual power instruction calculation module 83 can use the above formula (5) and formula (6) to calculate the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment.

[0370] Optionally, the acquisition module 801 is also used to acquire the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current at the second moment.

[0371] like Fig.12 As shown, the virtual power instruction calculation module 83 is specifically used to determine the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment based on the actual value of the active component of the grid voltage at the second moment, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current.

[0372] Specifically, the virtual power instruction calculation module 83 can use the above formula (7) and formula (8) to calculate the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment.

[0373] Optionally, the acquisition module 801 is further used to acquire an actual value of an active component and an actual value of a reactive component of the grid voltage at the second moment.

[0374] like Fig.11 and Fig.12 As shown, the virtual power feedback calculation module 84 is specifically used to calculate the feedback value of the active power state quantity at the second moment and the feedback value of the reactive power state quantity based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage.

[0375] Specifically, the virtual power feedback calculation module 84 may use the above formula (9) and formula (10) to calculate the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment.

[0376] Optionally, the acquisition module 801 is further used to acquire, during the running of the first control algorithm, an actual value of the active power, an actual value of the reactive power, an actual value of the grid frequency, an actual value of the grid voltage, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, an actual value of the active component of the grid current, and an actual value of the reactive component of the grid current of the power system at a third moment;

[0377] The acquisition module 801 is further used to acquire the setting value of the active power, the setting value of the reactive power, the setting value of the grid frequency, and the setting value of the grid voltage.

[0378] like Fig.11 and Fig.12 As shown, the VSG module 85 is used to determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the third moment based on the actual value of the active power, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the active power, the set value of the reactive power, the set value of the grid frequency and the set value of the grid voltage.

[0379] That is, when the operation control device 80 of the converter runs the second control algorithm, Fig. 9 and Fig.10 The switches S1 and S3 in are both set to 0.

[0380] Specifically, the VSG module 85 can use the above formulas (11) to (14) to calculate the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the third moment.

[0381] In this embodiment, the formula (11) and the formula (12) and It can be calculated by the above formula (15) and formula (16).

[0382] The current inner loop 82 is used to determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current; the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to adjust the grid frequency of the power system.

[0383] That is, when the operation control device 80 of the converter runs the second control algorithm, Fig. 9 and Fig.10 Switch S2 and switch S4 in.

[0384] Specifically, the current inner loop 82 can use the above formula (17) and formula (18) to calculate the value of the active component and the value of the reactive component of the output potential of the converter at the third moment.

[0385] Optionally, the first control algorithm is a virtual synchronous generator control algorithm, and the second control algorithm includes a constant DC voltage control algorithm and the virtual synchronous generator control algorithm.

[0386] Based on this, the acquisition module 801 is specifically used to acquire the actual value of the active component of the grid current of the power system at the first moment; the first moment is the moment when the first working mode switching instruction is received.

[0387] The setting module 802 is specifically configured to set the initial value of the first active current state quantity in the second control algorithm to the actual value of the active component of the grid current at the first moment.

[0388] Optionally, the acquisition module 801 is further used to acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment.

[0389] like Fig.13 and Fig.14 As shown, the operation control device 80 of the converter further includes a DC voltage loop 811 , a feedback module and a current inner loop 82 .

[0390] The DC voltage loop 811 is used to determine a reference value of the first active current state quantity at the second moment.

[0391] The feedback module is used to determine a reference value of the second reactive current state at the second moment.

[0392] The current inner loop 82 is used to determine the value of the active component and the value of the reactive component of the output potential of the converter at the second moment based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current; the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are used to control the grid voltage of the power system.

[0393] That is, when the operation control device 80 of the converter runs the second control algorithm, Fig.13 and Fig.14 The switch S2 in is set to 1.

[0394] Specifically, Fig.15 and Fig.17 As shown, the current inner loop 82 can use the above formula (23) and formula (24) to calculate the value of the active component and the value of the reactive component of the output potential of the converter at the second moment.

[0395] Optionally, the acquisition module 801 is further used to acquire a setting value of a DC bus voltage of the power system.

[0396] The acquisition module 801 is further configured to acquire an actual value of the DC bus voltage at the second moment.

[0397] The DC voltage loop 811 is specifically used to calculate a reference value of the first active current state quantity at the second moment based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment.

[0398] Specifically, Fig.15 and Fig.17 As shown, the DC voltage loop 811 can use the above formula (1) to calculate the reference value of the first active current state quantity at the second moment.

[0399] Optionally, the acquisition module 801 is further used to acquire the actual value of the reactive power of the power system, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage at the second moment.

[0400] The acquisition module 801 is also used to acquire the setting value of the reactive power, the setting value of the grid voltage and the setting value of the grid frequency.

[0401] The feedback module includes a virtual power instruction calculation module 83 , a virtual power feedback calculation module 84 and a VSG module 85 .

[0402] The virtual power instruction calculation module 83 is used to determine the reference value of the active power state quantity at the second moment.

[0403] The virtual power feedback calculation module 84 is used to determine the feedback value of the active power state quantity at the second moment.

[0404] The VSG module 85 is used to determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the second moment based on the reference value of the active power state quantity at the second moment, the feedback value of the active power state quantity, the actual value of the reactive power, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the reactive power, the set value of the grid voltage, the set value of the grid frequency and the rated value of the grid frequency.

[0405] That is, when the operation control device 80 of the converter runs the second control algorithm, Fig.13 and Fig.14 The switch S0 in is set to 1.

[0406] Specifically, Fig.15 and Fig.16 As shown, the VSG module 85 can calculate the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the second moment by using the above formula (11) and formula (12).

[0407] In this embodiment, the formula (11) and the formula (12) and It can be calculated by the above formula (19) and formula (20).

[0408] Optional, such as Fig.15 As shown, the virtual power instruction calculation module 83 is specifically used for:

[0409] Based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage, the reference value of the active power state quantity at the second moment is determined.

[0410] Specifically, the virtual power instruction calculation module 83 can use the above formula (21) to calculate the reference value of the active power state quantity at the second moment.

[0411] Optionally, the acquisition module 801 is further used to acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment.

[0412] The acquisition module 801 is further used to acquire the actual value of the active component and the actual value of the reactive component of the grid current at the second moment.

[0413] like Fig.16 As shown, the virtual power instruction calculation module 83 is specifically used for:

[0414] Based on the actual value of the active component of the grid voltage at the second moment, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, the reference value of the active power state quantity at the second moment is determined.

[0415] Specifically, the virtual power instruction calculation module 83 can use the above formula (22) to calculate the reference value of the active power state quantity at the second moment.

[0416] Optionally, the virtual power feedback calculation module 84 is specifically used for:

[0417] Based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage, the feedback value of the active power state quantity at the second moment is determined.

[0418] Specifically, Fig.15 and Fig.16 The virtual power feedback calculation module 84 uses the above formula (9) to calculate the feedback value of the active power state quantity at the second moment.

[0419] Optionally, the acquisition module 801 is also used to acquire, during the running of the first control algorithm, the actual value of the active power, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current of the power system at a third moment.

[0420] The acquisition module 801 is further used to acquire the setting value of the active power, the setting value of the reactive power, the setting value of the grid frequency, and the setting value of the grid voltage.

[0421] The VSG module 85 is used to determine a reference value of the second active current state quantity and a reference value of the second reactive current state quantity at the third moment based on the actual value of the active power, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the active power, the set value of the reactive power, the set value of the grid frequency and the set value of the grid voltage at the third moment.

[0422] That is, when the operation control device 80 of the converter runs the second control algorithm, Fig.13 and Fig.14The switch S1 in is set to position 1.

[0423] Specifically, Fig.15 and Fig.16 As shown, the VSG module 85 can use the above formula (11) and formula (12) to determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the third moment.

[0424] In this embodiment, the formula (11) and the formula (12) and It can be calculated by the above formula (15) and formula (16).

[0425] The current inner loop 82 is used to determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current; the value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to control the grid frequency of the power system.

[0426] Specifically, Fig.15 and Fig.16 As shown, the current inner loop 82 uses the above formula (17) and formula (18) to determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment.

[0427] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be specifically referred to the method embodiment part and will not be repeated here.

[0428] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional modules / units is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional modules / units as needed, that is, the internal structure of the control device can be divided into different functional modules / units to complete all or part of the functions described above. The functional modules / units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional modules / units. In addition, the specific names of the functional modules / units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of each unit in the above-mentioned control device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0429] See also Fig.17 , Fig.17 This is a schematic diagram of the structure of a converter operation control device provided by another embodiment of the present application. Fig.17 As shown, the operation control device 17 of the converter provided in this embodiment may include: a processor 170, a memory 171, and a computer program 172 stored in the memory 171 and executable on the processor 170, such as a program corresponding to the operation control method of the converter. When the processor 170 executes the computer program 172, the steps in the above-mentioned operation control method embodiment are implemented, such as Figure 3 Alternatively, when the processor 170 executes the computer program 172, the functions of each module / unit in the above control device embodiment are realized, for example Figure 8 The functions of the units 801 to 802 are shown.

[0430] Exemplarily, the computer program 172 may be divided into one or more modules / units, one or more modules / units are stored in the memory 171 and executed by the processor 170 to complete the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 172 in the control device 17. For example, the computer program 172 may be divided into an acquisition module and a setting module. For the specific functions of each unit, please refer to Fig.17 The relevant descriptions in the corresponding embodiments are not repeated here.

[0431] Those skilled in the art will understand that Fig.17 The control device 17 is merely an example and does not constitute a limitation on the control device 17 , and may include more or less components than those shown in the figure, or may combine certain components, or may include different components.

[0432] The processor 170 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0433] The memory 171 may be an internal storage unit of the control device 17, such as a hard disk or memory of the control device 17. The memory 171 may also be an external storage device of the control device 17, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card, etc., equipped on the control device 17. Further, the memory 171 may also include both an internal storage unit and an external storage device of the control device 17. The memory 171 is used to store computer programs and other programs and data required by the control device. The memory 171 may also be used to temporarily store data that has been output or is to be output.

[0434] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, each step of the operation control method described in the above method embodiment is implemented.

[0435] An embodiment of the present application provides a computer program product. When the computer program product runs on a control device, the control device implements the steps in the above-mentioned various method embodiments.

[0436] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0437] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0438] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for controlling the operation of a converter in a grid-connected system, characterized in that: include: During the operation of the first control algorithm, if a first working mode switching instruction is received, an actual value of a target electrical parameter of the power system is obtained; The target electrical parameter corresponds to the target state variable in the second control algorithm; The first control algorithm is stopped, the initial value of the target state variable is set to the actual value of the corresponding target electrical parameter, and the second control algorithm is started.

2. The operation control method according to claim 1, characterized in that: The first control algorithm is a virtual synchronous generator control algorithm, and the second control algorithm includes a constant DC voltage control algorithm and a constant reactive power control algorithm; the actual value of the target electrical parameter of the power system is obtained, including: Acquire an actual value of an active component and an actual value of a reactive component of a grid current of the power system at a first moment; the first moment being a moment when the first working mode switching instruction is received; The step of setting the initial value of the target state variable to the actual value of the corresponding target electrical parameter comprises: Setting the initial value of the first active current state quantity in the second control algorithm to the actual value of the active component of the grid current at the first moment; An initial value of the first reactive current state quantity in the second control algorithm is set to the actual value of the reactive component of the grid current at the first moment.

3. The operation control method according to claim 2, characterized in that: After starting to run the second control algorithm, the method further includes: Determine a reference value of the first active current state quantity and a reference value of the first reactive current state quantity at a second moment; the second moment is any moment after the second control algorithm is executed; Acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment; Based on the reference value of the first active current state quantity, the reference value of the first reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the second moment, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined; the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are used to control the grid voltage of the power system.

4. The operation control method according to claim 3, characterized in that: After starting to run the second control algorithm, the method further includes: Determine a reference value of the active power state quantity and a reference value of the reactive power state quantity at the second moment; Determine a feedback value of the active power state quantity and a feedback value of the reactive power state quantity at the second moment; the feedback value of the active power state quantity and the feedback value of the reactive power state quantity are related to a reference value of a second active current state quantity and a reference value of a second reactive current state quantity in the first control algorithm at the second moment; Acquire an actual value of the grid voltage, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, and an actual value of the grid frequency at the second moment; Acquiring a setting value of the grid frequency and a setting value of the grid voltage; Based on the reference value of the active power state quantity at the second moment, the reference value of the reactive power state quantity, the feedback value of the active power state quantity, the feedback value of the reactive power state quantity, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the grid frequency, the set value of the grid frequency, the set value of the grid voltage and the rated value of the grid frequency, the reference value of the second active current state quantity and the reference value of the second reactive current state quantity are adjusted.

5. The operation control method according to claim 3, characterized in that: The determining of the reference value of the first active current state quantity and the reference value of the first reactive current state quantity at the second moment includes: Acquiring a setting value of a DC bus voltage of the power system and a setting value of reactive power of an AC power grid; Acquire an actual value of the DC bus voltage and an actual value of reactive power of the AC power grid at a second moment; Calculating a reference value of the first active current state quantity at the second moment based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment; Based on the set value of the reactive power of the AC power grid and the actual value of the reactive power of the AC power grid at the second moment, a reference value of the first reactive current state quantity at the second moment is calculated.

6. The operation control method according to claim 4, characterized in that: The determining of the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment includes: Acquire an actual value of an active component and an actual value of a reactive component of the grid voltage at the second moment; Based on the reference value of the first active current state quantity at the second moment, the reference value of the first reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage, the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment are determined.

7. The operation control method according to claim 4, characterized in that: The determining of the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment includes: Acquire an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, an actual value of the active component of the grid current, and an actual value of the reactive component of the grid current at the second moment; Based on the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current at the second moment, determine the reference value of the active power state quantity and the reference value of the reactive power state quantity at the second moment.

8. The operation control method according to claim 4, characterized in that: The determining of the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment includes: Acquire an actual value of an active component and an actual value of a reactive component of the grid voltage at the second moment; Based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage, and the actual value of the reactive component of the grid voltage, the feedback value of the active power state quantity and the feedback value of the reactive power state quantity at the second moment are calculated.

9. The operation control method according to any one of claims 2 to 8, characterized in that: Also includes: In the process of running the first control algorithm, obtaining an actual value of active power, an actual value of reactive power, an actual value of grid frequency, an actual value of grid voltage, an actual value of an active component of the grid voltage, an actual value of a reactive component of the grid voltage, an actual value of an active component of a grid current, and an actual value of a reactive component of the grid current of the power system at a third moment; Acquiring a setting value of the active power, a setting value of the reactive power, a setting value of the grid frequency, and a setting value of the grid voltage; Determine a reference value of a second active current state quantity and a reference value of a second reactive current state quantity at the third moment based on an actual value of the active power, an actual value of the reactive power, an actual value of the grid frequency, an actual value of the grid voltage, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, a set value of the active power, a set value of the reactive power, a set value of the grid frequency, and a set value of the grid voltage at the third moment; Determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current; The value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to adjust the grid frequency of the power system.

10. The operation control method according to claim 1, characterized in that: The first control algorithm is a virtual synchronous generator control algorithm, and the second control algorithm includes a constant DC voltage control algorithm and the virtual synchronous generator control algorithm; the actual value of the target electrical parameter of the power system is obtained, including: Acquire an actual value of an active component of a grid current of the power system at a first moment; the first moment being a moment when the first working mode switching instruction is received; The step of setting the initial value of the target state variable to the actual value of the corresponding target electrical parameter comprises: An initial value of the first active current state quantity in the second control algorithm is set to the actual value of the active component of the grid current at the first moment.

11. The operation control method according to claim 10, characterized in that: After starting to run the second control algorithm, the method further includes: Determining a reference value of the first active current state quantity at a second moment; determining a reference value of a second reactive current state at the second moment; Acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment; Based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are determined; the value of the active component and the value of the reactive component of the output potential of the converter at the second moment are used to control the grid voltage of the power system.

12. The operation control method according to claim 11, characterized in that: The determining of the reference value of the first active current state quantity at the second moment includes: Obtaining a setting value of a DC bus voltage of the power system; Acquire the actual value of the DC bus voltage at the second moment; Based on the set value of the DC bus voltage and the actual value of the DC bus voltage at the second moment, a reference value of the first active current state quantity at the second moment is calculated.

13. The operation control method according to claim 11, characterized in that: The determining a reference value of the second reactive current state at the second moment includes: Determining a reference value of the active power state quantity at the second moment; Determining a feedback value of the active power state quantity at the second moment; Acquire an actual value of reactive power of the power system, an actual value of an active component of a grid voltage, and an actual value of a reactive component of the grid voltage at the second moment; Obtaining the setting value of the reactive power, the setting value of the grid voltage, and the setting value of the grid frequency; Based on the reference value of the active power state quantity at the second moment, the feedback value of the active power state quantity, the actual value of the reactive power, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the set value of the reactive power, the set value of the grid voltage, the set value of the grid frequency and the rated value of the grid frequency, determine the reference value of the second active current state quantity and the reference value of the second reactive current state quantity at the second moment.

14. The operation control method according to claim 13, characterized in that: The determining of the reference value of the active power state quantity at the second moment includes: Based on the reference value of the first active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage, the reference value of the active power state quantity at the second moment is determined.

15. The operation control method according to claim 13, characterized in that: The determining of the reference value of the active power state quantity at the second moment includes: Acquire an actual value of an active component and an actual value of a reactive component of the grid current at the second moment; Based on the actual value of the active component of the grid voltage at the second moment, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current and the actual value of the reactive component of the grid current, the reference value of the active power state quantity at the second moment is determined.

16. The operation control method according to claim 13, characterized in that: The determining the feedback value of the active power state quantity at the second moment includes: Based on the reference value of the second active current state quantity at the second moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid voltage and the actual value of the reactive component of the grid voltage, the feedback value of the active power state quantity at the second moment is determined.

17. The operation control method according to any one of claims 10 to 16, characterized in that: Also includes: In the process of running the first control algorithm, obtaining the actual value of the active power, the actual value of the reactive power, the actual value of the grid frequency, the actual value of the grid voltage, the actual value of the active component of the grid voltage, the actual value of the reactive component of the grid voltage, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current of the power system at the third moment; Acquiring a setting value of the active power, a setting value of the reactive power, a setting value of the grid frequency, and a setting value of the grid voltage; Determine a reference value of a second active current state quantity and a reference value of a second reactive current state quantity at the third moment based on an actual value of the active power, an actual value of the reactive power, an actual value of the grid frequency, an actual value of the grid voltage, an actual value of the active component of the grid voltage, an actual value of the reactive component of the grid voltage, a set value of the active power, a set value of the reactive power, a set value of the grid frequency, and a set value of the grid voltage at the third moment; Determine the value of the active component and the value of the reactive component of the output potential of the converter at the third moment based on the reference value of the active current state quantity at the third moment, the reference value of the second reactive current state quantity, the actual value of the active component of the grid current, and the actual value of the reactive component of the grid current; The value of the active component and the value of the reactive component of the output potential of the converter at the third moment are used to control the grid frequency of the power system.

18. An operation control device for a converter in a grid-connected system, characterized in that: include: an acquisition module, configured to acquire an actual value of a target electrical parameter of the power system if a first working mode switching instruction is received during the operation of the first control algorithm; The target electrical parameter corresponds to the target state variable in the second control algorithm; The setting module is used to stop running the first control algorithm, set the initial value of the target state variable to the actual value of the corresponding target electrical parameter, and start running the second control algorithm.

19. An operation control device for a converter in a grid-connected system, characterized in that: The method comprises a memory and a computer program stored in the memory and executable on a processor, wherein the processor implements the operation control method according to any one of claims 1 to 17 when executing the computer program.

20. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the operation control method according to any one of claims 1 to 17 is implemented.

21. A converter, characterized in that: It comprises a commutation module and an operation control device for a converter in a grid-connected system as claimed in claim 18.