VSG control method, system and device based on phase-locked loop

The grid frequency and phase signals are obtained through the phase-locked loop, and the active and reactive power of the VSG system are independently controlled, which solves the coupling problem caused by frequency and phase mismatch in the traditional VSG control method, improves the response speed and system stability, and realizes the Faster power adjustment and greater inertia support.

CN118971648APending Publication Date: 2024-11-15ZHUHAI POWER SUPPLY BUREAU GUANGDONG POWER GIRD CO +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410964486.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

When the inertial unit of the control system itself generates frequency and phase, the traditional VSG control method leads to mismatch with the power grid system, and the reactive power and active power coupling occurs, and the power response speed is low, making it difficult to incorporate into the power grid system.

Method used

Using the VSG control method based on the phase-locked loop, the frequency and phase signals of the power grid system are obtained through the phase-locked loop, and transmitted to the VSG inertial unit and virtual excitation unit to generate a decoupling and adjustment signal, so as to realize the independence of active and reactive power to the power grid system. Control to improve response speed and system stability.

Benefits of technology

The frequency response characteristics in the traditional VSG control method are realized, providing inertia support for the power grid, improving the power adjustment response speed, achieving complete decoupling of active and reactive power, and enhancing the safety and reliability of the system and inertia control capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971648A_ABST
    Figure CN118971648A_ABST
Patent Text Reader

Abstract

The invention provides a VSG control method, system and device based on a phase-locked loop. The system comprises a VSG inertial unit, a virtual excitation unit, a sampling conversion unit, the phase-locked loop, a current loop, a modulation loop and a controlled loop. The method specifically comprises the following steps: the phase-locked loop acquires an actual frequency signal and a phase signal; the VSG inertial unit obtains a d-axis current reference instruction according to the actual frequency signal and the reference frequency signal; the virtual excitation unit obtains a q-axis current reference instruction according to the reactive power signal; the sampling conversion unit performs dq conversion on the three-phase signal based on the phase signal to obtain a first feedback signal; the current loop generates a decoupling adjusting signal according to the d-axis current reference instruction, the q-axis current reference instruction and the first feedback signal; and the modulation ring converts the decoupling adjustment signal into a modulation wave, and the controlled ring controls the VSG grid-connected output power according to the modulation wave. The response speed is faster than that of a traditional VSG during power adjustment, complete decoupling can be achieved, and larger inertia can be set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field, and in particular to a VSG control method, system and device based on a phase-locked loop. Background Art

[0002] The large-scale development and grid connection of distributed power sources have brought great challenges to the stable operation of the power grid. The essential reason is that these distributed power sources connected to the grid through power electronic devices do not have rotational inertia and damping characteristics. Therefore, the existing technology introduces VSG control strategy to solve the above problems. VSG control strategy can simulate the mechanical and electromagnetic characteristics of synchronous generators to make distributed power converters have the inertia and damping characteristics of traditional synchronous generators, thereby improving the transient process of distributed power converter control and providing inertia support for the system. However, in the traditional VSG control method, since the frequency and phase in the control process are generated by the control system's own VSG inertia unit, this design structure makes it difficult for the control system to be incorporated into the power grid system. At the same time, since the frequency and phase generated by the VSG inertia unit do not match the frequency and phase of the power grid system, the control system inevitably has reactive power and active power coupling; in addition, when such traditional VSG systems perform power regulation, the power response command must pass through the traditional VSG inertia link, resulting in a low response speed. Therefore, there is an urgent need for a VSG control method that can overcome the defects of the frequency and phase control method in the control process of the VSG inertial unit of the control system itself. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a method, system, device and medium based on a VSG phase-locked loop, which can overcome the defects existing in the traditional VSG control method.

[0004] In a first aspect, an embodiment of the present invention provides a VSG control method based on a phase-locked loop, which is applied to a VSG control system, wherein the VSG control system includes a VSG inertial unit, a virtual excitation unit, a sampling conversion unit, a phase-locked loop, a current loop, a modulation loop and a controlled loop; the controlled loop is electrically connected to a power grid system through a converter; the method includes:

[0005] The phase-locked loop acquires an actual frequency signal and a phase signal of the power grid system, and transmits the actual frequency signal to the VSG inertial unit;

[0006] The VSG inertial unit obtains an active power signal according to the actual frequency signal and the reference frequency signal of the power grid system, converts the active power signal into a d-axis current reference instruction and transmits it to the current loop;

[0007] The virtual excitation unit acquires a reactive power signal of the power grid system, converts the reactive power signal into a q-axis current reference instruction, and transmits the instruction to the current loop;

[0008] The sampling and conversion unit acquires the three-phase signal of the power grid system, performs dq conversion on the three-phase signal based on the phase signal, obtains a first feedback signal and transmits it to the current loop;

[0009] The current loop generates a decoupling adjustment signal according to the d-axis current reference command, the q-axis current reference command and the first feedback signal, and transmits the decoupling adjustment signal to the modulation loop;

[0010] The modulation ring performs a dq inverse transformation to convert the decoupling adjustment signal into a modulation wave, and transmits the modulation wave to the controlled ring after being carried on a carrier;

[0011] The controlled loop controls the VSG grid-connected output power according to the modulation wave, and obtains a second feedback signal according to the sampling of the controlled loop to form a closed loop.

[0012] In some embodiments of the present invention, the VSG inertial unit obtains an active power signal according to the actual frequency signal and the reference frequency signal of the power grid system, and the step of converting the active power signal into a d-axis current reference instruction and transmitting it to the current loop includes:

[0013] The VSG inertial unit subtracts the actual frequency signal from the reference frequency signal to obtain a first difference signal;

[0014] The VSG inertial unit performs frequency response processing on the first difference signal based on preset VSG synchronous power, VSG virtual inertia, VSG droop coefficient and VSG damping coefficient to obtain frequency response power;

[0015] Superimposing the frequency response power with a preset reference power instruction to obtain an active power signal;

[0016] The VSG inertial unit obtains the d-axis current reference instruction according to the active power signal, the preset VSG reference active power and the reference voltage of the power grid system.

[0017] In some embodiments of the present invention, the virtual excitation unit acquires the reactive power signal of the power grid system, converts the reactive power signal into a q-axis current reference instruction, and transmits the instruction to the current loop, including:

[0018] The virtual excitation unit obtains the actual reactive power of the power grid system, and subtracts the actual reactive power from a preset reference reactive power to obtain a reactive power signal;

[0019] The virtual excitation unit performs reactive droop processing on the reactive power signal according to a preset VSG droop coefficient to obtain a first reactive current;

[0020] The virtual excitation unit converts the first reactive current into the q-axis current reference instruction and transmits the converted instruction to the current loop.

[0021] In some embodiments of the present invention, the sampling and conversion unit acquires the three-phase signal of the power grid system, performs dq conversion on the three-phase signal based on the phase signal, obtains the first feedback signal and transmits it to the current loop, including:

[0022] The sampling and conversion unit acquires the three-phase signal from the power grid system, wherein the three-phase signal includes a voltage vector signal and a current vector signal;

[0023] The sampling and conversion unit converts the voltage vector signal into a DC voltage feedback signal and an AC voltage feedback signal through dq conversion according to the phase signal;

[0024] The sampling conversion unit converts the current vector signal into a sampled active current and a sampled reactive current through dq conversion according to the phase signal;

[0025] The sampling conversion unit transmits the DC voltage feedback signal, the AC voltage feedback signal, the sampled active current and the sampled reactive current to the current loop.

[0026] In some embodiments of the present invention, a converter is further provided between the current loop and the modulation loop; the decoupling adjustment signal includes a first decoupling signal and a second decoupling signal; and the step of the current loop generating a decoupling adjustment signal according to the d-axis current reference instruction, the q-axis current reference instruction and the first feedback signal and transmitting the decoupling adjustment signal to the modulation loop includes:

[0027] The current loop processes the difference between the d-axis current reference instruction and the sampled active current through a proportional-integral algorithm to obtain a first integral signal;

[0028] The current loop obtains the first decoupling signal according to the first integral signal, the DC voltage feedback signal and the sampled reactive current;

[0029] The current loop processes the difference between the q-axis current reference instruction and the sampled reactive current through a proportional-integral algorithm to obtain a second integral signal;

[0030] The current loop obtains a second decoupling signal according to the second integral signal, the AC voltage feedback signal and the sampled active current;

[0031] The current loop transmits the first decoupling signal and the second decoupling signal to the modulation loop respectively through the inverter.

[0032] In some embodiments of the present invention, after the step of transmitting the first decoupling signal and the second decoupling signal to the modulation loop through the converter, the current loop further comprises:

[0033] The controlled loop obtains a d-axis current feedback signal and a q-axis current feedback signal according to the input first decoupling signal and the second decoupling signal;

[0034] The current loop processes the difference between the d-axis current reference instruction and the d-axis current feedback signal output by the controlled loop through the proportional-integral algorithm to obtain the first integral signal;

[0035] The current loop processes the difference between the q-axis current reference instruction and the q-axis current feedback signal output by the controlled loop through the proportional-integral algorithm to obtain the second integral signal.

[0036] In some embodiments of the present invention, the controlled loop controls the VSG grid-connected output power according to the modulation wave, and obtains a second feedback signal according to sampling of the controlled loop to form a closed loop, including:

[0037] The controlled loop obtains a d-axis adjustment signal according to the first decoupling signal, and obtains a q-axis adjustment signal according to the second decoupling signal;

[0038] The controlled loop controls the output power of the VSG according to the d-axis adjustment signal and the q-axis adjustment signal, and forms the closed loop according to the second feedback signal obtained by voltage and current sampling calculation.

[0039] In the second aspect, an embodiment of the present invention provides a VSG control system, which includes a VSG inertial unit, a virtual excitation unit, a sampling conversion unit, a phase-locked loop, a current loop, a modulation loop and a controlled loop; the controlled loop is electrically connected to the power grid system through a converter to form a closed loop; the system is used to execute the phase-locked loop-based VSG control method described in the above-mentioned embodiment.

[0040] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory and a processor, wherein the memory is used to store at least one program, and the processor is used to load the at least one program to execute the phase-locked loop-based VSG control method described in any one of the embodiments of the above aspects.

[0041] The VSG control method based on a phase-locked loop according to the embodiment of the present invention has at least the following beneficial effects: the embodiment of the present invention provides a VSG control method based on a phase-locked loop, which provides frequency and phase through a phase-locked loop, and can realize the frequency response characteristics of the traditional VSG, and provide inertia support for the power grid like the traditional VSG, solving the problem that the power command response needs to go through the inertia link. The improved VSG control strategy has a faster response speed than the traditional VSG when performing power regulation; and the active and reactive coupling of the improved VSG control method comes from the current control link, which can achieve complete decoupling; the improved VSG control method can limit the power through the current loop, so in a specific application scenario, a larger inertia can be set for it without worrying that the output power of the VSG exceeds the limit during the frequency response process; finally, due to the existence of the phase-locked loop, it is safer and more reliable than the traditional VSG in the engineering implementation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is a flow chart of a VSG control method based on a phase-locked loop provided by an embodiment of the present invention;

[0043] Figure 2 is a flow chart of a VSG control system based on a phase-locked loop provided by an embodiment of the present invention;

[0044] Figure 3 is a flow chart of a current loop and a controlled loop provided by an embodiment of the present invention;

[0045] Figure 4 It is a schematic diagram of the working principle of the current loop and the controlled loop provided by an embodiment of the present invention;

[0046] Figure 5 is a schematic diagram of a step response of a VSG control system according to an embodiment of the present invention;

[0047] Figure 6 is a schematic diagram of simulation test parameters of an embodiment of the present invention;

[0048] Figure 7 is a schematic diagram comparing the frequency responses of a conventional VSG control method and an embodiment of the present invention;

[0049] Figure 8 is a schematic diagram comparing the power command response of the traditional VSG control method and the embodiment of the present invention;

[0050] Fig. 9 is a schematic diagram comparing the inertia characteristics of a conventional VSG control method and an embodiment of the present invention;

[0051] Fig.10 Schematic diagram comparing active and reactive coupling characteristics between a conventional VSG control method and an embodiment of the present invention;

[0052] Fig.11 A schematic diagram of an experimental wiring topology of an embodiment of the present invention;

[0053] Fig.12 It is a schematic diagram of the actual experimental results of the VSG frequency response based on the phase-locked loop according to an embodiment of the present invention;

[0054] Fig.13 is a schematic diagram comparing the theoretical analysis results of the frequency response characteristics of the embodiment of the present invention and the traditional VSG;

[0055] Fig.14 2 is a schematic diagram comparing power command response experimental results of an embodiment of the present invention and a conventional VSG;

[0056] Fig.15 It is a structural diagram of a computer device provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0057] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0058] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0059] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0060] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution.

[0061] The embodiment of the present invention provides a VSG control method based on a phase-locked loop, which provides frequency and phase through the phase-locked loop and can realize the frequency response characteristics of the traditional VSG. Like the traditional VSG, it provides inertia support for the power grid and solves the problem that the power command response needs to go through the inertia link: the improved VSG control strategy has a faster response speed than the traditional VSG when performing power regulation; and the active and reactive coupling of the improved VSG control method comes from the current control link, which can achieve complete decoupling; the improved VSG control method can limit the power through the current loop, so in specific application scenarios, a larger inertia can be set for it without worrying about the output power of the VSG exceeding the limit during the frequency response process; finally, due to the existence of the phase-locked loop, it is safer and more reliable than the traditional VSG in the engineering implementation process.

[0062] The concepts mentioned in the embodiments of the present invention are explained below:

[0063] VSG: Virtual Synchronous Generator, is a power electronic technology that simulates the characteristics of a synchronous generator. It achieves synchronous control of the power grid through power electronic devices (such as inverters). The main purpose of VSG technology is to improve the grid-connected performance of renewable energy power generation systems, so that they can better adapt to the needs of the power grid and reduce the impact on the power grid; VSG technology can mainly provide frequency response, voltage regulation, inertial support and damping control functions for the power grid.

[0064] d-axis and q-axis: In the VSG (virtual synchronous generator) system, the d-axis and q-axis are two components in the rotating coordinate system used to describe the AC current or voltage. This design is based on the rotation characteristics of the three-phase current or voltage in space. The d-axis usually represents the DC component or angle component, which is consistent with the phase of the grid voltage. In the rotating coordinate system, the d-axis is consistent with the direction of rotation, so it is also called the angle axis; the q-axis represents the AC component or amplitude component, which is perpendicular to the d-axis. In the rotating coordinate system, the q-axis is perpendicular to the direction of rotation, so it is also called the amplitude axis.

[0065] DQ transformation: the transformation from rectangular coordinate system to polar coordinate system is a commonly used coordinate transformation method in power system. In the analysis of power system, especially in the field of motor control, it is often necessary to transform the voltage and current of AC power from a fixed three-phase coordinate system (stationary coordinate system) to a rotating coordinate system for analysis and control, so as to simplify calculation and improve control performance and efficiency.

[0066] The control method of the embodiment of the present invention is further described below based on the accompanying drawings.

[0067] Reference Figure 1 , Figure 2 , Figure 1A flow chart of a VSG control method based on a phase-locked loop provided in an embodiment of the present invention, Figure 2 A flow chart of a VSG control system based on a phase-locked loop provided in an embodiment of the present invention, wherein the VSG control system includes a VSG inertial unit, a virtual excitation unit, a sampling conversion unit, a phase-locked loop, a current loop, a modulation loop and a controlled loop; the controlled loop is electrically connected to the power grid system through a converter; the method includes but is not limited to the following steps:

[0068] Step S100, the phase-locked loop obtains the actual frequency signal and phase signal of the power grid system, and transmits the actual frequency signal to the VSG inertial unit;

[0069] Step S200, the VSG inertial unit obtains an active power signal according to the actual frequency signal and the reference frequency signal of the power grid system, converts the active power signal into a d-axis current reference instruction and transmits it to the current loop;

[0070] Step S300, the virtual excitation unit obtains a reactive power signal of the power grid system, converts the reactive power signal into a q-axis current reference instruction and transmits it to the current loop;

[0071] Step S400, the sampling and conversion unit acquires a three-phase signal of the power grid system, performs a dq conversion on the three-phase signal based on the phase signal, obtains a first feedback signal and transmits it to the current loop;

[0072] Step S500, the current loop generates a decoupling adjustment signal according to the d-axis current reference command, the q-axis current reference command and the first feedback signal, and transmits the decoupling adjustment signal to the modulation loop;

[0073] Step S600, the modulation ring performs dq inverse transformation to convert the decoupled adjustment signal into a modulation wave, and then transmits the modulation wave to the controlled ring after it is carried on the carrier;

[0074] Step S700: The controlled loop controls the VSG grid-connected output power according to the modulation wave, and obtains a second feedback signal according to the sampling of the controlled loop to form a closed loop.

[0075] It should be noted that since distributed power systems usually do not have rotational inertia and damping characteristics, these parameters need to be simulated by the VSG system. Figure 2In step S100 to step S300, the VSG control method provided by the embodiment of the present invention is different from the traditional VSG control method in that the VSG control method relies on a phase-locked loop to sample the frequency and phase of the power grid system to achieve phase tracking, so that the frequency acquired by the VSG inertial unit introduces the rated frequency of the power grid (i.e., the reference frequency of the power grid system), rather than being generated by the VSG inertial unit itself, resulting in the final generated modulation signal being inconsistent with the required adjustment required for incorporation into the power grid system. The output of the VSG inertial link is the reference instruction of the d-axis of the current loop, and the output of the excitation link is the q-axis current instruction of the current loop, which respectively control the active power and reactive power of the power grid system. Furthermore, in step S400, the VSG system of the embodiment of the present invention also samples the power grid system through the sampling conversion unit. Generally, the signal sampled from the power grid system is a three-phase AC signal, and the VSG system decomposes the signal components of the system into two components, the d-axis and the q-axis. Therefore, it is necessary to convert the three-phase AC signal into a coordinate system established by the d-axis and the q-axis to facilitate subsequent operations in the same coordinate system. In this process, it is also necessary to track the dq transformation of the sampling conversion unit through the phase signal obtained by the phase-locked loop to prevent the phase difference between the VSG system and the power grid system to be connected to be too large. The sampling conversion unit transmits the sampled signal after dq transformation as the first feedback signal to the current loop. In step S500, the control method provided by the embodiment of the present invention adopts a combination of the traditional power control method and the VSG inertia link, and introduces the method of the frequency response characteristics of the VSG inertia unit into the front of the current loop, so that the traditional power control has the frequency response characteristics of the VSG. In this control structure, the output is a power instruction with VSG frequency response characteristics, which is input into the current loop axis as a rated current reference instruction after calculation and conversion. The processing method of the virtual excitation unit is similar. The current reference instruction of the axis is calculated through reactive droop control. When the power instruction needs to be adjusted, the power instruction can be adjusted directly through the current loop. In steps S600 to S700, the current loop modulates the signal and transmits it to the controlled loop. The controlled loop feedbacks the voltage and current signals of the control to realize the closed loop of power control, thereby realizing the control of the output power of the VSG. Further, in one embodiment of the present invention, the controlled loop generates a sampling signal, and the power instruction of the VSG is generated by superposition of the VSG inertia link and the rated power in the control structure. The power instruction generates a modulation signal acting on the converter through the current loop, and finally the signal is fed back through the controlled loop. Among them, the controlled loop is a mathematical analytical model of the converter line filter impedance in the dq coordinate system, that is, an equivalent mathematical model of the filter impedance in the control loop.

[0076] It should be noted that the improved VSG control method has a faster response speed than the traditional VSG when performing power regulation, and it is easier to achieve complete power decoupling; the active and reactive coupling of the improved VSG control method comes from the current control link, and based on theoretical analysis, it can achieve complete decoupling; due to the existence of the phase-locked loop, the modulation link can be incorporated into the power grid system through the control method provided in the embodiment of the present invention; the improved VSG control method can limit the power through the current loop, so a larger inertia can be set for it in specific application scenarios, without worrying about the output power of the VSG exceeding the limit during the frequency response process; finally, due to the existence of the phase-locked loop, it is safer and more reliable than the traditional VSG in the engineering implementation process.

[0077] In addition, in one embodiment, referring to Figure 2 ,exist Figure 1 Step S200 in the illustrated embodiment also includes but is not limited to the following steps:

[0078] Step S210, the VSG inertial unit subtracts the actual frequency signal from the reference frequency signal to obtain a first difference signal;

[0079] Step S220, the VSG inertial unit performs frequency response processing on the first difference signal based on the preset VSG synchronous power, VSG virtual inertia, VSG droop coefficient and VSG damping coefficient to obtain frequency response power;

[0080] Step S230, superimposing the frequency response power with the preset reference power instruction to obtain an active power signal;

[0081] In step S240, the VSG inertial unit obtains a d-axis current reference instruction according to the active power signal, the preset VSG reference active power and the reference voltage of the power grid system.

[0082] It should be noted that in steps S210 to S240, the transfer function G of the VSG inertial unit τ (s) are as follows:

[0083]

[0084] Among them, S E Characterize the VSG synchronization power, H vsg Characterize the VSG virtual inertia, D vsg Characterize the VSG damping coefficient, K f Characterize the VSG droop coefficient, where the key parameters in step S220 are: H vsg , D vsg , K f , S E . Among them, H vsg , Dvsg is the virtual inertia and damping coefficient, which needs to be selected according to the actual situation and grid characteristics, such as: considering the power support size, the inertia characteristics of the grid, the coordinated control with other power sources, etc. Commonly used methods include feasible domain analysis and adaptive control. f is the droop coefficient, same as above, selected according to the required power support requirements, S E Defined as the synchronous power of VSG, its expansion is as follows:

[0085]

[0086] Where, E is the voltage at the output of the converter, U g is the grid connection point voltage, Z is the line impedance, θ is the line impedance angle, and δ is the power angle. Substituting the actual value of the operating point into the parameter S E In summary, after the values ​​of the parameters are determined by the processing method of the above-mentioned embodiment, the VSG inertia link obtains Figure 1 The ΔP shown in M This value is the active power signal. Furthermore, after the VSG inertial unit processes the signal to obtain the active power signal, in order to adjust the VSG grid-connected control, it is necessary to introduce a superimposed reference active power P that can be arbitrarily set and adjusted. ref After calculation and conversion, it is input into the current loop d axis as the rated current reference command. When the power command needs to be adjusted, change P ref The power command can be adjusted directly through the current loop.

[0087] In addition, in one embodiment, referring to Figure 2 ,exist Figure 1 Step S300 in the illustrated embodiment also includes but is not limited to the following steps:

[0088] Step S310, the virtual excitation unit obtains the actual reactive power of the power grid system, and subtracts the actual reactive power from the reference reactive power of the VSG to obtain a reactive power signal;

[0089] Step S320, the virtual excitation unit performs reactive droop processing on the reactive power signal according to a preset VSG droop coefficient to obtain a first reactive current;

[0090] In step S330 , the virtual excitation unit converts the first reactive current into a q-axis current reference instruction and transmits it to the current loop.

[0091] It should be noted that in step S310 to step S330, the actual reactive power Q0 and the reference reactive power Q refThe difference is then processed by reactive droop calculation to obtain the current reference command of the q-axis, so that the current loop and the controlled loop can be adjusted based on the current reference commands of the d-axis and q-axis.

[0092] In addition, in one embodiment, referring to Figure 2 ,exist Figure 1 Step S400 in the illustrated embodiment also includes but is not limited to the following steps:

[0093] Step S410, the sampling and conversion unit acquires a three-phase signal from the power grid system, wherein the three-phase signal includes a voltage vector signal and a current vector signal;

[0094] Step S420, the sampling and conversion unit converts the voltage vector signal into a DC voltage feedback signal and an AC voltage feedback signal through dq conversion according to the phase signal;

[0095] Step S430, the sampling conversion unit converts the current vector signal into a sampled active current and a sampled reactive current through dq conversion according to the phase signal;

[0096] In step S440, the sampling and conversion unit transmits the DC voltage feedback signal, the AC voltage feedback signal, the sampled active current and the sampled reactive current to the current loop.

[0097] It should be noted that the first feedback signal in the above embodiment includes a DC voltage feedback signal U fd , AC voltage feedback signal U fq , sampling active current i md and sampling reactive current i mq The sampling and conversion unit converts the three-phase alternating current transmitted by the power grid system into the dq-axis components in the rotating coordinate system according to the phase signal, and then transmits it to the current loop for subsequent processing.

[0098] In addition, in one embodiment, referring to Figure 3 ,exist Figure 1 Step S500 of the illustrated embodiment also includes but is not limited to the following steps:

[0099] Step S510, the current loop processes the difference between the d-axis current reference command and the sampled active current through a proportional-integral algorithm to obtain a first integral signal;

[0100] Step S520, the current loop obtains a first decoupling signal according to the first integral signal, the DC voltage feedback signal and the sampled reactive current;

[0101] Step S530, the current loop processes the difference between the q-axis current reference instruction and the sampled reactive current through a proportional-integral algorithm to obtain a second integral signal;

[0102] Step S540, the current loop obtains a second decoupling signal according to the second integrated signal, the AC voltage feedback signal and the sampled active current;

[0103] In step S550, the current loop transmits the first decoupling signal and the second decoupling signal to the modulation loop respectively through the inverter.

[0104] It should be noted that, in steps S510 to S550, the current loop and the structure of the current loop in the above-mentioned embodiment are as follows: Figure 3 As shown, the dq axis mathematical model of the current loop is as follows:

[0105]

[0106] Among them, i md Characterize the sampled active current, i mq Characterizes the reactive current signal, U d Characterize the first decoupled signal, U q Characterize the second decoupled signal, U fd Characterizes the DC voltage feedback signal, U fq Characterizes the AC voltage feedback signal, L m Characterization Figure 1 The filter inductor in the front current of the grid system, R m Characterizes the filter resistance in the front current of the access grid system, ω0 characterizes the voltage frequency. Based on this structure, the embodiment of the present invention can achieve complete decoupling of the power signal according to the current loop and the controlled loop. Furthermore, a converter is also provided between the current loop and the controlled loop. The current loop control structure after dq control decoupling is as follows: Figure 3 As shown, the open-loop transfer function of the current loop can be expressed as:

[0107]

[0108] In the above formula, K p Characterization, R m Characterizes the filter resistance in the front current of the grid system, T i Characterization, T a Characterization, T switchCharacterization. Furthermore, since the faster the current loop response speed of the embodiment of the present invention is, the closer its frequency response characteristics are to the traditional VSG, usually, after the current loop is optimized, the response speed can be achieved in milliseconds, and the frequency response characteristics of VSG are usually in seconds. Therefore, the influence of the current loop on the output characteristics of the control strategy can be reduced by parameter optimization. The typical current loop fast response parameter selection method includes the following formula based on the zero-pole cancellation method:

[0109]

[0110] And based on the typical type I system analysis, the following formula is obtained:

[0111]

[0112] Finally, the value scheme can be determined:

[0113]

[0114] In some embodiments of the present invention, after the step of transmitting the first decoupling signal and the second decoupling signal to the modulation loop through the converter, the current loop includes:

[0115] Step S560, the controlled loop obtains a d-axis current feedback signal and a q-axis current feedback signal according to the input first decoupling signal and the second decoupling signal;

[0116] Step S570, the current loop processes the difference between the d-axis current reference command and the d-axis current feedback signal output by the controlled loop through a proportional-integral algorithm to obtain a first integral signal;

[0117] Step S580: The current loop processes the difference between the q-axis current reference command and the q-axis current feedback signal output by the controlled loop through a proportional-integral algorithm to obtain a second integral signal.

[0118] It should be noted that after obtaining the first decoupling signal and the second decoupling signal, the controlled loop will also transmit the first decoupling signal and the second decoupling signal back to the input end of the current loop as a basis for generating the first integral signal and the second integral signal, so that the decoupling effect of the power command is fully improved.

[0119] In some embodiments of the present invention, the controlled loop controls the VSG grid-connected output power according to the modulation wave, and the steps of obtaining the second feedback signal by sampling the controlled loop to form a closed loop include:

[0120] Step S610, the controlled loop obtains a d-axis adjustment signal according to the first decoupling signal, and obtains a q-axis adjustment signal according to the second decoupling signal;

[0121] In step S620, the controlled loop controls the output power of the VSG according to the d-axis adjustment signal and the q-axis adjustment signal, and forms a closed loop according to the second feedback signal calculated by voltage and current sampling.

[0122] It should be noted that if Figure 3 As shown, the controlled loop can demodulate the modulated wave of the above-mentioned embodiment from the carrier, and parse out the signal equivalent to the first decoupling signal and the second decoupling signal after dq transformation, and obtain the converter according to the first decoupling signal and the second decoupling signal to identify the d-axis adjustment signal and the q-axis adjustment signal to control the output power of the VSG. Furthermore, the second feedback signal includes the d-axis current feedback signal and the q-axis current feedback signal, and the controlled loop is part of the closed loop in the entire control structure. The command and modulation signal of the VSG are finally output to the controlled loop, and feedback is performed through the controlled loop sampling to realize the closed-loop feedback regulation of the output power of the VSG.

[0123] The following is the test data related to the simulation effect of the method mentioned in the above embodiment, and the ratio of the embodiment given to the traditional VSG control method. The parameter design of this embodiment is as follows: Figure 6 shown.

[0124] First, the frequency response comparison between the traditional VSG control method and the embodiment of the present invention. At t=1s, the grid frequency of the grid connection point is reduced, and the response amplitude is: Δω n =-0.5rad / s, the frequency response characteristics of the traditional VSG and the power-type VSG control structure improved based on the phase-locked loop are compared. Figure 7 As shown in the simulation results, it can be seen that the two VSG control structures have similar frequency response characteristics.

[0125] Second, the power command response comparison between the traditional VSG control method and the embodiment of the present invention is as follows. At t=1s, the active power command value of the VSG is increased: ΔP m =3.5kW, the power response characteristics of the traditional VSG and the power-type VSG control structure improved based on the phase-locked loop are compared. Figure 8 As shown in the simulation results, it can be seen that the power response speed of the power-type VSG control structure improved based on the phase-locked loop is faster.

[0126] Third, the VSG inertia characteristics of the traditional VSG control method and the embodiment of the present invention are compared. At t=1s, the grid frequency of the grid connection point is reduced, and the response amplitude is: Δω n =-0.5rad / s. Assuming the maximum rated power of the energy storage is 30kW, the frequency response characteristics of the two VSGs are compared under three different inertia conditions. The simulation comparison results are as follows: Fig. 9 shown. Fig. 9In the figure, the three groups of inertia represent the small inertia, critical inertia and large inertia of VSG from small to large. Among them, when the inertia of VSG is less than the critical inertia, the maximum output of its frequency response is within the rated power range of energy storage; when the inertia of VSG is the critical inertia, the maximum output of its frequency response just reaches the rated power of energy storage; when the inertia of VSG is greater than the critical inertia, the maximum output of its frequency response will be greater than the rated power of energy storage. When the inertia setting of traditional VSG exceeds the critical inertia, it may cause its frequency response power to exceed the rated power of the power supply. To prevent such a phenomenon from happening, inertia constraints are usually introduced to design the inertia of VSG within the critical range; the power-type VSG improved based on the phase-locked loop can directly limit the output power of the VSG inertia link through the current loop. Therefore, when the inertia is greater than the critical inertia, it can still ensure that the power support provided by VSG to the power grid does not exceed the rated power of the power supply. By comparing the inertia characteristics of the two VSGs, it can be seen that the power-type VSG improved based on the phase-locked loop can effectively limit the output range of the VSG under the condition of large inertia, rather than limiting the output by limiting inertia like the traditional VSG. This makes the power-type VSG improved based on the phase-locked loop more flexible in the adjustment and design of inertia, and can be more adaptable to microgrid operation scenarios that require large inertia support.

[0127] Fourth, the active and reactive coupling characteristics of the traditional VSG control method and the embodiment of the present invention are compared, and the frequency response characteristics are used to observe the active and reactive coupling. At t = 1s, the grid frequency of the grid connection point is reduced, and the response amplitude Δω n =-0.5rad / s. Comparing the active power and reactive power coupling of the two VSGs, Fig.10 As shown in the figure, it can be seen that the frequency response characteristics of the power-type VSG control structure improved by the phase-locked loop are similar to those of the traditional VSG, but there is a slight delay. In terms of power control, the response characteristics of the power-type VSG improved by the phase-locked loop are better than those of the traditional VSG, and there is no large power coupling.

[0128] Further, Figure 11 to Figure 14 This is the experimental result of the VSG control system improved based on the phase-locked loop. The experimental wiring topology is as follows: Fig.11 The actual experimental results of the power type VSG frequency response based on the improved phase-locked loop are shown in Fig.12 As shown in the figure, the power type VSG frequency response experimental power based on the improved phase-locked loop is compared with the theoretical analysis results of the traditional VSG frequency response characteristics. Fig.13 As shown in the figure, the power command response experimental results of the power-type VSG improved by the phase-locked loop and the traditional VSG are compared as shown in the figure. Fig.14 In summary, the simulation and actual experimental results both demonstrate the superiority of the power-type VSG control strategy based on improved phase-locked loop proposed in this patent, and compare and verify its authenticity and effectiveness.

[0129] In the second aspect, an embodiment of the present invention provides a VSG control system based on a phase-locked loop, and the VSG control system based on a phase-locked loop includes a VSG inertia unit, a virtual excitation unit, a sampling and conversion unit, a phase-locked loop, a current loop and a controlled loop; the sampling and conversion unit is electrically connected to the power grid system; the system is used to execute the VSG control method based on the phase-locked loop of the embodiment of the above aspect.

[0130] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory is used to store at least one program, and the processor is used to load at least one program to execute the phase-locked loop-based VSG control method of the embodiment of the above aspect.

[0131] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to execute the VSG control method based on a phase-locked loop as in the above-mentioned embodiment.

[0132] like Fig.15 As shown, Fig.15 is a structural diagram of a computer device provided by an embodiment of the present invention. The present invention also provides a computer device, including:

[0133] The processor 801 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0134] The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the method of the embodiments of this application;

[0135] Input / output interface 803, used to implement information input and output;

[0136] The communication interface 804 is used to realize the communication interaction between the present apparatus and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0137] A bus 805 that transmits information between the various components of the device (e.g., the processor 801, the memory 802, the input / output interface 803, and the communication interface 804);

[0138] The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .

[0139] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0140] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0141] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A VSG control method based on a phase-locked loop, characterized in that: Applied to a VSG control system, the VSG control system includes a VSG inertial unit, a virtual excitation unit, a sampling conversion unit, a phase-locked loop, a current loop, a modulation loop and a controlled loop; the controlled loop is electrically connected to the power grid system through a converter; the method includes: The phase-locked loop acquires an actual frequency signal and a phase signal of the power grid system, and transmits the actual frequency signal to the VSG inertial unit; The VSG inertial unit obtains an active power signal according to the actual frequency signal and the reference frequency signal of the power grid system, converts the active power signal into a d-axis current reference instruction and transmits it to the current loop; The virtual excitation unit acquires a reactive power signal of the power grid system, converts the reactive power signal into a q-axis current reference instruction, and transmits the instruction to the current loop; The sampling and conversion unit acquires the three-phase signal of the power grid system, performs dq conversion on the three-phase signal based on the phase signal, obtains a first feedback signal and transmits it to the current loop; The current loop generates a decoupling adjustment signal according to the d-axis current reference command, the q-axis current reference command and the first feedback signal, and transmits the decoupling adjustment signal to the modulation loop; The modulation ring performs a dq inverse transformation to convert the decoupling adjustment signal into a modulation wave, and transmits the modulation wave to the controlled ring after being carried on a carrier; The controlled loop controls the VSG grid-connected output power according to the modulation wave, and obtains a second feedback signal according to the sampling of the controlled loop to form a closed loop.

2. The VSG control method based on a phase-locked loop according to claim 1, characterized in that: The step of the VSG inertial unit acquiring an active power signal according to the actual frequency signal and the reference frequency signal of the power grid system, converting the active power signal into a d-axis current reference instruction and transmitting the instruction to the current loop comprises: The VSG inertial unit subtracts the actual frequency signal from the reference frequency signal to obtain a first difference signal; The VSG inertia unit performs frequency response processing on the first difference signal based on preset VSG synchronous power, VSG virtual inertia, VSG droop coefficient and VSG damping coefficient to obtain a power instruction of frequency response; Superimposing the power command of the frequency response with a preset reference power command to obtain an active power signal; The VSG inertial unit obtains the d-axis current reference instruction according to the active power signal, the preset VSG reference active power and the reference voltage of the power grid system.

3. The VSG control method based on a phase-locked loop according to claim 1, characterized in that: The virtual excitation unit acquires the reactive power signal of the power grid system, converts the reactive power signal into a q-axis current reference instruction, and transmits the instruction to the current loop, including: The virtual excitation unit obtains the actual reactive power of the power grid system, and subtracts the actual reactive power from a preset reference reactive power to obtain a reactive power signal; The virtual excitation unit performs reactive droop processing on the reactive power signal according to a preset VSG droop coefficient to obtain a first reactive current; The virtual excitation unit converts the first reactive current into the q-axis current reference instruction and transmits the converted instruction to the current loop.

4. The VSG control method based on a phase-locked loop according to claim 1, characterized in that: The step of the sampling and conversion unit acquiring the three-phase signal of the power grid system, performing dq conversion on the three-phase signal based on the phase signal, obtaining a first feedback signal and transmitting the first feedback signal to the current loop includes: The sampling and conversion unit acquires the three-phase signal from the power grid system, wherein the three-phase signal includes a voltage vector signal and a current vector signal; The sampling and conversion unit converts the voltage vector signal into a DC voltage feedback signal and an AC voltage feedback signal through dq conversion according to the phase signal; The sampling conversion unit converts the current vector signal into a sampled active current and a sampled reactive current through dq conversion according to the phase signal; The sampling conversion unit transmits the DC voltage feedback signal, the AC voltage feedback signal, the sampled active current and the sampled reactive current to the current loop.

5. The VSG control method based on a phase-locked loop according to claim 4, characterized in that: A converter is further provided between the current loop and the modulation loop; the decoupling adjustment signal includes a first decoupling signal and a second decoupling signal; the current loop generates a decoupling adjustment signal according to the d-axis current reference instruction, the q-axis current reference instruction and the first feedback signal, and transmits the decoupling adjustment signal to the modulation loop, comprising: The current loop processes the difference between the d-axis current reference instruction and the sampled active current through a proportional-integral algorithm to obtain a first integral signal; The current loop obtains the first decoupling signal according to the first integral signal, the DC voltage feedback signal and the sampled reactive current; The current loop processes the difference between the q-axis current reference instruction and the sampled reactive current through a proportional-integral algorithm to obtain a second integral signal; The current loop obtains a second decoupling signal according to the second integral signal, the AC voltage feedback signal and the sampled active current; The current loop transmits the first decoupling signal and the second decoupling signal to the modulation loop respectively through the inverter.

6. The VSG control method based on a phase-locked loop according to claim 5, characterized in that: After the step of transmitting the first decoupling signal and the second decoupling signal to the modulation loop through the converter, the method further comprises: The controlled loop obtains a d-axis current feedback signal and a q-axis current feedback signal according to the input first decoupling signal and the second decoupling signal; The current loop processes the difference between the d-axis current reference instruction and the d-axis current feedback signal output by the controlled loop through the proportional-integral algorithm to obtain the first integral signal; The current loop processes the difference between the q-axis current reference instruction and the q-axis current feedback signal output by the controlled loop through the proportional-integral algorithm to obtain the second integral signal.

7. The VSG control method based on a phase-locked loop according to claim 5, characterized in that: The controlled loop controls the VSG grid-connected output power according to the modulation wave, and obtains a second feedback signal according to the sampling of the controlled loop to form a closed loop, including: The controlled loop obtains a d-axis adjustment signal according to the first decoupling signal, and obtains a q-axis adjustment signal according to the second decoupling signal; The controlled loop controls the output power of the VSG according to the d-axis adjustment signal and the q-axis adjustment signal, and forms the closed loop according to the second feedback signal obtained by voltage and current sampling calculation.

8. A VSG control system, characterized in that: The VSG control system includes a VSG inertial unit, a virtual excitation unit, a sampling conversion unit, a phase-locked loop, a current loop, a modulation loop and a controlled loop; the controlled loop is electrically connected to the power grid system through a converter to form a closed loop; the system is used to execute the phase-locked loop-based VSG control method described in any one of claims 1-7.

9. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory is used to store at least one program, and the processor is used to load the at least one program to execute the phase-locked loop-based VSG control method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Virtual synchronous generator control method and system

    CN120090270A

  • Virtual synchronous generator control method and system

    CN120090270B