Power control method, device, apparatus, medium and product of new energy equipment
Patent Information
- Application Number
- CN202611027707.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-10
- Publication Date
- 2026-09-22
AI Technical Summary
[0004]本公开要解决的技术问题是为了现有技术中风力发电机组变流器大多采用定量控制的方式无法适应电网波动,提供一种新能源设备的功率控制方法、装置、设备、介质及产品
[0058]本公开的积极进步效果在于:通过对并网点电压对电网波动进行实时监控,利用第一锁相环确定并电网电压的第一相位角,该第一锁相环模拟新能源设备的相位跟踪特性进行一次调频,同时第一锁相环可以过滤电网电压中高频噪声引起的畸变,有效解决了在弱电网环境下,因一次调频响应过快而引发电网震荡的缺陷,而利用第二锁相环来实时跟踪并网点电压的第二相位角,则为新能源设备的惯量响应提供了基础,克服了传统虚拟同步变流器中有功无功相互耦合、转矩响应慢的弊端。另外,无需额外购置和安装昂贵的硬件设备,通过对新能源设备中变流器的算法进行改进即可实施,减少新能源设备的成本。
Smart Images

Figure CN122801404A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of new energy, and in particular to a power control method, device, equipment, medium, and product for new energy equipment. Background Technology
[0002] With the development of new energy technologies, new energy equipment has begun to be connected to the power grid on a large scale, which poses a great challenge to the stability of power grid operation.
[0003] New energy equipment often suffers from unstable output power. Taking wind turbine generators as an example, to ensure optimal power generation, wind turbine generators typically operate in maximum power point tracking (MPPT) mode, and their active power output varies with wind speed. Sudden changes in wind speed inevitably lead to sudden changes in the output power of the wind turbine generator, which in turn causes fluctuations in the grid frequency. However, most current wind turbine generator converters use quantitative control methods, which cannot adapt to grid fluctuations. Summary of the Invention
[0004] The technical problem to be solved by this disclosure is that the existing wind turbine converters mostly use quantitative control methods, which cannot adapt to grid fluctuations. This disclosure provides a power control method, device, equipment, medium, and product for new energy equipment.
[0005] This disclosure solves the above-mentioned technical problems through the following technical solution:
[0006] In a first aspect, this disclosure provides a power control method for a new energy device, the method comprising:
[0007] Obtain the grid connection point voltage;
[0008] The first phase-locked loop control is performed based on the grid connection point voltage;
[0009] A second phase-locked loop control is performed based on the grid connection point voltage;
[0010] The power target value of the new energy equipment is determined based on the first phase angle output by the first phase-locked loop control and / or the second phase angle output by the second phase-locked loop control, and the new energy equipment is controlled based on the power target value.
[0011] Optionally, the grid voltage is in the form of a three-phase voltage;
[0012] The first phase-locked loop control based on the grid connection point voltage includes:
[0013] Calculate the first vector angle corresponding to the grid connection point voltage in the form of the three-phase voltage;
[0014] Calculate the angular deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop;
[0015] The first angle step size is obtained by performing a proportional-integral operation on the angle deviation.
[0016] Based on the first angle step size and the first phase-locked angle, the first phase angle is output.
[0017] Optionally, calculating the first vector angle corresponding to the grid connection point voltage in the form of the three-phase voltage includes:
[0018] The grid-connected point voltage in the form of the three-phase voltage is transformed by coordinate axis to obtain the first two-phase stationary voltage component in the two-phase orthogonal stationary coordinate system; the first vector angle is obtained by inverse tangent based on the first two-phase stationary voltage component.
[0019] Optionally, calculating the angular deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop includes:
[0020] When the first vector angle is equal to 0, calculate the angle deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop;
[0021] The step of obtaining the first angle step by performing a proportional-integral calculation on the angle deviation includes:
[0022] When the first vector angle is equal to 0, the first angle step is obtained by performing a proportional integral operation on the angle deviation;
[0023] Optionally, the step of outputting the first phase angle based on the first angle step size and the first phase-locked angle includes:
[0024] In each PWM cycle, based on the first angle step size and the first phase-locked angle, a first phase angle is output, and the first phase-locked angle is updated according to the first phase angle of each PWM cycle.
[0025] Optionally, the grid connection point voltage is a three-phase voltage.
[0026] The second phase-locked loop control based on the grid connection point voltage includes:
[0027] The grid connection point voltage in the form of three-phase voltage is converted into a second two-phase stationary voltage component in a two-phase stationary coordinate system;
[0028] The two-phase stationary voltage components are rotated according to the second phase-locking angle in the second phase-locked loop to obtain the two-phase rotating voltage components in the two-phase orthogonal rotating coordinate system.
[0029] Calculate the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage components;
[0030] The second angle step size is obtained by performing a proportional-integral operation on the component deviation;
[0031] Based on the second angle step size and the second phase-locked angle, the second phase angle is output.
[0032] Optionally, the calculation of the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage component includes:
[0033] In each PWM cycle, the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage components is calculated;
[0034] The step of obtaining the second angle step size by performing proportional-integral calculation on the component deviation includes:
[0035] In each PWM cycle, the component deviation is proportional to integral to obtain the second angle step size;
[0036] The step of outputting the second phase angle based on the second angle step size and the second phase-locked angle includes:
[0037] In each PWM cycle, based on the second angle step size and the second phase-locked angle, a second phase angle is output, and the second phase-locked angle is updated according to the second phase angle of each PWM cycle.
[0038] Optionally, determining the power target value of the new energy equipment based on the first phase angle output by the first phase-locked loop control and / or the second phase angle output by the second phase-locked loop control includes:
[0039] Calculate the first frequency corresponding to the first phase angle and the second frequency corresponding to the second phase angle;
[0040] The power target value of the new energy equipment is determined based on the first frequency and / or the second frequency.
[0041] Optionally, determining the power target value of the new energy equipment based on the first frequency and / or the second frequency includes:
[0042] The power adjustment value is calculated based on the first frequency and / or the second frequency;
[0043] The power adjustment value is added to the power reference value of the new energy equipment to obtain the power target value of the new energy equipment.
[0044] Optionally, the power adjustment value includes one or more of a first power adjustment value, a second power adjustment value, and a third power adjustment value;
[0045] The calculation of the power adjustment value based on the first frequency and / or the second frequency includes:
[0046] If the difference between the first frequency and the second frequency is greater than the upper limit of the difference threshold range, or if the difference between the first frequency and the second frequency is less than the lower limit of the difference threshold range, a first power adjustment value is calculated based on the difference between the first frequency and the second frequency.
[0047] Optionally, if the rate of change of the first frequency is greater than the upper limit of the rate of change threshold range, or if the rate of change of the first frequency is less than the lower limit of the rate of change threshold range, a second power adjustment value is calculated based on the rate of change of the first frequency according to the droop frequency power relationship.
[0048] Optionally, if the rate of change of the second frequency is greater than the upper limit of the rate of change threshold range, or if the rate of change of the second frequency is less than the lower limit of the rate of change threshold range, a third power adjustment value corresponding to the rate of change of the second frequency is determined based on the droop frequency power relationship.
[0049] Secondly, this disclosure provides a power control device for a new energy device, the device comprising:
[0050] The acquisition module is used to acquire the voltage at the grid connection point;
[0051] The first phase-locked module is used to perform first phase-locked loop control based on the grid connection point voltage;
[0052] The second phase-locked module is used to perform second phase-locked loop control based on the grid connection point voltage;
[0053] The control module is used to obtain the power target value of the new energy equipment based on the first phase angle output by the first phase-locked loop control and the second phase angle output by the second phase-locked loop control, and to control the new energy equipment based on the power target value.
[0054] Thirdly, this disclosure provides an electronic device including a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein the processor executes the computer program to implement the power control method of the new energy device as described in any one of the first aspects.
[0055] Fourthly, this disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the power control method for a new energy device as described in any one of the first aspects.
[0056] Fifthly, this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the power control method for a new energy device as described in any one of the first aspects.
[0057] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of this disclosure.
[0058] The positive and progressive effects of this disclosure are as follows: By monitoring grid fluctuations in real time through the grid connection point voltage, a first phase-locked loop (PLL) is used to determine the first phase angle of the grid connection voltage. This first PLL simulates the phase tracking characteristics of the renewable energy equipment for primary frequency regulation. Simultaneously, the first PLL can filter distortions caused by high-frequency noise in the grid voltage, effectively solving the defect of grid oscillations caused by excessively fast primary frequency regulation response in weak grid environments. Furthermore, using a second PLL to track the second phase angle of the grid connection point voltage in real time provides a basis for the inertial response of the renewable energy equipment, overcoming the drawbacks of active and reactive power coupling and slow torque response in traditional virtual synchronous converters. In addition, it can be implemented by improving the algorithm of the converter in the renewable energy equipment without the need for additional purchase and installation of expensive hardware, thus reducing the cost of renewable energy equipment. Attached Figure Description
[0059] Figure 1 A frequency-power droop characteristic diagram of grid voltage is provided as an exemplary embodiment of this disclosure;
[0060] Figure 2 A schematic diagram of the control process of a conventional vector control converter provided as an exemplary embodiment of this disclosure;
[0061] Figure 3 A schematic diagram of the control process of a virtual synchronous converter provided as an exemplary embodiment of this disclosure;
[0062] Figure 4 A schematic flowchart illustrating a power control method for a new energy device provided as an exemplary embodiment of this disclosure;
[0063] Figure 5 A flowchart illustrating step S402 of a power control method for a new energy device provided as an exemplary embodiment of this disclosure;
[0064] Figure 6 A schematic diagram of the control process of a first phase-locked loop provided for an exemplary embodiment of this disclosure;
[0065] Figure 7 A flowchart illustrating step S403 of a power control method for a new energy device provided as an exemplary embodiment of this disclosure;
[0066] Figure 8A schematic diagram of the control process of a second phase-locked loop provided as an exemplary embodiment of this disclosure;
[0067] Figure 9 A schematic diagram illustrating the calculation process of the power target value provided in an exemplary embodiment of this disclosure;
[0068] Figure 10 A schematic diagram of a dual phase-locked loop control process provided for an exemplary embodiment of this disclosure;
[0069] Figure 11 A schematic diagram of a power control device for a new energy device provided as an exemplary embodiment of this disclosure;
[0070] Figure 12 This is a schematic diagram of a module of an electronic device provided for an exemplary embodiment of the present disclosure. Detailed Implementation
[0071] The present disclosure is further illustrated below by way of embodiments, but the present disclosure is not limited to the scope of the embodiments described herein.
[0072] The prefixes such as "first" and "second" used in this disclosure are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this disclosure does not constitute a limitation on the described objects. The description of the described objects is given in the claims or the context of the embodiments, and should not be construed as an unnecessary limitation. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0073] According to the "Test Procedure for Grid Adaptability of Wind Turbine Generator Sets" (GB / T36994—2018), wind turbine generator sets must possess inertial response and primary frequency regulation capability to rapidly respond to grid frequency change rates and frequency deviations, participate in grid frequency regulation, and support grid frequency recovery. Specifically, the inertial response of the wind turbine generator set addresses the grid frequency change rate. When the frequency change rate exceeds a threshold, the wind turbine generator set should simulate the inertial characteristics of a synchronous generator to quickly provide active power support to the grid, mitigating the grid frequency change rate. The primary frequency regulation capability addresses grid frequency deviations. The wind turbine generator set should simulate the droop control characteristics of a synchronous generator to reduce grid frequency variations. For example, when the frequency deviation between the wind turbine generator set and the grid is greater than 0.03Hz, and the active power of the wind turbine generator set is greater than 20%, the wind turbine generator set can effectively reduce grid frequency deviations. At that time, the power adjustment value of the wind turbine generator unit should satisfy the following relationship:
[0074] ;
[0075] Where ΔP is the power adjustment value, and Δf is the frequency change. This is the active frequency regulation coefficient. The power grid frequency. This refers to the rated active power of the wind turbine generator set.
[0076] In the process of researching the above problems, the inventors discovered that the methods to achieve inertial response and primary frequency regulation of wind turbine generators include at least the following:
[0077] The first type is the traditional vector control converter. This is used in large power grids primarily powered by thermal and hydroelectric generators, such as… Figure 1 As shown, the frequency f starts from... arrive linear increase ( ), while power P from arrive linearly decrease ( This indicates that the grid voltage exhibits a frequency-power droop characteristic, meaning that power decreases as frequency increases. Therefore, this droop characteristic can be used to simulate the characteristics of a synchronous generator to control the converter of a wind turbine generator, thereby achieving primary frequency regulation. See also Figure 2 The algorithm of a traditional vector control converter consists of two parts.
[0078] Part One: Calculation of Active Power
[0079] ;
[0080] in, This is a reference value for active power. This is the initial value of active power. for The power grid frequency at any given time. for The power grid frequency at any given time. for angular frequency at time t. This is the active frequency regulation coefficient.
[0081] Part Two, Regarding the Calculation of Reactive Power:
[0082] ;
[0083] in, This is a reference value for reactive power. This is the initial value of reactive power. for The grid voltage at any given time, for The grid voltage at any given time, This is the reactive power frequency regulation coefficient.
[0084] This control algorithm detects changes in the grid frequency or grid voltage between the current time t1 and the past time t0, and outputs active power reference values and reactive power reference values for the converter. After obtaining the active power reference values and reactive power reference values, the converter typically determines the electromotive force amplitude based on the built-in voltage regulator (or directly through the excitation gain). and the angle of the electromotive force vector Since there is a negative correlation between the changes in grid frequency and active power reference value due to droop characteristics, the converter can inhibit changes in grid frequency by increasing the active power reference value.
[0085] The second type is the virtual synchronous converter. Based on the generator's rotor motion equations, active and reactive power control transfer functions are established. By introducing inertia and damping characteristics, the converter of the wind turbine generator is controlled, thereby achieving primary frequency regulation and inertial response. For example... Figure 3 As shown, the virtual rotor motion equation of the generator is as follows:
[0086] ;
[0087] Where J is the inertia of the virtual generator, and D is the damping coefficient. This represents the current angular velocity of the virtual rotor. The rated angular velocity of the virtual rotor. The angular acceleration of the virtual rotor. This represents the actual output power of the converter. For the mechanical power of the virtual rotor, and Corresponding to virtual mechanical torque and virtual electromagnetic torque .
[0088] When changes in grid load or sudden faults affect the actual output power Mechanical power of the virtual rotor When unbalanced, based on the virtual rotor motion equation, the virtual angular velocity... Adaptive adjustments will occur. Specifically, the internal electromotive force reference vector angle of the virtual synchronous converter... It is determined by the current angular velocity The result obtained by integrating over time is:
[0089] ;
[0090] According to the definition of angle of attack, angle of attack The angle of the internal electromotive force vector of the converter Angle with grid voltage vector The difference, i.e. At the current angular velocity When changes occur, the power angle will be directly driven. The change has occurred. According to the synchronous motor power angle equation:
[0091] ;
[0092] Where V is the grid voltage amplitude, and X is the equivalent interconnection impedance. For the angle of attack, The power output of the converter shows the power angle. The change affects the active power output of the virtual synchronous converter. Things have changed.
[0093] However, the methods described above still have certain problems in practical use. Specifically, traditional vector control converters have excellent motor control performance, but they lack inertial response. When the grid voltage and frequency fluctuate, the converter cannot actively suppress the fluctuations, which will instead exacerbate the instability of the grid. While virtual synchronous converters have inertial response and primary frequency regulation characteristics, the current loop is eliminated in the control structure, resulting in poor generator torque control performance. At the same time, due to its slow phase tracking speed of the grid voltage, the control of the converter is difficult to meet the requirements. In addition, virtual synchronous converters usually couple active and reactive power control, which will also affect the accuracy of the response of new energy equipment to a certain extent.
[0094] Based on this, an exemplary embodiment of this disclosure provides a power control method for new energy equipment. The new energy equipment mentioned in this embodiment can be any type of grid-connected new energy equipment, such as photovoltaic power generation, wind turbine generators, thermal power generation, hydropower generation, etc., but is not limited to these. The specific method is selected according to the actual situation. This embodiment focuses on wind turbine generators as an example for illustration. See also Figure 4 The methods include:
[0095] S401, Obtain the grid connection point voltage.
[0096] Among them, the grid connection point voltage refers to the voltage at the connection point (PCC) between the renewable energy equipment and the power grid. It is directly affected by the converter of the renewable energy equipment and can be monitored in real time. The grid voltage refers to the system-side voltage of the power grid, which is maintained by multiple large-scale renewable energy units such as thermal power, hydropower, and wind power in the grid, as well as the system load. Individual renewable energy equipment cannot determine its physical state and can only adaptively follow the grid. The grid connection point voltage is an instantaneous value in the form of three-phase voltage.
[0097] In actual operation, there are various impedances between the grid connection point of new energy equipment and the power grid, such as the impedance of the transformer box and the impedance of the long-distance field collection line. According to the principle of circuit aileron, when the new energy equipment transmits active power and reactive power to the power grid, the current passing through these impedances will inevitably generate voltage amplitude difference and phase difference at both ends. This means that the waveform phase and frequency changes of the two during dynamic changes are not synchronized.
[0098] S402, First phase-locked loop control based on grid connection point voltage.
[0099] In step S402, the phase tracking speed of the first phase-locked loop (PLL) matches the phase tracking speed of the power generation equipment. In some embodiments, the power generation equipment is a thermal power generation equipment, which has a slower phase tracking speed. Therefore, the first PLL is a slow PLL, specifically a zero-crossing phase-locked loop or a DQ phase-locked loop with slowed parameters, to simulate the slower phase tracking speed of the power generation equipment and track the first vector angle corresponding to the grid connection point voltage. When the external power grid frequency experiences brief noise or local severe fluctuations, the first PLL, due to its large inertia, can effectively filter out these high-frequency disturbances, thereby making the calculated first phase angle and first frequency corresponding to the grid connection point voltage smoother and more accurate.
[0100] The following provides a detailed explanation of the first phase-locked loop control, specifically as follows: Figure 5 and Figure 6 As shown, step S402 includes:
[0101] S4021. Calculate the first vector angle corresponding to the grid connection point voltage in the form of three-phase voltage.
[0102] Among them, the grid connection point voltage in the form of three-phase voltage Each phase (phase A, phase B, phase C) in the diagram is a sinusoidal waveform that differs from the others by 120° in space or time. The first vector angle can generally be obtained through Clarke transform, coordinate transformation, and trigonometric function operations. .For example:
[0103] First, the grid-connected point voltage in three-phase voltage form is projected onto a two-phase orthogonal stationary coordinate system using the Clark transformation. In the coordinate system, the first two-phase static voltage components are obtained. and The formula is as follows:
[0104] ;
[0105] ;
[0106] Next, the first vector angle is directly calculated using the arctangent function (arctan) in trigonometric relationships. The formula is as follows:
[0107] .
[0108] S4022. Calculate the angle deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop.
[0109] Among them, angular deviation The first vector angle Subtract the first phase-locked angle ,Right now It should be noted that the first phase angle of the previous cycle is typically stored inside the first phase-locked loop as the first phase-locked angle. Additionally, in the first cycle, the first phase-locked angle... It can be set to 0.
[0110] Furthermore, if the first phase-locked loop adopts a zero-crossing phase-locked loop, step S4022 can be set to calculate the angular deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop when the first vector angle is equal to 0. The time difference of the zero-crossing phase-locked loop can eliminate the influence of high-frequency noise and local power, reflecting the true situation of the power grid.
[0111] S4023. Perform proportional-integral calculation on the angle deviation to obtain the first angle step.
[0112] The formula for proportional-integral operations is as follows:
[0113] ;
[0114] in, Let the first angle step be... For angular deviation, For proportional gain, For integral gain, For the Laplace operator, , , The value is set according to the actual situation, and is not specifically limited in this embodiment.
[0115] Furthermore, if the first phase-locked loop adopts a zero-crossing phase-locked loop, step S4023 can be set to perform proportional-integral calculation on the angle deviation to obtain the first angle step size when the first vector angle is equal to 0.
[0116] S4024. Based on the first angle step size and the first phase-locked angle, output the first phase angle.
[0117] Among them, the first phase angle The first phase-locked angle Superimposed first angle step ,Right now .
[0118] In some cases, to ensure the timeliness of the first phase-locked loop control, the first phase angle is calculated periodically. In this case, step S4024 specifically includes: in each PWM (Pulse-width modulation) cycle, based on the first angle step size and the first phase-locked angle, outputting the first phase angle. Simultaneously, due to the first phase-locked angle... The first phase angle of the previous cycle The formula for calculating the first phase angle can also be expressed as: .
[0119] Finally, after each calculation of the first phase angle, the first phase-locked angle is updated based on the first phase angle of each PWM cycle to lock the first phase angle of the current PWM cycle for easy recall in the next PWM cycle.
[0120] S403, Second phase-locked loop control based on grid connection point voltage.
[0121] The second phase-locked loop in step S403 is a fast phase-locked loop, which can be DQ phase-locked loop or other technologies with a relatively sensitive response speed. During the inertial response and primary frequency regulation process, it is necessary to quickly lock the grid connection point voltage so that the converter can accurately control the active current and avoid the oscillation of the converter under weak grid conditions caused by the coupling of active power and reactive power.
[0122] The following provides a detailed explanation of the second phase-locked loop control, specifically as follows: Figure 7 and Figure 8 As shown, step S403 includes:
[0123] S4031. Convert the grid-connected point voltage in three-phase voltage form into the second two-phase stationary voltage component in a two-phase stationary coordinate system.
[0124] Among them, the grid connection point voltage in the form of three-phase voltage Each phase (phase A, phase B, phase C) in the equation is a sinusoidal waveform that differs from the others by 120° in space or time. This can be converted into a two-phase stationary coordinate system using the Clarke transform. The second two-phase static voltage component in the coordinate system and The formula is as follows:
[0125] ;
[0126] .
[0127] S4032. Rotate the second two-phase stationary voltage component according to the second phase-locked angle in the second phase-locked loop to obtain the two-phase rotating voltage component in the two-phase orthogonal rotating coordinate system.
[0128] Among them, the second two-phase stationary voltage component in the two-phase stationary coordinate system is obtained. and Then, the voltage is transformed into two-phase rotating voltage components in a two-phase orthogonal rotating coordinate system (dq coordinate system) through Park transformation. The two-phase rotating voltage components include the voltage component along the d-axis. voltage components along the q-axis The formula is as follows:
[0129] ;
[0130] in, This refers to the second phase-locked angle in the second phase-locked loop. It should be noted that the second phase angle of the previous cycle is typically stored within the second phase-locked loop as the second phase-locked angle. In the first cycle of the second phase-locked loop startup, the second phase-locked angle... It can be set to 0.
[0131] S4033. Calculate the component deviation between the reference voltage component and the q-axis voltage component in the two-phase rotating voltage component.
[0132] Among them, component deviation Reference voltage component Subtract the voltage component along the q-axis ,Right now Generally speaking, the reference voltage component It can be set to 0.
[0133] It should be noted that, in order to ensure the timeliness of the second phase-locked loop control, the component deviation is generally calculated periodically. In this case, step S4033 specifically includes: calculating the component deviation between the reference voltage component and the q-axis voltage component in the two-phase rotating voltage components in each PWM cycle.
[0134] S4034. Perform proportional-integral calculation on the component deviation to obtain the second angle step size.
[0135] The formula for proportional-integral operations is as follows:
[0136]
[0137] in, The second angle step size, For component deviation, For proportional gain, For integral gain, For the Laplace operator, , , The value is set according to the actual situation, and is not specifically limited in this embodiment.
[0138] It should be noted that, in order to ensure the timeliness of the second phase-locked loop control, the second angle step size is generally calculated periodically. In this case, step S4034 specifically includes: in each PWM cycle, performing proportional-integral calculation on the component deviation to obtain the second angle step size.
[0139] S4035: Based on the second angle step size and the second phase-locked angle, output the second phase angle.
[0140] Wherein, the second phase angle For the second phase-locked angle Superimposed second angle step ,Right now .
[0141] In some cases, to ensure the timeliness of the first phase-locked loop control, the second phase angle is calculated periodically. In this case, step S4035 specifically includes: in each PWM cycle, based on the second angle step size and the second phase-locked angle, outputting the second phase angle. Simultaneously, due to the second phase-locked angle... The first phase angle of the previous cycle The formula for calculating the second phase angle can also be expressed as: .
[0142] Finally, after each second phase angle calculation, the second phase-locked angle is updated based on the second phase angle of each PWM cycle to lock the second phase angle of the current PWM cycle for easy recall in the next PWM cycle.
[0143] S404. Based on the first phase angle output by the first phase-locked loop control and the second phase angle output by the second phase-locked loop control, obtain the power target value of the new energy equipment, and control the new energy equipment using the power target value.
[0144] The first and second phase angles reflect changes in the grid frequency and the grid connection point frequency, respectively. Utilizing the first and second phase-locked loops (PLLs) with different speed characteristics, the aim is to extract the control quantities required to trigger primary frequency regulation and inertial response. When the grid frequency changes abruptly, the second phase angle calculated by the second PLL changes rapidly, while the first PLL's calculation of the first phase angle lags behind. The frequency difference between the grid frequency and the grid connection point frequency is then determined based on the first and second phase angles, triggering the converter's inertial response. As disturbances in the grid persist, the grid connection point frequency can be determined based on the first phase angle calculated by the first PLL, or the grid frequency can be determined based on the second phase angle calculated by the second PLL. When the rate of change of either frequency exceeds a threshold range, primary frequency regulation of the converter is triggered and implemented. In this embodiment, the rate of change of the grid connection point frequency is prioritized.
[0145] In this embodiment, a combination of two phase-locked loops (PLLs) is used to address the stability issue in calculating grid frequency deviation. The second PLL rapidly tracks the grid voltage, while the first PLL is configured to match the phase tracking characteristics of the renewable energy equipment, exhibiting a similar tracking speed, typically slower than the second PLL. The inertia regulation characteristics of the wind turbine are achieved by using the difference between the two PLLs, combined with a frequency-power droop characteristic calculation method. Furthermore, because the first PLL simulates the phase tracking characteristics of renewable energy equipment, its slow tracking speed and filtering function result in more accurate frequency changes. Each wind turbine in the wind farm is configured to use this first PLL for slow phase locking, ensuring uniform characteristics and consistent frequency characteristics across all turbines in the wind farm. Economically, the combination of two PLLs saves on initial investment in frequency regulation equipment, allowing for software-level (algorithm) upgrades to control renewable energy equipment, replacing hardware investments.
[0146] Furthermore, the converter itself possesses inertial response capability, and the grid frequency can be controlled through its built-in program. This frequency can be locked or set by the main controller. When the frequency is locked, the new energy equipment can operate in islanded mode or even perform a black start. Therefore, the power target values determined in this embodiment are all executed by the converter of the new energy equipment.
[0147] In one embodiment, see Figure 9 The following is a detailed explanation of step S404:
[0148] First, calculate the first frequency corresponding to the first phase angle and the second frequency corresponding to the second phase angle.
[0149] Among them, the first frequency That is, the power grid frequency mentioned in the above embodiment, the first frequency is calculated based on the first phase angle: Second frequency That is, the grid connection point frequency mentioned in the above embodiment, the second frequency is calculated based on the second phase angle: .
[0150] Next, the target power value of the power generation equipment is determined based on the first frequency and / or the second frequency. Specifically, a power adjustment value is calculated based on the first frequency and / or the second frequency, and this power adjustment value is added to the power reference value of the power generation equipment to obtain the target power value of the new energy equipment, as follows:
[0151] ;
[0152] in, For the target power value, This is a power reference value. This is the power adjustment value.
[0153] Additionally, the power adjustment value may include one or more of a first power adjustment value, a second power adjustment value, and a third power adjustment value, see [link to relevant documentation]. Figure 10 The power adjustment value should be configured according to the following conditions:
[0154] Firstly, inertia response: When the difference between the first frequency and the second frequency is greater than the upper limit of the difference threshold range, or when the difference between the first frequency and the second frequency is less than the lower limit of the difference threshold range, a first power adjustment value corresponding to the difference between the first frequency and the second frequency is determined. The difference range can be set according to the actual situation. The calculation formula for the first power adjustment value is based on the droop control characteristics, as follows:
[0155] ;
[0156] in, This is the first power adjustment value. The difference between the first frequency and the second frequency. This is the active frequency regulation coefficient. The power grid frequency. This refers to the rated active power of the wind turbine generator set.
[0157] Secondly, primary frequency adjustment: When the rate of change of the first frequency is greater than the upper limit of the rate of change threshold range, or when the rate of change of the first frequency is less than the lower limit of the rate of change threshold range, a second power adjustment value corresponding to the rate of change of the first frequency is determined based on the droop frequency-power relationship. The rate of change threshold range can be set according to actual conditions. The calculation formula for the second power reference value is based on the droop control characteristics, as follows:
[0158] ;
[0159] in, This is the second power adjustment value. The rate of change of the first frequency, This is the active frequency regulation coefficient. The power grid frequency. This refers to the rated active power of the wind turbine generator set.
[0160] Third, primary frequency adjustment: When the rate of change of the second frequency is greater than the upper limit of the rate of change threshold range, or when the rate of change of the second frequency is less than the lower limit of the rate of change threshold range, a third power adjustment value corresponding to the rate of change of the second frequency is determined based on the droop frequency-power relationship. The calculation formula for the third power reference value is based on the droop control characteristics, as follows:
[0161] ;
[0162] in, This is the third power adjustment value. The rate of change of the second frequency, This is the active frequency regulation coefficient. The power grid frequency. This refers to the rated active power of the wind turbine generator set.
[0163] When multiple scenarios occur in the above three situations, first calculate the corresponding power adjustment value for each scenario. Based on the power reference value, you can either add all the calculated power adjustment values to obtain the power target value, or select the largest power adjustment value from all the power adjustment values and add it to obtain the power target value.
[0164] In this embodiment, the first phase angle of the grid connection point voltage is determined by a first phase-locked loop (PLL) to simulate the phase tracking characteristics of the power generation equipment for primary frequency regulation. Simultaneously, the first PLL filters out distortions caused by high-frequency noise in the grid voltage, effectively solving the problem of grid oscillations caused by excessively fast primary frequency regulation response in weak grid environments. Using a second PLL to track the second phase angle of the grid connection point voltage in real time provides a foundation for the inertial response of the renewable energy equipment, overcoming the drawbacks of active and reactive power coupling and slow torque response in traditional virtual synchronous converters. Furthermore, the power control method provided in this embodiment does not require the purchase and installation of expensive hardware; it can be implemented by improving the converter algorithm in the renewable energy equipment, reducing the cost of renewable energy equipment.
[0165] Corresponding to the aforementioned power control method embodiment for new energy equipment, this disclosure also provides an embodiment of a power control device for new energy equipment.
[0166] Figure 11 A schematic diagram of a power control device for a new energy device provided as an exemplary embodiment of this disclosure, the device comprising:
[0167] The acquisition module 111 is used to acquire the voltage at the grid connection point.
[0168] The first phase-locked loop module 112 is used for first phase-locked loop control based on the grid connection point voltage.
[0169] The second phase-locked loop module 113 is used for second phase-locked loop control based on the grid connection point voltage.
[0170] The control module 114 is used to obtain the power target value of the new energy equipment based on the first phase angle output by the first phase-locked loop control and the second phase angle output by the second phase-locked loop control, and to control the new energy equipment based on the power target value.
[0171] In one embodiment, the grid connection point voltage is a three-phase voltage, and the first phase-locked module 112 is further used for:
[0172] Calculate the first vector angle corresponding to the grid connection point voltage of the three-phase voltage form.
[0173] Calculate the angular deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop.
[0174] The first angle step size is obtained by performing a proportional-integral operation on the angle deviation.
[0175] Based on the first angle step size and the first phase-locked angle, the first phase angle is output.
[0176] In one embodiment, the first phase-locked module 112 is further configured to:
[0177] The grid-connected point voltage in the form of the three-phase voltage is transformed by coordinate axis to obtain the first two-phase stationary voltage component in the two-phase orthogonal stationary coordinate system; the first vector angle is obtained by inverse tangent based on the first two-phase stationary voltage component.
[0178] Optionally, the first phase-locked module 112 is further configured to:
[0179] When the first vector angle is equal to 0, calculate the angle deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop.
[0180] When the first vector angle is equal to 0, the first angle step is obtained by performing a proportional integral operation on the angle deviation.
[0181] In one embodiment, the first phase-locked module 112 is further configured to:
[0182] In each PWM cycle, based on the first angle step size and the first phase-locked angle, a first phase angle is output, and the first phase-locked angle is updated according to the first phase angle of each PWM cycle.
[0183] In one embodiment, the grid connection point voltage is a three-phase voltage, and the second phase-locked module 113 is further configured to:
[0184] The grid connection point voltage in the form of three-phase voltage is converted into a second two-phase stationary voltage component in a two-phase stationary coordinate system.
[0185] The two-phase stationary voltage components are rotated according to the second phase-locked angle in the second phase-locked loop to obtain the two-phase rotating voltage components in the two-phase orthogonal rotating coordinate system.
[0186] Calculate the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage components.
[0187] The second angle step size is obtained by performing proportional-integral calculation on the component deviation.
[0188] Based on the second angle step size and the second phase-locked angle, the second phase angle is output.
[0189] In one embodiment, the second phase-locked module 113 is further configured to:
[0190] In each PWM cycle, the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage components is calculated.
[0191] In each PWM cycle, the component deviation is proportional to integral to obtain the second angle step size.
[0192] In each PWM cycle, based on the second angle step size and the second phase-locked angle, a second phase angle is output, and the second phase-locked angle is updated according to the second phase angle of each PWM cycle.
[0193] In one embodiment, the control module 114 is further configured to:
[0194] Calculate the first frequency corresponding to the first phase angle and the second frequency corresponding to the second phase angle.
[0195] The power target value of the new energy equipment is determined based on the first frequency and / or the second frequency.
[0196] In one embodiment, the control module 114 is further configured to:
[0197] The power adjustment value is calculated based on the first frequency and / or the second frequency.
[0198] The power adjustment value is added to the power reference value of the new energy equipment to obtain the power target value of the new energy equipment.
[0199] In one embodiment, the power adjustment value includes one or more of a first power adjustment value, a second power adjustment value, and a third power adjustment value.
[0200] The control module 114 is also used for:
[0201] If the difference between the first frequency and the second frequency is greater than the upper limit of the difference threshold range, or if the difference between the first frequency and the second frequency is less than the lower limit of the difference threshold range, a first power adjustment value is calculated based on the difference between the first frequency and the second frequency.
[0202] And / or, if the rate of change of the first frequency is greater than the upper limit of the rate of change threshold range, or if the rate of change of the first frequency is less than the lower limit of the rate of change threshold range, a second power adjustment value is calculated based on the rate of change of the first frequency according to the droop frequency power relationship.
[0203] And / or, if the rate of change of the second frequency is greater than the upper limit of the rate of change threshold range, or if the rate of change of the second frequency is less than the lower limit of the rate of change threshold range, a third power adjustment value corresponding to the rate of change of the second frequency is determined based on the droop frequency power relationship.
[0204] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs.
[0205] Figure 12 This is a schematic diagram of the structure of an electronic device according to an example embodiment of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the power control method of the new energy device described in any of the above embodiments. Figure 12 The electronic device 120 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0206] like Figure 12As shown, the electronic device 120 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 120 may include, but are not limited to: at least one processor 121, at least one memory 122, and a bus 123 connecting different system components (including memory 122 and processor 121).
[0207] Bus 123 includes a data bus, an address bus, and a control bus.
[0208] The memory 122 may include volatile memory, such as random access memory (RAM) 1221 and / or cache memory 1222, and may further include read-only memory (ROM) 1223.
[0209] The memory 122 may also include a program tool 1225 (or utility) having a set (at least one) program module 1224, such program module 1224 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0210] The processor 121 executes various functional applications and data processing by running computer programs stored in the memory 122, such as the power control method for new energy devices provided in any of the above embodiments.
[0211] Electronic device 120 can also communicate with one or more external devices 124 (e.g., keyboard, pointing device, etc.). This communication can be performed via input / output (I / O) interface 125. Furthermore, electronic device 120 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 126. Figure 12 As shown, network adapter 126 communicates with other modules of electronic device 120 via bus 123. It should be understood that, although... Figure 12 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 120, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0212] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0213] This disclosure also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the power control method for new energy devices provided in any of the above embodiments.
[0214] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0215] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the power control method for any of the above-described new energy devices.
[0216] The program code for executing the computer program product of this disclosure can be written in any combination of one or more programming languages, and the program code can be executed entirely on a user device, partially on a user device, as a stand-alone software package, partially on a user device and partially on a remote device, or entirely on a remote device.
[0217] While specific embodiments of this disclosure have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of this disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of this disclosure, but all such changes and modifications fall within the scope of protection of this disclosure.
Claims
1. A power control method for a new energy device, characterized in that, The method includes: Obtain the grid connection point voltage; The first phase-locked loop control is performed based on the grid connection point voltage; A second phase-locked loop control is performed based on the grid connection point voltage; The power target value of the new energy equipment is obtained based on the first phase angle output by the first phase-locked loop control and the second phase angle output by the second phase-locked loop control, and the new energy equipment is controlled based on the power target value.
2. The power control method as described in claim 1, characterized in that, The grid connection point voltage is in the form of a three-phase voltage. The first phase-locked loop control based on the grid connection point voltage includes: Calculate the first vector angle corresponding to the grid connection point voltage in the form of the three-phase voltage; Calculate the angular deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop; The first angle step size is obtained by performing a proportional-integral operation on the angle deviation. Based on the first angle step size and the first phase-locked angle, the first phase angle is output.
3. The power control method as described in claim 2, characterized in that, The calculation of the first vector angle corresponding to the grid connection point voltage in the form of the three-phase voltage includes: The grid-connected point voltage in the form of the three-phase voltage is transformed by coordinate axis to obtain the first two-phase stationary voltage component in the two-phase orthogonal stationary coordinate system; the first vector angle is obtained by inverse tangent based on the first two-phase stationary voltage component. And / or, calculating the angular deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop includes: When the first vector angle is equal to 0, calculate the angle deviation between the first vector angle and the first phase-locked angle in the first phase-locked loop; The step of obtaining the first angle step by performing a proportional-integral calculation on the angle deviation includes: When the first vector angle is equal to 0, the first angle step is obtained by performing a proportional integral operation on the angle deviation; And / or, the step of outputting the first phase angle based on the first angle step size and the first phase-locked angle includes: In each PWM cycle, based on the first angle step size and the first phase-locked angle, a first phase angle is output, and the first phase-locked angle is updated according to the first phase angle of each PWM cycle.
4. The power control method as described in claim 1, characterized in that, The grid connection point voltage is in the form of a three-phase voltage. The second phase-locked loop control based on the grid connection point voltage includes: The grid connection point voltage in the form of three-phase voltage is converted into a second two-phase stationary voltage component in a two-phase stationary coordinate system; The two-phase stationary voltage components are rotated according to the second phase-locking angle in the second phase-locked loop to obtain the two-phase rotating voltage components in the two-phase orthogonal rotating coordinate system. Calculate the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage components; The second angle step size is obtained by performing a proportional-integral operation on the component deviation; Based on the second angle step size and the second phase-locked angle, the second phase angle is output.
5. The power control method as described in claim 4, characterized in that, The calculation of the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage component includes: In each PWM cycle, the component deviation between the reference voltage component and the q-axis voltage component of the two-phase rotating voltage components is calculated; The step of obtaining the second angle step size by performing proportional-integral calculation on the component deviation includes: In each PWM cycle, the component deviation is proportional to integral to obtain the second angle step size; The step of outputting the second phase angle based on the second angle step size and the second phase-locked angle includes: In each PWM cycle, based on the second angle step size and the second phase-locked angle, a second phase angle is output, and the second phase-locked angle is updated according to the second phase angle of each PWM cycle.
6. The power control method as described in claim 1, characterized in that, The step of obtaining the power target value of the new energy equipment based on the first phase angle output by the first phase-locked loop control and the second phase angle output by the second phase-locked loop control includes: Calculate the first frequency corresponding to the first phase angle and the second frequency corresponding to the second phase angle; The power target value of the new energy equipment is determined based on the first frequency and / or the second frequency.
7. The power control method as described in claim 6, characterized in that, Determining the power target value of the new energy equipment based on the first frequency and / or the second frequency includes: The power adjustment value is calculated based on the first frequency and / or the second frequency; The power adjustment value is added to the power reference value of the new energy equipment to obtain the power target value of the new energy equipment.
8. The power control method as described in claim 7, characterized in that, The power adjustment value includes one or more of a first power adjustment value, a second power adjustment value, and a third power adjustment value; The calculation of the power adjustment value based on the first frequency and / or the second frequency includes: If the difference between the first frequency and the second frequency is greater than the upper limit of the difference threshold range, or if the difference between the first frequency and the second frequency is less than the lower limit of the difference threshold range, a first power adjustment value is calculated based on the difference between the first frequency and the second frequency. And / or, if the rate of change of the first frequency is greater than the upper limit of the rate of change threshold range, or if the rate of change of the first frequency is less than the lower limit of the rate of change threshold range, a second power adjustment value is calculated based on the rate of change of the first frequency according to the droop frequency power relationship. And / or, if the rate of change of the second frequency is greater than the upper limit of the rate of change threshold range, or if the rate of change of the second frequency is less than the lower limit of the rate of change threshold range, a third power adjustment value corresponding to the rate of change of the second frequency is determined based on the droop frequency power relationship.
9. A power control device for a new energy equipment, characterized in that, The device includes: The acquisition module is used to acquire the voltage at the grid connection point; The first phase-locked module is used to perform first phase-locked loop control based on the grid connection point voltage; The second phase-locked module is used to perform second phase-locked loop control based on the grid connection point voltage; The control module is used to obtain the power target value of the new energy equipment based on the first phase angle output by the first phase-locked loop control and the second phase angle output by the second phase-locked loop control, and to control the new energy equipment based on the power target value.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the power control method for new energy equipment as described in any one of claims 1-8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the power control method for new energy equipment as described in any one of claims 1-8.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the power control method for new energy equipment as described in any one of claims 1-8.