Self-adaptive control method and system for virtual synchronous generator under weak power grid working condition

By using grid impedance estimation method and small signal model in virtual synchronous generators and adjusting control parameters in real time, the problem of unstable operation of virtual synchronous generators under weak grid conditions is solved, and the stability and dynamic response performance of the system are improved.

CN119030011APending Publication Date: 2024-11-26ELECTRIC POWER RES INST OF GUANGXI POWER GRID CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410974928.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In weak grid conditions, the control strategy of the virtual synchronous generator is no longer applicable due to changes in the grid impedance, resulting in the problem of unstable operating performance.

Method used

Data is collected through sensors, power flow is calculated, small signal models are established, and the control parameters of the virtual synchronous generator are adjusted in real time by using the power grid impedance estimation method to adapt to the grid impedance changes and ensure the stable operation of the system.

Benefits of technology

It significantly improves the stability and dynamic response performance of virtual synchronous generators under weak grid conditions, reduces system oscillation and overshoot, and realizes precise control of active and reactive power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030011A_ABST
    Figure CN119030011A_ABST
Patent Text Reader

Abstract

The invention discloses a self-adaptive control method and system for a virtual synchronous generator under a weak power grid working condition, and the method comprises the steps: collecting data through a sensor, calculating a power flow, and building a small signal model considering power flow coupling; a power grid impedance estimation algorithm is adopted, a virtual synchronous generator control loop is embedded, a real-time power grid impedance value is calculated, and then control parameters of the virtual synchronous generator are adjusted; and according to the real-time power grid impedance, parameters of the virtual synchronous generator are adaptively adjusted, and the adjusted control parameters enable the virtual synchronous generator to achieve expected dynamic response. Through a real-time power grid impedance estimation and self-adaptive control method, the stability and dynamic response performance of the virtual synchronous generator under the weak power grid working condition are remarkably improved. Accurate control of active power and reactive power is realized through real-time calculation and adjustment of control parameters, and system oscillation and overshoot phenomena are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of new energy technology, and in particular to a method and system for adaptively controlling a virtual synchronous generator under weak power grid conditions. Background Art

[0002] Since synchronous generators have many excellent characteristics such as self-synchronization function, current sharing by using droop characteristics, and automatic adjustment of speed (frequency) according to output power, some scholars have proposed virtual synchronous generator technology, which can enable photovoltaic grid-connected inverters to have the excellent characteristics of synchronous generators through control strategies to ensure the stable operation of the power grid. However, with the rapid development of new energy power generation, the research on grid-connected inverter control technology has attracted much attention. Due to the large-scale long-distance power transmission and the access of a large number of nonlinear loads, the influence of grid impedance cannot be ignored, and the power grid presents weak grid characteristics. Under weak grid conditions, the control strategy of strong grid is no longer applicable. Therefore, it is necessary to study the control technology of grid-connected inverters under weak grid conditions to ensure that virtual synchronous generators can operate safely and stably under weak grid conditions.

[0003] In the study of virtual synchronous generator control methods under weak grid conditions, some literature proposed an adaptive current control strategy based on system sensitivity and analyzed the influence of sensitivity on the adaptive control system under weak grid conditions. Some literature proposed an adaptive dual-mode control strategy for grid impedance under weak grid conditions, that is, the current source control mode is used when the grid impedance is low, and the voltage source control mode is used when the grid impedance is large. This method is difficult to implement under actual conditions. Some literature analyzed that full feedforward control has a good suppression effect on grid harmonics, and proposed a full feedforward control strategy with a pre-filter, which can still maintain a high power factor under a certain grid impedance. Some literature proposed a compensated virtual synchronous generator control scheme to accurately track the power reference value in the grid. Although this scheme can reduce the overshoot of the step response and shorten the stabilization time under weak grid conditions, this scheme is only valid under the assumption that the grid impedance is known, and in reality the grid impedance changes continuously over time. Therefore, under weak grid conditions, the problem of maintaining the unique performance of virtual synchronous generators and enabling the system to operate stably needs further research. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problem solved by the present invention is that the control strategy of the strong power grid is no longer applicable in the weak power grid, resulting in unstable operating performance of the virtual synchronous generator when switching from the strong power grid condition to the weak power grid condition.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for adaptively controlling a virtual synchronous generator under weak power grid conditions, comprising:

[0007] Collect data through sensors, calculate power flow, and establish a small signal model that takes into account power flow coupling;

[0008] The grid impedance estimation algorithm is adopted and embedded in the virtual synchronous generator control loop to calculate the real-time grid impedance value and then adjust the control parameters of the virtual synchronous generator;

[0009] According to the real-time grid impedance, the parameters of the virtual synchronous generator are adaptively adjusted, and the adjusted control parameters enable the virtual synchronous generator to achieve the desired dynamic response.

[0010] As a preferred solution of the method for adaptively controlling a virtual synchronous generator under weak power grid conditions described in the present invention, wherein: collecting data through sensors includes collecting data through a virtual synchronous generator control loop using a grid impedance method based on 75Hz single frequency injection;

[0011] The data includes the voltage of phase A, phase B and phase C and the current of phase A, phase B and phase C.

[0012] As a preferred solution of the method for adaptively controlling a virtual synchronous generator under weak power grid conditions described in the present invention, the power flow calculation includes calculating the active power and reactive power injected by the virtual synchronous generator into the power grid, and the formula is expressed as follows:

[0013]

[0014] Among them, P e represents the active power injected into the grid by the virtual synchronous generator, Q e represents the reactive power injected into the grid by the virtual synchronous generator, R g Represents the resistance component in the grid impedance, L g Represents the inductance component in the grid impedance, V m Represents the effective value of the grid voltage at the common coupling point, V n Indicates the effective value of the grid voltage on the grid side, θ mn Indicates when the virtual synchronous generator is running V m and V n The phase difference.

[0015] As a preferred solution of the method for adaptively controlling a virtual synchronous generator under weak power grid conditions described in the present invention, the establishment of a small signal model considering power flow coupling includes: in order to deeply analyze the influence of power grid impedance parameters on the performance of the virtual synchronous generator, a small signal model considering power flow coupling is established, and the formula is expressed as follows:

[0016]

[0017] Among them, ΔP e Indicates the change in active power, ΔQ e Indicates the change in reactive power, K 11 Indicates the influence coefficient of phase difference on active power change, K 12 Indicates the influence coefficient of voltage change on active power change, K 21 Indicates the influence coefficient of phase difference on reactive power change, K 22 Indicates the influence coefficient of voltage change on reactive power change, Δθ mn Indicates the change in phase difference, ΔV m Indicates the change in voltage;

[0018] Among them, K 11 , K 12 , K 21 and K 22 With a specific operating point (θ mn0 , Vm0), the formula is expressed as:

[0019]

[0020] Among them, R g Represents the resistance component in the grid impedance, L g Represents the inductance component in the grid impedance, V m0 Represents the effective value of the voltage between the common coupling point and the ground, V n Indicates the effective value of the grid voltage on the grid side, θ mn0 Represents the steady-state power angle.

[0021] As a preferred solution of the virtual synchronous generator adaptive control method under weak power grid conditions described in the present invention, wherein: a power grid impedance estimation algorithm is adopted, a virtual synchronous generator control loop is embedded, and the real-time power grid impedance value is calculated, and then the control parameters of the virtual synchronous generator are adjusted, including that the power grid impedance will change over time, and an online power grid impedance estimation algorithm is adopted to obtain the impedance of the power grid in real time. The virtual synchronous generator control loop adopts a power grid impedance method based on 75Hz single-frequency injection, and the voltage vo (75Hz) and current io (75Hz) of phase A, phase B and phase C are recorded while injecting signal id_inj and iq_inj components. Zg (75Hz) can be calculated, and the power grid impedance value Zg (50Hz) can be approximately equal to Zg (75Hz), and the formula expression is:

[0022] According to the recorded voltage and current data, the grid impedance Zg(75Hz) at 75Hz frequency is calculated, and the formula is expressed as:

[0023]

[0024] The grid impedance value Zg(50Hz) at 50Hz frequency is approximately calculated and expressed as:

[0025] Zg(50Hz)≈Zg(75Hz)

[0026] Wherein, Zg(75Hz) represents the grid impedance at a frequency of 75Hz, vo(75Hz) represents the voltage data at a frequency of 75Hz, io(75Hz) represents the current data at a frequency of 75Hz, and Zg(50Hz) represents the grid impedance at a frequency of 50Hz.

[0027] As a preferred solution of the method for adaptively controlling a virtual synchronous generator under weak power grid conditions described in the present invention, the parameters of the virtual synchronous generator are adaptively adjusted according to the real-time power grid impedance, and the adjusted control parameters enable the virtual synchronous generator to achieve the desired dynamic response, including updating the resistance and inductance parameters of the power grid based on the real-time calculated power grid impedance value, and the formula is expressed as follows:

[0028]

[0029] Using the updated grid impedance parameters, the control parameters of the virtual synchronous generator are derived according to the small signal model considering power flow coupling to make it meet the expected dynamic response. The formula is expressed as:

[0030] J = f(K 11 ,K 22 )

[0031] D p =f(K 11 ,K 22 )

[0032] D q =f(K 11 ,K 22 )

[0033] K q =f(K 11 ,K 22 )

[0034] Among them, R g Represents the resistance component in the grid impedance, ν o (75Hz) indicates the voltage data at a frequency of 5Hz, i o (75Hz) indicates the current data at 75Hz frequency, L g represents the inductance component in the grid impedance, ω0 represents the rated angular frequency of the grid, J represents the virtual moment of inertia of the virtual synchronous generator, and D pIndicates the active power-frequency droop coefficient, D q Represents reactive power-voltage droop coefficient, K q Represents the integral coefficient.

[0035] As a preferred solution of the method for adaptively controlling a virtual synchronous generator under weak power grid conditions described in the present invention, wherein: according to the real-time power grid impedance, the parameters of the virtual synchronous generator are adaptively adjusted, and the adjusted control parameters enable the virtual synchronous generator to achieve the desired dynamic response, and further include, in combination with the desired dynamic response, obtaining the relationship between the parameters of the virtual synchronous generator and the system response, and deriving the transfer function expressions of the active loop and the reactive loop, respectively:

[0036]

[0037] Among them, G P (s) represents the transfer function of the active power control loop, s represents the complex frequency variable in the Laplace transform, J represents the virtual moment of inertia of the virtual synchronous generator, ω0 represents the rated angular frequency of the power grid, and D p Indicates the active power-frequency droop coefficient, G Q (s) represents the transfer function of the reactive power control loop, K q Represents the integral coefficient.

[0038] A method for adaptive control of a virtual synchronous generator under weak power grid conditions, wherein:

[0039] Data acquisition module, recording grid voltage and current data, including voltage and current at 75Hz frequency;

[0040] A control parameter adjustment module adjusts the control parameters of the virtual synchronous generator based on the grid impedance estimation result, including the virtual moment of inertia, droop coefficient and integral coefficient;

[0041] The power flow calculation module calculates the active power and reactive power injected into the grid by the virtual synchronous generator and establishes a small signal model considering the power flow coupling;

[0042] Small signal model building module, which builds a small signal model considering power flow coupling to analyze the impact of grid impedance on the performance of virtual synchronous generators;

[0043] The adaptive control module adjusts the parameters of the virtual synchronous generator according to the real-time grid impedance to ensure its stable operation under weak grid conditions.

[0044] A computer device comprises: a memory and a processor; the memory stores a computer program, wherein the processor implements the steps of any one of the methods of the present invention when executing the computer program.

[0045] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of any one of the methods of the present invention.

[0046] Beneficial effects of the present invention: The virtual synchronous generator adaptive control method under weak power grid conditions provided by the present invention significantly improves the stability and dynamic response performance of the virtual synchronous generator under weak power grid conditions through real-time grid impedance estimation and adaptive control methods. By real-time calculation and adjustment of control parameters, accurate control of active power and reactive power is achieved, and system oscillation and overshoot phenomena are reduced. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 An overall flow chart of a method for adaptively controlling a virtual synchronous generator under weak power grid conditions provided by the first embodiment of the present invention;

[0049] Figure 2 A main circuit topology and control structure diagram of a virtual synchronous generator in a method for adaptively controlling a virtual synchronous generator under weak power grid conditions provided by the first embodiment of the present invention;

[0050] Figure 3 A conventional virtual synchronous generator control block diagram of a virtual synchronous generator adaptive control method under weak power grid conditions provided by the first embodiment of the present invention;

[0051] Figure 4 A block diagram of a virtual synchronous generator adaptive control method under weak power grid conditions provided by the first embodiment of the present invention;

[0052] Figure 5 A small signal model diagram considering power flow coupling of a virtual synchronous generator adaptive control method under weak power grid conditions provided by the first embodiment of the present invention;

[0053] Figure 6 A flow chart of a method for adaptively controlling a virtual synchronous generator under weak power grid conditions is provided for a first embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0055] Example 1, reference Figure 1 , is an embodiment of the present invention, and provides a method for adaptively controlling a virtual synchronous generator under a weak power grid condition, comprising:

[0056] S1: Collect data through sensors, calculate power flow, and establish a small signal model that considers power flow coupling.

[0057] Analysis of traditional virtual synchronous generator control strategy

[0058] The main circuit topology and traditional control structure of the virtual synchronous generator are shown in the figure below: Figure 1 As shown. Among them, Udc represents the DC bus voltage, VT1-VT6 forms a three-phase inverter bridge, L i and R i represents the inductance and resistance on the inverter side, i nv represents the inverter side current, represents the filter capacitor, R g and L g represents the grid impedance, and vg represents the grid voltage.

[0059] Traditional virtual synchronous generator control methods such as Figure 2 As shown, it mainly includes active loop and reactive loop control. The active loop and reactive loop simulate the frequency regulation characteristics and voltage regulation characteristics of the synchronous generator respectively. Their mathematical equations are shown as follows:

[0060]

[0061] Among them, P ref represents the reference active power, ω0 represents the rated angular frequency of the power grid, P e Indicates the actual output active power, D p represents the active power-frequency droop coefficient, ω represents the real-time angular frequency, J represents the virtual moment of inertia, Q ref Represents the reference reactive power, Q e Indicates the actual output reactive power, V r Indicates the output amplitude of the rated voltage, V fr Indicates the real-time output voltage amplitude, K q represents the integral coefficient, and E represents the state variable related to reactive power.

[0062] The present invention proposes a method for adaptively controlling a virtual synchronous generator under weak power grid conditions. Figure 3 As shown in the figure, the main idea is: adopt a grid impedance estimation algorithm, that is, based on the 75Hz single-frequency injection method to estimate the grid impedance Rg and Lg in real time, and adaptively adjust the virtual synchronous generator parameters J, Dp, Kq and Dq according to the real-time changing impedance parameters, so that the inverter control system can operate stably under weak grid conditions.

[0063] In order to further study the performance of virtual synchronous generators under weak grid conditions and the influence of grid impedance parameters on their performance, the present invention establishes a small signal model considering power flow coupling. Figure 4 shown.

[0064] According to the instantaneous power calculation, the expressions of active power and reactive power injected by the virtual synchronous generator into the power grid can be obtained as follows:

[0065]

[0066] Among them, P e represents the active power injected into the grid by the virtual synchronous generator, Q e represents the reactive power injected into the grid by the virtual synchronous generator, R g Represents the resistance component in the grid impedance, L g Represents the inductance component in the grid impedance, V m Represents the effective value of the grid voltage at the common coupling point, V n Indicates the effective value of the grid voltage on the grid side, θ mn Indicates when the virtual synchronous generator is running V m and V n The phase difference.

[0067] When the virtual synchronous generator operates in a weak grid condition, it is necessary to establish a small signal model that considers power flow coupling. The small signal model includes two parts: power control and power flow. Since the size of the grid and the inductance need to be considered in a weak grid condition, a cross-coupling term K will be generated. 12 and K 21 .

[0068] The established small signal model mainly includes two parts: power control and power flow. Among them, power control represents the small signal model of the virtual synchronous generator, and power flow represents the small signal model of the weak power grid. The small signal model of formula (1) is established, and the expression is:

[0069]

[0070] Among them, ΔP e Indicates the change in active power, ΔQ eIndicates the change in reactive power, K 11 Indicates the influence coefficient of phase difference on active power change, K 12 Indicates the influence coefficient of voltage change on active power change, K 21 Indicates the influence coefficient of phase difference on reactive power change, K 22 Indicates the influence coefficient of voltage change on reactive power change, Δθ mn Indicates the change in phase difference, ΔV m Indicates the change in voltage;

[0071] Among them, K 11 , K 12 , K 21 and K 22 With a specific operating point (θ mn0 , Vm0), the formula is expressed as:

[0072]

[0073] Among them, R g Represents the resistance component in the grid impedance, L g Represents the inductance component in the grid impedance, V m0 Represents the effective value of the voltage between the common coupling point and the ground, V n Indicates the effective value of the grid voltage on the grid side, θ mn0 represents the steady-state power angle, and 0 represents the steady-state operating point.

[0074] In order to obtain the desired dynamic response, let:

[0075]

[0076] Equation (8) represents a second-order transfer function, ω n represents the natural frequency, and z represents the damping ratio. 11 (s)) and H 22 The expression of (s) and the relationship between formula (8) can be obtained:

[0077]

[0078] Where s represents the overshoot, and s = 1-M / (K11×K22), M = K 11 ×K 22 -K 12 ×K 21 The parameters of the virtual synchronous generator can be adjusted to achieve the desired response. J represents the virtual moment of inertia of the virtual synchronous generator, σ represents the damping ratio of the system, a0 represents the constant parameter, and K 11 represents the coupling coefficient, a n represents the natural frequency, Kq represents the integral coefficient, ζ represents the damping ratio, ω n represents the natural frequency, K 22 represents the coupling coefficient. From the above equation, we can see that J, K q , D p and D q It's about K 11 and K 22 function, and K 11 and K 22 And by R g , L g 、V m0 and V n0 The parameters are further determined.

[0079] Changes in grid impedance directly affect the performance of virtual synchronous generators, so it is necessary to accurately collect real-time data and understand and quantify these effects by calculating power flows and building small signal models.

[0080] Through real-time data collection and analysis, the state changes of the power grid can be reflected in a timely manner. The small signal model can effectively describe the relationship between power flow and power grid impedance, providing a basis for subsequent control and optimization.

[0081] It ensures that the virtual synchronous generator can accurately respond to the dynamic changes of the power grid and maintain stable operation, provides a scientific basis for the adjustment of control parameters, and improves the reliability and response speed of the control system.

[0082] S2: The grid impedance estimation algorithm is adopted and embedded in the virtual synchronous generator control loop to calculate the real-time grid impedance value and then adjust the control parameters of the virtual synchronous generator.

[0083] The grid impedance will change over time. An online grid impedance estimation algorithm is used to obtain the grid impedance in real time. The virtual synchronous generator control loop adopts a grid impedance method based on 75Hz single-frequency injection. The voltage vo (75Hz) and current io (75Hz) of phase A, phase B and phase C are recorded while injecting the signal id_inj and iq_inj components. Zg (75Hz) can be calculated from this. The grid impedance value Zg (50Hz) can be approximately equal to Zg (75Hz). The formula is:

[0084] According to the recorded voltage and current data, the grid impedance Zg(75Hz) at 75Hz frequency is calculated, and the formula is expressed as:

[0085]

[0086] The grid impedance value Zg(50Hz) at 50Hz frequency is approximately calculated and expressed as:

[0087] Zg(50Hz)≈Zg(75Hz)

[0088] Wherein, Zg(75Hz) represents the grid impedance at a frequency of 75Hz, vo(75Hz) represents the voltage data at a frequency of 75Hz, io(75Hz) represents the current data at a frequency of 75Hz, and Zg(50Hz) represents the grid impedance at a frequency of 50Hz.

[0089] Grid impedance is a dynamically changing parameter, and its latest value needs to be obtained through real-time estimation so as to make real-time adjustments to the control of the virtual synchronous generator.

[0090] Real-time grid impedance estimation can accurately capture the state changes of the grid and improve the adaptive ability of the control system.

[0091] The impedance estimation method embedded in the control loop ensures that the control system can respond quickly to grid changes and avoid system instability. By calculating the grid impedance in real time and adjusting the control parameters, the stable operation of the virtual synchronous generator can be ensured under various conditions, especially under weak grid conditions.

[0092] Improves the system's dynamic response performance and anti-interference ability, ensuring the safety and reliability of the power grid

[0093] S3: According to the real-time grid impedance, the virtual synchronous generator parameters are adaptively adjusted, and the adjusted control parameters enable the virtual synchronous generator to achieve the desired dynamic response.

[0094] Based on the real-time calculated grid impedance value, the resistance and inductance parameters of the grid are updated, and the formula is expressed as:

[0095]

[0096] Using the updated grid impedance parameters, the control parameters of the virtual synchronous generator are derived according to the small signal model considering power flow coupling to make it meet the expected dynamic response. The formula is expressed as:

[0097] J = f(K 11 ,K 22 )

[0098] D p =f(K 11 ,K 22 )

[0099] D q =f(K 11 ,K 22 )

[0100] K q =f(K 11 ,K 22 )

[0101] Among them, R g Represents the resistance component in the grid impedance, ν o (75Hz) indicates the voltage data at a frequency of 5Hz, i o (75Hz) indicates the current data at 75Hz frequency, L g represents the inductance component in the grid impedance, ω0 represents the rated angular frequency of the grid, J represents the virtual moment of inertia of the virtual synchronous generator, and D p Indicates the active power-frequency droop coefficient, D q Represents reactive power-voltage droop coefficient, K q Represents the integral coefficient.

[0102] Combined with the expected dynamic response, the relationship between the virtual synchronous generator parameters and the system response is obtained, and the transfer function expressions of the active loop and the reactive loop are derived as follows:

[0103]

[0104] Among them, G P (s) represents the transfer function of the active power control loop, s represents the complex frequency variable in the Laplace transform, J represents the virtual moment of inertia of the virtual synchronous generator, ω0 represents the rated angular frequency of the power grid, and D p Indicates the active power-frequency droop coefficient, G Q 9s) represents the transfer function of the reactive power control loop, K q Represents the integral coefficient.

[0105] Changes in grid impedance will affect the operating performance of the virtual synchronous generator, and the control parameters need to be adaptively adjusted according to the real-time impedance value to ensure the stability of the system and the desired dynamic response.

[0106] Adaptive adjustment of control parameters can keep the system in optimal operating state when impedance changes in real time.

[0107] The adjusted control parameters ensure the stability and performance of the system, enabling the virtual synchronous generator to quickly achieve the desired dynamic response.

[0108] This step enables the virtual synchronous generator to operate stably under weak grid conditions, improving the reliability and response speed of the system.

[0109] By precisely adjusting the control parameters, complete decoupling and precise control of active power and reactive power is achieved, ensuring the stability and efficient operation of the system under different working conditions.

[0110] On the other hand, this embodiment also provides a virtual synchronous generator adaptive control system under weak power grid conditions, which includes:

[0111] Data acquisition module, recording grid voltage and current data, including voltage and current at 75Hz frequency;

[0112] A control parameter adjustment module adjusts the control parameters of the virtual synchronous generator based on the grid impedance estimation result, including the virtual moment of inertia, droop coefficient and integral coefficient;

[0113] The power flow calculation module calculates the active power and reactive power injected into the grid by the virtual synchronous generator and establishes a small signal model considering the power flow coupling;

[0114] Small signal model building module, which builds a small signal model considering power flow coupling to analyze the impact of grid impedance on the performance of virtual synchronous generators;

[0115] The adaptive control module adjusts the parameters of the virtual synchronous generator according to the real-time grid impedance to ensure its stable operation under weak grid conditions.

[0116] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0118] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0119] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0120] Example 2

[0121] The test system includes a virtual synchronous generator, a data acquisition system and a control system. The data acquisition system consists of voltage and current sensors and a data recorder, which can record grid voltage and current data in real time. The control system is based on a single-chip microcomputer platform and is embedded with a grid impedance estimation algorithm and an adaptive control algorithm. The test environment simulates grid conditions under different working conditions, especially weak grid conditions.

[0122] Before the experiment started, the voltage and current data of the power grid were first collected through sensors. The data acquisition system recorded the voltage and current data of phase A, phase B and phase C, and the sampling frequency was set to 75Hz. The recorded data was used to calculate the active power and reactive power injected into the power grid by the virtual synchronous generator. Based on the results of the power flow calculation, a small signal model considering power flow coupling was established. The establishment of the small signal model is to deeply analyze the influence of grid impedance on the performance of the virtual synchronous generator. The grid impedance estimation algorithm is used to calculate the grid impedance value in real time. By injecting a single-frequency signal (75Hz) and recording the voltage and current data, the grid impedance at a frequency of 75Hz is calculated and the grid impedance at a frequency of 50Hz is approximated. According to the real-time calculated grid impedance value, the resistance and inductance parameters of the grid are updated. According to the real-time grid impedance, the control parameters of the virtual synchronous generator are adaptively adjusted to achieve the desired dynamic response. The experimental results are shown in Table 1.

[0123] Table 1 Experimental results

[0124]

[0125] Through the analysis of the above experimental data, it can be concluded that the present invention has significant advantages and innovations in practical applications.

[0126] The grid impedance values ​​shown in the table have a small variation range in different test objects, indicating that the grid impedance estimation algorithm can accurately and stably calculate the grid impedance parameters. The deviation between the actual data and the reference value is small, which proves the accuracy and reliability of the estimation algorithm.

[0127] From the data of active power and reactive power, it can be seen that the difference between the actual output power and the reference value is very small. For example, the reference active power of test object 1 is 10kW, and the actual value is 9.8kW; the reference reactive power is 5kVar, and the actual value is 4.9kVar. This shows that by adjusting the control parameters in real time, the virtual synchronous generator can achieve the set power output very closely, showing good dynamic response capability.

[0128] In terms of frequency control, the rated frequency is 50Hz, and the actual measured frequency deviation does not exceed 0.3Hz, indicating that the control system has significant advantages in frequency stability. The deviation between the actual voltage value and the rated voltage value is also kept within a small range, indicating that the voltage control effect is good.

[0129] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. An adaptive control method for virtual synchronous generators under weak power grid conditions. It is characterized in that include: Collect data through sensors, calculate power flow, and establish a small signal model that takes into account power flow coupling; The grid impedance estimation algorithm is adopted and embedded in the virtual synchronous generator control loop to calculate the real-time grid impedance value and then adjust the control parameters of the virtual synchronous generator; According to the real-time grid impedance, the parameters of the virtual synchronous generator are adaptively adjusted, and the adjusted control parameters enable the virtual synchronous generator to achieve the desired dynamic response.

2. The method for adaptively controlling a virtual synchronous generator under weak power grid conditions as claimed in claim 1, Features: The data collection through sensors includes data collection through a virtual synchronous generator control loop using a grid impedance method based on 75Hz single frequency injection; The data includes the voltage of phase A, phase B and phase C and the current of phase A, phase B and phase C.

3. The method for adaptively controlling a virtual synchronous generator under weak power grid conditions as claimed in claim 2, Features: Calculating the power flow includes calculating the active power and reactive power injected into the grid by the virtual synchronous generator, which can be expressed as: Among them, P e represents the active power injected into the grid by the virtual synchronous generator, Q e represents the reactive power injected into the grid by the virtual synchronous generator, R g Represents the resistance component in the grid impedance, L g Represents the inductance component in the grid impedance, V m Represents the effective value of the grid voltage at the common coupling point, V n Indicates the effective value of the grid voltage on the grid side, θ mn Indicates when the virtual synchronous generator is running V m and V n The phase difference.

4. The method for adaptively controlling a virtual synchronous generator under weak power grid conditions as claimed in claim 3, Features: The establishment of a small signal model considering power flow coupling includes: in order to deeply analyze the influence of grid impedance parameters on the performance of virtual synchronous generators, a small signal model considering power flow coupling is established, and the formula is expressed as: Where ΔP e Indicates the change in active power, ΔQ e Indicates the change in reactive power, K 11 Indicates the influence coefficient of phase difference on active power change, K 12 Indicates the influence coefficient of voltage change on active power change, K 21 Indicates the influence coefficient of phase difference on reactive power change, K 22 Indicates the influence coefficient of voltage change on reactive power change, Δθ mn Indicates the change in phase difference, ΔV m Indicates the change in voltage; Among them, K 11 , K 12 , K 21 and K 22 With a specific operating point (θ mn0 , Vm0), the formula is expressed as: Among them, R g Represents the resistance component in the grid impedance, L g Represents the inductance component in the grid impedance, V m0 Represents the effective value of the voltage between the common coupling point and the ground, V n Indicates the effective value of the grid voltage on the grid side, θ mn0 Represents the steady-state power angle.

5. The method for adaptively controlling a virtual synchronous generator under weak power grid conditions as claimed in claim 4, Features: The grid impedance estimation algorithm is adopted, embedded in the virtual synchronous generator control loop, and the real-time grid impedance value is calculated, and then the control parameters of the virtual synchronous generator are adjusted. The grid impedance will change over time, and the online grid impedance estimation algorithm is adopted to obtain the impedance of the grid in real time. The virtual synchronous generator control loop adopts the grid impedance method based on 75Hz single-frequency injection. The voltage vo (75Hz) and current io (75Hz) of phase A, phase B and phase C are recorded while injecting the signal id_inj and iq_inj components. Zg (75Hz) can be calculated from this. The grid impedance value Zg (50Hz) can be approximately equal to Zg (75Hz), and the formula expression is: According to the recorded voltage and current data, the grid impedance Zg(75Hz) at 75Hz frequency is calculated, and the formula is expressed as: The grid impedance value Zg(50Hz) at 50Hz frequency is approximately calculated and expressed as: Zg(50Hz)≈Zg(75Hz) Wherein, Zg(75Hz) represents the grid impedance at a frequency of 75Hz, vo(75Hz) represents the voltage data at a frequency of 75Hz, io(75Hz) represents the current data at a frequency of 75Hz, and Zg(50Hz) represents the grid impedance at a frequency of 50Hz.

6. The method for adaptively controlling a virtual synchronous generator under weak power grid conditions as claimed in claim 5, Features: According to the real-time grid impedance, the parameters of the virtual synchronous generator are adaptively adjusted. The adjusted control parameters enable the virtual synchronous generator to achieve the desired dynamic response, including updating the resistance and inductance parameters of the grid based on the real-time calculated grid impedance value. The formula is expressed as: Using the updated grid impedance parameters, the control parameters of the virtual synchronous generator are derived according to the small signal model considering power flow coupling to make it meet the expected dynamic response. The formula is expressed as: J=f(K 11 ,K 22 ) D p =f(K 11 ,K 22 D q =f(K 11 ,K 22 K q =f(K 11 ,K 22 ) Among them, R g Represents the resistance component in the grid impedance, ν o (75Hz) indicates the voltage data at a frequency of 5Hz, i o (75Hz0 represents the current data at 75Hz frequency, L g Represents the inductance component in the grid impedance, ω 0 represents the rated angular frequency of the power grid, J represents the virtual moment of inertia of the virtual synchronous generator, D p Indicates the active power-frequency droop coefficient, D q Represents reactive power-voltage droop coefficient, K q Represents the integral coefficient.

7. The method for adaptively controlling a virtual synchronous generator under weak power grid conditions as claimed in claim 6, Features: According to the real-time grid impedance, the parameters of the virtual synchronous generator are adaptively adjusted. The adjusted control parameters enable the virtual synchronous generator to achieve the desired dynamic response. The relationship between the virtual synchronous generator parameters and the system response is obtained in combination with the desired dynamic response, and the transfer function expressions of the active loop and the reactive loop are derived as follows: Among them, G P (s) represents the transfer function of the active power control loop, s represents the complex frequency variable in the Laplace transform, J represents the virtual moment of inertia of the virtual synchronous generator, ω 0 Indicates the rated angular frequency of the power grid, D p Indicates the active power-frequency droop coefficient, G Q 9s) represents the transfer function of the reactive power control loop, K q Represents the integral coefficient.

8. An adaptive control system for a virtual synchronous generator under weak power grid conditions using the method according to any one of claims 1 to 7, Features: Data acquisition module, recording grid voltage and current data, including voltage and current at 75Hz frequency; A control parameter adjustment module adjusts the control parameters of the virtual synchronous generator based on the grid impedance estimation result, including the virtual moment of inertia, droop coefficient and integral coefficient; The power flow calculation module calculates the active power and reactive power injected into the grid by the virtual synchronous generator and establishes a small signal model considering the power flow coupling; Small signal model building module, which builds a small signal model considering power flow coupling to analyze the impact of grid impedance on the performance of virtual synchronous generators; The adaptive control module adjusts the parameters of the virtual synchronous generator according to the real-time grid impedance to ensure its stable operation under weak grid conditions.

9. A computer device, include: Memory and processor; The memory stores a computer program, characterized in that: when the processor executes the computer program, the steps of the virtual synchronous generator adaptive control method under weak power grid conditions are implemented.

10. A computer-readable storage medium having a computer program stored thereon, Features: When the computer program is executed by a processor, the steps of the method for adaptively controlling a virtual synchronous generator under a weak power grid condition are implemented.

Citation Information

Cited By

  • System for determining the parameters of an adaptive model of a synchronous generator in real time

    RU2848701C1