Harmonic suppression method and device of virtual synchronous generator, and electronic equipment

By building a self-immune controller in a virtual synchronous generator and introducing voltage differential and resonant controllers, the phase hysteresis problem caused by PI regulator is solved, the dynamic response and stability of the system are significantly improved, and harmonics are achieved effective inhibition.

CN119029933AInactive Publication Date: 2024-11-26GUANGDONG POWER GRID CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411146419.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The introduction of PI regulators in virtual synchronous generators results in phase lag, limiting the dynamic power control performance and stability of the system and affecting the stability of the system.

Method used

By building a self-immune controller, including a linearly extended state observer and a linearly extended state feedback, voltage differential and resonant controller are introduced into the observer, the bandwidth of the observer is optimized, and compensation strategies are generated based on the resonant controller to suppress harmonic.

Benefits of technology

It effectively suppresses harmonics in virtual synchronous generators, improves the dynamic response and stability of the system, enhances robustness and anti-interference capabilities, and ensures that the system operates stably in complex power environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119029933A_ABST
    Figure CN119029933A_ABST
Patent Text Reader

Abstract

The invention discloses a harmonic suppression method and device of a virtual synchronous generator and electronic equipment, and relates to the field of intelligent power grids, and the harmonic suppression method comprises the steps: constructing an active disturbance rejection controller according to a voltage and current equation of the virtual synchronous generator, the active disturbance rejection controller comprises a linear expansion state observer and a linear expansion state feedback device; introducing a voltage differential component and a resonance controller into the linear expansion state observer to obtain an improved linear expansion state observer; a disturbance signal of the virtual synchronous generator is observed based on the improved linear extended state observer, and a compensation strategy is generated based on a resonance controller; and harmonic waves in the virtual synchronous generator are suppressed by a linear extended state feedback device based on a compensation strategy. According to the method and the device, the technical problem that a control system of the virtual synchronous generator is unstable due to phase lag caused by introduction of a PI regulator into the virtual synchronous generator in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart grids, and in particular to a harmonic suppression method for a virtual synchronous generator, a device thereof, and electronic equipment. Background Art

[0002] The virtual synchronous generator control system mainly consists of two parts: the power control loop and the voltage control loop. The power control loop is designed to simulate the basic characteristics of the synchronous generator, such as inertial response and droop mechanism. The task of the voltage control loop is to accurately track the voltage reference value generated by the power control loop. In the control of the grid-type converter, the inner loop usually adopts a dual-loop control scheme of voltage and current to achieve fast overcurrent protection and effective resonance damping mechanism. At the same time, this scheme shows certain similarities compared with the inner loop control of the grid-type converter, which is helpful for system stability analysis and parameter design.

[0003] The voltage control loop of a virtual synchronous generator is usually implemented in a synchronous reference system, including an inductor current PI control loop as an inner loop and a capacitor voltage PI control loop as an outer loop. Therefore, the virtual synchronous generator control system presents a three-loop cascade structure, an external power control loop and an internal cascade voltage and current PI control loop. Usually, each loop of the cascade control system is independently designed through frequency domain analysis, where the internal loop is approximated as a first-order transfer function. In order to prevent unexpected interactions, the bandwidth between the control loops needs to have sufficient frequency spacing, usually within a ten-fold frequency range. In the related art, the voltage stability of the power grid is improved and the power quality is improved by introducing a PI regulator into a virtual synchronous generator. Although the PI regulator performs well in terms of open-loop gain, it introduces phase lag. This phase lag limits the bandwidth of the VSG external power loop, which in turn leads to unsatisfactory dynamic power control performance and prolonged parallel operation stabilization time, affecting system stability.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiment of the present invention provides a harmonic suppression method and device of a virtual synchronous generator, and an electronic device, so as to at least solve the technical problem in the related art that the introduction of a PI regulator in the virtual synchronous generator will cause phase lag and lead to instability of the virtual synchronous generator control system.

[0006] According to one aspect of an embodiment of the present invention, a harmonic suppression method for a virtual synchronous generator is provided, comprising: constructing an active disturbance rejection controller according to voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller comprises a linear extended state observer and a linear extended state feedback device; introducing a voltage derivative component and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage derivative component is obtained by derivation of the output voltage of the virtual synchronous generator on the d-axis; observing a disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generating a compensation strategy based on the resonant controller; and suppressing harmonics in the virtual synchronous generator by the linear extended state feedback device based on the compensation strategy.

[0007] Optionally, the voltage-current equation is expressed as: Among them, u od represents the output voltage value of the virtual synchronous generator on the d-axis, u oq represents the output voltage value of the virtual synchronous generator on the q axis, d 2 u od / d t 2 is the second-order differential of the output voltage on the d-axis, b L is the system gain coefficient of the virtual synchronous generator, f is the total disturbance, u d * is the input voltage of the ADRC, ω is the angular frequency, L f and C f are the filter inductance and capacitance of the output port of the virtual synchronous generator, r f is the equivalent resistance of the filter inductor, r c is the equivalent resistance from the line to the common node, i od and i oq are the output currents of the virtual synchronous generator on the d-axis and q-axis, respectively, i ld and i lq are the port currents of the virtual synchronous generator on the d-axis and q-axis respectively, dω / dt is the differential of the angular frequency, di od / dt represents the differential of the port current.

[0008] Optionally, the voltage-current equation is converted into a state equation to obtain Where x1 is equal to the d-axis output voltage u of the virtual synchronous generator od

[0009] , represents the voltage differential, x3=f, represents the total disturbance of the virtual synchronous generator, h is the differential of the total disturbance, u=ud * , represents the input voltage of the active disturbance rejection controller, b0=1 / L f C f represents an estimated value of the system gain coefficient of the virtual synchronous generator.

[0010] Optionally, a linear extended state observer is constructed based on the state equation expression, wherein the expression of the linear extended state observer is expressed as z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad1 , β ad2 and β ad3 is the gain of the linear extended state observer, Respectively represent the outputs of the linear extended state observer for z1, z2, and z3.

[0011] Optionally, a voltage differential component is introduced into the linear extended state observer, and the expression of the linear extended state observer after the voltage differential component is introduced is expressed as: Among them, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad4 is the gain of the linear extended state observer, y2=x2, representing the voltage derivative.

[0012] Optionally, the expression of the resonant controller is expressed as: Among them, K r represents the gain of the resonant controller, ω s and ω rf represents the resonant frequency of the resonant controller, and s represents the complex frequency parameter in Laplace transform.

[0013] Optionally, the expression of the linear expansion state feedback device is expressed as Among them, k p and k d is the gain of the linear extended state feedback device, b0 represents the gain coefficient of the linear extended state feedback device, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, x1 is equal to the d-axis output voltage u of the virtual synchronous generator od , x2 is equal to the differential of the voltage x3 represents the total disturbance f of the virtual synchronous generator.

[0014] According to another aspect of an embodiment of the present invention, a harmonic suppression device for a virtual synchronous generator is also provided, comprising: a construction unit, used to construct an active disturbance rejection controller according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller comprises a linear extended state observer and a linear extended state feedback device; an introduction unit, used to introduce a voltage derivative and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage derivative is obtained by derivation of the output voltage of the virtual synchronous generator on the d-axis; an observation unit, used to observe the disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generate a compensation strategy based on the resonant controller; a suppression unit, used to suppress harmonics in the virtual synchronous generator based on the compensation strategy by the linear extended state feedback device.

[0015] Optionally, the voltage-current equation can be expressed as: Among them, u od represents the output voltage value of the virtual synchronous generator on the d-axis, u oq represents the output voltage value of the virtual synchronous generator on the q axis, d 2 u od / d t 2 is the second-order differential of the output voltage on the d-axis, b L is the system gain coefficient of the virtual synchronous generator, f is the total disturbance, u d * is the input voltage of the ADRC, ω is the angular frequency, L f and C f are the filter inductance and capacitance of the virtual synchronous generator output port, r f is the equivalent resistance of the filter inductor, r c is the equivalent resistance from the line to the common node, i od and i oq are the output currents of the virtual synchronous generator on the d-axis and q-axis, i ld and i lq are the port currents of the virtual synchronous generator on the d-axis and q-axis respectively, dω / dt is the differential of the angular frequency, di od / dt represents the differential of the port current.

[0016] Optionally, the harmonic suppression device of the virtual synchronous generator can also transform the expression of the voltage-current equation into a state equation expression to obtain Where x1 is equal to the virtual synchronous generator d-axis output voltage u od , represents the voltage differential, x3 = f, represents the total disturbance of the virtual synchronous generator, h is the differential of the total disturbance, u = ud * , represents the input voltage of the ADRC, b0=1 / L f C f Represents an estimate of the system gain factor for the virtual synchronous generator.

[0017] Optionally, the construction unit includes a first construction module, and the first construction module is used to construct a linear extended state observer based on a state equation expression, wherein the expression of the linear extended state observer is expressed as z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad1 , β ad2 and β ad3 is the gain of the linear extended state observer, They represent the outputs of the linear extended state observer for z1, z2, and z3 respectively.

[0018] Optionally, the introduction unit includes a first introduction module, the first introduction module is used to introduce a voltage differential component into the linear extended state observer, and the expression of the linear extended state observer after the voltage differential component is introduced is expressed as: Among them, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad4 is the gain of the linear extended state observer, y2=x2, which represents the voltage derivative.

[0019] Optionally, the introduction unit includes a second introduction module, and the second introduction module is used to introduce a resonant controller into the linear extended state observer, and the expression of the resonant controller is expressed as: Among them, K r represents the gain of the resonant controller, ω s and ω rf represents the resonant frequency of the resonant controller, and s represents the complex frequency parameter in Laplace transform.

[0020] Optionally, the construction unit includes a second construction module, and the second construction module is used to construct a linear expansion state feedback device, and the expression of the linear expansion state feedback device is expressed as Among them, k p and k d is the gain of the linear extended state feedback device, b0 represents the gain coefficient of the linear extended state feedback device, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, x1 is equal to the d-axis output voltage u of the virtual synchronous generator od , x2 is equal to the differential of the voltage x3 represents the total disturbance f of the virtual synchronous generator.

[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned harmonic suppression methods for a virtual synchronous generator.

[0022] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned harmonic suppression methods for a virtual synchronous generator.

[0023] In the present application, the following steps are performed: first, an active disturbance rejection controller is constructed according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback device, and a voltage differential component and a resonant controller are introduced into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage differential component is obtained by derivation of the output voltage of the virtual synchronous generator on the d-axis, and then the disturbance signal of the virtual synchronous generator is observed based on the improved linear extended state observer, and a compensation strategy is generated based on the resonant controller, and finally the linear extended state feedback device suppresses the harmonics in the virtual synchronous generator based on the compensation strategy.

[0024] In the present application, an active disturbance rejection controller is constructed based on the voltage-current equation, a voltage differential component is introduced into the linear extended state observer of the active disturbance rejection controller, the bandwidth of the observer is optimized, the phase lag problem existing in the virtual synchronous generator is solved, and a resonant controller is introduced into the linear extended state observer to effectively suppress harmonics of specific frequencies in the system output, improve the dynamic response capability of the virtual synchronous generator system, and enhance the system stability, thereby solving the technical problem in the related art that the introduction of a PI regulator into the virtual synchronous generator will cause phase lag and lead to instability of the virtual synchronous generator control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. 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:

[0026] Figure 1 is a flow chart of an optional harmonic suppression method of a virtual synchronous generator according to an embodiment of the present invention;

[0027] Figure 2 is a schematic diagram of harmonic suppression of an optional virtual synchronous generator according to an embodiment of the present invention;

[0028] Figure 3 is a schematic diagram of an optional harmonic suppression device for a virtual synchronous generator according to an embodiment of the present invention;

[0029] Figure 4 The present invention is a hardware structure block diagram of an electronic device (or mobile device) for a harmonic suppression method of a virtual synchronous generator according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] It should be noted that the harmonic suppression method and device of the virtual synchronous generator in the present application can be used in the field of smart grid when the harmonics of the virtual synchronous generator are suppressed based on the active disturbance rejection controller, and can also be used in any field except the field of smart grid when the harmonics of the virtual synchronous generator are suppressed based on the active disturbance rejection controller. The application field of the harmonic suppression method and device of the virtual synchronous generator in the present application is not limited.

[0033] The following embodiments of the present invention can be applied to harmonic suppression systems / applications / devices of various virtual synchronous generators. The present invention suppresses harmonics in the virtual synchronous generator control system by introducing an auto-disturbance rejection controller, especially the harmonic impact when different types of loads are connected. Through the real-time estimation and compensation functions of the auto-disturbance rejection controller, the dynamic response capability of the system is improved, so that the virtual synchronous generator can respond to external disturbances quickly and stably under various operating conditions. The auto-disturbance rejection controller introduces a voltage differential component and a resonant controller, which can optimize the bandwidth of the observer to effectively suppress the harmonics of the virtual synchronous generator control system, adapt to changes in system parameters and external disturbances, improve the robustness and anti-interference ability of the virtual synchronous generator, and ensure that the system can still operate stably in a complex and uncertain power environment.

[0034] The present invention is described in detail below in conjunction with various embodiments.

[0035] Embodiment 1

[0036] According to an embodiment of the present invention, an embodiment of a harmonic suppression method for a virtual synchronous generator is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] Figure 1 is a flow chart of an optional harmonic suppression method for a virtual synchronous generator according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0038] Step S101, constructing an active disturbance rejection controller according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback;

[0039] Step S102, introducing a voltage differential component and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage differential component is obtained by performing a derivative calculation on the output voltage of the virtual synchronous generator on the d-axis;

[0040] Step S103, observing the disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generating a compensation strategy based on the resonant controller;

[0041] Step S104: The linear extended state feedback device suppresses harmonics in the virtual synchronous generator based on a compensation strategy.

[0042] Through the above steps, an active disturbance rejection controller is firstly constructed according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback device, and a voltage derivative and a resonant controller are introduced into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage derivative is obtained by derivation of the output voltage of the virtual synchronous generator on the d-axis, and then the disturbance signal of the virtual synchronous generator is observed based on the improved linear extended state observer, and a compensation strategy is generated based on the resonant controller, and finally the linear extended state feedback device suppresses the harmonics in the virtual synchronous generator based on the compensation strategy.

[0043] In this embodiment, an active disturbance rejection controller is constructed based on the voltage-current equation, a voltage differential component is introduced into the linear extended state observer of the active disturbance rejection controller, the bandwidth of the observer is optimized, the phase lag problem existing in the virtual synchronous generator is solved, and a resonant controller is introduced into the linear extended state observer to effectively suppress harmonics of specific frequencies in the system output, improve the dynamic response capability of the virtual synchronous generator system, and enhance the system stability, thereby solving the technical problem in the related art that the introduction of a PI regulator into the virtual synchronous generator will cause phase lag and lead to instability of the virtual synchronous generator control system.

[0044] The embodiment of the present invention is described in detail below in combination with the above steps.

[0045] It should be noted that, as an advanced control technology, the virtual synchronous generator can imitate the operating characteristics of traditional synchronous generators and provide the power grid with inertial support and damping characteristics similar to those of traditional synchronous machines, which helps to improve the stability and operational safety of the power grid. It is widely used in fields such as photovoltaic power generation. Specifically, the virtual synchronous generator can simulate the inertia of traditional synchronous generators. When the grid frequency changes, the virtual synchronous generator can respond quickly and help stabilize the grid frequency by controlling the inverter output. The virtual synchronous generator can provide a primary frequency regulation function, that is, when the grid frequency deviates, it can actively adjust the output power to support the grid frequency to return to normal levels. By simulating the damping characteristics of the synchronous generator, the virtual synchronous generator helps to improve the dynamic stability of the power grid and reduce grid fluctuations caused by the high penetration of renewable energy.

[0046] PI regulator plays a key role in the virtual synchronous generator. It provides stable and high-quality electric energy to the power grid by accurately controlling the output of the inverter. However, the introduction of the PI regulator will cause phase lag in the virtual synchronous generator. This phase lag limits the bandwidth of the external power loop of the virtual synchronous generator, resulting in unsatisfactory dynamic power control performance and prolonged parallel operation stabilization time, affecting the stability of the virtual synchronous generator and being unfavorable to the suppression of system harmonics.

[0047] The embodiment of the present invention can significantly improve the dynamic response performance of the virtual synchronous generator by using an anti-disturbance control controller to estimate and compensate for disturbances and uncertainties in the system in real time, so that the virtual synchronous generator can maintain stability and efficiency under various operating conditions. The voltage differential component is introduced into the anti-disturbance control controller to optimize the bandwidth of the observer and solve the phase lag problem existing in the system. Secondly, a resonant controller is introduced into the linear extended state observer of the anti-disturbance control controller to effectively suppress harmonics of specific frequencies in the system output, so that the virtual synchronous generator can adapt to changes in system parameters and external disturbances, improve the robustness and anti-interference ability of the virtual synchronous generator, and ensure the reliable operation of the system in a complex power environment.

[0048] Step S101: construct an active disturbance rejection controller according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback.

[0049] It should be noted that the active disturbance rejection controller can estimate and eliminate the total disturbance in the system in real time, and is suitable for current harmonic suppression, power oscillation suppression, etc. The stability of the active disturbance rejection controller is an important research topic at present. When constructing an active disturbance rejection controller, it is necessary to first establish a mathematical model of the virtual synchronous generator. The mathematical model can be expressed as differential equations of voltage and current, that is, the voltage and current equation. Then, a linear extended state observer and a linear extended state feedback are constructed based on the mathematical model. The linear extended state observer is an observer used to estimate the system state of the virtual synchronous generator and the internal or external disturbances of the system. The linear extended state feedback is used to compensate for the system state of the virtual synchronous generator and provide feedback.

[0050] Optionally, the voltage-current equation can be expressed as: Among them, u od represents the output voltage value of the virtual synchronous generator on the d-axis, u oq represents the output voltage value of the virtual synchronous generator on the q axis, d 2 u od / d t 2 is the second-order differential of the output voltage on the d-axis, b L is the system gain coefficient of the virtual synchronous generator, f is the total disturbance, u d * is the input voltage of the ADRC, ω is the angular frequency, L f and C f are the filter inductance and capacitance of the virtual synchronous generator output port, r f is the equivalent resistance of the filter inductor, r c is the equivalent resistance from the line to the common node, i od and i oqare the output currents of the virtual synchronous generator on the d-axis and q-axis, i ld and i lq are the port currents of the virtual synchronous generator on the d-axis and q-axis respectively, dω / dt is the differential of the angular frequency, di od / dt represents the differential of the port current.

[0051] It should be noted that the embodiment of the present invention constructs a mathematical model of a virtual synchronous generator by designing a voltage and current equation of a virtual synchronous generator. The virtual synchronous generator simulates the behavior of a traditional synchronous generator by precisely controlling the current, voltage and power on the dq axes. In the virtual synchronous generator, the d axis is aligned with the phase angle of the voltage, the q axis is aligned with the phase angle of the current, and the d axis and the q axis are in a vertical relationship. The output voltage and output current on the dq axes are used as variables, and the inductance and capacitance of the output port of the virtual synchronous generator and the equivalent resistance of the filter inductor are obtained. The total disturbance expression of the virtual synchronous generator is constructed through parameters such as the output voltage, output current, equivalent resistance, inductance and capacitance of the dq axes, and then the system gain coefficient of the virtual synchronous generator is constructed based on the inductance and capacitance of the output port of the virtual synchronous generator. Finally, the current and voltage equation is constructed based on the quadratic differential of the output voltage of the virtual synchronous generator on the d axis, the total disturbance expression and the system gain coefficient.

[0052] Optionally, the voltage-current equation can be transformed into a state equation to obtain Where x1 is equal to the virtual synchronous generator d-axis output voltage u od , represents the voltage differential, x3 = f, represents the total disturbance of the virtual synchronous generator, h is the differential of the total disturbance, u = u d * , represents the input voltage of the ADRC, b0=1 / L f C f Represents an estimate of the system gain factor for the virtual synchronous generator.

[0053] In an embodiment of the present invention, after constructing the voltage and current equations, the voltage and current equations are converted into state equation expressions. The state equation expressions express the original current and voltage equations in the form of input and output. The state equation is a mathematical model that describes how the internal state of the system changes over time. Based on the state equation, the internal structure and dynamic characteristics of the system can be understood more clearly, and it is also helpful to perform system state analysis.

[0054] Specifically, when constructing the state equation expression, introduce and Three variables are used as outputs of the state equation expression, and It represents the estimated values ​​of x1, x2 and x3 at a certain moment in the future. x1 is the d-axis output voltage of the virtual synchronous generator at a certain moment. x2 represents the voltage differential at a certain moment, that is, the differential of the d-axis output voltage of the virtual synchronous generator. x3 represents the total disturbance of the virtual synchronous generator system at a certain moment. The state equation expression can well represent the state parameters to be observed in the virtual synchronous system.

[0055] Optionally, a linear extended state observer is constructed based on the state equation expression, where the expression of the linear extended state observer is expressed as z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad1 , β ad2 and β ad3 is the gain of the linear extended state observer, They represent the outputs of the linear extended state observer for z1, z2, and z3 respectively.

[0056] It should be noted that the linear extended state observer is a part of the active disturbance rejection controller. The mathematical model of the linear extended state observer can be constructed based on the state equation expression. When constructing the mathematical model of the linear extended state observer, z1, z2, and z3 are used as the predicted values ​​of x1, x2, and x3 at a certain moment. They represent the outputs of the linear extended state observer for z1, z2, and z3 respectively. At the same time, the gain of the linear extended state observer and the system gain coefficient of the virtual synchronous generator are added to the mathematical model to obtain the mathematical model of the linear extended state observer.

[0057] Step S102, introducing a voltage derivative and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage derivative is obtained by derivation of the output voltage of the virtual synchronous generator on the d-axis.

[0058] It should be noted that the embodiment of the present invention introduces a voltage differential component into the linear extended state observer. The voltage differential component refers to the differential component obtained by differentiating the output voltage on the d-axis of the virtual synchronous generator. The system state of the linear extended observer is predicted and analyzed based on the voltage differential component, and the bandwidth of the observer is optimized, which solves the phase lag problem existing in the traditional linear extended state observer. Secondly, a resonant controller is introduced into the linear extended state observer to effectively suppress harmonics of specific frequencies in the system output, thereby realizing harmonic suppression of the virtual synchronous generator system.

[0059] Optionally, a voltage differential component is introduced into the linear extended state observer. The expression of the linear extended state observer after the voltage differential component is introduced is expressed as: Among them, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad4 is the gain of the linear extended state observer, y2=x2, which represents the voltage derivative.

[0060] It should be noted that y2 is introduced as the voltage differential in the expression of the above linear extended state observer, and then the mathematical model of the linear extended state observer with the voltage differential is constructed. The voltage differential is used as a factor to observe system disturbances and harmonics, which effectively expands the bandwidth of the observer and realizes accurate observation of harmonics.

[0061] Alternatively, the expression for the resonant controller is expressed as: Among them, K r represents the gain of the resonant controller, ω s and ω rf represents the resonant frequency of the resonant controller, and s represents the complex frequency parameter in Laplace transform.

[0062] It should be noted that the resonant controller, as a key part of the control strategy, can effectively reduce the harmonics in the system, thereby reducing electromagnetic interference and optimizing the system stability. The embodiment of the present invention introduces a resonant controller into the linear extended state observer, which can effectively suppress the harmonics of specific frequencies in the output of the virtual synchronous generator system. The mathematical model of the resonant controller is constructed based on the gain of the resonant controller, the resonant frequency of the resonant controller and the complex frequency parameters in the Laplace transform. The resonant controller is introduced into the active disturbance rejection controller as a part of the linear extended state observer to optimize the performance of the active disturbance rejection controller.

[0063] Step S103: observing the disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generating a compensation strategy based on the resonant controller.

[0064] It should be noted that the embodiment of the present invention performs state observation and harmonic suppression on the virtual synchronous generator control system through a constructed self-disturbance rejection controller. Specifically, it is based on a linear extended state observer with a voltage derivative and a resonant controller to observe the disturbance signal in the virtual synchronous generator, analyze the disturbance signal, and generate a compensation strategy based on the resonant controller. The compensation strategy is used to remove the interfering harmonics, thereby reducing the impact of the harmonics on the system, enhancing the stability of the system, and improving the stability and power quality of the power grid system.

[0065] Step S104: The linear extended state feedback device suppresses harmonics in the virtual synchronous generator based on a compensation strategy.

[0066] Alternatively, the linear expansion state feedback function can be expressed as Among them, k p and kd is the gain of the linear extended state feedback device, b0 represents the gain coefficient of the linear extended state feedback device, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, x1 is equal to the d-axis output voltage u of the virtual synchronous generator od , x2 is equal to the differential of the voltage x3 represents the total disturbance f of the virtual synchronous generator.

[0067] It should be noted that after the compensation strategy is generated based on the linear extended state observer, the compensation strategy is fed back to the linear state extended feedback device, which removes the harmonics of a specific frequency and feeds back the output signal after the harmonics are removed to the user end, so that the user end can observe the real-time state of the virtual synchronous generator.

[0068] It should be noted that a linear extended state feedback device can be constructed based on the gain and gain coefficient of the linear extended state feedback device and the various observable parameters of the virtual synchronous generator. An active disturbance rejection controller is constructed based on the linear extended state observer and the linear extended state feedback device. The real-time estimation and compensation functions of the active disturbance rejection controller can effectively reduce the impact of harmonics on the virtual synchronous generator system and improve the stability and control accuracy of the system.

[0069] In summary, Figure 2 is a schematic diagram of harmonic suppression of an optional virtual synchronous generator according to an embodiment of the present invention, such as Figure 2 As shown, the embodiment of the present invention is a plurality of loads ( Figure 2 bus1, bus2, bus3, bus4, bus5, bus6, and bus7 are used as schematics in the figure) and then connected to the active disturbance rejection controller ( Figure 2 VSG1, VSG2, VSG3, and VSG4 are used as schematic illustrations). Figure 2 The PCC in the figure refers to the common coupling point, that is, the power access point of the distribution system. The distribution system connects the power grid with the independent power supply. In the embodiment of the present invention, each load is connected to the active disturbance rejection controller. The active disturbance rejection controller is used to perform disturbance observation and harmonic suppression on the virtual synchronous generator system. The disturbance and uncertainty in the system can be estimated and compensated in real time, thereby improving the robustness and dynamic performance of the system, effectively reducing the impact of harmonics on the system, and improving the stability and control accuracy of the system.

[0070] The following is a detailed description in conjunction with another embodiment.

[0071] Embodiment 2

[0072] A harmonic suppression device for a virtual synchronous generator provided in this embodiment includes multiple implementation units, each implementation unit corresponds to each implementation step in the above-mentioned embodiment 1. Its specific implementation methods and beneficial effects can refer to the above-mentioned method embodiments and will not be repeated here.

[0073] Figure 3 is a schematic diagram of an optional harmonic suppression device for a virtual synchronous generator according to an embodiment of the present invention, such as Figure 3 As shown, the harmonic suppression device of the virtual synchronous generator may include: a construction unit 31, an introduction unit 32, an observation unit 33, and a suppression unit 34, wherein:

[0074] A construction unit 31 is used to construct an active disturbance rejection controller according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback;

[0075] An introducing unit 32 is used to introduce a voltage differential component and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage differential component is obtained by calculating the derivative of the output voltage of the virtual synchronous generator on the d-axis;

[0076] An observation unit 33, used for observing the disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generating a compensation strategy based on the resonant controller;

[0077] The suppression unit 34 is used to suppress harmonics in the virtual synchronous generator based on a compensation strategy by a linear extended state feedback device.

[0078] The harmonic suppression device of the above-mentioned virtual synchronous generator constructs an anti-disturbance control device according to the voltage and current equations of the virtual synchronous generator through a construction unit 31, wherein the anti-disturbance control device includes a linear extended state observer and a linear extended state feedback device; a voltage differential component and a resonant controller are introduced into the linear extended state observer through an introduction unit 32 to obtain an improved linear extended state observer, wherein the voltage differential component is obtained by derivation calculation of the output voltage of the virtual synchronous generator on the d-axis; an observation unit 33 observes the disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generates a compensation strategy based on the resonant controller; a suppression unit 34 suppresses harmonics in the virtual synchronous generator based on the compensation strategy by the linear extended state feedback device.

[0079] In this embodiment, an active disturbance rejection controller is constructed based on the voltage-current equation, a voltage differential component is introduced into the linear extended state observer of the active disturbance rejection controller, the bandwidth of the observer is optimized, the phase lag problem existing in the virtual synchronous generator is solved, and a resonant controller is introduced into the linear extended state observer to effectively suppress harmonics of specific frequencies in the system output, improve the dynamic response capability of the virtual synchronous generator system, and enhance the system stability, thereby solving the technical problem in the related art that the introduction of a PI regulator into the virtual synchronous generator will cause phase lag and lead to instability of the virtual synchronous generator control system.

[0080] It should be noted that, as an advanced control technology, the virtual synchronous generator can imitate the operating characteristics of traditional synchronous generators and provide the power grid with inertial support and damping characteristics similar to those of traditional synchronous machines, which helps to improve the stability and operational safety of the power grid. It is widely used in fields such as photovoltaic power generation. Specifically, the virtual synchronous generator can simulate the inertia of traditional synchronous generators. When the grid frequency changes, the virtual synchronous generator can respond quickly and help stabilize the grid frequency by controlling the inverter output. The virtual synchronous generator can provide a primary frequency regulation function, that is, when the grid frequency deviates, it can actively adjust the output power to support the grid frequency to return to normal levels. By simulating the damping characteristics of the synchronous generator, the virtual synchronous generator helps to improve the dynamic stability of the power grid and reduce grid fluctuations caused by the high penetration of renewable energy.

[0081] PI regulator plays a key role in the virtual synchronous generator. It provides stable and high-quality electric energy to the power grid by accurately controlling the output of the inverter. However, the introduction of the PI regulator will cause phase lag in the virtual synchronous generator. This phase lag limits the bandwidth of the external power loop of the virtual synchronous generator, resulting in unsatisfactory dynamic power control performance and prolonged parallel operation stabilization time, affecting the stability of the virtual synchronous generator and being unfavorable to the suppression of system harmonics.

[0082] The embodiment of the present invention can significantly improve the dynamic response performance of the virtual synchronous generator by using an anti-disturbance control controller to estimate and compensate for disturbances and uncertainties in the system in real time, so that the virtual synchronous generator can maintain stability and efficiency under various operating conditions. The voltage differential component is introduced into the anti-disturbance control controller to optimize the bandwidth of the observer and solve the phase lag problem existing in the system. Secondly, a resonant controller is introduced into the linear extended state observer of the anti-disturbance control controller to effectively suppress harmonics of specific frequencies in the system output, so that the virtual synchronous generator can adapt to changes in system parameters and external disturbances, improve the robustness and anti-interference ability of the virtual synchronous generator, and ensure the reliable operation of the system in a complex power environment.

[0083] Optionally, the voltage-current equation can be expressed as: Among them, uod represents the output voltage value of the virtual synchronous generator on the d-axis, u oq represents the output voltage value of the virtual synchronous generator on the q axis, d 2 u od / d t 2 is the second-order differential of the output voltage on the d-axis, b L is the system gain coefficient of the virtual synchronous generator, f is the total disturbance, u d * is the input voltage of the ADRC, ω is the angular frequency, L f and C f are the filter inductance and capacitance of the virtual synchronous generator output port, r f is the equivalent resistance of the filter inductor, r c is the equivalent resistance from the line to the common node, i od and i oq are the output currents of the virtual synchronous generator on the d-axis and q-axis, i ld and i lq are the port currents of the virtual synchronous generator on the d-axis and q-axis respectively, dω / dt is the differential of the angular frequency, di od / dt represents the differential of the port current.

[0084] Optionally, the harmonic suppression device of the virtual synchronous generator can also transform the expression of the voltage-current equation into a state equation expression to obtain Where x1 is equal to the virtual synchronous generator d-axis output voltage u od , represents the voltage differential, x3 = f, represents the total disturbance of the virtual synchronous generator, h is the differential of the total disturbance, u = u d * , represents the input voltage of the ADRC, b0=1 / L f C f Represents an estimate of the system gain factor for the virtual synchronous generator.

[0085] Optionally, the construction unit includes a first construction module, and the first construction module is used to construct a linear extended state observer based on a state equation expression, wherein the expression of the linear extended state observer is expressed as z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad1 , β ad2 and β ad3 is the gain of the linear extended state observer, They represent the outputs of the linear extended state observer for z1, z2, and z3 respectively.

[0086] Optionally, the introduction unit includes a first introduction module, the first introduction module is used to introduce a voltage differential component into the linear extended state observer, and the expression of the linear extended state observer after the voltage differential component is introduced is expressed as: Among them, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, β ad4 is the gain of the linear extended state observer, y2=x2, which represents the voltage derivative.

[0087] Optionally, the introduction unit includes a second introduction module, and the second introduction module is used to introduce a resonant controller into the linear extended state observer, and the expression of the resonant controller is expressed as: Among them, K r represents the gain of the resonant controller, ω s and ω rf represents the resonant frequency of the resonant controller, and s represents the complex frequency parameter in Laplace transform.

[0088] Optionally, the construction unit includes a second construction module, and the second construction module is used to construct a linear expansion state feedback device, and the expression of the linear expansion state feedback device is expressed as Among them, k p and k d is the gain of the linear extended state feedback device, b0 represents the gain coefficient of the linear extended state feedback device, z1, z2, z3 represent the predicted values ​​of x1, x2, x3 respectively, x1 is equal to the d-axis output voltage u of the virtual synchronous generator od , x2 is equal to the differential of the voltage x3 represents the total disturbance f of the virtual synchronous generator.

[0089] The harmonic suppression device of the above-mentioned virtual synchronous generator may also include a processor and a memory. The above-mentioned construction unit 31, introduction unit 32, observation unit 33, suppression unit 34, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0090] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and harmonics in the virtual synchronous generator can be suppressed by adjusting kernel parameters.

[0091] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (fl ash RAM), and the memory includes at least one storage chip.

[0092] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned harmonic suppression methods for a virtual synchronous generator.

[0093] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned harmonic suppression methods for a virtual synchronous generator.

[0094] According to another aspect of an embodiment of the present invention, a computer program product is further provided. The computer program product includes a computer program, wherein when the computer program is executed by a processor, any of the above-mentioned harmonic suppression methods for a virtual synchronous generator is implemented.

[0095] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: constructing an active disturbance rejection controller based on the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback device; introducing a voltage differential component and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage differential component is obtained by deriving the output voltage of the virtual synchronous generator on the d-axis; observing the disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generating a compensation strategy based on the resonant controller; and suppressing harmonics in the virtual synchronous generator based on the compensation strategy by the linear extended state feedback device.

[0096] Figure 4 1 is a hardware structure block diagram of an electronic device (or mobile device) according to a harmonic suppression method of a virtual synchronous generator according to an embodiment of the present invention. Figure 4 As shown, the electronic device may include one or more ( Figure 4 402a, 402b, ..., 402n are used to illustrate) processor 402 (processor 402 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), memory 404 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 4 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 4 More or fewer components as shown, or with Figure 4 Different configurations are shown.

[0097] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0098] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0099] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0101] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0102] If the integrated unit 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 technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0103] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A harmonic suppression method for a virtual synchronous generator, It is characterized in that include: An active disturbance rejection controller is constructed according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback; Introducing a voltage differential component and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage differential component is obtained by derivation of the output voltage of the virtual synchronous generator on the d-axis; Observing the disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generating a compensation strategy based on the resonant controller; Harmonics in the virtual synchronous generator are suppressed by the linear extended state feedback based on the compensation strategy.

2. The method according to claim 1, It is characterized in that The voltage-current equation is expressed as: Among them, u od represents the output voltage value of the virtual synchronous generator on the d-axis, u oq represents the output voltage value of the virtual synchronous generator on the q axis, d 2 u od / d t 2 is the second-order differential of the output voltage on the d-axis, b L is the system gain coefficient of the virtual synchronous generator, f is the total disturbance, u d * is the input voltage of the ADRC, ω is the angular frequency, L f and C f are the filter inductance and capacitance of the output port of the virtual synchronous generator, r f is the equivalent resistance of the filter inductor, r c is the equivalent resistance from the line to the common node, i od and i oq are the output currents of the virtual synchronous generator on the d-axis and q-axis, respectively, i ld and i lq are the port currents of the virtual synchronous generator on the d-axis and q-axis respectively, dω / dt is the differential of the angular frequency, di od / dt represents the differential of the port current.

3. The method according to claim 2, It is characterized in that The voltage-current equation is converted into a state equation, and we get Among them, x 1 Equal to the virtual synchronous generator d-axis output voltage u od , represents the voltage differential, x 3 =f, represents the total disturbance of the virtual synchronous generator, h is the differential of the total disturbance, u = u d * , represents the input voltage of the ADRC, b 0 =1 / L f C f represents an estimated value of the system gain coefficient of the virtual synchronous generator.

4. The method according to claim 3, It is characterized in that A linear extended state observer is constructed based on the state equation expression, wherein the expression of the linear extended state observer is expressed as z 1 、z 2 、z 3 Respectively represent x 1 、x 2 、x 3 The predicted value, β ad1 , β ad2 and β ad3 is the gain of the linear extended state observer, They represent the linear extended state observer for z 1 、z 2 、z 3 Output.

5. The method according to claim 4, It is characterized in that The voltage differential component is introduced into the linear extended state observer. The expression of the linear extended state observer after the voltage differential component is introduced is expressed as follows: Among them, z 1 、z 2 、z 3 Respectively represent x 1 、x 2 、x 3 The predicted value, β ad4 is the gain of the linear extended state observer, y 2 =x 2 , represents the voltage differential.

6. The method according to claim 1, It is characterized in that The expression of the resonant controller is expressed as: Among them, K r represents the gain of the resonant controller, ω s and ω rf represents the resonant frequency of the resonant controller, and s represents the complex frequency parameter in Laplace transform.

7. The method according to claim 1, It is characterized in that The linear expansion state feedback function is expressed as: Among them, k p and k d is the gain of the linear expansion state feedback device, b 0 represents the gain coefficient of the linear expansion state feedback device, z 1 、z 2 、z 3 Respectively represent x 1 、x 2 、x 3 The predicted value, x 1 Equal to the virtual synchronous generator d-axis output voltage u od , x 2 Equal to the differential of voltage x 3 represents the total disturbance f of the virtual synchronous generator.

8. A harmonic suppression device for a virtual synchronous generator, It is characterized in that include: A construction unit, used for constructing an active disturbance rejection controller according to the voltage and current equations of the virtual synchronous generator, wherein the active disturbance rejection controller includes a linear extended state observer and a linear extended state feedback; An introduction unit is used to introduce a voltage differential component and a resonant controller into the linear extended state observer to obtain an improved linear extended state observer, wherein the voltage differential component is obtained by performing a derivative calculation on the output voltage of the virtual synchronous generator on the d-axis; An observation unit, configured to observe a disturbance signal of the virtual synchronous generator based on the improved linear extended state observer, and generate a compensation strategy based on the resonant controller; A suppression unit is used to suppress harmonics in the virtual synchronous generator based on the compensation strategy by the linear extended state feedback device.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the harmonic suppression method for a virtual synchronous generator according to any one of claims 1 to 7.

10. An electronic device, It is characterized in that It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the harmonic suppression method of the virtual synchronous generator described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Wind farm power control method and system based on energy storage inverter

    CN109004680A

  • Improved linear active-disturbance-rejection motor control method based on quasi-resonance controller

    CN115296586A

  • Active disturbance rejection control system based on fractional order linear expansion state observer

    CN115580160A

  • Micro-grid active-disturbance-rejection control method considering model compensation

    CN115800319A

  • Grid-connected harmonic current suppression method based on current feed-forward compensation and related device

    CN116365522A