逆变型分布式电源双层自适应惯量控制方法及装置Double-layer adaptive inertia control method and device for inverter type distributed power supply
技术领域Technical field
本发明涉及的是一种智能电网领域的技术,具体是一种逆变型分布式电源双层自适应惯量控制方法及装置。The invention relates to a technology in the field of smart grids, in particular to a double-layer adaptive inertia control method and device for an inverter-type distributed power supply.
背景技术Background technique
随着可再生能源发电技术不断发展,分布式电源(Distributed generator,DG)已成为配电网利用新能源的主要方式,如何充分利用高渗透DG并提高其稳定性是亟需解决的关键问题。配电网中DG大多为逆变型电源,如光伏、储能等,其发电单元大多为直流,采用逆变型接口并网,电力电子装置响应速度快、输出阻抗小,转动惯量低,使得逆变型DG(Inverter interfaced DG,IIDG)稳定性不足。虚拟同步电机(Virtual synchronous generator,VSG)技术通过模拟同步发电机惯性特性,在IIDG控制策略中加入虚拟惯量控制环节,可极大改善IIDG暂态输出特性,使得IIDG变为友好型并网电源,从而提高IIDG参与配电网运行调节能力。With the continuous development of renewable energy power generation technology, Distributed Generator (DG) has become the main way for the distribution network to utilize new energy. How to make full use of high-permeability DG and improve its stability is a key issue that needs to be resolved. Most of the DGs in the distribution network are inverter-type power sources, such as photovoltaics, energy storage, etc., and their power generation units are mostly direct current. They are connected to the grid with inverter-type interfaces. The power electronic devices have fast response speed, small output impedance, and low moment of inertia. Inverter-interfaced DG (IIDG) has insufficient stability. Virtual synchronous generator (VSG) technology simulates the inertia characteristics of synchronous generators and adds virtual inertia control to the IIDG control strategy, which can greatly improve the transient output characteristics of IIDG, making IIDG a friendly grid-connected power supply. Thereby improving the IIDG's ability to participate in the operation and regulation of the distribution network.
目前,VSG策略主要关注于频率稳定机理和功角曲线轨迹,而对不同虚拟惯量下输出有功功率的影响机理研究较少。已有文献表明,采用大惯量可以有效减小输出频率波动,增强系统频率动态稳定性;但是,采用小惯量可以获得快速、稳定的输出功率。虚拟惯量对VSG-IIDG输出频率和功率影响效果不同,功率调节需要小惯量,但是若VSG采用低惯量,频率波动较大,不利于系统稳定运行。因此,若不将两者同时考虑,可能会导致在不同运行场景下VSG-IIDG输出功率动态响应特性较差,甚至无法满足供电需求。At present, the VSG strategy mainly focuses on the frequency stabilization mechanism and the power angle curve trajectory, but there is little research on the influence mechanism of the output active power under different virtual inertia. The existing literature shows that the use of large inertia can effectively reduce the output frequency fluctuation and enhance the dynamic stability of the system frequency; however, the use of small inertia can obtain fast and stable output power. The virtual inertia has different effects on the output frequency and power of the VSG-IIDG. Power adjustment requires small inertia. However, if the VSG adopts low inertia, the frequency fluctuates greatly, which is not conducive to the stable operation of the system. Therefore, if the two are not considered at the same time, it may result in poor dynamic response characteristics of the VSG-IIDG output power under different operating scenarios, and may even fail to meet the power supply requirements.
发明内容Summary of the invention
本发明针对现有技术存在的上述不足,提出一种逆变型分布式电源双层自适应惯量控制方法及装置,VSG控制器采用的虚拟惯量为自适应变化的控制参量,可以根据系统运行状态以及实时动态频率偏差自适应地调节控制优先级,满足不同运行工况下系统对逆变型分布式电源输出的要求。In view of the above-mentioned shortcomings in the prior art, the present invention proposes a double-layer adaptive inertia control method and device for an inverter-type distributed power supply. The virtual inertia adopted by the VSG controller is an adaptively variable control parameter, which can be adjusted according to the operating state of the system. And real-time dynamic frequency deviation adaptively adjusts the control priority to meet the system's requirements for inverter-type distributed power output under different operating conditions.
本发明是通过以下技术方案实现的:The present invention is realized through the following technical solutions:
本发明涉及一种逆变型分布式电源双层自适应惯量控制方法,根据基于VSG的IIDG的控制拓扑结构建立小信号模型,分析VSG的虚拟惯量常数与IIDG输出角频率和有功功率之间关系,进而,通过小信号模型模拟实际运行场景在功率调节和频率调节间以双层自适应控制策略选取控制优先级,使IIDG适应不同运行场景。The invention relates to a double-layer adaptive inertia control method for an inverter-type distributed power supply. A small signal model is established according to the control topology of the IIDG based on the VSG, and the relationship between the virtual inertia constant of the VSG and the IIDG output angular frequency and active power is analyzed. Furthermore, the small-signal model is used to simulate the actual operating scenario, and the control priority is selected with a double-layer adaptive control strategy between power adjustment and frequency adjustment, so that IIDG can adapt to different operating scenarios.
所述的功率调节是指:当IIDG自身有功功率参考值发生突变时,采用较小的虚拟惯量 常数H对有功功率调节;The power adjustment refers to: when the IIDG's own active power reference value has a sudden change, the smaller virtual inertia constant H is used to adjust the active power;
所述的频率调节是指:当公共母线频率发生小范围突变时,根据IIDG频率输出变化自适应调节虚拟惯量常数H,具体为:当偏移较小时,控制优先考虑系统调节速度,输出超调问题靠后,通过快速响应抑制外界波动的影响;当偏移较大时,控制则关注于平抑超调,系统响应速度则适当减慢。The frequency adjustment refers to: when the common bus frequency has a small-range sudden change, the virtual inertia constant H is adaptively adjusted according to the IIDG frequency output change, specifically: when the deviation is small, the control gives priority to the system adjustment speed, and the output is overshoot When the problem is later, the influence of external fluctuations is suppressed through rapid response; when the deviation is large, the control focuses on smoothing the overshoot, and the system response speed is appropriately slowed down.
所述的控制优先级是指,采用灵敏系数自适应选取控制优先级使IIDG适应不同运行场景,
其中:k
g为一预设系数,k
d则反映了频率偏移权重,k
d越大,实际控制曲线接近于Γ
1;当k
a减小,实际控制曲线接近于Γ
4,则在整个调节过程中虚拟惯量均采用最小值,Γ
1至Γ
4对应的灵敏系数不断减小,Γ
4对应的灵敏系数为零。
The control priority refers to the use of sensitivity coefficients to adaptively select the control priority to make IIDG adapt to different operating scenarios. Among them: k g is a preset coefficient, k d reflects the frequency offset weight, the larger k d is, the actual control curve is close to Γ 1 ; when k a decreases, the actual control curve is close to Γ 4 , then the whole during the adjustment the virtual volume using the minimum inertia, Γ 1 Γ 4 corresponding to decreasing sensitivity coefficient, Γ 4 the corresponding sensitivity coefficients are zero.
优选地,通过VSG的二阶系统阻尼系数、下垂系数、阻尼系数和控制裕度求出虚拟惯量常数选取范围上、下限。Preferably, the upper and lower limits of the selection range of the virtual inertia constant are obtained through the second-order system damping coefficient, droop coefficient, damping coefficient and control margin of the VSG.
本发明涉及一种实现上述方法的装置,包括:优先级自适应调节器、偏移自适应调节器,其中:优先级自适应调节器根据实际运行场景在功率调节和频率调节间自适应选取控制优先级以整体提高IIDG功率和频率输出动态特性,偏移自适应调节器根据IIDG的频率输出对虚拟惯量进行自适应调节,实现兼顾超调量小和响应速度快的控制策略。The present invention relates to a device for realizing the above method, including: a priority adaptive adjuster and an offset adaptive adjuster, wherein: the priority adaptive adjuster adaptively selects control between power adjustment and frequency adjustment according to actual operating scenarios The priority is to improve the dynamic characteristics of IIDG power and frequency output as a whole, and the offset adaptive regulator adjusts the virtual inertia adaptively according to the frequency output of IIDG to achieve a control strategy that takes into account both small overshoot and fast response speed.
技术效果Technical effect
与现有技术相比,本发明实现对并网逆变型分布式电源的自适应控制,该策略兼顾角频率和功率输出稳定控制能力,具有超调量小和响应迅速的特点,使得IIDG在系统扰动时输出能够快速稳定,可用于应对系统不同类型干扰。与采用固定惯量的VSG控制以及Bang-bang控制对比,所提控制策略兼顾角频率和功率输出特性,具有超调量小和响应迅速的特点,控制效果更为优良。Compared with the prior art, the present invention realizes the adaptive control of the grid-connected inverter type distributed power source. This strategy takes into account the angular frequency and the stable control ability of power output, and has the characteristics of small overshoot and rapid response, making IIDG effective The output can be fast and stable when the system is disturbed, and can be used to deal with different types of disturbances in the system. Compared with the fixed inertia VSG control and Bang-bang control, the proposed control strategy takes into account the angular frequency and power output characteristics, has the characteristics of small overshoot and rapid response, and the control effect is better.
附图说明Description of the drawings
图1为基于VSG的IIDG的控制拓扑结构示意图;Figure 1 is a schematic diagram of the control topology of IIDG based on VSG;
图2为有功-频率控制示意图;Figure 2 is a schematic diagram of active power-frequency control;
图3为VSG控制算法流程示意图;Figure 3 is a schematic diagram of the flow of the VSG control algorithm;
图4为H从小到大变化过程中系统特征根变化轨迹示意图;Figure 4 is a schematic diagram of the trajectory of the characteristic root of the system when H changes from small to large;
图5为IIDG输出有功功率偏移ΔP的响应曲线;Figure 5 shows the response curve of IIDG output active power offset ΔP;
图6为IIDG输出频率偏移Δω的响应曲线;Figure 6 is the response curve of IIDG output frequency offset Δω;
图7为自适应虚拟惯量H与ω关系曲线;Figure 7 is the relationship curve between adaptive virtual inertia H and ω;
图8为双层自适应控制示意图;Figure 8 is a schematic diagram of dual-layer adaptive control;
图9为仿真系统拓扑结构示意图;Figure 9 is a schematic diagram of the topology of the simulation system;
图10为并网运行仿真结果示意图;Figure 10 is a schematic diagram of simulation results of grid-connected operation;
图中:a为IIDG输出,b为虚拟惯量;In the figure: a is the output of IIDG, b is the virtual inertia;
图11为孤岛运行仿真结果示意图;Figure 11 is a schematic diagram of simulation results of island operation;
图中:a为IIDG输出,b为虚拟惯量。In the figure: a is the output of IIDG, b is the virtual inertia.
具体实施方式Detailed ways
如图1所示,为基于VSG的IIDG的控制拓扑结构,其中PWM信号在驱动电路的驱动下控制逆变桥中开关管的通断,其桥臂输出电压模拟了同步发电机的内电势。L
f和C
ac分别是滤波器电感、电容,经过LC滤波后,逆变器输出电压模拟了同步发电机的端电压。通过公共耦合点的开断,IIDG可以实现并网与离网两种运行模式的切换。
As shown in Figure 1, it is a control topology of IIDG based on VSG, in which the PWM signal controls the on and off of the switch in the inverter bridge under the drive of the drive circuit, and the bridge arm output voltage simulates the internal potential of the synchronous generator. L f and C ac are the filter inductance and capacitance respectively. After LC filtering, the inverter output voltage simulates the terminal voltage of the synchronous generator. Through the disconnection of the common coupling point, IIDG can switch between grid-connected and off-grid operation modes.
所述的IIDG的频率控制是指:
其中:P为VSG控制下逆变器端口输出的有功功率,k为阻尼系数,ω为IIDG输出角频率,ω
grid为公共耦合点处角频率,D为有功下垂系数,H为VSG的虚拟惯量常数,2H表示VSG在额定功率指令下从角速度为零的停止状态加速到额定角速度所需要的时间。
The frequency control of IIDG refers to: Among them: P is the active power output by the inverter port under VSG control, k is the damping coefficient, ω is the angular frequency of the IIDG output, ω grid is the angular frequency at the common coupling point, D is the active droop coefficient, and H is the virtual inertia of the VSG The constant, 2H, represents the time required for the VSG to accelerate from the stop state where the angular velocity is zero to the rated angular velocity under the rated power command.
如图2所示,为有功-频率控制示意图,当IIDG工作在并网模式时,频率控制主要依靠阻尼项k(ω-ω
grid)跟踪外电网频率并与之保持同步;离网运行时,频率控制采用有功-频率下垂控制模拟电力系统一次调频功能为IIDG系统提供频率支撑。
As shown in Figure 2, it is a schematic diagram of active power-frequency control. When IIDG works in grid-connected mode, frequency control mainly relies on the damping term k(ω-ω grid ) to track and synchronize with the frequency of the external power grid; when running off-grid, Frequency control uses active-frequency droop control to simulate the primary frequency modulation function of the power system to provide frequency support for the IIDG system.
对同步发电机来说,转动惯量标志旋转特性,和发电机尺寸、质量等物理量相关,而在VSG控制系统中,由于惯量常数为虚拟控制量,其值可灵活选择,可根据实际需要采用恒定值或函数值,取值范围也比同步发电机更宽,具备更优的控制效果。For synchronous generators, the moment of inertia signifies the rotation characteristics, which are related to physical quantities such as the size and mass of the generator. In the VSG control system, since the inertia constant is a virtual control quantity, its value can be flexibly selected, and the constant can be used according to actual needs. The value or function value has a wider value range than the synchronous generator, and it has a better control effect.
根据IIDG的频率控制可以得到VSG在给定值附近线性化后的小信号模型,即由两个输入量和两个输出量构成的系统,如图3所示。当公共母线频率恒为工频保持不变时,建立VSG有功功率输入、输出之间的传递函数为:
当VSG有功功率参考值不变时,建立以公共母线角频率波动为输入、VSG角频率为输出的传递函数:
其中:
δ
s和E
s是功率为P
ref和Q
ref时IIDG的输出电压参量。
According to the frequency control of IIDG, the small signal model after the linearization of the VSG near the given value can be obtained, that is, a system composed of two input quantities and two output quantities, as shown in Figure 3. When the common bus frequency is constant as the power frequency, the transfer function between the input and output of the VSG active power is established as: When the VSG active power reference value does not change, a transfer function with the common bus angular frequency fluctuation as input and VSG angular frequency as output is established: among them: δ s and E s are the output voltage parameters of IIDG when the power is Pref and Q ref .
由传递函数表达式可见,VSG控制器为二阶系统,系统的特征根为:
图4绘制了系统处于欠阻尼状态时,采用不同阻尼系数k下,当H不断增加过程中系统特征根变化轨迹。从图中可见,虚拟惯量常数H不断增加时,系统的特征根绝对值减小,特征根更靠近虚轴,系统稳定裕度逐渐降低。
It can be seen from the transfer function expression that the VSG controller is a second-order system, and the characteristic root of the system is: Figure 4 plots the trajectory of the characteristic roots of the system when the system is under-damped and the damping coefficient k is used. It can be seen from the figure that when the virtual inertia constant H continues to increase, the absolute value of the characteristic root of the system decreases, the characteristic root is closer to the virtual axis, and the system stability margin gradually decreases.
对于VSG控制结构的两个传递函数可以分别用于分析IIDG自身有功功率阶跃时系统的 响应以及分析IIDG受到来自外界系统频率扰动时系统的响应。下面针对功率和频率变化分别分析IIDG输出特性。The two transfer functions of the VSG control structure can be used to analyze the response of the system when the IIDG's own active power is stepped and analyze the response of the system when the IIDG is subjected to frequency disturbances from the external system. The following is an analysis of the IIDG output characteristics for power and frequency changes.
1)当IIDG自身有功功率参考值发生突变时,ΔP
ref=α*u(t),其中:α表示突变幅度,u(t)为单位阶跃函数,此时IIDG输出功率偏差为:
其中:
该偏移量的第一次峰值时间t
p和最大超调ΔP(t
p)为:
1) When IIDG's own active power reference value has a sudden change, ΔP ref =α*u(t), where: α represents the sudden change amplitude, u(t) is the unit step function, and the IIDG output power deviation is: among them: The first peak time t p and the maximum overshoot ΔP(t p ) of the offset are:
如图5所示,为IIDG输出有功功率偏移ΔP的响应曲线。从图中可以看出,随着虚拟惯量常数H增加,IIDG输出有功功率偏移ΔP超调量不断增加,波动更加剧烈。也就是说,在该值域范围内,较小的虚拟惯量常数H对有功功率调节更有利。As shown in Figure 5, it is the response curve of IIDG output active power offset ΔP. It can be seen from the figure that as the virtual inertia constant H increases, the overshoot of the IIDG output active power offset ΔP continues to increase, and the fluctuation becomes more severe. In other words, within this value range, a smaller virtual inertia constant H is more beneficial to active power regulation.
2)当公共母线频率发生小范围突变时,Δω
grid=α(u(t)-u(t-τ
0)),其中:α表示突变幅度,u(t)为单位阶跃函数,τ
0为突变时段,此时IIDG输出频率偏差为:
该偏移量的第一次峰值时间
最大超调
2) When the common bus frequency has a small-range sudden change, Δω grid = α(u(t)-u(t-τ 0 )), where: α represents the sudden change amplitude, u(t) is the unit step function, τ 0 It is a sudden change period, at this time, the IIDG output frequency deviation is: The first peak time of the offset Maximum overshoot
如图6所示,为频率突变时IIDG输出频率偏移Δω的响应曲线;从图中可以看出,随着虚拟惯量常数H增加,IIDG输出频率偏移Δω超调量不断减小,整体波动较为平缓。也就是说,在该值域范围内,较大的虚拟惯量常数H对频率调节更有利。As shown in Figure 6, it is the response curve of IIDG output frequency offset Δω when the frequency changes suddenly; as can be seen from the figure, as the virtual inertia constant H increases, the IIDG output frequency offset Δω overshoot continues to decrease, and the overall fluctuation More gentle. In other words, within this value range, a larger virtual inertia constant H is more beneficial to frequency adjustment.
在不同运行场景下虚拟惯量H的大小对IIDG系统输出有功功率与频率之间存在矛盾分歧,一方面,当IIDG受到来自外界系统扰动频率突变时,虚拟惯量常数增加可以使IIDG输出频率偏移减小,频率波动更为平缓;另一方面,当IIDG自身有功功率输出发生变化时,减小虚拟惯量常数可以降低IIDG输出有功功率偏移,使有功调节更为平稳。There are contradictions and differences between the magnitude of the virtual inertia H and the output active power and frequency of the IIDG system under different operating scenarios. On the one hand, when the IIDG is subject to sudden changes in the frequency of disturbances from the external system, the increase in the virtual inertia constant can reduce the IIDG output frequency offset. Smaller, the frequency fluctuation is smoother; on the other hand, when the IIDG’s own active power output changes, reducing the virtual inertia constant can reduce the IIDG’s output active power offset and make the active power adjustment more stable.
因此本实施例所涉及的双层自适应惯性控制方法既能够自适应调节偏移,也可以自适应选取控制优先级,自适应虚拟惯量H与ω关系曲线如图7所示,自适应控制虚拟惯量
其中:k
a为自适应控制灵敏因子,H
0为IIDG工作于工频时控制算法采用的虚拟惯量常数,H
h为频率偏移无穷大时对应的虚拟惯量常数;当频率偏移达到1/k
a时,虚拟惯量将为(H
0+H
h)/2,即自适应调节区中值。频率偏移小于1/k
a的区域为响应灵敏区,此区域惯量均较小。频率偏移大于1/k
a的区域为超调平抑区,此区域惯量均较大。
Therefore, the two-layer adaptive inertia control method involved in this embodiment can not only adjust the offset adaptively, but also select the control priority adaptively. The relationship between the adaptive virtual inertia H and ω is shown in Figure 7, and the adaptive control virtual Inertia Among them: k a is the adaptive control sensitivity factor, H 0 is the virtual inertia constant used by the control algorithm when the IIDG works at power frequency, and H h is the virtual inertia constant corresponding to the infinite frequency offset; when the frequency offset reaches 1/k At a , the virtual inertia will be (H 0 +H h )/2, which is the median value of the adaptive adjustment zone. Frequency offset area is less than 1 / k a sensitive region in response to a smaller volume used in this area. The area where the frequency deviation is greater than 1/k a is the over-leveling suppression area, and the inertia of this area is relatively large.
因此,在图7中ω=ω
ref±1/k
a成为超调平抑区和响应灵敏区的分界处,k
a可以用于调节响应灵敏区和超调平抑区的相对大小。该参数表征了自适应控制灵敏程度:随着k
a增加, 响应灵敏区变小,调节尺度不断降低;但是随着k
a增加,相同频率偏移处曲线斜率增大,这意味着控制系统更为灵敏,较小的状态变化即可引起参数调整。图7中四条曲线Γ
1至Γ
4对应的灵敏因子不断减小,其中Γ
4对应的灵敏因子为零。
Therefore, in Fig. 7 ω= ωref ±1/k a becomes the boundary between the over-leveling suppression area and the response-sensitive area, and k a can be used to adjust the relative size of the response-sensitive area and the over-leveling suppression area. This parameter characterizes the sensitivity of adaptive control: as k a increases, the response sensitive area becomes smaller, and the adjustment scale continues to decrease; but as k a increases, the slope of the curve at the same frequency offset increases, which means that the control system becomes more sensitive. To be sensitive, a small state change can cause parameter adjustment. The four curves in FIG. 7 Γ 1 Γ 4 corresponding to decreasing sensitivity factor, Γ 4 wherein the sensitivity factor of the corresponding zero.
所述的自适应调节偏移是指:以Γ
1为例,当IIDG系统遭受频率扰动时,频率运行状态偏离稳定运行点,控制系统将进入响应灵敏区,系统快速响应,抑制外界波动的影响。当频率偏离较为严重,控制将进入超调平抑区。此区域惯量均较大,这使得外界频率波动对IIDG自身频率输出影响大大降低,IIDG输出频率将保持平缓,不会有较大的波动。极限情况下,当频率偏移无穷大时,虚拟惯量将为H
h,因此H
h是整个自适应虚拟惯量调节的上限。而当IIDG输出频率无偏差时,控制算法采用的虚拟惯量常数为H
0,这是自适应虚拟惯量常数调节的下限。虚拟惯量H在随着IIDG输出频率ω变化调节过程中,其值始终大于零,控制系统运行在渐近线之上。这使得控制系统始终存在正阻尼,且特征根始终位于虚轴左侧,确保调节过程中系统稳定性不受到破坏。
The adaptive adjustment offset refers to: taking Γ 1 as an example, when the IIDG system suffers from frequency disturbances, the frequency operating state deviates from the stable operating point, the control system will enter the response sensitive area, the system responds quickly, and the influence of external fluctuations is suppressed . When the frequency deviation is more serious, the control will enter the over-leveling zone. The inertia in this area is relatively large, which greatly reduces the influence of external frequency fluctuations on the frequency output of IIDG itself, and the output frequency of IIDG will remain flat without major fluctuations. In the extreme case, when the frequency offset is infinite, the virtual inertia will be H h , so H h is the upper limit of the entire adaptive virtual inertia adjustment. When the IIDG output frequency has no deviation, the virtual inertia constant used by the control algorithm is H 0 , which is the lower limit of adaptive virtual inertia constant adjustment. During the adjustment process of the virtual inertia H with the change of the IIDG output frequency ω, its value is always greater than zero, and the control system runs above the asymptote. This makes the control system always have positive damping, and the characteristic root is always located on the left side of the virtual axis, ensuring that the system stability is not damaged during the adjustment process.
所述的自适应选取控制优先级是指:为了使IIDG适应不同运行场景,采用灵敏系数
其中:k
g为一预设系数,k
d则反映了频率偏移权重,k
d越大,表明输出频率偏移越严重,因此k
a用以自适应选取控制优先级;当输出频率偏移较为严重时,k
a增加,实际控制曲线接近于Γ
1;当输出功率偏移较为严重时,k
a减小,实际控制曲线接近于Γ
4,极端情况下,达到Γ
4,在整个调节过程中虚拟惯量均采用最小值,这可以保证有功功率输出响应快,超调小,动态响应特性良好。
The adaptive selection control priority refers to: in order to adapt the IIDG to different operating scenarios, the sensitivity coefficient is used Among them: k g is a preset coefficient, k d reflects the frequency offset weight, the larger the k d , the more serious the output frequency offset, so k a is used to adaptively select the control priority; when the output frequency offset When it is more serious, k a increases, and the actual control curve is close to Γ 1 ; when the output power deviation is serious, k a decreases, and the actual control curve is close to Γ 4 , and in extreme cases, it reaches Γ 4. During the entire adjustment process The virtual inertia is at the minimum value, which can ensure fast response of active power output, small overshoot and good dynamic response characteristics.
综上,实际运行中,控制系统既能沿控制曲线横向调节输出(图x轴方向),又能纵向调节控制优先顺序(图y轴方向)。上述双层自适应控制框图如图8所示。In summary, in actual operation, the control system can not only adjust the output horizontally along the control curve (the x-axis direction of the graph), but also adjust the control priority order longitudinally (the y-axis direction of the graph). The above-mentioned double-layer adaptive control block diagram is shown in Figure 8.
所述的虚拟惯量常数H作为VSG算法中的核心参数,其选取范围直接影响IIDG系统调节时间尺度,使电网的输出特性更加多样化,VSG的控制系统参数通过以下方式进行选取,根据这一系列设计参考可以得出虚拟惯量常数选取范围上下限H
h,H
0。
The virtual inertia constant H is the core parameter in the VSG algorithm. Its selection range directly affects the adjustment time scale of the IIDG system, making the output characteristics of the power grid more diversified. The control system parameters of the VSG are selected in the following ways, according to this series Design reference can get the upper and lower limits of the virtual inertia constant selection range H h , H 0 .
1)二阶系统阻尼系数:由于VSG控制系统为二阶模型,其阻尼系数
该阻尼系数ζ影响系统响应的性质,为了使系统暂态响应更快达到稳定值,限制系统超调量并使调节时间较小,ζ应取0.4-0.8,即设计参数应满足:
此时,系统处于欠阻尼状态,时间响应呈现衰减振荡。
1) Second-order system damping coefficient: Since the VSG control system is a second-order model, its damping coefficient The damping coefficient ζ affects the nature of the system response. In order to make the system transient response reach a stable value faster, limit the system overshoot and make the adjustment time smaller, ζ should be 0.4-0.8, that is, the design parameters should meet: At this time, the system is in an underdamped state, and the time response shows attenuated oscillation.
2)下垂系数:下垂系数D由电网标准决定,该设计参数表示频率每变化1Hz、输出电压幅值每变化1kV,逆变器输出有功功率、无功功率变化程度。具体的设计标准应参照相关标准中 的规定。2) Droop coefficient: The droop coefficient D is determined by the grid standard. This design parameter indicates the degree of change of the inverter's output active power and reactive power for every 1Hz change in frequency and 1kV change in output voltage amplitude. The specific design standards should refer to the provisions in the relevant standards.
3)阻尼系数:IIDG并网稳定运行时,ω
ref与ω
grid相等,一次调频项(ω
ref-ω
grid)/D为零,阻尼控制器k(ω-ω
grid)决定有功功率控制信号;IIDG孤岛稳定运行时,ω与ω
grid相等,阻尼项k(ω-ω
grid)为零,一次调频控制器(ω
ref-ω
grid)/D决定有功功率控制信号;而在实际运行中,IIDG系统经受扰动时,逆变器输出偏离设定值,此时阻尼项、一次调频项两项均不为零,同时存在于有功-频率控制方程中,为了使各种运行工况下均能发挥控制器调节作用,1/D与k量级应相近,只有这样,才能将对应频率偏移合理转化为有功功率控制信号。
3) Damping coefficient: When IIDG is connected to the grid and operates stably, ω ref is equal to ω grid , the primary frequency modulation term (ω ref -ω grid )/D is zero, and the damping controller k(ω-ω grid ) determines the active power control signal; When the IIDG island is running stably, ω is equal to ω grid , the damping term k(ω-ω grid ) is zero, and the primary frequency modulation controller (ω ref -ω grid )/D determines the active power control signal; while in actual operation, IIDG When the system is subjected to disturbances, the inverter output deviates from the set value. At this time, the damping term and the primary frequency modulation term are not zero, and they exist in the active-frequency control equation at the same time, in order to make it work under various operating conditions. The controller's regulating effect, 1/D and k should be similar in magnitude. Only in this way can the corresponding frequency offset be reasonably converted into an active power control signal.
4)控制裕度:传递函数特征根分布表明,此VSG控制系统为最小相位系统。根据系统设计原则:相角裕度至少为30°,一般设计为40°~60°即:
其中:
为传递函数在ω
g处的相位;幅值裕度至少应为6dB,一般设计为10~20dB即:
其中:A(ω
t)为传递函数在ω
t处的幅值。
4) Control margin: The characteristic root distribution of the transfer function shows that this VSG control system is a minimum phase system. According to the system design principle: the phase angle margin is at least 30°, and the general design is 40°~60°, namely: among them: Is the phase of the transfer function at ω g ; the amplitude margin should be at least 6dB, and the general design is 10~20dB, namely: Among them: A(ω t ) is the amplitude of the transfer function at ω t .
根据以上设计原则可以求出虚拟惯量常数选取范围上下限H
h,H
0。
According to the above design principles, the upper and lower limits of the virtual inertia constant selection range H h , H 0 can be obtained.
本实施例具体在PSCAD/EMTDC中搭建系统进行仿真验证,根据如图9所示的系统拓扑结构且VSG-IIDG采用双层自适应控制策略情况下的仿真参数如表1所示,双层自适应控制惯量上限为1,下限为0.1,k
g为10。
This embodiment specifically builds a system in PSCAD/EMTDC for simulation verification. According to the system topology shown in Figure 9 and the VSG-IIDG adopts a dual-layer adaptive control strategy, the simulation parameters are shown in Table 1. The upper limit of adaptive control inertia is 1, the lower limit is 0.1, and k g is 10.
表1 VSG仿真主要参数Table 1 Main parameters of VSG simulation
为观察并网运行时控制效果,运行至4.2s时,上级配网系统波动引发公共母线频率振荡,波动持续二个工频周波后消除。6.2s时,功率参考值由0.3MW上升至0.4MW。图10(a)给出了固定虚拟惯量常数与自适应惯性控制下,IIDG输出频率的变化情况,图10(b)为对应自适应变化的虚拟惯量值。In order to observe the control effect during grid-connected operation, when the operation reaches 4.2s, the fluctuation of the upper-level distribution network system causes the common bus frequency oscillation, and the fluctuation is eliminated after two power frequency cycles. At 6.2s, the power reference value increased from 0.3MW to 0.4MW. Figure 10(a) shows the change of the IIDG output frequency under the fixed virtual inertia constant and adaptive inertia control, and Figure 10(b) shows the virtual inertia value corresponding to the adaptive change.
从图中可以看出,振荡发生后,IIDG输出频率受到影响发生偏移,在惯性的作用下振荡后最终趋于稳定恢复原运行状态。可以看到,对比采用固定虚拟惯量常数,一方面自适应控制下频率,有功超调较小,系统输出更加平稳;同时,自适应控制下扰动过程进行的极快,整个振荡被压缩,系统得以快速恢复。It can be seen from the figure that after the oscillation occurs, the output frequency of the IIDG is affected and shifted. Under the action of inertia, it will eventually stabilize and return to the original operating state. It can be seen that, compared with the fixed virtual inertia constant, on the one hand, the frequency under adaptive control, the active power overshoot is smaller, and the system output is more stable; at the same time, the disturbance process under the adaptive control proceeds extremely fast, the entire oscillation is compressed, and the system can Quick recovery.
为观察控制策略在孤岛运行时(断路器2断开)效果,令系统并网运行至4s时,功率参考值由0.4MW下降至0.3MW。另外7.2s时公共母线出现频率变化,变化持续0.2s。图11为仿真结果。In order to observe the effect of the control strategy in island operation (breaker 2 is disconnected), when the system is connected to the grid for 4s, the power reference value drops from 0.4MW to 0.3MW. In addition, the frequency of the common bus changes at 7.2s, and the change lasts for 0.2s. Figure 11 shows the simulation results.
在缺少配电网的频率支撑下,扰动后IIDG输出将会发生偏移,随后在控制系统调节下最终恢复稳定运行状态。对比采用固定虚拟惯量常数,一方面自适应控制下频率,有功超调均有所下降,系统输出更加平稳;同时,相比于大惯量控制,自适应控制下响应速度更快,系统得以快速恢复。In the absence of frequency support from the distribution network, the IIDG output will shift after the disturbance, and then finally return to a stable operating state under the adjustment of the control system. Compared with the fixed virtual inertia constant, on the one hand, the frequency and active power overshoot under adaptive control are reduced, and the system output is more stable; at the same time, compared with large inertia control, the response speed under adaptive control is faster, and the system can recover quickly .
综上,双层自适应惯性控制策略能兼顾输出稳定性与动态响应速度,有效提高系统运行性能,加强控制效果。In summary, the double-layer adaptive inertial control strategy can take into account both output stability and dynamic response speed, effectively improve system operating performance and strengthen control effects.
上述具体实施可由本领域技术人员在不背离本发明原理和宗旨的前提下以不同的方式对其进行局部调整,本发明的保护范围以权利要求书为准且不由上述具体实施所限,在其范围内的各个实现方案均受本发明之约束。The above specific implementations can be locally adjusted by those skilled in the art in different ways without departing from the principle and purpose of the present invention. The protection scope of the present invention is subject to the claims and is not limited by the above specific implementations. All implementation schemes within the scope are bound by the present invention.