Method and device for controlling DC bus voltage by voltage source type virtual synchronous machine, and electronic equipment

Through the voltage source type virtual synchronous machine control method, the relationship between the DC bus voltage and the grid frequency is used to adjust the DC bus voltage, which solves the overvoltage, undervoltage or overmodulation problems of new energy power generation when the grid frequency fluctuates, and improves grid frequency faults. Coping ability.

CN118539504APending Publication Date: 2024-08-23SHENZHEN HOPEWIND ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410456962.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the grid frequency of new energy power generation fluctuates, the DC bus voltage of the virtual synchronous machine is prone to overvoltage, undervoltage or overmodulation, which limits its frequency adaptability and reduces the ability to respond to grid frequency faults.

Method used

The voltage source type virtual synchronous machine control method is adopted. By collecting the DC bus voltage, grid connection point voltage and grid side current, the ratio of the DC bus voltage target value and the rated angular frequency of the grid is used to form a gain link. The DC bus voltage is adjusted to determine the auxiliary output frequency. , and generates a driving signal through space vector modulation to stabilize the output frequency and avoid overvoltage, undervoltage or overmodulation of the DC bus voltage caused by abnormal power grid frequency.

Benefits of technology

It effectively reduces the impact of DC bus voltage when the grid frequency is abnormal, improves the voltage source virtual synchronous machine's ability to respond to grid frequency faults, enhances the stability of the converter, and ensures that the DC bus voltage is within the allowable operating range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118539504A
    Figure CN118539504A
Patent Text Reader

Abstract

The invention provides a method and device for controlling direct current bus voltage by a voltage source type virtual synchronous machine and electronic equipment, and the method comprises the steps: adjusting the direct current bus voltage through employing a gain link formed by a ratio of a direct current bus voltage target value to a power grid rated angular frequency, and obtaining an initial basic output frequency; determining an auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value and the DC bus voltage lower limit value; determining a target output frequency according to the basic output frequency and the auxiliary output frequency; and integrating the target output frequency to obtain an output phase angle. According to the method provided by the invention, the impact on the voltage of the voltage direct-current bus can be reduced when the power grid voltage frequency fluctuates, and the risks of over-voltage, under-voltage or over-modulation of the direct-current bus of the converter when the power grid frequency is abnormal are reduced, so that the capability of the voltage source virtual synchronous machine for coping with the power grid frequency fault is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power electronics, and in particular to a method, a device and an electronic device for controlling a DC bus voltage using a voltage source type virtual synchronous machine. Background Art

[0002] Under the background of "carbon peak" and "carbon neutrality", the power system will develop in the direction of a high proportion of new energy. The role of new energy power generation in the power system will also gradually change from flexible supplementary power source to grid support power source. The change of roles requires that new energy power generation should not only adapt to the grid, but also support the grid. New energy power generation technology using grid-type control has potential application advantages in this regard.

[0003] In the grid-type control technology of renewable energy power generation, the grid-type technology is mainly implemented by simulating the synchronous machine through the unit converter. The converter using this control technology is usually called a virtual synchronous machine. Due to the mathematical consistency between the dynamic characteristics of the converter DC bus voltage and the speed characteristics of the synchronous machine, some scholars have proposed a grid-type control scheme of DC voltage inertia synchronization based on the analogy principle. This scheme compares the converter DC bus voltage to the speed of the synchronous machine, determines the converter output frequency according to the DC bus voltage, and thus makes the unit have characteristics similar to those of the synchronous machine.

[0004] However, the above control scheme also associates the converter DC bus voltage with the grid frequency, and the DC bus voltage will change with the change of the grid frequency. When the grid encounters a severe frequency event, there is a risk of DC bus overvoltage / undervoltage / overmodulation, which greatly weakens the frequency adaptability of the converter and limits the ability of the voltage prototype virtual synchronous machine to cope with grid frequency changes. Summary of the invention

[0005] The embodiments of the present invention provide a method, device and electronic device for controlling the DC bus voltage of a voltage source virtual synchronous machine, which can reduce the impact on the DC bus voltage when the grid voltage frequency fluctuates, reduce the risk of DC bus overvoltage, undervoltage or overmodulation of the converter when the grid frequency is abnormal, and enhance the ability of the voltage source virtual synchronous machine to cope with grid frequency failures.

[0006] An embodiment of the present invention provides a method for controlling a DC bus voltage using a voltage source type virtual synchronous machine, the method comprising:

[0007] Collect DC bus voltage, grid connection point voltage and grid-side current;

[0008] The gain link formed by the ratio of the DC bus voltage target value to the rated angular frequency of the power grid is used to adjust the DC bus voltage to obtain the initial basic output frequency;

[0009] The auxiliary output frequency is determined according to the DC bus voltage, the upper limit value of the DC bus voltage, and the lower limit value of the DC bus voltage;

[0010] Determine the target output frequency according to the initial basic output frequency and the auxiliary output frequency;

[0011] Integrate the target output frequency to obtain the output phase angle;

[0012] Generate a wave voltage command value according to the output phase angle and the voltage reference value output by the reactive power control loop;

[0013] The wave voltage command value is space vector modulated to generate the drive signal required for voltage source type virtual synchronous machine control.

[0014] In a possible implementation, determining the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value includes:

[0015] Calculate the upper limit deviation between the DC bus voltage and the upper limit value of the DC bus voltage;

[0016] Calculate the lower limit deviation between the DC bus voltage and the lower limit value of the DC bus voltage;

[0017] The auxiliary output frequency is determined according to the upper limit deviation and the lower limit deviation.

[0018] In a possible implementation, determining the initial auxiliary output frequency according to the upper limit deviation and the lower limit deviation includes:

[0019] The upper limit deviation regulator is used to adjust the upper limit deviation to obtain the upper limit auxiliary output frequency;

[0020] The lower limit regulator is used to adjust the lower limit deviation to obtain the lower limit auxiliary output frequency;

[0021] The difference between the upper limit auxiliary output frequency and the lower limit auxiliary output frequency is calculated to obtain the auxiliary output frequency.

[0022] In a possible implementation, determining a target output frequency according to an initial basic output frequency and an auxiliary output frequency includes:

[0023] The sum of the initial basic output frequency and the auxiliary output frequency is calculated to obtain the target output frequency.

[0024] In a possible implementation, determining the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value includes:

[0025] Calculate the upper limit deviation between the DC bus voltage and the upper limit value of the DC bus voltage;

[0026] Calculate the lower limit deviation between the DC bus voltage and the lower limit value of the DC bus voltage;

[0027] Determine the auxiliary weight according to the upper limit deviation and the lower limit deviation;

[0028] The product of the measured grid angular frequency and the auxiliary weight is calculated to obtain the auxiliary output frequency.

[0029] In a possible implementation, determining the auxiliary weight according to the upper limit deviation and the lower limit deviation includes:

[0030] The upper limit deviation is adjusted by using an upper limit deviation regulator to obtain an upper limit auxiliary weight;

[0031] The lower limit regulator is used to adjust the lower limit deviation to obtain the lower limit auxiliary weight;

[0032] The sum of the upper limit auxiliary weight and the lower limit auxiliary weight is calculated to obtain the auxiliary weight.

[0033] In a possible implementation, determining the auxiliary weight according to the upper limit deviation and the lower limit deviation includes:

[0034] The auxiliary weight is determined according to the upper limit deviation and the lower limit deviation, and the auxiliary weight is calculated using the following formula:

[0035]

[0036]

[0037] λ=λ U +λ L

[0038] Among them, λ U represents the upper auxiliary weight, U UpErr Indicates the upper limit deviation, U dcref represents the target value of DC bus voltage, ω0 represents the rated angular frequency of the power grid, ω max Indicates the maximum angular frequency of the power grid, λ L represents the lower limit auxiliary weight, U DpErr Represents the lower limit deviation, ω min represents the minimum angular frequency of the power grid, and λ represents the auxiliary weight.

[0039] In a possible implementation, determining a target output frequency according to an initial basic output frequency and an auxiliary output frequency includes:

[0040] According to the auxiliary weight, the basic weight is calculated using the following formula:

[0041] λ0=1-λ

[0042] Among them, λ0 represents the basic weight, and λ represents the auxiliary weight;

[0043] Calculate the product of the initial basic output frequency and the basic weight to obtain the basic output frequency;

[0044] The sum of the basic output frequency and the auxiliary output frequency is calculated to obtain the target output frequency.

[0045] According to a second aspect of an embodiment of the present invention, there is provided a device for controlling a DC bus voltage using a voltage source type virtual synchronous machine, the device comprising:

[0046] The acquisition module is used to collect the DC bus voltage, grid connection point voltage and grid-side current;

[0047] The regulating module is used to adjust the DC bus voltage by using a gain link formed by the ratio of the DC bus voltage target value to the rated angular frequency of the power grid to obtain an initial basic output frequency; it is also used to determine the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value; it is also used to determine the target output frequency according to the initial basic output frequency and the auxiliary output frequency; it is also used to integrate the target output frequency to obtain an output phase angle;

[0048] A wave voltage generation module is used to generate a wave voltage command value according to an output phase angle and a voltage reference value output by a reactive power control loop;

[0049] The modulation module is used to perform space vector modulation on the wave voltage command value to generate the driving signal required for the voltage source type virtual synchronous machine control.

[0050] According to a third aspect of an embodiment of the present invention, an electronic device, a processor and a memory storing computer program instructions are provided; when the processor executes the computer program instructions, the method for controlling the DC bus voltage of a voltage source type virtual synchronous machine in the first aspect of the present invention or any possible implementation method of the first aspect is implemented.

[0051] The embodiments of the present invention provide a method, device and electronic device for controlling the DC bus voltage of a voltage source virtual synchronous machine. When adjusting the output frequency, an auxiliary output frequency is calculated based on the DC bus voltage upper limit value and the DC bus voltage lower limit value to assist in adjusting the output frequency. When the power grid frequency changes and causes the DC bus voltage to approach the boundary of the allowable operating range, the DC bus voltage can be timely controlled within the allowable operating range by adjusting the output frequency, and the DC bus voltage can be avoided from being over-voltage, under-voltage or over-modulated in severe power grid frequency events, thereby improving the stability of the converter when the frequency is abnormal, and effectively improving the ability of the voltage source virtual synchronous machine to cope with power grid frequency failures. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0053] Figure 1 A schematic diagram of the system structure of a voltage source type virtual synchronous machine controlling a DC bus voltage provided by an embodiment of the present invention;

[0054] Figure 2 A schematic flow chart of a method for controlling a DC bus voltage by a voltage source type virtual synchronous machine provided by an embodiment of the present invention;

[0055] Figure 3 A schematic diagram of the structure of a reactive power control loop provided by an embodiment of the present invention;

[0056] Figure 4 A schematic diagram of the structure of a voltage action synthesis loop provided by an embodiment of the present invention;

[0057] Figure 5 A schematic diagram of a DC voltage control loop in a DC voltage and reactive power control module provided in an embodiment of the present invention;

[0058] Figure 6 A schematic diagram of a DC voltage control loop in another DC voltage and reactive power control module provided in an embodiment of the present invention;

[0059] Figure 7 A schematic diagram of a DC voltage control loop in another DC voltage and reactive power control module provided in an embodiment of the present invention;

[0060] Figure 8 A schematic diagram of the structure of a device for controlling a DC bus voltage using a voltage source type virtual synchronous machine provided by an embodiment of the present invention;

[0061] Fig. 9 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0063] To facilitate understanding of the technical solution provided by the present invention, the terms involved in the embodiments of the present invention are explained below.

[0064] Converter: An electrical device that changes the voltage, frequency, number of phases and other electrical quantities or characteristics of a power system. It includes rectifiers (converting AC to DC), inverters (converting DC to AC), AC converters and DC converters. New energy generation is connected to the grid through converters.

[0065] Virtual Synchronous Generator: Virtual Synchronous Generator (VSG) is a technology based on advanced synchronous inverter technology and inertial energy storage unit, which enables renewable energy power generation to have the external characteristics of conventional thermal power. It introduces the rotor motion equation into the control algorithm of the converter, controls the energy storage device to absorb and release energy, simulates the mechanical energy in the synchronous generator rotor, and enables the converter to have the external anti-interference characteristics of the synchronous generator when dealing with disturbances, which can effectively improve the inertia and damping level of the system, thereby realizing friendly grid connection of renewable energy.

[0066] The method provided by the embodiment of the present invention is applied to a voltage source type virtual synchronous machine.

[0067] Embodiment 1

[0068] The embodiment of the present invention provides a system for controlling DC bus voltage based on a voltage source type virtual synchronous machine. The system structure is as follows: Figure 1 As shown, it includes an equivalent power grid, an external circuit of the converter, a control loop of the converter, and an energy feeding side. The equivalent power grid and the energy feeding side are connected through a DC bus.

[0069] The control loop of the converter includes a bus voltage and reactive power control module, a voltage action synthesis module and a pulse width modulation (PWM) module. The bus voltage and reactive power control module is connected to the voltage action synthesis module, and the voltage action synthesis module is also connected to the PWM modulation module. The drive signal output by the PWM modulation module drives the converter. The energy feeding side can be one or more of the DC / AC rectifier of the wind power converter, the energy storage DC / DC chopper type power electronic load, or the battery.

[0070] in:

[0071] u ga 、u gb 、u gc : Three-phase voltage of power grid;

[0072] u oabc : The grid-connected point voltage of the converter, including the instantaneous value of the three-phase voltage u oa 、u ob 、u oc ;

[0073] i oabc : The grid-connected current of the converter, including the instantaneous value of the three-phase current i oa 、i ob 、i oc ;

[0074] i Labc : The grid-side current of the converter; including the instantaneous value of the three-phase current i La 、i Lb 、i Lc ;

[0075] L g : Leakage inductance corresponding to grid impedance;

[0076] L pfc : The filter inductance of the converter;

[0077] C f : AC filter capacitor of the converter;

[0078] u dc : DC bus voltage;

[0079] Q ref : Reactive power command;

[0080] U UpLmt : DC bus voltage upper limit;

[0081] U DnLmt : DC bus voltage upper limit;

[0082] θ vsc : The phase angle of the output voltage of the converter;

[0083] E ref : Output voltage reference value of the converter;

[0084] e vscref_α 、e vscref_β : α and β axis components of the wave voltage command value;

[0085] The above system executes the method for controlling the DC bus voltage based on the voltage source type virtual synchronous machine provided by the embodiment of the present invention in each control cycle, such as Figure 2 As shown, the method comprises the following steps:

[0086] S210 collects the DC bus voltage, grid connection point voltage and grid-side current.

[0087] Collect DC bus voltage u dc , the grid connection point voltage u of the converter oabc and the grid-side current i Labc .

[0088] S220, using a gain link formed by a ratio of a DC bus voltage target value to a rated angular frequency of the power grid, to adjust the DC bus voltage and obtain an initial basic output frequency.

[0089] The initial basic adjustment frequency can be calculated using the following formula:

[0090]

[0091] Among them, ω vdc0 represents the initial basic regulation frequency, ω0 represents the rated angular frequency of the power grid, U dcref Indicates the DC bus voltage target value.

[0092] S230, determining an auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value.

[0093] The deviation between the DC bus voltage and the upper limit value of the DC bus voltage and the deviation between the DC bus voltage and the lower limit value of the DC bus voltage are calculated, and the auxiliary output frequency is calculated based on the deviation to adjust the output frequency of the converter.

[0094] S240: Determine a target output frequency according to the initial basic output frequency and the auxiliary output frequency.

[0095] The sum or weighted sum of the initial basic output frequency and the auxiliary output frequency is calculated as the target output frequency.

[0096] S250, integrating the target output frequency to obtain an output phase angle.

[0097] S260, generating a wave voltage command value according to the output phase angle and the voltage reference value output by the reactive power control loop.

[0098] The bus voltage and reactive power control module includes a reactive power control loop. The reactive power control loop is as follows: Figure 3 As shown, it is the same as the existing reactive power control loop, based on the grid-connected point voltage u of the converter. oabc , the grid-connected current i of the converter oabc , DC bus voltage u dc and rated voltage U0, output voltage reference value E ref The voltage action synthesis module includes: Figure 4 The loop shown is the same as the existing voltage action synthesis loop, based on the output phase angle θ vsc , voltage reference value E ref , grid connection point voltage u oabc , generating the α and β axis components e of the wave voltage command value vscref_α 、e vscref_β .

[0099] S270, space vector modulation is performed on the wave generating voltage command value to generate a driving signal required for controlling the voltage source type virtual synchronous machine.

[0100] The PWM modulation module performs space vector modulation on the wave voltage command value through the three-phase space vector modulation method to generate the driving signal required for the voltage source type virtual synchronous machine control.

[0101] The method provided in the embodiment of the present invention calculates an auxiliary output frequency based on the upper limit value and the lower limit value of the DC bus voltage when adjusting the output frequency of the converter, so as to assist in adjusting the output frequency; when the grid frequency changes and causes the DC bus voltage to approach the boundary of the allowable operating range, the DC bus voltage can be timely controlled within the allowable operating range by adjusting the output frequency, thereby avoiding overvoltage, undervoltage or overmodulation of the DC bus voltage in severe grid frequency events, thereby improving the stability of the converter when the frequency is abnormal, and effectively improving the ability of the voltage source virtual synchronous machine to cope with grid frequency failures.

[0102] Embodiment 2

[0103] In some embodiments, the DC voltage based reactive power control module may include: Figure 5 The DC voltage control loop shown in FIG. 1 includes the ratio of the DC bus voltage target value to the grid rated angular frequency. The gain link is used to adjust the DC bus voltage and obtain the initial basic output frequency ω vdc0 ; Also includes a loop that determines the auxiliary output frequency.

[0104] S230: Determining the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value may include the following steps:

[0105] S231, calculating an upper limit deviation between the DC bus voltage and an upper limit value of the DC bus voltage.

[0106] like Figure 5 As shown, calculate the DC bus voltage u dc and the DC bus voltage upper limit U UpLmt The difference between UpErr .

[0107] S232, calculating a lower limit deviation between the DC bus voltage and a lower limit value of the DC bus voltage.

[0108] like Figure 5 As shown, calculate the DC bus voltage u dc and DC bus voltage lower limit U DnLmt The difference between the lower limit deviation U DnErr .

[0109] S233, determining the auxiliary output frequency according to the upper limit deviation and the lower limit deviation.

[0110] In some embodiments, an upper limit deviation regulator is used to adjust the upper limit deviation to obtain an upper limit auxiliary output frequency; a lower limit regulator is used to adjust the lower limit deviation to obtain a lower limit auxiliary output frequency; and the difference between the upper limit auxiliary output frequency and the lower limit auxiliary output frequency is calculated to obtain the auxiliary output frequency, which can be expressed by the following formula:

[0111] ω Aux =G UAux (u dc -U UpLmt )-G LAux (U DnLmt -u dc )

[0112] Among them, ω Aux Indicates the auxiliary output frequency, G UAux represents the transfer function of the upper limit deviation regulator, G LAux Transfer function of the lower deviation regulator.

[0113] like Figure 5 As shown, the upper limit deviation regulator is used to adjust the upper limit deviation U UpErr , and then the upper limit is ω ULmt , the lower limit value is 0, and the upper limit auxiliary output frequency ω is obtained. UAux ;Use the lower limit regulator to adjust the lower limit deviation U DnErr , and then the upper limit is ω DLmt , the lower limit value is 0, and the lower limit auxiliary output frequency ω is obtained. DAux ; Then calculate the upper limit auxiliary output frequency ω UAux and lower limit auxiliary output frequency ω DAux The difference between the auxiliary output frequency ω Aux .

[0114] S240: Determining the target output frequency according to the initial basic output frequency and the auxiliary output frequency may include the following steps:

[0115] The sum of the initial basic output frequency and the auxiliary output frequency is calculated to obtain the target output frequency.

[0116] like Figure 5 As shown, calculate the initial basic output frequency ω vdc0 and auxiliary output frequency ω Aux The target output frequency ω is obtained by vsc .

[0117] Then the target output frequency ω vscIntegrate to get the output phase angle θ vsc .

[0118] The method provided by the embodiment of the present invention first determines the auxiliary output frequency based on the upper limit deviation and the lower limit deviation, and then sums the auxiliary output frequency with the initial basic output frequency to obtain the adjusted target output frequency. When the grid frequency changes and causes the DC bus voltage to approach the boundary of the allowable operating range, the DC bus voltage can be timely controlled within the allowable operating range by adjusting the output frequency, and the DC bus voltage can be avoided from being overvoltage, undervoltage or overmodulation in severe grid frequency events, thereby improving the stability of the converter when the frequency is abnormal, and effectively improving the ability of the voltage source virtual synchronous machine to cope with grid frequency failures.

[0119] Embodiment 3

[0120] In some embodiments, the DC voltage based reactive power control module may include: Figure 6 or Figure 7 The DC voltage control loop shown in FIG. 1 includes the ratio of the DC bus voltage target value to the grid rated angular frequency. The gain link is used to adjust the DC bus voltage and obtain the initial basic output frequency ω vdc0 ; Also includes a loop that determines the auxiliary output frequency.

[0121] S230: Determining the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value may include the following steps:

[0122] S234, calculating an upper limit deviation between the DC bus voltage and an upper limit value of the DC bus voltage.

[0123] like Figure 6 or Figure 7 As shown, calculate the DC bus voltage u dc and the DC bus voltage upper limit U UpLmt The difference between UpErr .

[0124] S235, calculating a lower limit deviation between the DC bus voltage and a lower limit value of the DC bus voltage.

[0125] like Figure 6 or Figure 7 As shown, calculate the DC bus voltage u dc and DC bus voltage lower limit U DnLmt The difference between the lower limit deviation U DnErr .

[0126] S236, determining the auxiliary weight according to the upper limit deviation and the lower limit deviation.

[0127] In one embodiment, Figure 6 As shown, the upper limit deviation regulator G is used UAux Adjustment upper limit deviation U UpErr , get the upper limit auxiliary weight λ U ;Use lower limit regulator G LAux Adjust the lower limit deviation U DnErr , get the lower limit auxiliary weight λ L ; Calculate the upper limit auxiliary weight λ U and the lower bound auxiliary weight λ L The sum of , we get the auxiliary weight λ.

[0128] In another embodiment, Figure 7 As shown, the auxiliary weight is determined according to the upper limit deviation and the lower limit deviation, which can be expressed by the following formula:

[0129]

[0130]

[0131] λ=λ U +λ L

[0132] Where, ω0 represents the rated angular frequency of the power grid, ω max Indicates the maximum angular frequency of the power grid, ω min Indicates the minimum angular frequency of the power grid.

[0133] S237, calculating the product of the measured grid angular frequency and the auxiliary weight to obtain the auxiliary output frequency.

[0134] like Figure 6 or Figure 7 As shown, it can be expressed by the following formula:

[0135] ω gAux =λω g

[0136] Among them, ω gAux Indicates the auxiliary output frequency, ω g Represents the measured angular frequency of the power grid, ω g It can be obtained by phase locking or frequency locking.

[0137] S240: Determining the target output frequency according to the initial basic output frequency and the auxiliary output frequency may include the following steps:

[0138] S241, according to the auxiliary weight λ, the basic weight is calculated using the following formula:

[0139] λ0=1-λ

[0140] Among them, λ0 represents the basic weight.

[0141] S242, calculating the product of the initial basic output frequency and the basic weight to obtain the auxiliary output frequency.

[0142] like Figure 6 or Figure 7 As shown, it can be expressed by the following formula:

[0143] ω vdc =(1-λ)ω vdc0

[0144] Among them, ω vdc Indicates the basic regulation frequency.

[0145] S243, calculating the sum of the basic output frequency and the auxiliary output frequency to obtain the target output frequency.

[0146] like Figure 6 or Figure 7 As shown, it can be expressed by the following formula:

[0147] ω vsc =ω vdc +ω gAux

[0148] Among them, ω vsc Indicates the target output frequency.

[0149] Then the target output frequency ω vsc Integrate to get the output phase angle θ vsc .

[0150] The method provided in the embodiment of the present invention first calculates the auxiliary weight based on the upper limit deviation and the lower limit deviation, and then performs weighted summation on the measured angular frequency of the power grid and the initial basic output frequency to obtain the adjusted target output frequency. When the power grid frequency changes and causes the DC bus voltage to approach the boundary of the allowable operating range, the DC bus voltage can be timely controlled within the allowable operating range by adjusting the output frequency, thereby avoiding overvoltage, undervoltage or overmodulation of the DC bus voltage in severe power grid frequency events, thereby improving the stability of the converter when the frequency is abnormal, and effectively improving the ability of the voltage source virtual synchronous machine to cope with power grid frequency failures.

[0151] Embodiment 4

[0152] The embodiment of the present invention also provides a device for controlling the DC bus voltage of a voltage source type virtual synchronous machine, such as Figure 8 As shown, the device 800 may include a collection module 810, a regulation module 820, a wave voltage generation module 830 and a modulation module 840. Among them:

[0153] The acquisition module 810 is used to acquire the DC bus voltage, the grid connection point voltage and the grid-side current;

[0154] The regulating module 820 is used to adjust the DC bus voltage by using a gain link formed by the ratio of the DC bus voltage target value to the rated angular frequency of the power grid to obtain an initial basic output frequency; it is also used to determine the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value; it is also used to determine the target output frequency according to the initial basic output frequency and the auxiliary output frequency; it is also used to integrate the target output frequency to obtain an output phase angle;

[0155] The wave voltage generating module 830 is used to generate a wave voltage command value according to the output phase angle and the voltage reference value output by the reactive power control loop;

[0156] The modulation module 840 is used to perform space vector modulation on the wave generating voltage command value to generate a driving signal required for controlling the voltage source type virtual synchronous machine.

[0157] The device provided by the present invention calculates an auxiliary output frequency based on the upper limit value and the lower limit value of the DC bus voltage when adjusting the output frequency, so as to assist in adjusting the output frequency; when the power grid frequency changes and causes the DC bus voltage to approach the boundary of the allowable operating range, the DC bus voltage can be timely controlled within the allowable operating range by adjusting the output frequency, and the DC bus voltage can be avoided from being over-voltage, under-voltage or over-modulated in severe power grid frequency events, thereby improving the stability of the virtual synchronous machine when the frequency is abnormal, and effectively improving the ability of the voltage source virtual synchronous machine to cope with power grid frequency failures.

[0158] The device for controlling the DC bus voltage of the voltage source type virtual synchronous machine provided in this embodiment belongs to the same inventive concept as the method for controlling the DC bus voltage of the voltage source type virtual synchronous machine provided in the above embodiment of the present invention, and can execute the method for controlling the DC bus voltage of the voltage source type virtual synchronous machine provided in any of the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the method for controlling the DC bus voltage of the voltage source type virtual synchronous machine. For the technical details not described in detail in this embodiment, please refer to the specific processing content of the method for controlling the DC bus voltage of the voltage source type virtual synchronous machine provided in the above embodiment of the present invention, and will not be repeated here.

[0159] Embodiment 5

[0160] Another embodiment of the present invention further provides an electronic device, see Fig. 9 As shown, the device includes:

[0161] Memory 900 and processor 910;

[0162] The memory 900 is connected to the processor 910 and is used to store programs;

[0163] The processor 910 is used to implement the method for controlling the DC bus voltage based on a voltage source type virtual synchronous machine disclosed in any of the above embodiments by running the program stored in the memory 900.

[0164] Specifically, the electronic device may further include: a bus, a communication interface 920 , an input device 930 and an output device 940 .

[0165] The processor 910, the memory 900, the communication interface 920, the input device 930 and the output device 940 are connected to each other via a bus.

[0166] A bus may include a pathway that transfers information between components of a computer system.

[0167] The processor 910 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0168] Processor 910 may include a main processor.

[0169] The memory 900 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 900 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.

[0170] Input device 930 may include a means for receiving user input data and information.

[0171] Output device 940 may include means for allowing information to be output to a user.

[0172] The communication interface 920 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.

[0173] The processor 910 executes the program stored in the memory 900 and calls other devices, and can be used to implement each step of any method for controlling the DC bus voltage based on a voltage source type virtual synchronous machine provided by the above embodiments of the present invention.

[0174] Embodiment 6

[0175] In addition, an embodiment of the present invention may also be a readable storage medium having computer program instructions stored thereon, and the computer program instructions are executed by a processor to execute the steps of the control method of the grid-type converter of the various embodiments of the present invention described above in this specification.

[0176] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0177] For the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the order of the actions described, because according to the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0178] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0179] The steps in the methods of the embodiments of the present invention may be adjusted in order, combined, or deleted according to actual needs, and the technical features recorded in the embodiments may be replaced or combined.

[0180] The modules and sub-modules in the devices and terminals in the embodiments of the present invention may be combined, divided, or deleted according to actual needs.

[0181] In the several embodiments provided by the present invention, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, such as multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0182] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

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

[0184] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0185] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0186] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0187] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for controlling a DC bus voltage by a voltage source type virtual synchronous machine, characterized in that: The method comprises: Collect DC bus voltage, grid connection point voltage and grid-side current; The DC bus voltage is adjusted by using a gain link formed by a ratio of a DC bus voltage target value to a rated angular frequency of the power grid to obtain an initial basic output frequency; Determining the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value; Determining a target output frequency according to the initial basic output frequency and the auxiliary output frequency; Integrating the target output frequency to obtain an output phase angle; Generate a wave voltage command value according to the output phase angle and the voltage reference value output by the reactive power control loop; The wave generating voltage command value is subjected to space vector modulation to generate a driving signal required for controlling the voltage source type virtual synchronous machine.

2. The method according to claim 1, characterized in that The step of determining the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value includes: Calculating an upper limit deviation between the DC bus voltage and an upper limit value of the DC bus voltage; Calculating a lower limit deviation between the DC bus voltage and a lower limit value of the DC bus voltage; An auxiliary output frequency is determined according to the upper limit deviation and the lower limit deviation.

3. The method according to claim 2, characterized in that The determining the initial auxiliary output frequency according to the upper limit deviation and the lower limit deviation comprises: The upper limit deviation is adjusted by an upper limit deviation regulator to obtain an upper limit auxiliary output frequency; The lower limit regulator is used to adjust the lower limit deviation to obtain the lower limit auxiliary output frequency; The difference between the upper limit auxiliary output frequency and the lower limit auxiliary output frequency is calculated to obtain the auxiliary output frequency.

4. The method according to claim 3, characterized in that The step of determining a target output frequency according to the initial basic output frequency and the auxiliary output frequency comprises: The sum of the initial basic output frequency and the auxiliary output frequency is calculated to obtain the target output frequency.

5. The method according to claim 1, characterized in that The step of determining the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value includes: Calculating an upper limit deviation between the DC bus voltage and an upper limit value of the DC bus voltage; Calculating a lower limit deviation between the DC bus voltage and a lower limit value of the DC bus voltage; Determining an auxiliary weight according to the upper limit deviation and the lower limit deviation; The product of the measured angular frequency of the power grid and the auxiliary weight is calculated to obtain the auxiliary output frequency.

6. The method according to claim 5, characterized in that The determining of the auxiliary weight according to the upper limit deviation and the lower limit deviation comprises: The upper limit deviation is adjusted by using an upper limit deviation regulator to obtain an upper limit auxiliary weight; The lower limit deviation is adjusted by using a lower limit regulator to obtain a lower limit auxiliary weight; The sum of the upper limit auxiliary weight and the lower limit auxiliary weight is calculated to obtain the auxiliary weight.

7. The method according to claim 5, characterized in that The determining of the auxiliary weight according to the upper limit deviation and the lower limit deviation comprises: The auxiliary weight is determined according to the upper limit deviation and the lower limit deviation, and the auxiliary weight is calculated using the following formula: λ=λ U +λ L Among them, λ U represents the upper limit auxiliary weight, U UpErr represents the upper limit deviation, U dcref represents the DC bus voltage target value, ω0 represents the rated angular frequency of the power grid, ω max Indicates the maximum angular frequency of the power grid, λ L represents the lower limit auxiliary weight, U DpErr represents the lower limit deviation, ω min represents the minimum angular frequency of the power grid, and λ represents the auxiliary weight.

8. The method according to claim 5, characterized in that The step of determining a target output frequency according to the initial basic output frequency and the auxiliary output frequency comprises: According to the auxiliary weights, the basic weights are calculated using the following formula: λ0=1-λ Wherein, λ0 represents the basic weight, and λ represents the auxiliary weight; Calculating the product of the initial basic output frequency and the basic weight to obtain a basic output frequency; The sum of the basic output frequency and the auxiliary output frequency is calculated to obtain the target output frequency.

9. A device for controlling DC bus voltage using a voltage source type virtual synchronous machine, characterized in that: The device comprises: The acquisition module is used to collect the DC bus voltage, grid connection point voltage and grid-side current; The regulating module is used to adjust the DC bus voltage by using a gain link formed by the ratio of the DC bus voltage target value to the rated angular frequency of the power grid to obtain an initial basic output frequency; it is also used to determine the auxiliary output frequency according to the DC bus voltage, the DC bus voltage upper limit value, and the DC bus voltage lower limit value; it is also used to determine the target output frequency according to the initial basic output frequency and the auxiliary output frequency; it is also used to integrate the target output frequency to obtain an output phase angle; A wave-generating voltage generating module, used for generating a wave-generating voltage command value according to the output phase angle and the voltage reference value output by the reactive power control loop; The modulation module is used to perform space vector modulation on the wave generating voltage command value to generate a driving signal required for controlling the voltage source type virtual synchronous machine.

10. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for controlling the DC bus voltage of a voltage source type virtual synchronous machine as described in any one of claims 1 to 8 is implemented.