A method, apparatus, device, and storage medium for adaptive VSG parameter control.
By adaptively adjusting the damping coefficient and moment of inertia in the VSG control, and combining active and reactive power control loops, the problem that traditional VSG control cannot fully utilize the converter capacity is solved, thereby improving the grid frequency and stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- STATE GRID SICHUAN ELECTRIC POWER CORP ELECTRIC POWER RES INST
- Filing Date
- 2025-07-31
- Publication Date
- 2026-07-17
Smart Images

Figure CN120934000B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of grid converter control technology, specifically relating to a VSG parameter adaptive control method, device, equipment, and storage medium. Background Technology
[0002] With the intensification of global climate change and increased awareness of environmental protection, the use of traditional fossil fuels has led to substantial greenhouse gas emissions, driving the global transition to renewable energy. New energy sources, such as wind, solar, and hydropower, are gradually becoming an important part of the modern energy structure due to their clean and renewable characteristics. However, the intermittent and fluctuating nature of these renewable energy sources poses a serious challenge to the reliability and stability of power systems.
[0003] To address the instability brought about by renewable energy sources, the application of grid-forming inverters (GFMs) in modern power systems has become particularly important. Renewable energy sources such as wind and solar power typically exhibit intermittent and fluctuating power generation characteristics. Their unstable output power can easily lead to fluctuations in grid frequency and voltage, posing challenges to grid stability and reliability. Traditional synchronous generators maintain grid stability through rotational inertia and automatic regulation systems. However, with the increasing penetration of renewable energy, the proportion of traditional power generation methods is gradually decreasing, and the grid's inertia and stability are also affected.
[0004] Grid-connected converters emerged in this context, with Virtual Synchronous Generator (VSG) control technology gaining widespread attention as an innovative control strategy. VSG aims to simulate the dynamic characteristics of traditional synchronous generators, providing the inertial support required by the power grid. By controlling the converter's output, VSG mimics the mechanical characteristics of a synchronous generator, achieving effective regulation of grid frequency and voltage, and rapidly responding to frequency changes in the power system, thereby improving system dynamic stability. However, current traditional VSG control and existing parameter adaptive control cannot fully utilize converter capacity under varying reference power conditions. Furthermore, existing parameter adaptive control focuses on transient performance improvement, often dynamically adjusting parameters based on frequency changes and deviations to increase stabilization speed, but rarely considers the impact of reference power changes on control performance.
[0005] Therefore, how to enable grid converters to fully utilize their ability to support system frequency, while considering the converter's own safety, making full use of converter capacity, and ensuring the safe and stable operation of weak power grids, is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0006] This application proposes a VSG parameter adaptive control method, device, equipment, and storage medium. This application adjusts the damping coefficient and moment of inertia in VSG control according to the grid converter capacity and the given reference power, so as to provide better frequency support effect while not exceeding the upper limit of converter capacity, and ensure the safe and stable operation of the power grid.
[0007] This application is achieved through the following technical solution:
[0008] A VSG parameter adaptive control method, comprising:
[0009] The corresponding control phase is obtained by using a pre-constructed VSG active control loop; wherein the VSG active control loop is constructed using a second-order synchronous motor model that considers the rotor moment of inertia and damping coefficient, and the moment of inertia and damping coefficient adapt to the converter capacity and the current power reference value.
[0010] The corresponding control amplitude is obtained by using a pre-constructed VSG reactive power control loop; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power;
[0011] The control waveform of the converter is generated based on the control phase and control amplitude.
[0012] In some implementations, the VSG active power control loop is represented as:
[0013]
[0014] in, J and D p These are the moment of inertia and damping coefficient of the active power, respectively. T m and T e These are mechanical torque and electromagnetic torque, respectively. ω N and ω These are the reference angular velocity and the actual angular velocity of the converter, respectively. P ref and P e These are the reference value and the actual value of the converter's output active power, respectively. θ The phase angle is the internal potential.
[0015] In some implementations, the damping coefficient is calculated using the following formula:
[0016]
[0017] in, λ Design margins for parameters; Δf max This is the maximum allowable frequency fluctuation deviation value during normal system operation; S N For the rated capacity of the converter, Q e This represents the actual value of the reactive power output by the converter.
[0018] In some embodiments, the formula for calculating the moment of inertia is:
[0019]
[0020] in, K J This is the constant for calculating the moment of inertia.
[0021] In some implementations, the VSG reactive power control loop is represented as:
[0022]
[0023] in, Q ref and Q e These are the reference value and the actual value of the converter output reactive power, respectively. D q This is the reactive power-voltage droop factor. U ref and U o These are the reference and actual values of the phase voltage, respectively. K q The integral coefficient is... E ref This is the no-load potential. E This represents the output voltage amplitude of the reactive power loop.
[0024] In some implementations, generating the converter's control waveform based on the control phase and control amplitude includes:
[0025] The control phase and control amplitude are used to obtain the control waveform of the converter through voltage synthesis, virtual impedance, voltage outer loop control, current inner loop control, coordinate transformation and sinusoidal pulse width modulation.
[0026] Secondly, this application proposes a VSG parameter adaptive control device, comprising:
[0027] The active power control module uses a pre-built VSG active power control loop to obtain the corresponding control phase; wherein the VSG active power control loop is constructed using a second-order synchronous motor model that considers the rotor's moment of inertia and damping coefficient.
[0028] The parameter adaptive module is used to adaptively calculate and update the moment of inertia and damping coefficient in the VSG active power control loop based on the converter capacity and the current power reference value.
[0029] The reactive power control module uses a pre-built VSG reactive power control loop to obtain the corresponding control amplitude; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power;
[0030] In addition, a post-processing module is used to generate the control waveform of the converter based on the control phase and control amplitude.
[0031] In some embodiments, the post-processing module further includes:
[0032] The calculation unit is used to synthesize the control phase and control amplitude through the terminal voltage to obtain the dq-axis component of the control voltage;
[0033] The virtual impedance unit processes the dq-axis components of the control voltage using virtual impedance to generate a double-closed-loop control signal for voltage and current.
[0034] The voltage outer loop control unit is responsible for regulating the voltage to track the set value;
[0035] The inner current control unit quickly adjusts the current based on current feedback to obtain the terminal voltage reference signal;
[0036] The coordinate transformation unit converts the terminal voltage reference signal to the abc coordinate system through coordinate transformation.
[0037] In addition, a sinusoidal pulse width modulation unit generates the control waveform of the converter by sinusoidal pulse width modulation of the abc components of the terminal voltage reference signal.
[0038] Thirdly, this application proposes an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement any of the above-described embodiments of the VSG parameter adaptive control method.
[0039] Fourthly, this application proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described embodiments of the VSG parameter adaptive control method.
[0040] This application proposes a VSG parameter adaptive control method, which adjusts the damping coefficient and moment of inertia in VSG control according to the converter capacity and a given reference power, so as to provide better frequency support while not exceeding the upper limit of converter capacity, thus ensuring the safe and stable operation of the power grid. This application changes the traditional grid-connected converter and the existing damping coefficient adaptive control strategy. Compared with the problem that the existing adaptive control strategy cannot fully utilize the converter performance during frequency fluctuations and cannot achieve maximum frequency support, this application can achieve maximum frequency support for the grid-connected converter during the maximum frequency fluctuation of the system by designing appropriate adaptive damping coefficient and moment of inertia.
[0041] Accordingly, the VSG parameter adaptive control device, equipment, and storage medium proposed in this application also possess the same technical effects as described above. Attached Figure Description
[0042] The accompanying drawings, which are included to provide a further understanding of the embodiments of this application and form part of this application, do not constitute a limitation on the embodiments of this application. In the drawings:
[0043] Figure 1 This is a flowchart of the adaptive control method proposed in the embodiments of this application;
[0044] Figure 2 This is a block diagram illustrating the principle of the adaptive control device proposed in the embodiments of this application;
[0045] Figure 3 This is a schematic diagram of the adaptive control system architecture proposed in an embodiment of this application;
[0046] Figure 4 This is a schematic diagram of the electronic device proposed in the embodiments of this application;
[0047] Figure 5 This is a schematic diagram of a computer-readable storage medium proposed in an embodiment of this application;
[0048] Figure 6 This is a block diagram of the parameter adaptive module control in an embodiment of this application;
[0049] Figure 7 The system frequency waveform obtained from the simulation under traditional VSG control;
[0050] Figure 8 The system frequency waveform obtained from simulation of the adaptive control method proposed in the embodiments of this application during control;
[0051] Figure 9 The waveform of the converter output power under traditional VSG control obtained from simulation;
[0052] Figure 10The waveform of the inverter output power when controlled by the adaptive control method proposed in the embodiments of this application is obtained through simulation;
[0053] Figure reference numerals and corresponding component names:
[0054] 200-Adaptive control device, 201-Active power control module, 202-Parameter adaptive module, 203-Reactive power control module, 204-Post-processing module, 300-Adaptive control system, 301-Input device, 302-Output device, 303-Processor A, 304-Memory A, 400-Electronic device, 410-Memory B, 420-Processor B, 411-Computer program A, 500-Computer readable storage medium, 511-Computer program B. Detailed Implementation
[0055] In the following, the terms “comprising” or “may include” as used in the various embodiments of this application indicate the presence of a function, operation, or element of the invention and do not limit the addition of one or more functions, operations, or elements. Furthermore, as used in the various embodiments of this application, the terms “comprising,” “having,” and their cognates are intended only to indicate a specific feature, number, step, operation, element, component, or combination of the foregoing and should not be construed as primarily excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing, or adding one or more combinations of the foregoing.
[0056] In various embodiments of this application, the expression "or" or "at least one of A and / or B" includes any combination or all combinations of the words listed simultaneously. For example, the expression "A or B" or "at least one of A and / or B" may include A, may include B, or may include both A and B.
[0057] The terms used in the various embodiments of this application (such as "first," "second," etc.) may modify various constituent elements in the various embodiments, but do not limit the corresponding constituent elements. For example, the above terms do not limit the order and / or importance of the elements. The above terms are only used for the purpose of distinguishing one element from other elements. For example, a first user device and a second user device refer to different user devices, although both are user devices. For example, without departing from the scope of the various embodiments of this application, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element.
[0058] It should be noted that if a description is made of "connecting" one component to another, then the first component can be directly connected to the second component, and a third component can be "connected" between the first and second components. Conversely, when a component is "directly connected" to another component, it can be understood that there is no third component between the first and second components.
[0059] The terminology used in the various embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the various embodiments of this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. The terms (such as those defined in a generally used dictionary) are to be interpreted as having the same meaning as in the context of the relevant technical field and are not to be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.
[0060] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the embodiments and accompanying drawings. The illustrative embodiments and descriptions of this application are only for explaining this application and are not intended to limit this application.
[0061] Example 1:
[0062] This application proposes a VSG parameter adaptive control method. This method calculates the damping coefficient and moment of inertia in the power loop by using the rated capacity of the converter and a given reference power, thereby controlling the operation of the converter, making full use of the converter capacity to achieve better frequency support, and ensuring the safe and stable operation of the power grid.
[0063] like Figure 1 As shown, the adaptive control method proposed in this application includes the following steps:
[0064] Step 110: The corresponding control phase is obtained by using the pre-constructed VSG active control loop; wherein the VSG active control loop is constructed using a second-order synchronous motor model that considers the rotor moment of inertia and damping coefficient, and the moment of inertia and damping coefficient adapt to the converter capacity and the current power reference value.
[0065] Step 120: Obtain the corresponding control amplitude using a pre-constructed VSG reactive power control loop; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power;
[0066] Step 130: Generate the control waveform of the converter based on the control phase and control amplitude.
[0067] Furthermore, in step 110 of this application embodiment, the constructed VSG active power control loop is represented as follows:
[0068] (1)
[0069] in, J and D p These are the moment of inertia and damping coefficient of the active power, respectively. T m and T e These are mechanical torque and electromagnetic torque, respectively. ω N and ω These are the reference angular velocity and the actual angular velocity of the converter, respectively. P ref and P e These are the reference value and the actual value of the converter's output active power, respectively. θ The phase angle is the internal potential.
[0070] Traditional VSG control and existing parameter adaptive control cannot fully utilize converter performance under varying reference power conditions. Furthermore, existing parameter adaptive control focuses on transient performance improvement, mostly dynamically adjusting parameters based on frequency changes and deviations to increase stabilization speed, with less consideration for the impact of reference power changes on control performance. To address this, this application's embodiment considers both reference power variations and converter rated capacity limitations. When the reference power changes, the damping coefficient and moment of inertia are adjusted in real time to improve the converter's frequency support performance. This fully utilizes the converter capacity to generate / absorb more active power during system frequency fluctuations, while ensuring that the generated / absorbed active power does not exceed the converter capacity limit, further enhancing frequency support performance. The specific parameter adaptive control strategy in this application embodiment is as follows:
[0071] To visually observe the active power control output characteristics, equation (1) is simplified, and the output characteristics are as follows when the moment of inertia is ignored:
[0072] (2)
[0073] in, This is the difference between the reference value and the actual value of the converter's output active power. , which is the difference between the actual angular velocity and the reference angular velocity of the converter. According to equation (2), under steady-state conditions, the damping coefficient determines the ratio between the frequency deviation and the generated / absorbed active power. The larger the value, the more active power is generated / absorbed when the system frequency deviates.
[0074] Considering the upper limit of the converter's rated capacity and the reference power, the damping coefficient is calculated using the following formula:
[0075] (3)
[0076] in, λ Design margins for parameters; Δ f max This is the maximum allowable frequency fluctuation deviation value during normal system operation; S N For the rated capacity of the converter, Q e This represents the actual value of the reactive power output by the converter.
[0077] The damping coefficient can be calculated based on the converter capacity and the current power reference value. The damping coefficient changes with the power reference value, enabling the converter to generate the most active power when the frequency fluctuation is at its maximum during normal system operation, thus improving its support performance.
[0078] Simply changing the damping coefficient adaptively cannot guarantee good stability performance. It is necessary to adaptively change the moment of inertia when the damping coefficient changes in order to improve the stability performance of the converter.
[0079] Assuming the line is highly inductive, the actual value of the converter output active power is... P e The calculation formula can be expressed as:
[0080] (4)
[0081] in, U p This refers to the voltage at the converter terminals; U g This refers to the voltage amplitude of the power grid. X all The equivalent reactance of the converter output to the power grid; δ This represents the phase difference between the VSG output voltage and the mains voltage.
[0082] Based on equations (1) and (4), a small-signal model of the active power control loop can be established, and its input-output relationship is as follows:
[0083] (5)
[0084] in, Calculate the constants for VSG; s For the Laplace operator.
[0085] The second-order model (as shown in equation (5)) can be obtained in P ref The natural angular frequency corresponding to the disturbance ω n With damping ratio ζ The expression:
[0086] (6)
[0087] With the damping coefficient already determined by the reference power, the damping ratio is set. ζ =1, so the formula for calculating the moment of inertia is as follows:
[0088] (7)
[0089] in, K J It is the proportionality coefficient between the moment of inertia and the damping coefficient, and also the constant for calculating the moment of inertia.
[0090] Since the reference power is provided by the dispatch center, establishing a parameter adaptation relationship based on this can effectively improve the situation of frequent changes in the parameters of the existing parameter adaptive control, greatly reduce the amount of calculation, and has higher stability and more obvious support effect. In addition, the damping coefficient is determined by the available capacity of the current converter, so the output active power will not reach the active power limit when the system frequency fluctuates, thus improving the stability of system control.
[0091] Furthermore, in step 120 of this application embodiment, the constructed VSG reactive power control loop is represented as follows:
[0092] (8)
[0093] in, Q ref and Q e These are the reference value and the actual value of the converter output reactive power, respectively. D q This is the reactive power-voltage droop factor. U ref and U o These are the reference and actual values of the phase voltage, respectively. K q The integral coefficient is... E ref This is the no-load potential. E The output voltage amplitude of the reactive power loop
[0094] Further, in step 130 of this embodiment, the control phase and control amplitude are synthesized using the terminal voltage to obtain the d-axis and q-axis components of the control voltage. Then, the dq components of the control voltage are processed using virtual impedance to generate a voltage-current dual-loop control signal. Subsequently, in the voltage-current dual-loop, the outer loop is mainly responsible for adjusting the voltage to track the set value; the inner loop rapidly adjusts the current based on current feedback to ensure stable system operation, thereby obtaining the adjusted terminal voltage reference signal. Finally, the terminal voltage reference signal output by the dual-loop is transformed to the abc coordinate system through coordinate transformation, and the control waveform of the converter is generated by sinusoidal pulse width modulation (SPWM) to achieve effective control of the converter. The voltage synthesis, virtual impedance, voltage-current dual-loop control (voltage outer loop control + current inner loop control), coordinate transformation, and sinusoidal pulse width modulation (SPWM) techniques are all conventional techniques in the art, and this part is not the core concept of this application, so they will not be elaborated here.
[0095] Based on the same technical concept described above, this application also proposes a VSG parameter adaptive control device, such as... Figure 2 As shown, the adaptive control device 200 includes:
[0096] The active power control module 201 uses a pre-constructed VSG active power control loop to obtain the corresponding control phase. This VSG active power control loop is constructed using a second-order synchronous motor model that considers the rotor's moment of inertia and damping coefficient. The VSG active power control loop model is as described in the adaptive control method above and will not be repeated here.
[0097] The parameter adaptive module 202 is used to adaptively calculate and update the moment of inertia and damping coefficient in the VSG active power control loop based on the converter capacity and the current power reference value. The adaptive change process of the parameters (moment of inertia and damping coefficient) following the converter capacity and the current power reference value is as described in the adaptive control method above, and will not be repeated here.
[0098] The reactive power control module 203 uses a pre-constructed VSG reactive power control loop to obtain the corresponding control amplitude; the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power. The VSG reactive power control loop model is as described in the above adaptive control method and will not be repeated here.
[0099] Furthermore, the post-processing module 204 is used to generate the control waveform of the converter based on the control phase and control amplitude, and output it to the converter to achieve converter control. The process of generating the control waveform of the converter is as described in the adaptive control method above, and will not be repeated here.
[0100] Figure 2 middle, U dc This refers to the DC bus voltage of the converter. PWM For the control signals of the converter switching transistors; i oabc The three-phase current at the converter port is... i odq Let its dq axis components be; i Labc For the three-phase current of the converter filter inductor, i Ldq Let its dq axis components be; e abc The internal potential of the three phases of the converter. e dq Let its dq axis components be; u oabc The three-phase voltage at the converter port. u odq Let its dq axis components be; L v 、L f , L line , L g These are the equivalent virtual inductance, the terminal filter inductance, the transmission line inductance, and the power grid equivalent inductance, respectively. R v 、R f , R line , R g These are the equivalent virtual resistance, the parasitic resistance of the terminal filter inductor, the transmission line resistance, and the equivalent resistance of the power grid, respectively; Z load This is the equivalent impedance of the load; θ PSC The phase of the internal potential; P ref and P e These are the reference value and the actual value of the converter's output active power, respectively. J and D p These are the moment of inertia and damping coefficient of the active power, respectively. Q ref and Q e These are the reference value and the actual value of the reactive power output of the converter, respectively. U ref and U o These are the reference value and the actual value of the phase voltage, respectively. Dq This is the reactive power-voltage droop factor; K q The integral coefficient; E ref This is the no-load potential; E This refers to the output voltage amplitude of the reactive power loop. s For the Laplace operator; ω N This is the reference angular velocity.
[0101] Furthermore, the control block diagram of the parameter adaptive module 202 in this embodiment is as follows: Figure 6 As shown in the figure, The constant for calculating the damping coefficient, K J The constant for calculating the moment of inertia is shown, and × represents the multiplication module. As can be seen from the diagram, setting an appropriate margin is crucial. λ The damping coefficient and moment of inertia can be obtained from the current reference power. By importing them into the VSG active power loop, parameter adaptive control can be achieved. The parameter values obtained based on the reference power and converter capacity can maximize the utilization of the converter capacity and achieve stronger support capability under frequency fluctuations.
[0102] Furthermore, the post-processing module 204 in this embodiment of the application further includes:
[0103] The calculation unit is used to synthesize the control phase and control amplitude through the terminal voltage to obtain the d-axis and q-axis components (i.e., dq-axis components) of the control voltage.
[0104] The virtual impedance unit processes the dq-axis components of the control voltage using virtual impedance to generate a double-closed-loop control signal for voltage and current.
[0105] The voltage outer loop control unit is responsible for regulating the voltage to track the set value;
[0106] The inner current control unit quickly adjusts the current based on current feedback to ensure stable operation of the system, thereby obtaining the adjusted terminal voltage reference signal.
[0107] The coordinate transformation unit converts the terminal voltage reference signal to the abc coordinate system (three-phase coordinate system) through coordinate transformation;
[0108] Additionally, the sinusoidal pulse width modulation unit generates the control waveform of the converter by sinusoidal pulse width modulation of the three-phase components of the terminal voltage reference signal, thereby achieving effective control of the converter.
[0109] Based on the same technical concept described above, this application also proposes a VSG parameter adaptive control system, such as... Figure 3 As shown, the adaptive control system 300 proposed in this application embodiment includes:
[0110] The system comprises an input device 301, an output device 302, a processor A303, and a memory A304; wherein the number of processors A303 and memory A304 can be one or more. Figure 3 The following description uses a processor A303 and a memory A304 as an example. The input device 301, output device 302, processor A303, and memory A304 can be connected via a bus or other means. Figure 3 Taking the example of a connection between China and Israel via a bus.
[0111] Specifically, by calling the operation instructions stored in memory A304, processor A303 executes the following steps:
[0112] The corresponding control phase is obtained by using a pre-constructed VSG active control loop; wherein the VSG active control loop is constructed using a second-order synchronous motor model that considers the rotor moment of inertia and damping coefficient, and the moment of inertia and damping coefficient adapt to the converter capacity and the current power reference value.
[0113] The corresponding control amplitude is obtained by using a pre-constructed VSG reactive power control loop; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power;
[0114] The control waveform of the converter is generated based on the control phase and control amplitude.
[0115] Optionally, by calling the operation instructions stored in memory A304, processor A303 is also used to execute any of the embodiments in the corresponding examples of the above adaptive control method.
[0116] Based on the same technical concept described above, this application also proposes an electronic device, such as... Figure 4 As shown, the electronic device 400 includes: a memory B410, a processor B420, and a computer program A411 stored in the memory B410 and executable on the processor B420. When the processor B420 executes the computer program A411, it performs the following steps:
[0117] The corresponding control phase is obtained by using a pre-constructed VSG active control loop; wherein the VSG active control loop is constructed using a second-order synchronous motor model that considers the rotor moment of inertia and damping coefficient, and the moment of inertia and damping coefficient adapt to the converter capacity and the current power reference value.
[0118] The corresponding control amplitude is obtained by using a pre-constructed VSG reactive power control loop; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power;
[0119] The control waveform of the converter is generated based on the control phase and control amplitude.
[0120] Optionally, when processor B420 executes computer program A411, it can implement any of the embodiments in the corresponding examples of the above-described adaptive control method.
[0121] It should be noted that the electronic device proposed in this application embodiment is a device used to implement the above-mentioned adaptive control method. Therefore, based on the above-mentioned adaptive control method proposed in this application embodiment, those skilled in the art can understand the specific implementation method and various variations of the electronic device in this application embodiment. Therefore, how the electronic device specifically implements the above-mentioned adaptive control method will not be described in detail here. Any electronic device used by those skilled in the art to implement the above-mentioned adaptive control method falls within the scope of protection of this application.
[0122] Based on the same technical concept described above, embodiments of this application also propose a computer-readable storage medium, such as... Figure 5 As shown, the computer-readable storage medium 500 stores a computer program B511, which, when executed by a processor, performs the following steps:
[0123] The corresponding control phase is obtained by using a pre-constructed VSG active control loop; wherein the VSG active control loop is constructed using a second-order synchronous motor model that considers the rotor moment of inertia and damping coefficient, and the moment of inertia and damping coefficient adapt to the converter capacity and the current power reference value.
[0124] The corresponding control amplitude is obtained by using a pre-constructed VSG reactive power control loop; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power;
[0125] The control waveform of the converter is generated based on the control phase and control amplitude.
[0126] Optionally, when the computer program B511 is executed by the processor, it can implement any of the embodiments corresponding to the above-described adaptive control method.
[0127] It should be noted that the descriptions of each embodiment in the above embodiments have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0128] Example 2:
[0129] This application embodiment constructs a transient simulation model of a grid converter and analyzes the transient response capability and active power generation / absorption during transients of the adaptive control strategy proposed in Embodiment 1 of this application.
[0130] (1) Transient response capability of grid-connected converters
[0131] When the load is switched on / off, the load is switched on within 6s~10s: For example Figure 7 The system frequency waveform under traditional VSG control shows that different reference powers have little impact on frequency fluctuations, and the maximum frequency deviation between the load being switched on and off is ∓0.35Hz. Figure 8 The system frequency waveform when using the adaptive control method proposed in this application shows that the maximum deviation value is affected by the reference power. It can be seen that the maximum frequency deviation values are ∓0.09Hz, ∓0.11Hz, ∓0.15Hz, and ∓0.25Hz, respectively. The smaller the reference power, the larger the remaining capacity of the converter, and the better the frequency support effect. Compared with traditional VSG control, when the reference power is 0, the maximum deviation value of the load switching frequency is reduced from ∓0.35Hz to ∓0.09Hz, greatly improving the frequency support capability.
[0132] (2) Active power of grid converter
[0133] During a system frequency dip, the system frequency temporarily drops from 50Hz to 49.5Hz within 6s to 10s: (e.g., ...) Figure 9 To determine the converter output power waveform using traditional VSG control, different reference power levels generate a fixed amount of additional active power under the influence of frequency sag, with the additional active power being 5kW; for example... Figure 10 When using the adaptive control method proposed in Embodiment 1 of this application, the converter output power waveform shows that the increased active power is affected by the reference power. As shown in the figure, the converter can increase active power to the set value of 19kW under different reference power conditions during frequency sags. Compared with traditional VSG control, the designed parameter adaptive control increases active power by 19kW, 14kW, 9kW and 4kW respectively, which can better utilize the converter capacity, increase / absorb more active power when the frequency changes, and does not exceed the converter capacity limit when increasing / absorbing active power, thus greatly improving the frequency support capability.
[0134] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0135] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0136] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0137] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0138] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this application. It should be understood that the above description is only a specific embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A VSG parameter adaptive control method, characterized in that, include: The corresponding control phase is obtained by using a pre-constructed VSG active control loop; wherein the VSG active control loop is constructed using a second-order synchronous motor model that considers the rotor moment of inertia and damping coefficient, and the moment of inertia and damping coefficient adapt to the converter capacity and the current power reference value. The corresponding control amplitude is obtained by using a pre-constructed VSG reactive power control loop; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power; Based on the control phase and control amplitude, the control waveform of the converter is generated; the VSG active power control loop is represented as follows: ; Among them, J and D p These are the moment of inertia and damping coefficient of the active power, T. m and T e These are mechanical torque and electromagnetic torque, ω N ω and P represent the reference angular velocity and the actual angular velocity of the converter, respectively. ref and P e These are the reference and actual values of the converter output active power, respectively, where θ is the phase angle of the internal electromotive force; the formula for calculating the damping coefficient is: ; Where λ is the parameter design margin; Δf max S represents the maximum allowable frequency fluctuation deviation during normal system operation. N Q is the rated capacity of the converter. e This represents the actual value of the reactive power output by the converter.
2. The VSG parameter adaptive control method according to claim 1, characterized in that, The formula for calculating the moment of inertia is: ; Among them, K J This is the constant for calculating the moment of inertia.
3. The VSG parameter adaptive control method according to any one of claims 1-2, characterized in that, The VSG reactive power control loop is represented as follows: ; Among them, Q ref and Q e These are the reference and actual values of the converter output reactive power, respectively. q U is the reactive power-voltage droop factor. ref and U o These are the reference and actual values of the phase voltage, respectively, K. q E is the integral coefficient. ref E is the no-load potential, and E is the amplitude of the reactive power loop output voltage.
4. The VSG parameter adaptive control method according to claim 3, characterized in that, The process of generating the converter's control waveform based on the control phase and control amplitude includes: The control phase and control amplitude are used to obtain the control waveform of the converter through voltage synthesis, virtual impedance, voltage outer loop control, current inner loop control, coordinate transformation and sinusoidal pulse width modulation.
5. A VSG parameter adaptive control device, characterized in that, include: The active power control module uses a pre-built VSG active power control loop to obtain the corresponding control phase; wherein the VSG active power control loop is constructed using a second-order synchronous motor model that considers the rotor's moment of inertia and damping coefficient. The parameter adaptive module is used to adaptively calculate and update the moment of inertia and damping coefficient in the VSG active power control loop based on the converter capacity and the current power reference value. The reactive power control module uses a pre-built VSG reactive power control loop to obtain the corresponding control amplitude; wherein the VSG reactive power control loop is constructed by considering the adjustment effect of excitation control on output voltage and reactive power; And a post-processing module, used to generate the control waveform of the converter based on the control phase and control amplitude; The VSG active power control loop is represented as follows: ; Among them, J and D p These are the moment of inertia and damping coefficient of the active power, T. m and T e These are mechanical torque and electromagnetic torque, ω N ω and P represent the reference angular velocity and the actual angular velocity of the converter, respectively. ref and P e These are the reference and actual values of the converter output active power, respectively, where θ is the phase angle of the internal electromotive force; the formula for calculating the damping coefficient is: ; Where λ is the parameter design margin; Δf max S represents the maximum allowable frequency fluctuation deviation during normal system operation. N Q is the rated capacity of the converter. e This represents the actual value of the reactive power output by the converter.
6. The VSG parameter adaptive control device according to claim 5, characterized in that, The post-processing module further includes: The calculation unit is used to synthesize the control phase and control amplitude through the terminal voltage to obtain the dq-axis component of the control voltage; The virtual impedance unit processes the dq-axis components of the control voltage using virtual impedance to generate a double-closed-loop control signal for voltage and current. The voltage outer loop control unit is responsible for regulating the voltage to track the set value; The inner current control unit quickly adjusts the current based on current feedback to obtain the terminal voltage reference signal; The coordinate transformation unit converts the terminal voltage reference signal to the abc coordinate system through coordinate transformation. In addition, a sinusoidal pulse width modulation unit generates the control waveform of the converter by sinusoidal pulse width modulation of the abc components of the terminal voltage reference signal.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the VSG parameter adaptive control method according to any one of claims 1-4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the VSG parameter adaptive control method as described in any one of claims 1-4.