An improved parameter adaptive method for VSG for single-phase photovoltaic energy storage
By deriving the VSG model and the second-order transfer function, combining the improved parameter adaptive strategy, adaptively adjusting the virtual moment of inertia and damping coefficient, the frequency and voltage instability of single-phase photovoltaic energy storage inverter under external disturbance is solved, and the frequency and voltage instability of single-phase photovoltaic energy storage inverter is realized. Improves dynamic response performance and system stability.
Patent Information
- Application Number
- CN202310536771.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-05-12
AI Technical Summary
In the single-phase photovoltaic energy storage inverter, it is difficult for virtual synchronizers to maintain frequency and voltage stability when external disturbances are large, and the adaptive strategy is complex and the control chip requirements are high, so it cannot effectively coordinate the analysis of the moment of inertia and Damping coefficient.
By deducing the rotor motion equation and second-order transfer function model of the VSG model, combining the improved parameter adaptive strategy, setting the damping ratio and margin conditions, adaptively adjusting the virtual moment of inertia J and damping coefficient D to form boundary conditions, and improving dynamic response performance.
It effectively avoids active oscillation and system overshoot, improves dynamic response performance, simplifies the implementation process of the control chip, and improves system stability.
Smart Images

Figure CN116488211B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virtual synchronous machine control, and more specifically, to a VSG improved parameter adaptive method for single-phase photovoltaic energy storage. Background Art
[0002] Environmental problems have become increasingly serious with the massive use of primary energy. Renewable energy sources such as photovoltaics have been vigorously developed. As a key development in the photovoltaic field in recent years, the installed capacity of distributed energy storage inverters has continued to increase. However, compared with traditional power systems, when the inverter is connected to the grid, it does not have the inertia and damping coefficient of the synchronous generator, so it is difficult to maintain stability when the load or grid changes suddenly. To solve this problem, virtual synchronous generator technology (VSG) came into being. Virtual synchronous generator technology can simulate the inertia and damping coefficient of the synchronous generator through virtual rotation inertia J and damping coefficient D to maintain the stability of the system. However, when the external disturbance is large, the frequency and voltage amplitude may still fluctuate greatly, which may cause device damage and endanger the stability of the system in severe cases.
[0003] In response to the above problems, some researchers have proposed various adaptive adjustment strategies for the moment of inertia and damping coefficient, but most of the studies are based on adaptive adjustment of the moment of inertia or damping coefficient, and the moment of inertia and damping coefficient are not analyzed collaboratively; a few studies have used radial basis function neural network algorithms, improved particle swarm algorithms, and deep neural network algorithms to optimize VSG parameters to improve system stability, but their structures are too complex and the implementation process is cumbersome, which places high demands on the control chip. Summary of the invention
[0004] The object of the present invention is to provide a VSG improved parameter adaptation method for single-phase photovoltaic energy storage to overcome the defects of the prior art.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] A VSG improved parameter adaptive method for single-phase photovoltaic energy storage comprises the following steps:
[0007] S1. The rotor motion equation of the VSG model is derived through the second-order transient model of the synchronous generator's motion equation and the relationship between power and torque;
[0008] S2. Establish the second-order transfer function model of the VSG system and select the virtual moment of inertia J and damping coefficient D in steady state;
[0009] S3. According to the transfer function of the improved parameter adaptive strategy, by setting the damping ratio of the VSG system, selecting the amplitude margin and phase margin of the VSG system, and obtaining the boundary conditions of the virtual moment of inertia J and the damping coefficient D;
[0010] S4. Sample and calculate the actual frequency and active power of the VSG system, substitute them into the improved parameter adaptive strategy and boundary conditions for judgment, and obtain the virtual moment of inertia J and damping coefficient D after adaptation.
[0011] Furthermore, the rotor motion equation of the VSG model in step S1 is:
[0012]
[0013] Where P m is the rated active power, P e is the output active power, J is the virtual inertia coefficient, D is the virtual damping coefficient, ω m is the actual angular velocity of the output voltage, and ω0 is the given reference angular velocity.
[0014] Furthermore, the second-order transfer function model of the VSG system in step S2 is:
[0015]
[0016] in:
[0017]
[0018] Where ξ is the damping ratio, ω n is the natural angular velocity, t s is the response time, σ is the overshoot, U is the output voltage, U grid is the AC bus voltage, and X is the line impedance.
[0019] Furthermore, the transfer function of the improved parameter adaptation strategy in step S3 is:
[0020]
[0021]
[0022] Furthermore, the amplitude margin h and phase margin γ of the VSG system in step S3 are:
[0023]
[0024] The adaptive virtual moment of inertia J and damping coefficient D are:
[0025]
[0026] Compared with the prior art, the advantages of the present invention are: the improved parameter adaptation method of VSG for single-phase photovoltaic energy storage provided by the present invention, compared with the traditional adaptive strategy, links the virtual moment of inertia J and the damping coefficient D, and comprehensively considers the influence of the frequency change rate on the strategy, which can effectively avoid active oscillation and system overshoot, and at the same time the dynamic response performance is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 It is the VSG control principle diagram of the present invention.
[0029] Figure 2 These are two characteristic curve diagrams of the damping ratio boundary of the present invention as a curve cluster.
[0030] Figure 3 It is a flow chart of the improved adaptive strategy of the present invention regarding J and D.
[0031] Figure 4 It is the control loop diagram of the present invention. DETAILED DESCRIPTION
[0032] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0033] The present invention provides a VSG improved parameter adaptive method for single-phase photovoltaic energy storage, comprising the following steps:
[0034] Step S1, deriving the rotor motion equation of the VSG model through the second-order transient model of the motion equation of the synchronous generator and the relationship between power and torque.
[0035] For details, see Figure 1 As shown, this is the VSG control principle diagram of the present invention, where L f is the filter inductor, C f is the filter capacitor, Z line P is the line impedance from the inverter output to the AC bus. e , Q are the active power and reactive power output by the inverter respectively.
[0036] From the second-order transient model of the motion equation of the synchronous generator and the relationship between power and torque, we can get:
[0037]
[0038] Where, T m is the mechanical torque, T e is the electromagnetic torque, J0 is the inertia coefficient, D0 is the damping coefficient, ω grid is the grid angular frequency, P m is the mechanical power, ω m is the actual angular velocity.
[0039] According to formula (1), the rotor motion equation of VSG can be obtained:
[0040]
[0041] To simulate the characteristics of synchronous generators, in VSG-based inverters, P m is the rated active power, P e is the output active power, J is the virtual inertia coefficient, its size is J0, D is the virtual damping coefficient, its size is D0ω m ,ω m is the actual angular velocity of the output voltage, and ω0 is the given reference angular velocity.
[0042] Step S2: Establish a second-order transfer function model of the VSG system, and select the virtual moment of inertia J and damping coefficient D in steady state.
[0043] Specifically, the traditional droop control in the inverter parallel system is shown in equation (3), where k p is the active power droop coefficient. Combining equation (2) and equation (3), we can get equation (4), which is the active power control equation of this system.
[0044] P m =P0+k p (ω0-ω m ) (3)
[0045]
[0046] By the droop control of VSG, when the output line impedance is inductive and X and the phase difference δ between the output voltage U and the AC bus voltage Ugrid is small enough, we have:
[0047]
[0048] in:
[0049] δ=∫(ω m -ω grid ) (6)
[0050] Take the first and second derivatives with respect to time:
[0051]
[0052] Substituting the above equations (7) and (8) into equation (4), we get:
[0053]
[0054] Perform a Laplace transform:
[0055]
[0056] The classic second-order transfer function is obtained and compared with the traditional second-order closed-loop function:
[0057]
[0058] get:
[0059]
[0060] Where ξ is the damping ratio, ω n is the natural angular velocity, t s is the response time, σ is the overshoot, U is the output voltage, U grid is the AC bus voltage, X is the line impedance, and it can be seen from formula (12) that the dynamic response performance of the VSG system is determined by J and D. If the value of D is too small, it will cause under-damped oscillation, and if it is too large, it will cause the response speed to slow down; if the value of J is too large, it will cause violent oscillation, and if it is too small, it will cause the response speed to slow down. The initial virtual inertia J0=15 and the damping coefficient D0=1000 are taken comprehensively.
[0061] If only the rotor motion equation of the VSG active power control inner loop is considered, that is, kp = 0, the equation (12) can be simplified to:
[0062]
[0063] If only the rotor motion equation of the VSG active power control inner loop is considered, that is, kp = 0, the equation (12) can be simplified to:
[0064]
[0065] make We can get:
[0066] J=D 2 c (15)
[0067] when hour,
[0068] J0=J=D 2 c=D0 2c (16)
[0069] when When , substitute formula (16) into formula (13), we can get:
[0070]
[0071] From the above formula (13), we can get the corresponding relationship between k and m:
[0072]
[0073] It can be obtained that Jmax is related to the system's allowable active power change value ΔP and the system's allowable frequency change value Δf:
[0074]
[0075] The above formula is the expression of k. It can be analyzed that the value of k is related to the maximum frequency range allowed by the system and the maximum power variation range allowed by the system.
[0076] Step S3: According to the transfer function of the improved parameter adaptive strategy, by setting the damping ratio of the VSG system, selecting the amplitude margin and phase margin of the VSG system, and obtaining the boundary conditions of the virtual moment of inertia J and the damping coefficient D.
[0077] Specifically, this embodiment proposes an adaptive strategy based on J value and D value according to the above characteristics:
[0078]
[0079] In order to make the control system moderately damped, converge quickly and respond quickly, the system is designed as an underdamped system. The value range of the damping ratio ξ is 0-1. Formula (24) is obtained by formula (11) and (12), which is the amplitude margin h and phase margin γ of this second-order system.
[0080]
[0081] The amplitude margin is greater than 0dB. The general system requires a phase margin of 45-90°, and this system takes a phase margin of 60°.
[0082] γ ≥ 0.612 (25)
[0083] Gpo is the main pole of this system. In order to shorten the adjustment time, the main pole is kept away from the imaginary axis. The value range is shown in formula (27):
[0084]
[0085] The open-loop transfer function of this system is obtained by equations (11) and (12):
[0086]
[0087] At the cutoff frequency fc, the amplitude gain of the open-loop transfer function is 1:
[0088] |G po (jω c )|=1 (28)
[0089] get:
[0090]
[0091] From the above formula, we get:
[0092]
[0093] The expression of cut-off frequency fc is obtained:
[0094]
[0095] In order to make the system stable, that is, the cut-off frequency does not exceed the system frequency, the cut-off frequency is taken as one tenth of twice the system frequency f0:
[0096] The boundary conditions of D can be obtained:
[0097]
[0098] Referring to the national standard GB / T 33593-2017 "Technical Requirements for Grid Connection of Distributed Power Plants", the system's allowable output voltage frequency range is 49.5Hz-50.2Hz. According to the EN50438 standard, the system's allowable output active power is 40-100% of the rated power. Because:
[0099]
[0100] Can be used as boundary conditions for D:
[0101]
[0102] By using (24) and the above boundary conditions, we can obtain the value range of D as follows: Figure 2 shown.
[0103] From equation (14), we can get the power function curve cluster of D with respect to J when the damping ratio takes different values. The damping ratio boundary shown in the figure is the two characteristic curves of the curve cluster, which take the maximum and minimum values of the damping ratio respectively. The time adjustment boundary is obtained by equation (26). Combining equations (32) and (34), we can get Figure 2 The Dmax, Dmin, Jmax, and Jmin shown are:
[0104]
[0105] The flowchart of the improved adaptive strategy regarding J value and D value is as follows Figure 3 As shown, the control loop is as follows Figure 4 shown.
[0106] Step S4: sample and calculate the actual frequency and active power of the VSG system, substitute them into the improved parameter adaptive strategy and boundary conditions for judgment, and obtain the virtual moment of inertia J and damping coefficient D after adaptation.
[0107] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, the patent owner may make various variations or modifications within the scope of the appended claims. As long as they do not exceed the protection scope described in the claims of the present invention, they should be within the protection scope of the present invention.
Claims
1. A VSG improved parameter adaptive method for single-phase photovoltaic energy storage, characterized in that: The following steps are involved: S1. The rotor motion equation of the VSG model is derived through the second-order transient model of the synchronous generator's motion equation and the relationship between power and torque; S2. Establish the second-order transfer function model of the VSG system and select the virtual moment of inertia J and damping coefficient D in steady state; S3. According to the transfer function of the improved parameter adaptive strategy, by setting the damping ratio of the VSG system, selecting the amplitude margin and phase margin of the VSG system, and obtaining the boundary conditions of the virtual moment of inertia J and the damping coefficient D; S4, sample and calculate the actual frequency and active power of the VSG system, substitute them into the transfer function and boundary conditions of the improved parameter adaptive strategy for judgment, and obtain the virtual moment of inertia J and damping coefficient D after adaptation; The transfer function of the improved parameter adaptive strategy in step S3 is: The amplitude margin h and phase margin γ of the VSG system in step S3 are: The adaptive virtual moment of inertia J and damping coefficient D are:
2. The VSG improved parameter adaptive method for single-phase photovoltaic energy storage according to claim 1, characterized in that: The rotor motion equation of the VSG model in step S1 is: Where P m is the rated active power, P e is the output active power, J is the virtual moment of inertia, D is the virtual damping coefficient, ω m is the actual angular velocity of the output voltage, and ω0 is the given reference angular velocity.
3. The VSG improved parameter adaptive method for single-phase photovoltaic energy storage according to claim 1, characterized in that: The second-order transfer function model of the VSG system in step S2 is: in: Where ξ is the damping ratio, ω n is the natural angular velocity, t s is the response time, σ is the overshoot, U is the output voltage, U grid is the AC bus voltage, and X is the line impedance.
