CN111654064B - Control method and related device of virtual synchronous generator - Google Patents

Control method and related device of virtual synchronous generator Download PDF

Info

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
Application number
CN202010579040.1A
Other languages
Chinese (zh)
Other versions
CN111654064A (en
Inventor
谢志文
唐酿
陈璐寒
黄明欣
黄辉
曾杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Original Assignee
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of Guangdong Power Grid Co Ltd filed Critical Electric Power Research Institute of Guangdong Power Grid Co Ltd
Priority to CN202010579040.1A priority Critical patent/CN111654064B/en
Publication of CN111654064A publication Critical patent/CN111654064A/en
Application granted granted Critical
Publication of CN111654064B publication Critical patent/CN111654064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/40Synchronising a generator for connection to a network or to another generator
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P9/00Arrangements for controlling electric generators for the purpose of obtaining a desired output
    • H02P9/14Arrangements for controlling electric generators for the purpose of obtaining a desired output by variation of field
    • H02P9/26Arrangements for controlling electric generators for the purpose of obtaining a desired output by variation of field using discharge tubes or semiconductor devices
    • H02P9/30Arrangements 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/305Arrangements 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/22The renewable source being solar energy
    • H02J2300/24The renewable source being solar energy of photovoltaic origin
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/28The renewable source being wind energy
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2103/00Controlling arrangements characterised by the type of generator
    • H02P2103/20Controlling arrangements characterised by the type of generator of the synchronous type
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy
    • Y02E10/56Power 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

Control method and related device of virtual synchronous generator
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:
Figure BDA0002552437610000021
wherein,
Figure BDA0002552437610000022
for the vector of said standard voltage, the voltage is,
Figure BDA0002552437610000023
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:
step 101, obtaining 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.
It is noted that the standard voltage vector of the virtual synchronous generator is obtained
Figure BDA0002552437610000051
First standard voltage vector in two-phase stationary alpha beta coordinate system
Figure BDA0002552437610000052
And a second standard voltage vector
Figure BDA0002552437610000053
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 vector
Figure BDA0002552437610000054
And a second standard voltage vector
Figure BDA0002552437610000055
The standard voltage vector can be calculated by an arc tangent function formula
Figure BDA0002552437610000056
The 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:
Figure BDA0002552437610000057
wherein,
Figure BDA0002552437610000058
as a vector of standard voltage
Figure BDA0002552437610000059
When an angle of (1) is satisfied
Figure BDA00025524376100000510
When the temperature of the water is higher than the set temperature,
Figure BDA00025524376100000511
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:
Figure BDA00025524376100000512
wherein, n is a sector,
Figure BDA00025524376100000513
as a vector of standard voltage
Figure BDA00025524376100000514
When 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:
Figure BDA0002552437610000061
wherein,
Figure BDA0002552437610000062
is a vector of the standard voltage, and is,
Figure BDA0002552437610000063
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:
step 201, obtaining a first standard voltage vector and a second standard voltage vector under a two-phase static alpha beta coordinate system through Clark transformation on the standard voltage vectors.
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 vector
Figure BDA0002552437610000071
And a second standard voltage vector
Figure BDA0002552437610000072
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=Pref0
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:
Figure BDA0002552437610000073
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
Figure BDA0002552437610000081
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.
Figure BDA0002552437610000082
And a calculation formula of the ideal inductive current at the moment k +1 can be obtained as follows:
Figure BDA0002552437610000083
wherein, TsIs the sampling period, L is the filter inductance,
Figure BDA0002552437610000084
the ideal inductor current at the time k +1,
Figure BDA0002552437610000085
is a standard voltage vector. So that the ideal output voltage at the moment of k +1 can be obtained
Figure BDA0002552437610000086
The calculation formula of (c) is as follows:
Figure BDA0002552437610000087
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.
Figure BDA0002552437610000088
A pre-applied ideal voltage vector, i.e., a standard voltage vector, can be obtained
Figure BDA0002552437610000089
The calculation formula of the standard voltage vector is as follows:
Figure BDA00025524376100000810
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 vector
Figure BDA00025524376100000811
And a second standard voltage vector
Figure BDA00025524376100000812
The standard voltage vector can be calculated by an arc tangent function formula
Figure BDA00025524376100000813
The 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:
Figure BDA0002552437610000091
wherein,
Figure BDA0002552437610000092
as a vector of standard voltage
Figure BDA0002552437610000093
The angle of (c). When it is satisfied with
Figure BDA0002552437610000094
When the temperature of the water is higher than the set temperature,
Figure BDA0002552437610000095
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:
Figure BDA0002552437610000096
wherein, n is a sector,
Figure BDA0002552437610000097
as a vector of standard voltage
Figure BDA0002552437610000098
When 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 as
Figure BDA0002552437610000099
Wherein 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
Figure BDA00025524376100000910
Figure BDA0002552437610000101
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:
Figure BDA0002552437610000102
wherein,
Figure BDA0002552437610000103
is a vector of the standard voltage, and is,
Figure BDA0002552437610000104
is the angle of the standard voltage vector, ViIs the ith instantaneous voltage control vector, n is the sector, TsIs the sampling period.
Step 205, determine 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 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:
Figure BDA0002552437610000111
wherein,
Figure BDA0002552437610000121
is a vector of the standard voltage, and is,
Figure BDA0002552437610000122
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:
Figure FDA0003121625200000011
wherein,
Figure FDA0003121625200000021
for the vector of said standard voltage, the voltage is,
Figure FDA0003121625200000022
is the angle, V, of the standard voltage vectoriIs the ith instantaneous voltage control vector, n is the sector, TsIs the sampling period.
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.
CN202010579040.1A 2020-06-23 2020-06-23 Control method and related device of virtual synchronous generator Active CN111654064B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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