Control method and system for automatically participating in primary frequency response of network-forming type grid-connected inverter
Through the grid-connected inverter control method based on power synchronization, the problem that virtual synchronous machine control cannot achieve maximum power point tracking in low-power power supply is solved, and the automatic participation of distributed power supply in primary frequency response and power-free power is realized The recovery of poor state is suitable for small and medium power scenarios, improving response speed and stability.
Patent Information
- Application Number
- CN202411145710.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-20
AI Technical Summary
In the prior art, virtual synchronous machine control cannot achieve maximum power point tracking in distributed power supplies with low power levels, and traditional power synchronization control has poor dynamic response and cannot effectively participate in the first frequency response.
Adopt the grid-connected inverter control method based on power synchronization, and obtain the three-phase filter capacitor voltage and machine-side filtered inductor current, perform abc/dq conversion, calculate the active and reactive power errors, and generate frequency and voltage deviation signals. , use PI regulator and compensator to realize the automatic frequency response control of the inverter, and select real pole or complex pole compensator in the power synchronization link to optimize dynamic adjustment.
It realizes automatic recovery to the power state after the end of a frequency response process, which is suitable for small and medium-sized power distributed power scenarios, shortens the power synchronization adjustment time, reduces the power synchronization overshoot, and improves the response speed and stability.
Smart Images

Figure CN119029932A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of distributed power supply control, and in particular relates to a method and system for automatically participating in primary frequency response control of a grid-connected inverter. Background Art
[0002] Distributed power sources, such as distributed photovoltaic devices, usually adopt a grid-following control scheme, which has the advantage of being able to quickly follow the grid set value and effectively implement maximum power point tracking control (MPPT). However, with the access of more and more distributed power sources, the grid inertia is missing, and the traditional grid-following control cannot provide a primary frequency response for the power system, resulting in a larger fluctuation in the grid frequency when the grid power is unbalanced, endangering the stability of the grid. Distributed power sources are a typical user-side resource, and their number is currently huge, but the current level of regulation is low. By improving the control method of distributed power sources from traditional grid-following control to grid-building control, the distributed power inverter can be given the ability to automatically participate in the primary frequency response, thereby providing support for the grid.
[0003] At present, the typical scheme of network control is virtual synchronous machine control, which has good adaptability to multi-machine parallel operation scenarios. Its primary frequency response is characterized by fast response speed and differential response of output power. For distributed power sources with low power levels, virtual synchronous machine control means that maximum power point tracking cannot be achieved.
[0004] Patent document CN117639121A proposes a grid-connected control method for photovoltaic inverters. Its characteristics are that it adopts virtual synchronous machine control, proposes an active reference current compensation control strategy, and proposes to improve the reactive-voltage control loop to eliminate reactive distribution deviation caused by line impedance mismatch. Its disadvantage is that the voltage source grid-connected inverter cannot automatically recover to the differential power tracking mode.
[0005] Patent document CN117060441A proposes a method and system for suppressing active power fluctuations on the AC side of a power synchronous inverter, which can effectively suppress the fluctuations of active power in the power synchronous control of a grid-type inverter, but does not solve the problems of long power following dynamic adjustment time and large adjustment overshoot, and does not address the problem of achieving a primary frequency modulation response function. Summary of the invention
[0006] The purpose of the present invention is to provide a method and system for automatically participating in primary frequency response control of a grid-connected inverter to solve the problem in the prior art that virtual synchronous machine control cannot continue to achieve maximum power point tracking for distributed power sources with low power levels.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a method for automatically participating in primary frequency response control of a grid-connected inverter, comprising:
[0009] Get the instantaneous value u of the three-phase filter capacitor voltage c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Based on the reference phase θ generated by the power synchronization link and the power synchronization compensation link, the instantaneous value of the three-phase filter capacitor voltage u c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Perform abc / dq transformation to obtain each dq axis component u c,dq 、i 1,dq ;
[0010] Based on the component u c,dq 、i 1,dq Calculate the instantaneous active power P of the grid-connected inverter o and instantaneous reactive power Q o ;
[0011] The instantaneous active power P o The first error signal is obtained by subtracting the active power reference value; the instantaneous reactive power Q o Subtract the first error signal from the reactive power reference value to obtain a second error signal; send the first error signal to the active power synchronization link to obtain a frequency deviation compensation signal Δω; send the second error signal to the reactive power synchronization link to obtain a voltage deviation compensation signal ΔU;
[0012] The frequency deviation compensation signal Δω is added to the reference frequency ω0 to obtain the full frequency signal ω. The reference phase θ is obtained by integrating the full frequency signal ω as the input of the coordinate transformation link; ΔU is added to the reference voltage U0 to obtain the three-phase voltage amplitude full signal u cd * As the voltage inner loop reference input;
[0013] The three-phase voltage amplitude full signal u cd * and the d-axis voltage component u c,d The difference is sent to the voltage inner loop PI regulator to obtain the d-axis inner loop reference current; based on the d-axis voltage component u c,d Get the d-axis decoupling current;
[0014] The three-phase voltage amplitude full signal u cq * and the q-axis voltage component u c,q The difference is sent to the voltage inner loop PI regulator to obtain the q-axis inner loop reference current; based on the q-axis voltage component u c,q Get the q-axis decoupling current;
[0015] The q-axis decoupling current, the d-axis inner loop reference current and the grid-side inductor current d-axis component i 2d Sum the d-axis current inner loop reference value and the d-axis current component i 1,d The difference is sent to the first proportional regulator to obtain the output value of the first proportional regulator;
[0016] The q-axis inner loop reference current and the grid-side inductor current q-axis component i 2q Sum and subtract from the d-axis decoupling current to obtain the q-axis current inner loop reference value; compare the q-axis current inner loop reference value with the q-axis current component i 1,q The difference is sent to the second proportional regulator to obtain the output value of the second proportional regulator;
[0017] Based on the d-axis current component i 1,d Get the d-axis decoupling voltage; based on the q-axis current component i 1,q Get the q-axis decoupling voltage;
[0018] The output value of the first proportional regulator and the d-axis voltage component u c,d The d-axis component of the modulation voltage is obtained by summing the q-axis decoupling voltage;
[0019] The output value of the second proportional regulator, the q-axis voltage component u c,q Sum and subtract from the d-axis decoupling voltage to obtain the q-axis component of the modulation voltage;
[0020] The d-axis component of the modulation voltage and the q-axis component of the modulation voltage are transformed into dq / abc to obtain a three-phase modulation voltage.
[0021] Furthermore, the instantaneous value u of the three-phase filter capacitor voltage c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc The electrical parameters collected at the LCL filter of the grid-connected inverter.
[0022] Furthermore, the three-phase voltage amplitude full signal u cq * Set to 0.
[0023] Furthermore, the first error signal is sent to the active synchronization link to obtain a frequency deviation compensation signal Δω; wherein:
[0024] The active synchronization link includes the proportional integral regulator link and the compensator link;
[0025] After passing through the proportional-integral regulator link, the first error signal enters the compensator link to obtain a frequency deviation compensation signal Δω.
[0026] Furthermore, in the compensator link, a real pole compensator or a complex pole compensator is selected.
[0027] Furthermore, the power output equation of the grid-connected inverter is:
[0028]
[0029] Among them, θ g is the grid phase, U o is the inverter output voltage amplitude, U g is the grid voltage amplitude, X l is the inductive reactance corresponding to the grid-side inductance in the LCL filter; θ is the inverter phase.
[0030] In a second aspect, the present invention provides a method for automatically participating in primary frequency response control of a grid-connected inverter, comprising:
[0031] Grid-connected inverter voltage and current inner loop control: A dual closed-loop controller is used to control the dq components of the instantaneous current value of the machine-side filter inductor and the dq components of the instantaneous voltage value of the filter capacitor respectively;
[0032] Power synchronization link of grid-connected inverter: coordinate transformation reference phase and voltage amplitude offset correction are obtained through output power calculation to achieve synchronization between inverter and grid;
[0033] Power synchronization compensation link of grid-connected inverter: compensate and improve the signal obtained in the power synchronization link in the frequency domain.
[0034] Furthermore, the method specifically includes:
[0035] Inverter voltage and current measurement link: measure the instantaneous value u of the three-phase filter capacitor voltage on the LCL filter of the distributed power inverter c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc ;
[0036] Inverter voltage and current coordinate transformation link: The reference phase θ generated by the power synchronization link and the power synchronization compensation link is transformed into the two-phase synchronous rotating coordinate system through the three-phase static-two-phase synchronous rotating coordinate transformation to transform the instantaneous value of the three-phase filter capacitor voltage and the instantaneous current value of the machine-side filter inductor. The corresponding variable name is u c,dq 、i 1,dq ;
[0037] Current inner loop control link: Proportional control is adopted to achieve i 1,dq Control of instantaneous value, the control output is used as the input of the inverter PWM modulation link;
[0038] Voltage inner loop control link: Proportional-integral control is adopted to achieve u c,dq Control of instantaneous value, the control output is used as the input of the current inner loop.
[0039] According to a third aspect of the present invention, an electronic device is provided, comprising a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the above-mentioned method for automatically participating in primary frequency response control of a grid-connected inverter.
[0040] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the method for automatically participating in a primary frequency response control of a grid-connected inverter as described above is implemented.
[0041] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0042] Compared with the prior art, the grid-connected distributed power inverter based on power synchronization proposed in the present invention can automatically restore to the original power difference-free state after a frequency response process is completed, which is more suitable for small and medium power distributed power scenarios. However, the traditional power synchronization control has poor dynamic response, and it is necessary to design a power synchronization compensation controller to shorten the power synchronization adjustment time and reduce the power synchronization overshoot.
[0043] In the present invention, a grid-type control scheme based on power synchronization is adopted. Since there is a PI regulator in the power loop, the power reference follows without static error during the grid-connected operation of the grid-type inverter, which is more suitable for distributed power inverters that need to continuously adopt the MPPT scheme in the preceding link;
[0044] In the present invention, a real pole compensator and a complex pole compensator are designed for the power synchronization link, both of which are second-order lead-lag links. The real pole compensator is characterized by strong robustness to model gain, and the complex pole compensator is characterized by strong robustness to control system time delay. Both can improve the performance of the power synchronization link, shorten the dynamic adjustment time, and reduce the step response overshoot;
[0045] In the present invention, a parameter selection principle for two types of power synchronous compensators is provided, and the parameters selected according to the principle can simultaneously improve the regulation dynamics of the power synchronization link and the primary frequency response. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0047] Figure 1 is a schematic diagram of the structure of an inverter control system in an embodiment of the present invention;
[0048] Figure 2Schematic diagram of a power synchronous compensation control method for a grid-type distributed power inverter in an embodiment of the present invention;
[0049] Figure 3 It is a structural diagram of a grid-type distributed power inverter automatically participating in a primary frequency modulation response system in an embodiment of the present invention;
[0050] Figure 4 The figure is a comparison diagram of the output power dynamics of the proposed grid-connected distributed power inverter, the output power dynamics of the traditional grid-following inverter, and the output power dynamics of the virtual synchronous machine method under the condition of grid frequency changes in the embodiment of the present invention.
[0051] Figure 5 The present invention is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0053] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.
[0054] Example 1
[0055] The present invention provides a method and system for automatically participating in primary frequency response control of a grid-connected distributed power inverter. The invented control method and system mainly include a voltage and current inner loop control link of a grid-connected inverter, a power synchronization link of a grid-connected inverter, and a power synchronization compensation link of a grid-connected inverter. The voltage and current inner loop control link of the grid-connected inverter includes four main links: an inverter voltage and current measurement link, an inverter voltage and current coordinate transformation link, a current inner loop control link, and a voltage inner loop control link. The power synchronization link of the grid-connected inverter includes three main links: an instantaneous power calculation link, a power grid power synchronization link, and a voltage, frequency, and phase full signal generation link. The design process of the power synchronization compensation link of the grid-connected inverter includes three main steps: compensator type selection, real / complex pole compensator parameter selection, and embedding the power synchronization compensation link into the power synchronization loop and verification. The control method described in the present invention and the virtual synchronous machine control method both have primary frequency response capabilities. The difference is that the primary frequency response of the control method described in the present invention is a short-term primary frequency response, which is more suitable for distributed power inverters with relatively small storage capacity to realize primary frequency response functions.
[0056] like Figure 1 As shown, a method for automatically participating in primary frequency response control of a grid-connected inverter of a grid-connected type includes:
[0057] Get the instantaneous value u of the three-phase filter capacitor voltage c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Based on the reference phase θ generated by the power synchronization link and the power synchronization compensation link, the instantaneous value of the three-phase filter capacitor voltage u c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Perform abc / dq transformation to obtain each dq axis component u c,dq 、i 1,dq ;
[0058] Based on the component u c,dq 、i 1,dq Calculate the instantaneous active power P of the grid-connected inverter o and instantaneous reactive power Q o ;
[0059] The instantaneous active power P o The first error signal is obtained by subtracting the active power reference value; the instantaneous reactive power Q o Subtract the first error signal from the reactive power reference value to obtain a second error signal; send the first error signal to the active power synchronization link to obtain a frequency deviation compensation signal Δω; send the second error signal to the reactive power synchronization link to obtain a voltage deviation compensation signal ΔU;
[0060] The frequency deviation compensation signal Δω is added to the reference frequency ω0 to obtain the full frequency signal ω. The reference phase θ is obtained by integrating the full frequency signal ω as the input of the coordinate transformation link; ΔU is added to the reference voltage U0 to obtain the three-phase voltage amplitude full signal u cd * As the voltage inner loop reference input;
[0061] The three-phase voltage amplitude full signal u cd * and the d-axis voltage component u c,d The difference is sent to the voltage inner loop PI regulator to obtain the d-axis inner loop reference current; based on the d-axis voltage component u c,d Get the d-axis decoupling current;
[0062] The three-phase voltage amplitude full signal u cq * and the q-axis voltage component u c,q The difference is sent to the voltage inner loop PI regulator to obtain the q-axis inner loop reference current; based on the q-axis voltage component u c,q Get the q-axis decoupling current;
[0063] The q-axis decoupling current, the d-axis inner loop reference current and the grid-side inductor current d-axis component i 2d Sum the d-axis current inner loop reference value and the d-axis current component i 1,d The difference is sent to the first proportional regulator to obtain the output value of the first proportional regulator;
[0064] The q-axis inner loop reference current and the grid-side inductor current q-axis component i 2q Sum and subtract from the d-axis decoupling current to obtain the q-axis current inner loop reference value; compare the q-axis current inner loop reference value with the q-axis current component i 1,q The difference is sent to the second proportional regulator to obtain the output value of the second proportional regulator;
[0065] Based on the d-axis current component i 1,d Get the d-axis decoupling voltage; based on the q-axis current component i 1,q Get the q-axis decoupling voltage;
[0066] The output value of the first proportional regulator and the d-axis voltage component u c,d The d-axis component of the modulation voltage is obtained by summing the q-axis decoupling voltage;
[0067] The output value of the second proportional regulator, the q-axis voltage component u c,q Sum and subtract from the d-axis decoupling voltage to obtain the q-axis component of the modulation voltage;
[0068] The d-axis component of the modulation voltage and the q-axis component of the modulation voltage are transformed into dq / abc to obtain a three-phase modulation voltage.
[0069] Optionally, the instantaneous value u of the three-phase filter capacitor voltage c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc The electrical parameters collected at the LCL filter of the grid-connected inverter.
[0070] Optionally, the three-phase voltage amplitude full signal u cq * Set to 0.
[0071] Optionally, the first error signal is sent to an active synchronization link to obtain a frequency deviation compensation signal Δω; wherein:
[0072] The active synchronization link includes the proportional integral regulator link and the compensator link;
[0073] After passing through the proportional-integral regulator link, the first error signal enters the compensator link to obtain a frequency deviation compensation signal Δω.
[0074] Optionally, in the compensator link, a real pole compensator or a complex pole compensator is selected.
[0075] Optionally, the power output equation of the grid-connected inverter is:
[0076]
[0077] Among them, θ g is the grid phase, U o is the inverter output voltage amplitude, U g is the grid voltage amplitude, X l is the inductive reactance corresponding to the grid-side inductance in the LCL filter; θ is the inverter phase.
[0078] In order to further explain and illustrate the present invention, some other embodiments also provide a method for automatically participating in primary frequency response control of a grid-connected inverter, including:
[0079] Grid-connected inverter voltage and current inner loop control: A dual closed-loop controller is used to control the dq components of the instantaneous current value of the machine-side filter inductor and the dq components of the instantaneous voltage value of the filter capacitor respectively;
[0080] Power synchronization link of grid-connected inverter: coordinate transformation reference phase and voltage amplitude offset correction are obtained through output power calculation to achieve synchronization between inverter and grid;
[0081] Power synchronization compensation link of grid-connected inverter: compensate and improve the signal obtained in the power synchronization link in the frequency domain.
[0082] In the above method, the voltage and current inner loop control of the grid-connected inverter specifically includes:
[0083] S10 inverter voltage and current measurement link: measure the instantaneous value u of the three-phase filter capacitor voltage on the LCL filter of the distributed power inverter c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc .
[0084] S20 inverter voltage and current coordinate transformation link: The reference phase θ generated by the power synchronization link and the power synchronization compensation link is transformed into the two-phase synchronous rotating coordinate system through the three-phase static-two-phase synchronous rotating coordinate transformation (abc / dq transformation) to transform the instantaneous value of the three-phase filter capacitor voltage and the instantaneous current value of the machine-side filter inductor into the two-phase synchronous rotating coordinate system. The corresponding variable name is u c,dq 、i 1,dq .
[0085] S30 current inner loop control link: adopts proportional control to achieve i 1,dq The instantaneous value is controlled, and the control output is used as the input of the inverter PWM modulation link.
[0086] S40 voltage inner loop control link: adopts proportional-integral control to achieve u c,dq Control of instantaneous value, the control output is used as the input of the current inner loop.
[0087] In the above method, the power synchronization link of the grid-connected inverter specifically includes:
[0088] S1 instantaneous power calculation: According to u c,abc with i 1,abc The instantaneous output active power P of the grid-connected inverter is calculated as o and reactive power Q o .
[0089] S2 grid power synchronization link: According to the output active power and reactive power, the frequency deviation compensation signal Δω and the voltage deviation compensation signal ΔU are generated through the proportional-integral (PI) regulator.
[0090] S3 voltage, frequency and phase full signal generation: add Δω to the reference frequency ω0 to obtain the frequency full signal ω, integrate the frequency full signal to obtain the reference phase θ as the input of the coordinate transformation link; add ΔU to the reference voltage U0 to obtain the three-phase voltage amplitude full signal u cd * As the voltage inner loop reference input (u cq * set to 0).
[0091] In the above method, the power synchronous compensation link of the grid-connected inverter includes the following steps:
[0092] S101 compensator type selection: select real pole compensator or complex pole compensator according to the application scenario. The real pole compensator has stronger gain robustness, while the complex pole compensator has stronger time lag robustness.
[0093] S201 real pole compensator parameter selection: In the real pole compensator, T1, T2, T3, K c Four compensator time constant parameters, where T1>T2>T3>0, and T1=0.5T f , T2=0.1T1, T3=0.5T2, selected as half of the inner loop time constant. K c The initial value is 1.0, and the compensator gain K is adjusted c Fine-tuning around 1.0 can adjust the dynamic response time. The final compensator transfer function is:
[0094]
[0095] S202 complex pole compensator parameter selection: damping ratio ζ is selected as 0.707, ω dThe selected solution is ω d =5 / T f , T f is the inner loop time constant. n Select the solution T n =1 / (5ω z ),ω z Defined as the power synchronous PI regulator integral gain k i With proportional gain k p After selecting the parameters, by fine-tuning T n With ω d , so that the four intersection points of the optimal gain line and the root locus in the root locus of the overall transfer function of the compensated power synchronization link are located at the same gain of the root locus, calculate the gain value, and use it as K c The final compensator transfer function is:
[0096]
[0097] S301 The power synchronization compensation link is embedded in the power synchronization loop: After the link designed in step S2 is embedded in the power synchronization link, it is put into the actual system after being verified by frequency domain and simulation.
[0098] By adopting the power synchronization link and the power synchronization compensation link, the grid-type distributed power inverter has the ability to automatically participate in primary frequency response.
[0099] In an optional embodiment, a grid-type distributed power inverter automatically participates in a primary frequency response control system, including:
[0100] Inverter voltage and current measurement module: measures the instantaneous value u of the three-phase filter capacitor voltage on the LCL filter of the distributed power inverter c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc ;
[0101] Grid-connected distributed power inverter controller: a device used to realize the control functions of the voltage and current inner loop control link of the grid-connected inverter, the power synchronization link of the grid-connected inverter, the power synchronization compensation link of the grid-connected inverter and the inverter PWM modulation link.
[0102] The functional links implemented by the grid-type distributed power inverter controller include:
[0103] Voltage and current inner loop control link: adopt current control scheme to set the initial stable operating state of the inverter.
[0104] Power synchronization link of grid-connected inverter: The power synchronization link of grid-connected inverter: The coordinate transformation reference phase and voltage amplitude offset correction are obtained through output power calculation to achieve synchronization between the inverter and the grid;
[0105] Power synchronization compensation link of grid-connected inverter: compensate and improve the signal obtained in the power synchronization link in the frequency domain;
[0106] Inverter PWM modulation link: the link that converts the calculated digital signal into a PWM control signal.
[0107] Specifically, Figure 1 and Figure 2 As shown, the present invention aims to improve the control loop in the original grid-type inverter to realize the grid-type distributed power inverter automatically participating in the primary frequency response control method. Figure 1 , 2 in,i 1,abc 、u c,abc 、i 1,dq 、u c,dq are the instantaneous current value of the machine-side filter inductor and the instantaneous value of the three-phase filter capacitor voltage and the corresponding dq coordinate system variables, θ is the phase required for coordinate transformation, ω is the inverter output voltage frequency, P o , P ref are the inverter output active power and active power reference, Q o , Q ref are the inverter output reactive power and reactive power reference respectively, L1 and C1 are the LCL filter machine side inductance and filter capacitor respectively, G PI (s) is the voltage inner loop PI regulator transfer function, k pin is the current inner loop proportional gain. In the control mode of the grid-type inverter, the inverter power output equation is:
[0108]
[0109] Among them, θ g is the grid phase, U o is the inverter output voltage amplitude, which is equivalent to the LCL filter capacitor voltage amplitude in the present invention, U g is the grid voltage amplitude, X l is the inductive reactance corresponding to the grid-side inductance in the LCL filter. According to the above inverter power output equation, the output active power of the grid-connected inverter is directly affected by the phase difference θ-θ between the inverter and the grid connection point. g The output reactive power is determined by the voltage amplitude difference U between the inverter output port voltage and the grid connection point o -U g Therefore, through Figure 2The designed PI regulator link can achieve the error tracking of the inverter output active and reactive power, and at the same time realize the temporary increase of the output active power when the grid frequency and phase angle change.
[0110] In contrast, the virtual synchronous machine method used in Patent 1 cited in the background technology is essentially equivalent to using a P regulator in the power synchronization loop, and its proportional gain is essentially its power droop coefficient. The difference between the two is that due to the droop characteristics of the virtual synchronous machine, the deviation between its output power and the reference value (i.e., P ref -P o ) is proportional to the deviation of the actual frequency of the power grid, and the proportional coefficient is the droop coefficient. This feature is more applicable to large virtual synchronous machines with long-term support capabilities, but for distributed power inverters with generally small capacity, limited single-unit support capacity, and reliance on clustered control to produce control effects, it is more suitable to adopt the power synchronization method adopted in this article, which can provide short-term and limited support for the power grid while realizing power difference-free tracking and distributed power MPPT control.
[0111] The following will compare the automatic primary frequency response control method of the grid-type distributed power inverter, the virtual synchronous machine control method and the grid-type inverter control method described in the present invention, and illustrate the corresponding characteristics of the methods in this article through comparison. Figure 3 In order to verify the simulation system built by the method, Figure 4 These are the simulation results of the primary frequency response when the power grid frequency drops under the three control methods. Under the three control methods, the parameter settings of the inverter are basically the same.
[0112] from Figure 4 It can be seen that when the frequency of the power grid fluctuates, the grid-following control method cannot achieve automatic primary frequency response, while both VSG and the power synchronization control described in the present invention can achieve automatic frequency response. However, the response modes of the two are different. When the frequency fluctuation occurs, the output power of VSG automatically increases, but it will not return to the original power reference value. Under the power synchronization control scheme using a real pole compensator, when the frequency of the power grid fluctuates, its output power will automatically rise to provide a certain frequency support for the power grid, but then its output power will return to the original reference power level. The compensation effect of the complex pole compensator described in the present invention is similar, so it is not reflected in the figure. Through simulation comparison, it can be concluded that the control method described in the present invention will be more suitable for grid-type distributed power supply control with small storage capacity or almost no independent energy storage system, which can enable the distributed power supply to provide a certain primary frequency response capability for the power grid, while minimizing the impact on its own maximum power point tracking operation.
[0113] The grid-type distributed power inverter based on power synchronization proposed in the present invention can automatically restore to the original power difference-free state after a frequency response process is completed, which is more suitable for small and medium power distributed power scenarios. However, the traditional power synchronization control has poor dynamic response, and it is necessary to design a power synchronization compensation controller to shorten the power synchronization adjustment time and reduce the power synchronization overshoot.
[0114] Example 2
[0115] like Figure 5 As shown, the present invention also provides an electronic device 100 for implementing a method for automatically participating in a primary frequency response control of a grid-connected inverter in the above-mentioned embodiment 1;
[0116] The electronic device 100 includes a memory 101 , at least one processor 102 , a computer program 103 stored in the memory 101 and executable on the at least one processor 102 , and at least one communication bus 104 .
[0117] The memory 101 can be used to store a computer program 103. The processor 102 implements the steps of a method for automatically participating in a primary frequency response control of a grid-connected inverter in Example 1 by running or executing the computer program stored in the memory 101 and calling data stored in the memory 101.
[0118] The memory 101 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0119] At least one processor 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.
[0120] The memory 101 in the electronic device 100 stores a plurality of instructions to implement a method for automatically participating in a primary frequency response control of a grid-connected inverter, and the processor 102 can execute the plurality of instructions to implement:
[0121] Get the instantaneous value u of the three-phase filter capacitor voltage c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Based on the reference phase θ generated by the power synchronization link and the power synchronization compensation link, the instantaneous value of the three-phase filter capacitor voltage u c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Perform abc / dq transformation to obtain each dq axis component u c,dq 、i 1,dq ;
[0122] Based on the component u c,dq 、i 1,dq Calculate the instantaneous active power P of the grid-connected inverter o and instantaneous reactive power Q o ;
[0123] The instantaneous active power P o The first error signal is obtained by subtracting the active power reference value; the instantaneous reactive power Q o Subtract the first error signal from the reactive power reference value to obtain a second error signal; send the first error signal to the active power synchronization link to obtain a frequency deviation compensation signal Δω; send the second error signal to the reactive power synchronization link to obtain a voltage deviation compensation signal ΔU;
[0124] The frequency deviation compensation signal Δω is added to the reference frequency ω0 to obtain the full frequency signal ω. The reference phase θ is obtained by integrating the full frequency signal ω as the input of the coordinate transformation link; ΔU is added to the reference voltage U0 to obtain the three-phase voltage amplitude full signal ucd * As the voltage inner loop reference input;
[0125] The three-phase voltage amplitude full signal u cd * and the d-axis voltage component u c,d The difference is sent to the voltage inner loop PI regulator to obtain the d-axis inner loop reference current; based on the d-axis voltage component u c,d Get the d-axis decoupling current;
[0126] The three-phase voltage amplitude full signal u cq * and the q-axis voltage component u c,q The difference is sent to the voltage inner loop PI regulator to obtain the q-axis inner loop reference current; based on the q-axis voltage component u c,q Get the q-axis decoupling current;
[0127] The q-axis decoupling current, the d-axis inner loop reference current and the grid-side inductor current d-axis component i 2d Sum the d-axis current inner loop reference value and the d-axis current component i 1,d The difference is sent to the first proportional regulator to obtain the output value of the first proportional regulator;
[0128] The q-axis inner loop reference current and the grid-side inductor current q-axis component i 2q Sum and subtract from the d-axis decoupling current to obtain the q-axis current inner loop reference value; compare the q-axis current inner loop reference value with the q-axis current component i 1,q The difference is sent to the second proportional regulator to obtain the output value of the second proportional regulator;
[0129] Based on the d-axis current component i 1,d Get the d-axis decoupling voltage; based on the q-axis current component i 1,q Get the q-axis decoupling voltage;
[0130] The output value of the first proportional regulator and the d-axis voltage component u c,d The d-axis component of the modulation voltage is obtained by summing the q-axis decoupling voltage;
[0131] The output value of the second proportional regulator, the q-axis voltage component u c,q Sum and subtract from the d-axis decoupling voltage to obtain the q-axis component of the modulation voltage;
[0132] The d-axis component of the modulation voltage and the q-axis component of the modulation voltage are transformed into dq / abc to obtain a three-phase modulation voltage.
[0133] Example 4
[0134] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).
[0135] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented 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.
[0136] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0137] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0138] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0139] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for automatically participating in primary frequency response control of a grid-connected inverter, characterized in that: include: Get the instantaneous value u of the three-phase filter capacitor voltage c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Based on the reference phase θ generated by the power synchronization link and the power synchronization compensation link, the instantaneous value of the three-phase filter capacitor voltage u c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc Perform abc / dq transformation to obtain each dq axis component u c,dq 、i 1,dq ; Based on the component u c,dq 、i 1,dq Calculate the instantaneous active power P of the grid-connected inverter o and instantaneous reactive power Q o ; The instantaneous active power P o The first error signal is obtained by subtracting the active power reference value; the instantaneous reactive power Q o Subtract the first error signal from the reactive power reference value to obtain a second error signal; send the first error signal to the active power synchronization link to obtain a frequency deviation compensation signal Δω; send the second error signal to the reactive power synchronization link to obtain a voltage deviation compensation signal ΔU; The frequency deviation compensation signal Δω is added to the reference frequency ω0 to obtain the full frequency signal ω. The reference phase θ is obtained by integrating the full frequency signal ω as the input of the coordinate transformation link; ΔU is added to the reference voltage U0 to obtain the three-phase voltage amplitude full signal u cd * As the voltage inner loop reference input; The three-phase voltage amplitude full signal u cd * and the d-axis voltage component u c,d The difference is sent to the voltage inner loop PI regulator to obtain the d-axis inner loop reference current; based on the d-axis voltage component u c,d Get the d-axis decoupling current; The three-phase voltage amplitude full signal u cq * and the q-axis voltage component u c,q The difference is sent to the voltage inner loop PI regulator to obtain the q-axis inner loop reference current; based on the q-axis voltage component u c,q Get the q-axis decoupling current; The q-axis decoupling current, the d-axis inner loop reference current and the grid-side inductor current d-axis component i 2d Sum them and get the inner loop reference value of d-axis current; The d-axis current inner loop reference value and the d-axis current component i 1,d The difference is sent to the first proportional regulator to obtain the output value of the first proportional regulator; The q-axis inner loop reference current and the grid-side inductor current q-axis component i 2q Sum and subtract from the d-axis decoupling current to obtain the q-axis current inner loop reference value; The q-axis current inner loop reference value and the q-axis current component i 1,q The difference is sent to the second proportional regulator to obtain the output value of the second proportional regulator; Based on the d-axis current component i 1,d Get the d-axis decoupling voltage; based on the q-axis current component i 1,q Get the q-axis decoupling voltage; The output value of the first proportional regulator and the d-axis voltage component u c,d The d-axis component of the modulation voltage is obtained by summing the q-axis decoupling voltage; The output value of the second proportional regulator, the q-axis voltage component u c,q Sum and subtract from the d-axis decoupling voltage to obtain the q-axis component of the modulation voltage; The d-axis component of the modulation voltage and the q-axis component of the modulation voltage are transformed into dq / abc to obtain a three-phase modulation voltage.
2. The method for automatically participating in primary frequency response control of a grid-connected inverter according to claim 1, characterized in that: The instantaneous value of the three-phase filter capacitor voltage u c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc The electrical parameters collected at the LCL filter of the grid-connected inverter.
3. The method for automatically participating in primary frequency response control of a grid-connected inverter according to claim 1, characterized in that: Three-phase voltage amplitude full signal u cq * Set to 0.
4. The method for automatically participating in primary frequency response control of a grid-connected inverter according to claim 1, characterized in that: The first error signal is sent to the active synchronization link to obtain a frequency deviation compensation signal Δω; wherein: The active synchronization link includes the proportional integral regulator link and the compensator link; After passing through the proportional-integral regulator link, the first error signal enters the compensator link to obtain a frequency deviation compensation signal Δω.
5. The method for automatically participating in primary frequency response control of a grid-connected inverter according to claim 1, characterized in that: In the compensator link, a real pole compensator or a complex pole compensator is selected.
6. The method for automatically participating in primary frequency response control of a grid-connected inverter according to claim 1, characterized in that: The power output equation of the grid-connected inverter is: Among them, θ g is the grid phase, U o is the inverter output voltage amplitude, U g is the grid voltage amplitude, X l is the inductive reactance corresponding to the grid-side inductance in the LCL filter; θ is the inverter phase.
7. A method for automatically participating in primary frequency response control of a grid-connected inverter, characterized in that: include: Grid-connected inverter voltage and current inner loop control: A dual closed-loop controller is used to control the dq components of the instantaneous current value of the machine-side filter inductor and the dq components of the instantaneous voltage value of the filter capacitor respectively; Power synchronization link of grid-connected inverter: coordinate transformation reference phase and voltage amplitude offset correction are obtained through output power calculation to achieve synchronization between inverter and grid; Power synchronization compensation link of grid-connected inverter: compensate and improve the signal obtained in the power synchronization link in the frequency domain.
8. The method for automatically participating in primary frequency response control of a grid-connected inverter according to claim 7, characterized in that: The methods specifically include: Inverter voltage and current measurement link: measure the instantaneous value u of the three-phase filter capacitor voltage on the LCL filter of the distributed power inverter c,abc and the instantaneous current value i of the filter inductor on the machine side 1,abc ; Inverter voltage and current coordinate transformation link: The reference phase θ generated by the power synchronization link and the power synchronization compensation link is transformed into the two-phase synchronous rotating coordinate system through the three-phase static-two-phase synchronous rotating coordinate transformation to transform the instantaneous value of the three-phase filter capacitor voltage and the instantaneous current value of the machine-side filter inductor. The corresponding variable name is u c,dq 、i 1,dq ; Current inner loop control link: Proportional control is adopted to achieve i 1,dq Control of instantaneous value, the control output is used as the input of the inverter PWM modulation link; Voltage inner loop control link: adopt proportional-integral control to achieve u c,dq Control of instantaneous value, the control output is used as the input of the current inner loop.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the method for automatically participating in primary frequency response control of a grid-connected inverter as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, the method for automatically participating in primary frequency response control of a grid-connected inverter of a grid-connected type as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method and system for suppressing active power fluctuation at alternating current side of power synchronous inverter
CN117060441A
Power control method of grid-forming type photovoltaic inverter
CN117639121A
Synchronous generator / grid-forming inverter interactive oscillation mechanism analysis method under large disturbance
CN113675860A
Systems and methods for connecting energy sources to power distribution network
EP3188349A1
Cited By
Method and system for controlling three-phase grid-connected inverter without phase-locked loop
CN114421527A
Mesh construction type electromagnetic scale stabilization control method and system based on phase compensator
CN121484964A
Inverter control method
WO2026123148A1
