CN111654064B - Control method and related device of virtual synchronous generator - Google Patents
Control method and related device of virtual synchronous generator Download PDFInfo
- Publication number
- CN111654064B CN111654064B CN202010579040.1A CN202010579040A CN111654064B CN 111654064 B CN111654064 B CN 111654064B CN 202010579040 A CN202010579040 A CN 202010579040A CN 111654064 B CN111654064 B CN 111654064B
- Authority
- CN
- China
- Prior art keywords
- vector
- standard voltage
- synchronous generator
- virtual synchronous
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 102
- 238000000034 method Methods 0.000 title claims abstract description 50
- 239000013598 vector Substances 0.000 claims abstract description 310
- 230000009471 action Effects 0.000 claims abstract description 28
- 230000003068 static effect Effects 0.000 claims abstract description 14
- 238000005070 sampling Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 10
- 230000009466 transformation Effects 0.000 claims description 7
- 230000006870 function Effects 0.000 description 8
- 230000001276 controlling effect Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000001939 inductive effect Effects 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013016 damping Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/40—Synchronising a generator for connection to a network or to another generator
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P9/00—Arrangements for controlling electric generators for the purpose of obtaining a desired output
- H02P9/14—Arrangements for controlling electric generators for the purpose of obtaining a desired output by variation of field
- H02P9/26—Arrangements for controlling electric generators for the purpose of obtaining a desired output by variation of field using discharge tubes or semiconductor devices
- H02P9/30—Arrangements for controlling electric generators for the purpose of obtaining a desired output by variation of field using discharge tubes or semiconductor devices using semiconductor devices
- H02P9/305—Arrangements for controlling electric generators for the purpose of obtaining a desired output by variation of field using discharge tubes or semiconductor devices using semiconductor devices controlling voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/20—The dispersed energy generation being of renewable origin
- H02J2300/22—The renewable source being solar energy
- H02J2300/24—The renewable source being solar energy of photovoltaic origin
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/20—The dispersed energy generation being of renewable origin
- H02J2300/28—The renewable source being wind energy
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P2103/00—Controlling arrangements characterised by the type of generator
- H02P2103/20—Controlling arrangements characterised by the type of generator of the synchronous type
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/50—Photovoltaic [PV] energy
- Y02E10/56—Power conversion systems, e.g. maximum power point trackers
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Eletrric Generators (AREA)
Abstract
The application discloses a control method and a related device of a virtual synchronous generator, which comprises the steps of firstly obtaining a first standard voltage vector and a second standard voltage vector of a standard voltage vector under a two-phase static alpha beta coordinate system, then calculating the angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector, determining a first sector where the standard voltage vector is located according to the angle of the standard voltage vector, then calculating and judging the action time of a first instantaneous voltage control vector in the first sector according to a functional relation of a right triangle, thereby selecting an optimal voltage control vector from control vectors output by eight switching modes of the virtual synchronous generator, not traversing control vectors output by all switching modes in the virtual synchronous generator, reducing the calculation time of a control system, solving the problems that the existing control targets under different switching states need to be repeatedly calculated and compared, so as to select the optimal switching state, which leads to the technical problem of long calculation time.
Description
Technical Field
The application relates to the technical field of grid-connected inverter control, in particular to a control method and a related device of a virtual synchronous generator.
Background
With the vigorous development of renewable energy sources, distributed energy sources such as solar energy, wind energy and the like using an inverter as a grid-connected interface are rapidly developed. In order to achieve friendly access to distributed energy resources, Virtual Synchronous Generators (VSGs) that simulate rotor inertia and damping characteristics of synchronous generators are widely used.
The existing model prediction control method of the virtual synchronous generator needs to repeatedly calculate and compare control targets in different switching states so as to select the optimal switching state, and therefore calculation time is long.
Disclosure of Invention
The application provides a control method and a related device of a virtual synchronous generator, which are used for solving the technical problem that the calculation time is long due to the fact that the existing model prediction control method of the virtual synchronous generator needs to repeatedly calculate and compare control targets in different switching states so as to select the optimal switching state.
In view of the above, a first aspect of the present application provides a method for controlling a virtual synchronous generator, including:
acquiring a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator in a two-phase static alpha beta coordinate system;
calculating an angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector;
determining a first sector in which the standard voltage vector is located according to angles of a preset sector and the standard voltage vector, wherein the preset sector is obtained by dividing according to a switching mode of the virtual synchronous generator;
calculating the action time of a first instantaneous voltage control vector of the first sector according to a functional relation of a right triangle;
if the action time of the first instantaneous voltage control vector is greater than or equal to the preset time, selecting the first instantaneous voltage control vector as an optimal voltage control vector;
if the action time of the first instantaneous voltage control vector is less than the preset time, selecting a zero vector as an optimal voltage control vector;
and selecting a corresponding switch mode according to the optimal voltage control vector.
Optionally, the preset sector dividing process specifically includes:
calculating a control vector output by each switching mode according to the switching mode of the virtual synchronous generator, wherein the control vector comprises an instantaneous voltage control vector and the zero vector;
and dividing the space voltage vector of the virtual synchronous generator into six sectors according to the instantaneous voltage control vector and the zero vector.
Optionally, the functional relation of the right triangle is:
wherein,for the vector of said standard voltage, the voltage is,is the angle, V, of the standard voltage vectoriIs the ith instantaneous voltage control vector, n is the sector, TsIs the sampling period.
Optionally, the preset time is half of the sampling period.
Optionally, the acquiring a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator in a two-phase stationary α β coordinate system includes:
and obtaining a first standard voltage vector and a second standard voltage vector under a two-phase static alpha beta coordinate system by Clark transformation of the standard voltage vectors.
A second aspect of the present application provides a control apparatus of a virtual synchronous generator, including: the device comprises an acquisition unit, a first calculation unit, a determination unit, a second calculation unit, a first selection unit, a second selection unit and a third selection unit;
the acquiring unit is used for acquiring a first standard voltage vector and a second standard voltage vector of a standard voltage vector of the virtual synchronous generator in a two-phase static alpha beta coordinate system;
the first calculating unit is used for calculating the angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector;
the determining unit is used for determining a first sector where the standard voltage vector is located according to angles between a preset sector and the standard voltage vector, wherein the preset sector is obtained by dividing according to a switching mode of the virtual synchronous generator;
the second calculating unit is used for calculating the action time of the first instantaneous voltage control vector of the first sector according to the functional relation of a right triangle;
the first selection unit is used for selecting the first instantaneous voltage control vector as an optimal voltage control vector if the action time of the first instantaneous voltage control vector is greater than or equal to a preset time;
the second selection unit is used for selecting a zero vector as an optimal voltage control vector if the action time of the first instantaneous voltage control vector is less than the preset time;
and the third selecting unit is used for selecting a corresponding switch mode according to the optimal voltage control vector.
Optionally, the preset sector division process specifically includes;
calculating a control vector output by each switching mode according to the switching mode of the virtual synchronous generator, wherein the control vector comprises an instantaneous voltage control vector and the zero vector;
and dividing the space voltage vector of the virtual synchronous generator into six sectors according to the instantaneous voltage control vector and the zero vector.
Optionally, the obtaining unit is specifically configured to obtain a first standard voltage vector and a second standard voltage vector in a two-phase stationary α β coordinate system by performing Clark transformation on the standard voltage vector.
A third aspect of the present application provides a control apparatus of a virtual synchronous generator, the apparatus comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the control method of the virtual synchronous generator according to the first aspect, according to instructions in the program code.
A fourth aspect of the present application provides a computer-readable storage medium for storing program code for executing the control method of the virtual synchronous generator according to any one of the first aspects.
According to the technical scheme, the method has the following advantages:
the application discloses a control method of a virtual synchronous generator, which comprises the following steps: acquiring a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator in a two-phase static alpha beta coordinate system; calculating the angle of the standard voltage vector according to the first standard voltage vector and the second standard ideal voltage vector; determining a first sector in which a standard voltage vector is located according to angles of a preset sector and the standard voltage vector, wherein the preset sector is obtained by dividing according to a switching mode of a virtual synchronous generator; calculating the action time of a first instantaneous voltage control vector of the first sector according to the functional relation of the right triangle; if the action time of the first instantaneous voltage control vector is greater than or equal to the preset time, selecting the first instantaneous voltage control vector as an optimal voltage control vector; if the action time of the first instantaneous voltage control vector is less than the preset time, selecting a zero vector as an optimal voltage control vector; and selecting a corresponding switch mode according to the optimal voltage control vector.
The method comprises the steps of firstly obtaining a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator under a two-phase static alpha beta coordinate system, calculating the angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector, determining a first sector where the standard voltage vector is located according to the angle of the standard voltage vector, calculating and judging the action time of a first instantaneous voltage control vector in the first sector according to a functional relation of a right triangle, so that the optimal voltage control vector can be selected from control vectors output by eight switching modes of the virtual synchronous generator, the control vectors output by all switching modes in the virtual synchronous generator do not need to be traversed, the calculation time of a control system is reduced, and the problems that the existing model prediction control method of the virtual synchronous generator needs to repeatedly calculate and compare control targets under different switching states are solved, so as to select the optimal switching state, which leads to the technical problem of long calculation time.
Drawings
Fig. 1 is a schematic flowchart of a control method of a virtual synchronous generator according to an embodiment of the present disclosure;
fig. 2 is another schematic flow chart of a control method of a virtual synchronous generator according to an embodiment of the present disclosure;
FIG. 3 is a control diagram of a virtual synchronous generator provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a VSG control method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a control device of a virtual synchronous generator according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a control method and a related device of a virtual synchronous generator, which are used for solving the technical problem that the calculation time is long as the control target under different switching states needs to be repeatedly calculated and compared in the existing control method of the virtual synchronous generator so as to select the optimal switching state.
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the embodiments described below are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, an embodiment of the present application provides a method for controlling a virtual synchronous generator, including:
It is noted that the standard voltage vector of the virtual synchronous generator is obtainedFirst standard voltage vector in two-phase stationary alpha beta coordinate systemAnd a second standard voltage vector
And 102, calculating the angle of the standard voltage vector according to the first standard voltage vector and the second standard ideal voltage vector.
According to a first standard voltage vectorAnd a second standard voltage vectorThe standard voltage vector can be calculated by an arc tangent function formulaThe angle of (c). Of course, the person skilled in the art can also calculate the angle of the standard voltage vector by using a sine function formula or a tangent function formula according to the actual situation.
It should be noted that the formula of the arctangent function is:
wherein,as a vector of standard voltageWhen an angle of (1) is satisfiedWhen the temperature of the water is higher than the set temperature,
and 103, determining a first sector in which the standard voltage vector is positioned according to the preset sector and the angle of the standard voltage vector.
It should be noted that, after the angle of the standard voltage vector is calculated, the first sector in which the standard voltage vector is located may be determined through a sector calculation formula according to the preset sector and the angle of the standard voltage vector, where the preset sector is obtained by dividing according to the switching mode of the virtual synchronous generator. After the first sector where the standard voltage vector is located is obtained, the instantaneous voltage control vector and the zero vector output by the switching mode corresponding to the first sector can be determined as the selected objects.
The sector calculation formula is:
wherein, n is a sector,as a vector of standard voltageWhen the value of n is greater than 6, let n be 1.
And 104, calculating the action time of the first instantaneous voltage control vector of the first sector according to the functional relation of the right triangle.
It should be noted that the functional relation of the right triangle is:
wherein,is a vector of the standard voltage, and is,is the angle of the standard voltage vector, ViIs the ith instantaneous voltage control vector, n is the sector, TsIs the sampling period.
And 105, judging whether the action time of the first instantaneous voltage control vector of the first sector is greater than or equal to the preset time.
After the action time of the first instantaneous voltage control vector is calculated, it is further determined whether the action time is greater than or equal to a preset time, if so, the process proceeds to step 106, and if not, the process proceeds to step 107.
And 106, selecting the first instantaneous voltage control vector as the optimal voltage control vector.
And step 107, selecting the zero vector as the optimal voltage control vector.
And 108, selecting a corresponding switch mode according to the optimal voltage control vector.
The embodiment of the application firstly obtains a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator under a two-phase static alpha beta coordinate system, calculates the angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector, then determines a first sector where the standard voltage vector is located according to the angle of the standard voltage vector, calculates and judges the action time of a first instantaneous voltage control vector in the first sector according to a functional relation of a right triangle, thereby selecting an optimal voltage control vector from eight control vectors output by switching modes of the virtual synchronous generator, not traversing all control vectors output by the switching modes in the virtual synchronous generator, reducing the calculation time of a control system, solving the problems that the existing model prediction control method of the virtual synchronous generator needs to repeatedly calculate and compare control targets under different switching states, so as to select the optimal switching state, which leads to the technical problem of long calculation time.
The above is a detailed description of a first embodiment of a method for controlling a virtual synchronous generator provided by the present application, and the following is a detailed description of a second embodiment of a method for controlling a virtual synchronous generator provided by the present application.
Referring to fig. 2, fig. 3 and fig. 4, an embodiment of the present application provides a method for controlling a virtual synchronous generator, including:
It can be understood that after the standard voltage vector is obtained through calculation, the first standard voltage vector in the two-phase static alpha beta coordinate system needs to be obtained through Clark transformation of the standard voltage vectorAnd a second standard voltage vector
It should be noted that the standard voltage vector of the virtual synchronous generator is calculated by the VSG control method. The virtual synchronous generator comprises a direct-current side power supply, a three-phase inverter circuit, an LC type filter, a sampling circuit and a driving protection circuit, wherein the direct-current power supply is connected with the three-phase inverter circuit, and the direct-current power supply is inverted and then merged into an alternating-current power grid through the filter. Before obtaining a standard voltage vector, firstly, collecting three-phase output voltage and grid-connected current of a virtual synchronous generator, active power P, reactive power Q and peak voltage U output by a computer terminalmCollecting the inductive current and the DC side voltage V in the LC filterdc。
According to the preset active power PrefObtaining the virtual mechanical torque T of the virtual synchronous generator after power regulationmThe calculation formula of the virtual mechanical torque of the present embodiment is:
Tm=T0+kω(ω0- ω), and T0=Pref/ω0;
Wherein, T0For mechanical torque command, ω0Is a rated angular velocity, omega is the mechanical angular velocity of the virtual synchronous generator under the condition that the number of pole pairs is 1, kωIs the primary frequency modulation coefficient.
According to virtual mechanical torque TmAnd calculating a phase angle theta of the virtual synchronous generator, wherein the phase angle calculation formula is as follows:
wherein, TmAs virtual mechanical torque, ω0Is a rated angular velocity, omega is the mechanical angular velocity of the virtual synchronous generator when the number of pole pairs is 1, TeIs an electromagnetic torque, and Te=P/ω0D is the damping coefficient of the virtual synchronous generator, J is the rotational inertia of the virtual synchronous generator, and P is the output active power of the virtual synchronous generator.
According to preset reactive power QrefAnd rated power grid voltage effective value UNCalculating the output voltage amplitude E of the virtual synchronous generator by an output voltage amplitude formulamThe calculation formula of the output voltage amplitude is as follows:
Em=Kp[UN+kq(Qref-Q)-Um]+Ki∫[UN+kq(Qref-Q)-Um]dt;
wherein k isqFor regulating the coefficient of voltage, KpProportional coefficient of PI regulator, KiIntegral coefficient of PI regulator, peak voltage, UNThe voltage effective value of the rated power grid is obtained, and Q is the output reactive power of the virtual synchronous generator.
Calculating three-phase reference voltage e according to the output voltage amplitude and phase angle of the virtual synchronous generator*(k) And is and
wherein E ism(k) Is the output voltage amplitude at time k, and θ (k) is the phase angle at time k.
Obtaining three-phase reference voltage e of the virtual synchronous generator through Clark conversion*(k) Two vectors in a two-phase stationary α β coordinate system, i.e.And a calculation formula of the ideal inductive current at the moment k +1 can be obtained as follows:
wherein, TsIs the sampling period, L is the filter inductance,the ideal inductor current at the time k + 1,is a standard voltage vector. So that the ideal output voltage at the moment of k +1 can be obtainedThe calculation formula of (c) is as follows:
wherein C is a filter capacitor, uc(k) Ideal output voltage at time k, il(k +1) is the inductive current at the moment of k +1, and the sampling period T under high-frequency samplingsIs small and therefore the output grid-connected current can be considered constant over the sampling range, i.e. i0(k+1)=i0(k)。
Likewise, the ideal output voltage at the next instant is equal to the three-phase reference voltage at the present instant, i.e.A pre-applied ideal voltage vector, i.e., a standard voltage vector, can be obtainedThe calculation formula of the standard voltage vector is as follows:
wherein u isc(k) Ideal output voltage at time k, TsIs a sampling period, i0(k) For grid-connected current at time k, il(k) The inductor current at time k, C the filter capacitor, L the filter inductor, e*(k) The three-phase reference voltage at time k.
And 202, calculating the angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector.
According to a first standard voltage vectorAnd a second standard voltage vectorThe standard voltage vector can be calculated by an arc tangent function formulaThe angle of (c). Of course, the person skilled in the art can also calculate the angle of the standard voltage vector by using a sine function formula or a tangent function formula according to the actual situation.
It should be noted that the formula of the arctangent function is:
wherein,as a vector of standard voltageThe angle of (c). When it is satisfied withWhen the temperature of the water is higher than the set temperature,
and step 203, determining a first sector in which the standard voltage vector is positioned according to the preset sector and the angle of the standard voltage vector.
It should be noted that, after the angle of the standard voltage vector is calculated, the first sector in which the standard voltage vector is located may be determined through a sector calculation formula according to the preset sector and the angle of the standard voltage vector, where the preset sector is obtained by dividing according to the switching mode of the virtual synchronous generator. After the first sector where the standard voltage vector is located is obtained, the instantaneous voltage control vector and the zero vector output by the switching mode corresponding to the first sector can be determined as the selected objects.
The sector calculation formula is:
wherein, n is a sector,as a vector of standard voltageWhen the value of n is greater than 6, let n be 1.
It should be noted that the preset sector dividing process specifically includes the following steps:
step one, calculating to obtain a control vector output by each switching mode according to the switching mode of the virtual synchronous generator.
The control vectors include instantaneous voltage control vectors and zero vectors, and the eight control vectors of the switch mode output of the virtual synchronous generator include six instantaneous voltage control vectors and two zero vectors V0And V7. Six kinds of instantaneous control vector V1-V6Can be expressed asWherein j is an imaginary unit, VdcIs the dc side voltage.
And step two, dividing the space voltage vector of the virtual synchronous generator into six sectors according to the instantaneous voltage control vector and the zero vector.
It should be noted that, the space voltage vector of the virtual synchronous generator is divided into six sectors according to six kinds of instantaneous voltage control vectors and two zero vectors. Wherein the alternative control vectors for each sector include an instantaneous voltage control vector and a zero vector. As shown in the table 1 below, the following examples,
TABLE 1 Angle of sectors and alternative control vectors
And step 204, calculating the action time of the first instantaneous voltage control vector of the first sector according to the functional relation of the right triangle.
Of course, when the first sector where the standard voltage vector is located is determined, the action time of the first instantaneous voltage control vector of the first sector is calculated through the functional relation of the right triangle.
The functional relation of the right triangle is as follows:
wherein,is a vector of the standard voltage, and is,is the angle of the standard voltage vector, ViIs the ith instantaneous voltage control vector, n is the sector, TsIs the sampling period.
After calculating the acting time of the first instantaneous voltage control vector of the first sector, it needs to be determined whether the acting time of the first instantaneous voltage control vector is greater than or equal to the preset time, if so, step 206 is entered, otherwise, step 207 is entered. It should be noted that the preset time of the present embodiment is half of the sampling period, i.e. Ts/2。
And step 206, selecting the first instantaneous voltage control vector as an optimal voltage control vector.
And step 207, selecting the zero vector as the optimal voltage control vector.
And 208, selecting a corresponding switch mode according to the optimal voltage control vector.
And after the optimal voltage control vector is determined, selecting a corresponding switch mode so as to drive a corresponding control signal.
The embodiment of the application firstly obtains a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator under a two-phase static alpha beta coordinate system, calculates the angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector, then determines a first sector where the standard voltage vector is located according to the angle of the standard voltage vector, calculates and judges the action time of a first instantaneous voltage control vector in the first sector according to a functional relation of a right triangle, thereby selecting an optimal voltage control vector from eight control vectors output by switching modes of the virtual synchronous generator, not traversing all control vectors output by the switching modes in the virtual synchronous generator, reducing the calculation time of a control system, solving the problem that the existing model prediction control method of the virtual synchronous generator needs to repeatedly calculate and compare control targets under different switching states, so as to select the optimal switching state, which leads to the technical problem of long calculation time.
The above is a detailed description of a second embodiment of a control method of a virtual synchronous generator provided by the present application, and the following is a detailed description of an embodiment of a control device of a virtual synchronous generator provided by the present application.
Referring to fig. 5, an embodiment of the present application provides a method for controlling a virtual synchronous generator, including: an obtaining unit 501, a first calculating unit 502, a determining unit 503, a second calculating unit 504, a judging unit 505, a first selecting unit 506, a second selecting unit 507 and a third selecting unit 508;
an obtaining unit 501, configured to obtain a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator in a two-phase stationary α β coordinate system;
a first calculation unit 502 for calculating an angle of the standard voltage vector from the first standard voltage vector and the second standard voltage vector;
a determining unit 503, configured to determine a first sector in which the standard voltage vector is located according to a preset sector and an angle of the standard voltage vector, where the preset sector is obtained by dividing according to a switching mode of the virtual synchronous generator;
the second calculating unit 504 is configured to calculate an action time of the first instantaneous voltage control vector of the first sector according to the functional relation of the right triangle.
It should be noted that the functional relation of the right triangle is:
wherein,is a vector of the standard voltage, and is,is the angle of the standard voltage vector, ViIs the ith instantaneous voltage control vector, n is the sector, TsIs the sampling period.
And a judging unit 505, configured to judge whether an action time of the first instantaneous voltage control vector of the first sector is greater than or equal to a preset time.
It should be noted that the preset time is half of the sampling period.
The first selecting unit 506 is configured to select the first instantaneous voltage control vector as the optimal voltage control vector if the acting time of the first instantaneous voltage control vector is greater than or equal to a preset time.
The second selecting unit 507 is configured to select the zero vector as the optimal voltage control vector if the acting time of the first instantaneous voltage control vector is less than the preset time.
The third selecting unit 508 is configured to select a corresponding switch mode according to the optimal voltage control vector.
Further, in this embodiment, the preset sector dividing process specifically includes the following steps:
calculating to obtain a control vector output by each switching mode according to eight switching modes of the virtual synchronous generator, wherein the control vector comprises an instantaneous voltage control vector and a zero vector;
and step two, dividing the space voltage vector of the virtual synchronous generator into six sectors according to the instantaneous voltage control vector and the zero vector, wherein the alternative control vector of each sector comprises the instantaneous voltage control vector and the zero vector.
Further, the obtaining unit 501 in this embodiment is specifically configured to obtain a first standard voltage vector and a second standard voltage vector in a two-phase stationary α β coordinate system by performing Clark transformation on the standard voltage vector.
The embodiment of the present application further provides a control device of a virtual synchronous generator, including a processor and a memory: the memory is used for storing the program codes and transmitting the program codes to the processor; the processor is used for executing the control method of the virtual synchronous generator according to instructions in the program codes.
The embodiment of the present application further provides a computer-readable storage medium for storing a program code, where the program code is configured to execute any one implementation of the control method for a virtual synchronous generator described in the foregoing embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the network, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another grid network to be installed, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. A method of controlling a virtual synchronous generator, comprising:
acquiring a first standard voltage vector and a second standard voltage vector of a virtual synchronous generator in a two-phase static alpha beta coordinate system;
calculating an angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector;
determining the sector in which the standard voltage vector is located as a first sector according to the angle between the preset sector and the standard voltage vector, wherein the preset sector is obtained by dividing according to the switching mode of the virtual synchronous generator;
calculating the action time of a first instantaneous voltage control vector of the first sector according to a functional relation of a right triangle;
if the action time of the first instantaneous voltage control vector is greater than or equal to the preset time, selecting the first instantaneous voltage control vector as an optimal voltage control vector;
if the action time of the first instantaneous voltage control vector is less than the preset time, selecting a zero vector as an optimal voltage control vector;
selecting a corresponding switch mode according to the optimal voltage control vector;
the standard voltage vector is specifically an ideal voltage vector which is pre-applied when the ideal output voltage at the next moment is equal to the three-phase reference voltage at the current moment;
the first instantaneous voltage control vector is specifically an instantaneous voltage control vector output by a switch mode corresponding to the first sector.
2. The method for controlling a virtual synchronous generator according to claim 1, wherein the preset sector division process specifically includes:
calculating a control vector output by each switching mode according to the switching mode of the virtual synchronous generator, wherein the control vector comprises an instantaneous voltage control vector and the zero vector;
and dividing the space voltage vector of the virtual synchronous generator into six sectors according to the instantaneous voltage control vector and the zero vector.
3. The method of controlling a virtual synchronous generator according to claim 1, wherein the functional relationship of the right triangle is:
4. The method of controlling a virtual synchronous generator according to claim 1, wherein the preset time is a half sampling period.
5. The method for controlling the virtual synchronous generator according to claim 1, wherein the obtaining a first standard voltage vector and a second standard voltage vector of a standard voltage vector of the virtual synchronous generator in a two-phase stationary α β coordinate system comprises:
and obtaining a first standard voltage vector and a second standard voltage vector under a two-phase static alpha beta coordinate system by Clark transformation of the standard voltage vectors.
6. A control apparatus of a virtual synchronous generator, comprising: the device comprises an acquisition unit, a first calculation unit, a determination unit, a second calculation unit, a first selection unit, a second selection unit and a third selection unit;
the acquiring unit is used for acquiring a first standard voltage vector and a second standard voltage vector of a standard voltage vector of the virtual synchronous generator in a two-phase static alpha beta coordinate system;
the first calculating unit is used for calculating the angle of the standard voltage vector according to the first standard voltage vector and the second standard voltage vector;
the determining unit is used for determining the sector where the standard voltage vector is located as a first sector according to the angle between the preset sector and the standard voltage vector, wherein the preset sector is obtained by dividing according to the switching mode of the virtual synchronous generator;
the second calculating unit is used for calculating the action time of the first instantaneous voltage control vector of the first sector according to the functional relation of a right triangle;
the first selection unit is used for selecting the first instantaneous voltage control vector as an optimal voltage control vector if the action time of the first instantaneous voltage control vector is greater than or equal to a preset time;
the second selection unit is used for selecting a zero vector as an optimal voltage control vector if the action time of the first instantaneous voltage control vector is less than the preset time;
the third selecting unit is used for selecting a corresponding switch mode according to the optimal voltage control vector;
the standard voltage vector is specifically an ideal voltage vector which is pre-applied when the ideal output voltage at the next moment is equal to the three-phase reference voltage at the current moment;
the first instantaneous voltage control vector is specifically an instantaneous voltage control vector output by a switch mode corresponding to the first sector.
7. The control device of a virtual synchronous generator according to claim 6, wherein the division process of the preset sectors specifically includes;
calculating a control vector output by each switching mode according to the switching mode of the virtual synchronous generator, wherein the control vector comprises an instantaneous voltage control vector and the zero vector;
and dividing the space voltage vector of the virtual synchronous generator into six sectors according to the instantaneous voltage control vector and the zero vector.
8. The control device of the virtual synchronous generator according to claim 6, wherein the obtaining unit is specifically configured to obtain a first standard voltage vector and a second standard voltage vector in a two-phase stationary α β coordinate system by performing Clark transformation on the standard voltage vector.
9. A control device for a virtual synchronous generator, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the method of controlling a virtual synchronous generator according to any one of claims 1 to 5 according to instructions in the program code.
10. A computer-readable storage medium characterized in that the computer-readable storage medium is configured to store a program code for executing the control method of the virtual synchronous generator according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010579040.1A CN111654064B (en) | 2020-06-23 | 2020-06-23 | Control method and related device of virtual synchronous generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010579040.1A CN111654064B (en) | 2020-06-23 | 2020-06-23 | Control method and related device of virtual synchronous generator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111654064A CN111654064A (en) | 2020-09-11 |
CN111654064B true CN111654064B (en) | 2021-08-24 |
Family
ID=72348976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010579040.1A Active CN111654064B (en) | 2020-06-23 | 2020-06-23 | Control method and related device of virtual synchronous generator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111654064B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107294457A (en) * | 2017-07-31 | 2017-10-24 | 广东威灵电机制造有限公司 | Permanent-magnetic synchronous motor stator resistance discrimination method, motor driver and storage medium |
CN108696170A (en) * | 2018-04-25 | 2018-10-23 | 华南理工大学 | Determine frequency finite aggregate model predictive control method for two level three-phase inverters |
CN109217363A (en) * | 2018-08-28 | 2019-01-15 | 南京理工大学 | A kind of virtual synchronous generator control method based on model current prediction |
CN110707978A (en) * | 2019-10-12 | 2020-01-17 | 南通大学 | Three-level permanent magnet synchronous motor model prediction control method considering vector partition |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107104604B (en) * | 2017-04-14 | 2019-05-14 | 华南理工大学 | A kind of three level grid-connected inverter model prediction direct Power Control methods |
CN108599605B (en) * | 2018-05-14 | 2019-10-18 | 华南理工大学 | Three-level inverter model prediction Poewr control method based on two Vector modulations |
CN111030542B (en) * | 2019-12-30 | 2021-03-19 | 湖南大学 | Permanent magnet synchronous motor prediction current control method and device |
-
2020
- 2020-06-23 CN CN202010579040.1A patent/CN111654064B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107294457A (en) * | 2017-07-31 | 2017-10-24 | 广东威灵电机制造有限公司 | Permanent-magnetic synchronous motor stator resistance discrimination method, motor driver and storage medium |
CN108696170A (en) * | 2018-04-25 | 2018-10-23 | 华南理工大学 | Determine frequency finite aggregate model predictive control method for two level three-phase inverters |
CN109217363A (en) * | 2018-08-28 | 2019-01-15 | 南京理工大学 | A kind of virtual synchronous generator control method based on model current prediction |
CN110707978A (en) * | 2019-10-12 | 2020-01-17 | 南通大学 | Three-level permanent magnet synchronous motor model prediction control method considering vector partition |
Also Published As
Publication number | Publication date |
---|---|
CN111654064A (en) | 2020-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102594250B (en) | control method of maximum torque per ampere vector control system for position sensor-free internal permanent magnet synchronous motor | |
CN103956919A (en) | Simplified model forecasting control method of network voltage unbalance three-level rectifier | |
CN109888776B (en) | Prediction method for sub-synchronous resonant frequency of direct-drive wind power plant and terminal equipment | |
CN109525152A (en) | Motor drive control method, device and circuit | |
CN113179065B (en) | Permanent magnet synchronous motor model prediction pulse sequence control method | |
CN115549167A (en) | Transient stress suppression method and device for grid-structured converter | |
CN103929073B (en) | A kind of change switch combination direct Power Control method of three-level PWM rectifier | |
CN109546874B (en) | Source-load decoupling model modeling method for independent power system with pulse load | |
CN109672207B (en) | Back-to-back system control method and system based on virtual synchronous machine | |
CN111654064B (en) | Control method and related device of virtual synchronous generator | |
CN111999546B (en) | LCC converter station direct-current voltage harmonic calculation method considering trigger angle fluctuation | |
Zhang et al. | A novel three-vectors-based predictive direct power control of doubly fed induction generator for wind energy applications | |
Jia et al. | Control strategy of MW flywheel energy storage system based on a six-phase permanent magnet synchronous motor | |
CN112736896A (en) | Three-stage initialization method and system suitable for full electromagnetic transient simulation | |
CN115276482A (en) | Control method and system of permanent magnet motor, electronic device and storage medium | |
Singh et al. | Performance analysis of AC-DC power converter using PWM techniques | |
CN114513010A (en) | Power control method, device, electronic equipment and readable storage medium | |
CN106006342A (en) | Control method and method for switching power grid driving of escalator into variable frequency driving | |
CN112467776A (en) | Current source type converter system, control method and space vector modulation method | |
CN111865126A (en) | Neutral point potential balance control method, device, medium and motor of three-level inverter | |
CN115902401B (en) | Phase detection method of power unit, related equipment and medium | |
Talavat et al. | Direct predictive control of asynchronous machine torque using matrix converter | |
Chen et al. | Experimental evaluation of an isolated induction generator with voltage and frequency control | |
CN115224714B (en) | Implementation method of additional damping controller of high-voltage direct-current system | |
CN113595147B (en) | Virtual synchronous generator control method based on model predictive control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |