A method and device for active power control of a virtual synchronous generator based on virtual inertia adaptation and power angle correction.

By using a control method based on virtual inertia adaptation and power angle correction, the problems of angular frequency overshoot and dynamic oscillation of virtual synchronous generators when active power changes are solved, achieving precise control of steady-state active power and improving the stability and control effect of the system.

CN119253773BActive Publication Date: 2025-10-28STATE GRID HUBEI ELECTRIC POWER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411222791.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2025-10-28
Estimated Expiration
2044-09-02

AI Technical Summary

Technical Problem

Existing virtual synchronous generator control technology suffers from problems such as large angular frequency overshoot when active power changes, dynamic oscillation and overshoot of active power when virtual damping is small, and steady-state active power deviation when virtual damping is large. In addition, conventional methods require differential calculations, which leads to system instability.

Method used

A control method based on virtual inertia adaptation and power angle correction is adopted. By calculating the difference between the grid's rated angular frequency and the output frequency of the virtual synchronous generator, and combining integral calculation and proportional correction, the power and angular frequency of the virtual synchronous generator are adjusted to achieve adaptive inertia adjustment and power angle correction.

Benefits of technology

It simultaneously solves the problems of angular frequency overshoot, dynamic oscillation of active power, and steady-state deviation, and eliminates the need for differential operations, thereby improving the stability and control accuracy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119253773B_ABST
    Figure CN119253773B_ABST
Patent Text Reader

Abstract

This invention discloses a method and device for active power control of a virtual synchronous generator based on virtual inertia adaptation and power angle correction. By designing a virtual inertia adaptation method, the frequency overshoot during active power surges is reduced. By designing a power angle correction strategy, the contradictory problems of dynamic oscillations and steady-state power deviations in conventional virtual synchronous generators are resolved. On the one hand, the invention designs a virtual inertia adaptation method based on the dynamic changes in active power and frequency. On the other hand, based on the angular frequency output by the virtual synchronous generator, power angle correction is achieved after adjustment by a proportional controller. This results in a smaller frequency overshoot during active power surges, less active power oscillation and overshoot during grid frequency surges, and no active power deviation in steady state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of grid connection technology, specifically to a method and device for controlling the active power of a virtual synchronous generator based on virtual inertia adaptation and power angle correction. Background Technology

[0002] In recent years, with the increasing penetration rate of new energy grid connection, grid-connected converters have received increasing attention to improve the operational stability of power systems. Virtual synchronous generator (VSR) technology is a key technology for realizing grid-connected converter operation and has also gained widespread attention and application. However, conventional VSR control technology has two main drawbacks: firstly, the output angular frequency of the VSR generates significant overshoot when active power changes; secondly, when the virtual damping is small, the active power dynamics exhibit significant oscillations and overshoot, while when the virtual damping is large, although the oscillations and overshoot can be suppressed, a steady-state active power deviation will occur. Although existing literature has addressed these issues, few studies simultaneously solve both problems, and conventional methods often suffer from drawbacks such as the need for differential calculations and low stability.

[0003] The literature “Yang Yun, Mei Fei, Zhang Chenyu, et al. Cooperative adaptive control strategy of virtual synchronous generator rotational inertia and damping coefficient [J]. Electric Power Automation Equipment, 2019, 39(03): 125-131” studies a virtual synchronous generator active power control strategy based on the cooperative adaptive control of rotational inertia and damping coefficient, which reduces power oscillation and overshoot, but does not solve the problem of deviation in steady-state active power.

[0004] The literature “Lan Zheng, Long Yang, Zeng Jinhui, et al. Transient power oscillation suppression strategy for virtual synchronous generator considering overshoot [J]. Automation of Electric Power Systems, 2022, 46(11):131-141” studies a transient power oscillation suppression strategy for virtual synchronous generators. However, this method requires the use of differential operations, which can easily amplify sampling noise and reduce system stability.

[0005] The literature “Liu Qin'e, Ren Dongfeng, Kang Yiqun, et al. Active power control method of virtual synchronous machine based on damping power adjustment [J]. Smart Power, 2024, 52(03):63-70” studies an active power control method of virtual synchronous machine based on damping power adjustment. It uses a proportional-integral controller to dynamically adjust the damping power, solving the problems of dynamic oscillation and steady-state error of active power, and avoiding the use of differential operations. However, this method does not consider the angular frequency overshoot problem when active power changes abruptly.

[0006] As can be seen from the above analysis, although existing literature has studied improved active power control strategies for virtual synchronous generators, existing methods either require differential operations or fail to simultaneously solve the problems of angular frequency overshoot, active power dynamic oscillation, and steady-state error. Summary of the Invention

[0007] To overcome the problems existing in the active power control of conventional virtual synchronous generators, this invention discloses a method and device for active power control of virtual synchronous generators based on virtual inertia adaptation and power angle correction.

[0008] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0009] A method for active power control of a virtual synchronous generator based on virtual inertia adaptation and power angle correction, characterized by comprising the following steps:

[0010] Step 1: Calculate the difference between the set grid rated angular frequency ω0 and the angular frequency ω output by the virtual synchronous generator control strategy, and multiply it by the droop coefficient k. ω The first power deviation ΔP1 is obtained, which satisfies:

[0011] ΔP1=(ω0-ω)*k ω

[0012] The rated angular frequency ω0 of the power grid is 100π rad / s;

[0013] Step 2: Set the virtual synchronous generator active power reference value P ref Add the first power deviation ΔP1 obtained in step 1 to the result, and subtract the active power P output by the virtual synchronous generator. e The second power deviation ΔP2 is obtained, which satisfies:

[0014] ΔP2=P ref +ΔP1-P e

[0015] Among them, active power P e It is calculated based on the power angle output by the virtual synchronous generator at the previous moment;

[0016] Step 3: Integrate the second power deviation ΔP2 obtained in Step 2 according to the following formula to obtain the first frequency deviation Δω1, which satisfies:

[0017]

[0018] Where s represents the Laplace operator and J represents the adaptive virtual inertia of the virtual synchronous generator;

[0019] Step 4: Add the first frequency deviation Δω1 obtained in Step 3 to the set rated angular frequency ω0 of the power grid to obtain the angular frequency ω output by the virtual synchronous generator, which satisfies:

[0020] ω=ω0+Δω1

[0021] Step 5: Subtract the actual angular frequency ω of the power grid from the angular frequency ω output by the virtual synchronous generator obtained in Step 4. g Then, integration is performed to obtain the initial power angle δ0 of the virtual synchronous generator output, which satisfies:

[0022]

[0023] Step 6: Multiply the angular frequency ω output by the virtual synchronous generator obtained in Step 4 by the scaling factor k. p The power angle correction Δδ is then obtained, and the initial power angle δ0 obtained in step 5 is added to it to obtain the final power angle δ of the virtual synchronous generator output, which satisfies:

[0024] δ=δ0+Δδ

[0025] Δδ=k p ω

[0026] Where, k p The proportionality coefficient and the power angle δ are used to calculate the active power P output by the virtual synchronous generator at the next moment. e .

[0027] Furthermore, the active power P output by the virtual synchronous generator in step 2 e The calculation formula satisfies:

[0028] P e =Kδ'

[0029] in, U is the magnitude of the grid voltage, E is the magnitude of the output voltage of the virtual synchronous generator, X is the equivalent line impedance of the grid, and δ' is the power angle of the output of the virtual synchronous generator at the previous moment.

[0030] Furthermore, the calculation formula for the adaptive virtual inertia J of the virtual synchronous generator in step 3 satisfies:

[0031]

[0032] Where J0 is the initial virtual inertia of the virtual synchronous generator, and k J Let be the virtual inertia adaptive scaling factor, e be the natural base, equal to 2.71828, sgn() be the sign function, ΔP3 be the third power deviation, and Δω2 be the second angular frequency deviation. Their calculation methods satisfy the following:

[0033] ΔP3=Pe -P e '

[0034] Δω2=ω-ω'

[0035] Among them, P e P represents the active power output of the virtual synchronous generator. e 'For P after a delay of time t e ω is the angular frequency output by the virtual synchronous generator, and ω' is ω after a delay time t.

[0036] A virtual synchronous generator active power control device based on virtual inertia adaptation and power angle correction includes:

[0037] The first power deviation calculation module is used to calculate the difference between the set grid rated angular frequency ω0 and the angular frequency ω output by the virtual synchronous generator control strategy, and then multiply it by the droop coefficient k. ω The first power deviation ΔP1 is obtained, which satisfies:

[0038] ΔP1=(ω0-ω)*k ω

[0039] The rated angular frequency ω0 of the power grid is 100π rad / s;

[0040] The second power deviation calculation module is used to calculate the set virtual synchronous generator active power reference value P. ref Add the first power deviation ΔP1 calculated by the first power deviation calculation module, and subtract the active power P output by the virtual synchronous generator. e The second power deviation ΔP2 is obtained, which satisfies:

[0041] ΔP2=P ref +ΔP1-P e

[0042] Among them, active power P e It is calculated based on the power angle output by the virtual synchronous generator at the previous moment;

[0043] The first frequency deviation calculation module is used to integrate the second power deviation ΔP2 calculated by the second power deviation calculation module according to the following formula to obtain the first frequency deviation Δω1, which satisfies:

[0044]

[0045] Where s represents the Laplace operator and J represents the adaptive virtual inertia of the virtual synchronous generator;

[0046] The angular frequency calculation module is used to add the first frequency deviation Δω1 calculated by the first frequency deviation calculation module to the set rated angular frequency ω0 of the power grid to obtain the angular frequency ω output by the virtual synchronous generator, satisfying:

[0047] ω=ω0+Δω1

[0048] The initial power angle calculation module is used to subtract the actual power grid angular frequency ω from the angular frequency ω of the virtual synchronous generator output calculated by the angular frequency calculation module. g Then, integration is performed to obtain the initial power angle δ0 of the virtual synchronous generator output, which satisfies:

[0049]

[0050] The final power angle is calculated by multiplying the angular frequency ω of the virtual synchronous generator output by the angular frequency calculation module by the scaling factor k. p The power angle correction Δδ is then obtained, and added to the initial power angle δ0 calculated by the initial power angle calculation module, to obtain the final power angle δ output by the virtual synchronous generator, which satisfies:

[0051] δ=δ0+Δδ

[0052] Δδ=k p ω

[0053] Where, k p The proportionality coefficient and the power angle δ are used to calculate the active power P output by the virtual synchronous generator at the next moment. e .

[0054] Furthermore, the active power P output by the virtual synchronous generator e The calculation formula satisfies:

[0055] P e =Kδ'

[0056] in, U is the magnitude of the grid voltage, E is the magnitude of the output voltage of the virtual synchronous generator, X is the equivalent line impedance of the grid, and δ' is the power angle of the output of the virtual synchronous generator at the previous moment.

[0057] Furthermore, the calculation formula for the adaptive virtual inertia J of the virtual synchronous generator satisfies:

[0058]

[0059] Where J0 is the initial virtual inertia of the virtual synchronous generator, and k JLet be the virtual inertia adaptive scaling factor, e be the natural base, equal to 2.71828, sgn() be the sign function, ΔP3 be the third power deviation, and Δω2 be the second angular frequency deviation. Their calculation methods satisfy the following:

[0060] ΔP3=P e -P e '

[0061] Δω2=ω-ω'

[0062] Among them, P e P represents the active power output of the virtual synchronous generator. e 'For P after a delay of time t e ω is the angular frequency output by the virtual synchronous generator, and ω' is ω after a delay time t.

[0063] Compared with the prior art, the present invention has the following beneficial effects:

[0064] Compared with conventional methods, the method of the present invention simultaneously solves the problems of angular frequency overshoot, dynamic oscillation of active power and steady-state deviation suppression, and the method of the present invention does not require the introduction of differential operations, making it simpler to implement. Attached Figure Description

[0065] Figure 1 This is a block diagram for the active power control of a conventional virtual synchronous generator.

[0066] Figure 2 The flowchart shows a method for controlling the active power of a virtual synchronous generator based on virtual inertia adaptation and power angle correction proposed in this invention.

[0067] Figure 3 The simulation results show a comparison of active power between the conventional method and the method of this invention.

[0068] Figure 4 The simulation results show a comparison of the angular frequencies of the conventional method and the method of this invention. Detailed Implementation

[0069] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0070] like Figure 2 As shown, this embodiment of the invention provides a method for active power control of a virtual synchronous generator based on virtual inertia adaptation and power angle correction, comprising the following steps:

[0071] Step 1: Calculate the difference between the set grid rated angular frequency ω0 and the angular frequency ω output by the virtual synchronous generator control strategy, and multiply it by the droop coefficient k. ω The first power deviation ΔP1 is obtained, which satisfies:

[0072] ΔP1=(ω0-ω)*k ω

[0073] The rated angular frequency ω0 of the power grid is 100π rad / s;

[0074] Step 2: Set the virtual synchronous generator active power reference value P ref Add the first power deviation ΔP1 obtained in step 1 to the result, and subtract the active power P output by the virtual synchronous generator. e The second power deviation ΔP2 is obtained, which satisfies:

[0075] ΔP2=P ref +ΔP1-P e

[0076] Among them, active power P e It is calculated based on the power angle output by the virtual synchronous generator at the previous moment, and satisfies:

[0077] P e =Kδ'

[0078] in, U is the magnitude of the grid voltage, E is the magnitude of the output voltage of the virtual synchronous generator, X is the equivalent line impedance of the grid, and δ' is the power angle of the output of the virtual synchronous generator at the previous moment.

[0079] Step 3: Integrate the second power deviation ΔP2 obtained in Step 2 according to the following formula to obtain the first frequency deviation Δω1, which satisfies:

[0080]

[0081] Where s represents the Laplace operator, and J represents the adaptive virtual inertia of the virtual synchronous generator, satisfying:

[0082]

[0083] Where J0 is the initial virtual inertia of the virtual synchronous generator, and k J Let be the virtual inertia adaptive scaling factor, e be the natural base, equal to 2.71828, sgn() be the sign function, ΔP3 be the third power deviation, and Δω2 be the second angular frequency deviation. Their calculation methods satisfy the following:

[0084] ΔP3=P e -Pe '

[0085] Δω2=ω-ω'

[0086] Among them, P e P represents the active power output of the virtual synchronous generator. e 'For P after a delay of time t e ω is the angular frequency output by the virtual synchronous generator, and ω' is ω after a delay time t.

[0087] Step 4: Add the first frequency deviation Δω1 obtained in Step 3 to the set rated angular frequency ω0 of the power grid to obtain the angular frequency ω output by the virtual synchronous generator, which satisfies:

[0088] ω=ω0+Δω1

[0089] Step 5: Subtract the actual angular frequency ω of the power grid from the angular frequency ω output by the virtual synchronous generator obtained in Step 4. g Then, integration is performed to obtain the initial power angle δ0 of the virtual synchronous generator output, which satisfies:

[0090]

[0091] Step 6: Multiply the angular frequency ω output by the virtual synchronous generator obtained in Step 4 by the scaling factor k. p The power angle correction Δδ is then obtained, and the initial power angle δ0 obtained in step 5 is added to it to obtain the final power angle δ of the virtual synchronous generator output, which satisfies:

[0092] δ=δ0+Δδ

[0093] Δδ=k p ω

[0094] Where, k p The proportionality coefficient and the power angle δ are used to calculate the active power P output by the virtual synchronous generator at the next moment. e .

[0095] This invention also provides a virtual synchronous generator active power control device based on virtual inertia adaptation and power angle correction, comprising:

[0096] The first power deviation calculation module is used to calculate the difference between the set grid rated angular frequency ω0 and the angular frequency ω output by the virtual synchronous generator control strategy, and then multiply it by the droop coefficient k. ω The first power deviation ΔP1 is obtained, which satisfies:

[0097] ΔP1=(ω0-ω)*k ω

[0098] The rated angular frequency ω0 of the power grid is 100π rad / s;

[0099] The second power deviation calculation module is used to calculate the set virtual synchronous generator active power reference value P. ref Add the first power deviation ΔP1 calculated by the first power deviation calculation module, and subtract the active power P output by the virtual synchronous generator. e The second power deviation ΔP2 is obtained, which satisfies:

[0100] ΔP2=P ref +ΔP1-P e

[0101] Among them, active power P e It is calculated based on the power angle output by the virtual synchronous generator at the previous moment;

[0102] The first frequency deviation calculation module is used to integrate the second power deviation ΔP2 calculated by the second power deviation calculation module according to the following formula to obtain the first frequency deviation Δω1, which satisfies:

[0103]

[0104] Where s represents the Laplace operator and J represents the adaptive virtual inertia of the virtual synchronous generator;

[0105] The angular frequency calculation module is used to add the first frequency deviation Δω1 calculated by the first frequency deviation calculation module to the set rated angular frequency ω0 of the power grid to obtain the angular frequency ω output by the virtual synchronous generator, satisfying:

[0106] ω=ω0+Δω1

[0107] The initial power angle calculation module is used to subtract the actual power grid angular frequency ω from the angular frequency ω of the virtual synchronous generator output calculated by the angular frequency calculation module. g Then, integration is performed to obtain the initial power angle δ0 of the virtual synchronous generator output, which satisfies:

[0108]

[0109] The final power angle is calculated by multiplying the angular frequency ω of the virtual synchronous generator output by the angular frequency calculation module by the scaling factor k. p The power angle correction Δδ is then obtained, and added to the initial power angle δ0 calculated by the initial power angle calculation module, to obtain the final power angle δ output by the virtual synchronous generator, which satisfies:

[0110] δ=δ0+Δδ

[0111] Δδ=k p ω

[0112] Where, k p The proportionality coefficient and the power angle δ are used to calculate the active power P output by the virtual synchronous generator at the next moment. e .

[0113] To verify the effectiveness of the method proposed in this invention, it is compared with the conventional active power control strategy of virtual synchronous generators in grid-connected converters. Figure 1 A comparative simulation study was conducted (as shown). During the simulation, the active power reference value P was... ref The power is 5kW before 4s, and P at 4s ref When the power output suddenly increases from 5kW to 10kW, the actual angular frequency ω of the power grid at 7s is... g The frequency suddenly decreases from 100π rad / s (50 Hz) to 99.8π rad / s (49.9 Hz). The virtual inertia J is 1 kg / m. 2 The rated angular frequency ω0 of the power grid is 100π rad / s, and the droop coefficient k ω The voltage is 3000V, the peak phase voltage of the grid is 311V, and the peak output voltage of the virtual synchronous generator is 311V. The grid line resistance is 2Ω, and the line inductance is 3mH.

[0114] Figure 3 Simulation results comparing the active power of the conventional method and the method proposed in this invention are presented. Figure 4 Simulation results comparing the angular frequencies of the conventional method and the method proposed in this invention are presented. During the simulation, the virtual damping coefficient D of the conventional method was set to 0 and 10 Ws / rad, respectively, while the scaling factor k of the method proposed in this invention was... p For 0.1, k J The value is 1, and the delay time t is 0.1s.

[0115] Depend on Figure 3 It is evident that when the virtual damping coefficient D is zero, the active power and frequency output of the virtual synchronous generator using the conventional method exhibit significant oscillations and overshoot. When the virtual damping coefficient D increases to 10, the oscillations are significantly suppressed. However, due to… Figure 3 It is evident that increasing the virtual damping coefficient leads to a significant increase in the steady-state deviation of active power when the grid frequency deviates (after 7 seconds). This demonstrates that conventional virtual synchronous generator active power control strategies cannot simultaneously suppress dynamic oscillations and eliminate steady-state error by adjusting the virtual damping coefficient. Furthermore, during the 4-second active power abrupt change, the conventional method exhibits a substantial angular frequency overshoot, such as… Figure 4 As shown.

[0116] At the same time, by Figure 3 It is evident that, when employing the method proposed in this invention, the active power output by the virtual synchronous generator exhibits neither dynamic oscillations and overshoot, nor steady-state active power deviation, and is further enhanced by… Figure 4As can be seen, the angular frequency overshoot of the proposed method is significantly reduced even when the active power changes abruptly within 4 seconds. This demonstrates that the proposed method can simultaneously suppress angular frequency overshoot, suppress dynamic oscillations of active power, and eliminate steady-state error. This proves the effectiveness of the proposed method.

[0117] Unlike conventional methods, this invention introduces an adaptive virtual inertia J, which reduces angular frequency overshoot during active power surges. Furthermore, this invention uses the angular frequency output by the virtual synchronous generator to correct the power angle, thus enabling the grid-type converter's virtual synchronous generator active power control strategy to be free from active power oscillations and overshoot in dynamic states, and free from active power steady-state error in steady state.

[0118] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for active power control of a virtual synchronous generator based on virtual inertia adaptation and power angle correction, characterized in that, Includes the following steps: Step 1: Calculate the difference between the set grid rated angular frequency ω0 and the angular frequency ω output by the virtual synchronous generator control strategy, and multiply it by the droop coefficient k. ω The first power deviation ∆P1 is obtained, which satisfies: ; The rated angular frequency ω0 of the power grid is 100π rad / s; Step 2: Set the virtual synchronous generator active power reference value P ref Add the first power deviation ∆P1 obtained in step 1, and subtract the active power P output by the virtual synchronous generator. e The second power deviation ∆P2 is obtained, which satisfies: ; Among them, active power P e It is calculated based on the power angle output by the virtual synchronous generator at the previous moment; Step 3: Integrate the second power deviation ∆P2 obtained in Step 2 according to the following formula to obtain the first frequency deviation ∆ω1, which satisfies: ; Where s represents the Laplace operator and J represents the adaptive virtual inertia of the virtual synchronous generator; Step 4: Add the first frequency deviation ∆ω1 obtained in Step 3 to the set rated angular frequency ω0 of the power grid to obtain the angular frequency ω output by the virtual synchronous generator, which satisfies: ; Step 5: Subtract the actual angular frequency ω of the power grid from the angular frequency ω output by the virtual synchronous generator obtained in Step 4. g Then, integration is performed to obtain the initial power angle δ0 of the virtual synchronous generator output, which satisfies: ; Step 6: Multiply the angular frequency ω output by the virtual synchronous generator obtained in Step 4 by the scaling factor k. p The power angle correction ∆δ is then obtained, and the initial power angle δ0 obtained in step 5 is added to it to obtain the final power angle δ of the virtual synchronous generator output, which satisfies: ; Where, k p The proportionality coefficient and the power angle δ are used to calculate the active power P output by the virtual synchronous generator at the next moment. e ; The formula for calculating the adaptive virtual inertia J of the virtual synchronous generator in step 3 satisfies: ; Where J0 is the initial virtual inertia of the virtual synchronous generator, and k J Let be the virtual inertia adaptive scaling factor, e be the natural base, equal to 2.71828, sgn() be the sign function, ∆P3 be the third power deviation, and ∆ω2 be the second angular frequency deviation. Their calculation methods satisfy the following: ; Among them, P e The active power output of the virtual synchronous generator. For P after a delay time t e ω is the angular frequency output by the virtual synchronous generator. Let ω be the time after the delay t.

2. The active power control method for a virtual synchronous generator based on virtual inertia adaptation and power angle correction according to claim 1, characterized in that, The active power P output by the virtual synchronous generator in step 2 e The calculation formula satisfies: ; in, U is the grid voltage amplitude, E is the output voltage amplitude of the virtual synchronous generator, and X is the equivalent line impedance of the grid. This represents the power angle output by the virtual synchronous generator at the previous moment.

3. A virtual synchronous generator active power control device based on virtual inertia adaptation and power angle correction, characterized in that, include: The first power deviation calculation module is used to calculate the difference between the set grid rated angular frequency ω0 and the angular frequency ω output by the virtual synchronous generator control strategy, and then multiply it by the droop coefficient k. ω The first power deviation ∆P1 is obtained, which satisfies: ; The rated angular frequency ω0 of the power grid is 100π rad / s; The second power deviation calculation module is used to calculate the set virtual synchronous generator active power reference value P. ref Add the first power deviation ∆P1 calculated by the first power deviation calculation module, and subtract the active power P output by the virtual synchronous generator. e The second power deviation ∆P2 is obtained, which satisfies: ; Among them, active power P e It is calculated based on the power angle output by the virtual synchronous generator at the previous moment; The first frequency deviation calculation module is used to integrate the second power deviation ∆P2 calculated by the second power deviation calculation module according to the following formula to obtain the first frequency deviation ∆ω1, which satisfies: ; Where s represents the Laplace operator and J represents the adaptive virtual inertia of the virtual synchronous generator; The angular frequency calculation module is used to add the first frequency deviation ∆ω1 calculated by the first frequency deviation calculation module to the set rated angular frequency ω0 of the power grid to obtain the angular frequency ω output by the virtual synchronous generator, satisfying: ; The initial power angle calculation module is used to subtract the actual power grid angular frequency ω from the angular frequency ω of the virtual synchronous generator output calculated by the angular frequency calculation module. g Then, integration is performed to obtain the initial power angle δ0 of the virtual synchronous generator output, which satisfies: ; The final power angle is calculated by multiplying the angular frequency ω of the virtual synchronous generator output by the angular frequency calculation module by the scaling factor k. p The power angle correction ∆δ is then obtained, and added to the initial power angle δ0 calculated by the initial power angle calculation module, to obtain the final power angle δ output by the virtual synchronous generator, which satisfies: ; Where, k p The proportionality coefficient and the power angle δ are used to calculate the active power P output by the virtual synchronous generator at the next moment. e ; The formula for calculating the adaptive virtual inertia J of the virtual synchronous generator satisfies: ; Where J0 is the initial virtual inertia of the virtual synchronous generator, and k J Let be the virtual inertia adaptive scaling factor, e be the natural base, equal to 2.71828, sgn() be the sign function, ∆P3 be the third power deviation, and ∆ω2 be the second angular frequency deviation. Their calculation methods satisfy the following: ; Among them, P e The active power output of the virtual synchronous generator. For P after a delay time t e ω is the angular frequency output by the virtual synchronous generator. Let ω be the time after the delay t.

4. The active power control device for a virtual synchronous generator based on virtual inertia adaptation and power angle correction according to claim 3, characterized in that, The active power P output by the virtual synchronous generator e The calculation formula satisfies: ; in, U is the grid voltage amplitude, E is the output voltage amplitude of the virtual synchronous generator, and X is the equivalent line impedance of the grid. This represents the power angle output by the virtual synchronous generator at the previous moment.

Citation Information

Patent Citations

  • Multi-parameter adaptive cooperative control method for virtual synchronous generator

    CN117394432A

  • Active power control method and device for virtual synchronous machine of network-forming converter

    CN117639123A