CN110190599B - A Control Method of Island Microgrid Based on Finite Time Consistency Theory - Google Patents
A Control Method of Island Microgrid Based on Finite Time Consistency Theory Download PDFInfo
- Publication number
- CN110190599B CN110190599B CN201910495672.7A CN201910495672A CN110190599B CN 110190599 B CN110190599 B CN 110190599B CN 201910495672 A CN201910495672 A CN 201910495672A CN 110190599 B CN110190599 B CN 110190599B
- Authority
- CN
- China
- Prior art keywords
- output
- representing
- voltage
- frequency
- finite time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000004891 communication Methods 0.000 claims abstract description 27
- 238000011217 control strategy Methods 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 4
- 230000006641 stabilisation Effects 0.000 claims abstract 2
- 238000011105 stabilization Methods 0.000 claims abstract 2
- 238000012549 training Methods 0.000 claims description 16
- 230000006870 function Effects 0.000 claims description 15
- 239000011159 matrix material Substances 0.000 claims description 10
- 230000000694 effects Effects 0.000 claims description 7
- 230000005284 excitation Effects 0.000 claims description 6
- 230000008878 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 238000013528 artificial neural network Methods 0.000 claims description 3
- 238000002790 cross-validation Methods 0.000 claims description 3
- 238000013178 mathematical model Methods 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims 1
- 230000033228 biological regulation Effects 0.000 abstract description 3
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003912 environmental pollution Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/381—Dispersed generators
-
- H02J3/382—
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
- H02J3/388—Islanding, i.e. disconnection of local power supply from the network
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Supply And Distribution Of Alternating Current (AREA)
- Feedback Control In General (AREA)
Abstract
Description
技术领域technical field
本发明属于智能电网控制领域,具体涉及一种基于有限时间一致性理论的孤岛微电网控制策略的设计方法。The invention belongs to the field of smart grid control, and in particular relates to a design method of an island microgrid control strategy based on finite time consistency theory.
背景技术Background technique
随着能源危机和环境污染问题的日益严重,包括分布式发电技术在内的新能源的使用受到了社会的广泛关注,微电网也得到了迅速的发展。With the increasingly serious problems of energy crisis and environmental pollution, the use of new energy, including distributed generation technology, has received widespread attention from the society, and microgrids have also developed rapidly.
AC微电网的操作可以分为两种模式:并网和孤岛模式。当孤岛模式运行时,使用多个分布式电源并行运行,以改善输出功率质量。孤岛模式时一般采用分层控制对电能质量进行优化,并且使用不同的分层结构来定义和执行不同的控制目标。下垂控制通常用作执行频率和电压调节的主要控制器,并且可以实现功率分配。但是,传统的下垂控制调节效果不佳,当配电线路阻抗不均匀时,功率分配效果较差。一些现有的改进包括虚拟阻抗以平衡线路阻,以及一些自适应下垂控制策略。尽管下垂控制有许多改进的策略,但由于固有误差,简单的下垂控制总是无法精确跟踪参考值。因此,为了获得更精确的控制效果,建议采用二级控制策略。目前,现有的二级控制策略一般分为集中式和分布式,常用于补偿下垂控制。集中式二级控制由微电网中心控制器(MGCC)制定,MGCC收集并计算微电网中的整个网络信息,然后将命令发布到物理层。虽然集中控制精度高,但系统的通信压力很大,可靠性和可扩展性差。分布式二次控制不需要中心节点进行通信,并且大多数使用对等稀疏网络,它只与相邻代理进行通信,因此具有更好的可扩展性和可行性。分布式二次控制策略可以实现频率和电压恢复,准确的功率分配。The operation of an AC microgrid can be divided into two modes: grid-connected and islanded. When operating in island mode, use multiple distributed power sources to operate in parallel to improve output power quality. In island mode, hierarchical control is generally used to optimize power quality, and different hierarchical structures are used to define and implement different control objectives. Droop control is often used as the primary controller performing frequency and voltage regulation, and enables power distribution. However, the traditional droop control adjustment effect is not good. When the impedance of the distribution line is not uniform, the power distribution effect is poor. Some existing improvements include virtual impedance to balance line resistance, and some adaptive droop control strategies. Although there are many improved strategies for droop control, simple droop control always fails to accurately track the reference value due to inherent errors. Therefore, in order to obtain a more precise control effect, a secondary control strategy is recommended. At present, the existing secondary control strategies are generally divided into centralized and distributed, and are often used for compensation droop control. The centralized secondary control is formulated by the Microgrid Central Controller (MGCC), which collects and calculates the entire network information in the microgrid, and then issues commands to the physical layer. Although the centralized control has high precision, the communication pressure of the system is great, and the reliability and scalability are poor. Distributed secondary control does not require a central node to communicate, and most use a peer-to-peer sparse network, which only communicates with neighboring agents, so it has better scalability and feasibility. The distributed secondary control strategy can achieve frequency and voltage recovery, accurate power distribution.
但是在通信发生故障而中断时,还是会造成整个系统的不稳定。However, when the communication fails and is interrupted, it will still cause the instability of the entire system.
发明内容SUMMARY OF THE INVENTION
本发明提出了一种基于有限时间一致性理论的孤岛微电网控制方法,旨在基于一致性理论,并引入有限时间理论,两者结合,提出一种新的二次控制算法,并将通信中断的情况考虑进去,基于改进极限学习机(ELM)对相邻代理的历史数据进行预测,并将预测结果代替已经中断的通信链路信息,实现预测补偿,提高系统稳定性。The invention proposes a control method of island microgrid based on the finite time consistency theory, aiming at introducing the finite time theory based on the consistency theory, and combining the two, a new secondary control algorithm is proposed, and the communication is interrupted Taking into account the situation of , based on the improved extreme learning machine (ELM), the historical data of adjacent agents is predicted, and the prediction result is replaced by the information of the communication link that has been interrupted, so as to realize the prediction compensation and improve the system stability.
为了解决上述技术问题,本发明提供的技术方案为:一种基于有限时间一致性理论的孤岛微电网控制方法,其特征在于,其步骤为:In order to solve the above-mentioned technical problems, the technical solution provided by the present invention is: a method for controlling an islanded microgrid based on a finite time consistency theory, characterized in that the steps are:
在基于分布式二级控制策略的孤岛微电网中,利用对等稀疏网络与相邻代理进行通信,并通过有一致性算法处理获得信息和本地信息;并将一致性偏差反馈到由有限时间一致性策略设计的频率和电压控制器;然后,控制器的输出被输入到下垂控制,然后转移到电压和电流控制环路,最后实现频率和电压稳定并跟踪到标称值;In the island microgrid based on the distributed secondary control strategy, the peer-to-peer sparse network is used to communicate with the adjacent agents, and the information and local information are obtained through the processing of the consensus algorithm; The frequency and voltage controller designed by the characteristic strategy; then, the output of the controller is input to the droop control, and then transferred to the voltage and current control loop, and finally the frequency and voltage are stabilized and tracked to the nominal value;
其中,在通信中断时,基于改进极限学习机对相邻代理的历史数据进行预测,并将预测结果输入到由有限时间一致性策略设计的频率和电压控制器。Among them, when the communication is interrupted, the historical data of adjacent agents is predicted based on the improved extreme learning machine, and the prediction results are input into the frequency and voltage controllers designed by the finite time consistency strategy.
进一步的技术方案在于,所述孤岛微电网分为物理层和网络层两个部分;所述物理层主要包括控制器和分布式电源,控制器稳定各分布式电源输出,再将分布式电源的输出通过静态转换开关连接到公共耦合点;或控制器稳定各分布式电源输出,再用分布式电源对负载进行供电;所述网络层进行不同电力电子逆变器之间的数据交换,完成整个微电网内分布式电源的输出同步。A further technical solution is that the island microgrid is divided into two parts: a physical layer and a network layer; the physical layer mainly includes a controller and a distributed power source, the controller stabilizes the output of each distributed power source, and then adjusts the output of the distributed power source. The output is connected to the point of common coupling through a static transfer switch; or the controller stabilizes the output of each distributed power source, and then uses the distributed power source to supply power to the load; the network layer exchanges data between different power electronic inverters to complete the entire process. Output synchronization of distributed power sources within a microgrid.
进一步的技术方案在于,对代理DGi的输出误差可以用一致性算法为:A further technical solution is that the output error of the agent DG i can be calculated as:
其中,ei代表代理i的全局输出误差,xi代表代理i的实际输出值,xj代表代理i的相邻代理j通过通信传输过来的值,xref代表代理i的输出的标称值,作为一致性算法的Leader节点,aij表示加权邻接系数,即代理i的网络通信链接,bi代表通向Leader的权重,当且仅当代理i可以访问Leader时,bi>0;Among them, e i represents the global output error of agent i, xi represents the actual output value of agent i, x j represents the value transmitted by the adjacent agent j of agent i through communication, and x ref represents the nominal value of the output of agent i , as the leader node of the consensus algorithm, a ij represents the weighted adjacency coefficient, that is, the network communication link of agent i, b i represents the weight leading to the leader, if and only when the agent i can access the leader, b i >0;
为了实现有限时间的调节效果,引入符号函数:In order to realize the adjustment effect of limited time, a symbolic function is introduced:
设计的有限时间控制器为:The designed finite-time controller is:
ui=βsig(ei)α u i =βsig(e i ) α
其中,α,β是有限时间控制参数,α是指数系数,0<α<1,提高了系统收敛性能,β是比例系数,β>0,决定了控制变量的步长。Among them, α and β are finite-time control parameters, α is an exponential coefficient, 0<α<1, which improves the system convergence performance, β is a proportional coefficient, β>0, determines the step size of the control variable.
进一步的技术方案在于,基于改进极限学习机对相邻代理的历史数据进行预测步骤具体为:A further technical solution is that the steps of predicting the historical data of adjacent agents based on the improved extreme learning machine are as follows:
(1)预测模型的建立(1) Establishment of the prediction model
对于任意N个不同样本(Xi,Yi),其中Xi=[xi1 xi2 … xin]T∈Rn表示各个DG历史输出频率或电压,Yi=[yi1 yi2 … yim]T∈Rm表示各个DG期望输出的频率或电压,对于一个有L个隐层节点的单隐层神经网络可以表示为:For any N different samples (X i ,Y i ), where X i =[x i1 x i2 … x in ] T ∈R n represents the historical output frequency or voltage of each DG, Y i =[y i1 y i2 … y im ] T ∈ R m represents the frequency or voltage of the expected output of each DG. For a single hidden layer neural network with L hidden layer nodes, it can be expressed as:
其中g(x)为激励函数,一般为高斯函数,Wi=[wi1 wi2 … win]T为输入权重,γi为输出权重,ci为第i个隐层单元的偏置,oj表示预测输出;where g(x) is the excitation function, generally a Gaussian function, Wi = [ wi1 w i2 ... w in ] T is the input weight, γ i is the output weight, c i is the bias of the ith hidden layer unit, o j represents the predicted output;
当考虑经验风险和结构风险时,ES-ELM的数学模型可以表示为:When considering empirical risk and structural risk, the mathematical model of ES-ELM can be expressed as:
其中,||ε||2表示经验风险,||γ||2表示结构风险,η∈R表示两种风险比例参数通过交叉验证的方式来确定的最佳折中点;Among them, ||ε|| 2 represents the empirical risk, ||γ|| 2 represents the structural risk, and η∈R represents the best compromise point determined by the two risk ratio parameters through cross-validation;
引入LS-SVM算法,将ES-ELM模型转化为拉格朗日方程为:The LS-SVM algorithm is introduced to convert the ES-ELM model into the Lagrange equation as:
其中,λ=[λ1 λ2 … λN]表示拉格朗日乘子,H表示隐层输出,γ=[γ1 γ2 …γL]T表示输出权重Among them, λ=[λ 1 λ 2 … λ N ] represents the Lagrange multiplier, H represents the output of the hidden layer, and γ=[γ 1 γ 2 … γ L ] T represents the output weight
根据KTT最优条件,求拉格朗日方程的梯度并令其为0,得According to the optimal conditions of KTT, find the gradient of the Lagrange equation and set it to 0, we get
从而得到thereby getting
其中X+表示矩阵X的广义逆矩阵;where X + represents the generalized inverse of matrix X;
(2)预测模型的训练(2) Training of the prediction model
训练之前先明确以下内容:训练集N个不同的样本(Xi,Yi),隐层数目L,激励函数g(x),Before training, clarify the following contents: training set N different samples (X i , Y i ), number of hidden layers L, excitation function g(x),
Step 1:当数据变化较大时,为了得到更好的训练结果,对数据进行预处理,具体公式为:Step 1: When the data changes greatly, in order to obtain better training results, the data is preprocessed. The specific formula is:
其中,x(i)和x'(i)分别表示原始数据和处理后的数据,Ex和σi表示原始数据的均值和标准差;Among them, x(i) and x '(i) represent the original data and processed data, respectively, and Ex and σ i represent the mean and standard deviation of the original data;
Step 2:输入权值wik和偏置ci在(0,1)范围内任意设定,并计算隐层输出H;Step 2: The input weights w ik and bias c i are arbitrarily set in the range of (0,1), and the hidden layer output H is calculated;
Step 3:根据计算输出权值γ和拉格朗日乘子λ。Step 3: According to Calculate the output weight γ and the Lagrange multiplier λ.
(3)结果预测(3) Result prediction
经过ES-ELM训练之后,通过历史数据对已经丢失通信信息的DGi进行局部预测,分别得到频率和电压的预测值。After ES-ELM training, local prediction of DG i that has lost communication information is carried out through historical data, and the predicted values of frequency and voltage are obtained respectively.
本发明采用上述技术方案的有益效果为The present invention adopts the beneficial effects of the above technical solutions as follows:
(1)本发明为了实现更精确的频率和电压恢复,提出了一种基于分布式有限时间一致性算法的电压和频率控制方法。将有限时间策略和一致性算法相结合,以减少由不均匀的线路阻抗引起的频率和电压的耦合,并在设定的有限时间内达到参考值。(1) In order to achieve more accurate frequency and voltage recovery, the present invention proposes a voltage and frequency control method based on a distributed finite time consistency algorithm. A finite-time strategy and a consensus algorithm are combined to reduce the coupling of frequency and voltage caused by uneven line impedance and reach the reference value within a set finite time.
(2)运用Lyapunov证明所提出的有限时间一致性算法能够精准的实现频率和电压二次控制,并精确跟踪参考值。另外,通过Lyapunov函数的分析,可以获得收敛速度与参数选择之间的关系。(2) Using Lyapunov to prove that the proposed finite-time consistency algorithm can accurately realize the secondary control of frequency and voltage, and accurately track the reference value. In addition, through the analysis of the Lyapunov function, the relationship between the convergence rate and parameter selection can be obtained.
(3)当通信数据丢失且通信中断时,通过考虑经验风险和结构风险,对ELM进行改进,用于训练频率和电压的历史数据,并对丢失的通信数据进行预测,然后将预测结果发送到辅助控制器,从而抑制通信故障的影响。(3) When the communication data is lost and the communication is interrupted, the ELM is improved by considering the empirical risk and the structural risk, which is used to train the historical data of frequency and voltage, and predict the lost communication data, and then send the prediction result to Auxiliary controller, thereby suppressing the effects of communication failures.
附图说明Description of drawings
图1为本发明基于分布式二级控制策略的孤岛微电网简化图;1 is a simplified diagram of an islanded microgrid based on a distributed secondary control strategy of the present invention;
图2为本发明第i个DG中的逆变器框图;Fig. 2 is the inverter block diagram in the i-th DG of the present invention;
图3为整个系统的控制框图;Fig. 3 is the control block diagram of the whole system;
具体实施方式Detailed ways
下面结合附图与具体实施方式对本发明作进一步详细描述:The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments:
本发明实施例阐述了一种基于有限时间一致性理论的孤岛微电网控制方法,其特征在于,其步骤为:The embodiment of the present invention describes an islanded microgrid control method based on finite time consistency theory, characterized in that the steps are:
在基于分布式二级控制策略的孤岛微电网中,利用对等稀疏网络与相邻代理进行通信,并通过有一致性算法处理获得信息和本地信息;并将一致性偏差反馈到由有限时间一致性策略设计的频率和电压控制器;然后,控制器的输出被输入到下垂控制,然后转移到电压和电流控制环路,最后实现频率和电压稳定并跟踪到标称值;In the island microgrid based on the distributed secondary control strategy, the peer-to-peer sparse network is used to communicate with the adjacent agents, and the information and local information are obtained through the processing of the consensus algorithm; The frequency and voltage controller designed by the characteristic strategy; then, the output of the controller is input to the droop control, and then transferred to the voltage and current control loop, and finally the frequency and voltage are stabilized and tracked to the nominal value;
其中,在通信中断时,基于改进极限学习机对相邻代理的历史数据进行预测,并将预测结果输入到由有限时间一致性策略设计的频率和电压控制器。Among them, when the communication is interrupted, the historical data of adjacent agents is predicted based on the improved extreme learning machine, and the prediction results are input into the frequency and voltage controllers designed by the finite time consistency strategy.
本发明具体内容如下:The specific content of the present invention is as follows:
(1)设计微电网分层控制架构(1) Design the microgrid layered control architecture
微电网控制主要分为两个部分:物理层和网络层,如图1所示。物理层主要包括控制器和分布式电源,控制器稳定各DG输出,再将DG的输出通过静态转换开关(statictransfer switch,STS)连接到公共耦合点(point of common coupling,PCC),这样就可以对外挂在PCC上的公共负载进行供电,当然也可以用某个DG对特定的负载进行供电。网络层主要是实现不同电力电子逆变器之间的数据交换,实现整个微电网内所有DG输出同步。Microgrid control is mainly divided into two parts: physical layer and network layer, as shown in Figure 1. The physical layer mainly includes the controller and distributed power supply. The controller stabilizes the output of each DG, and then connects the output of the DG to the point of common coupling (PCC) through a static transfer switch (STS), so that the To supply power to the public load attached to the PCC, of course, a DG can also be used to supply power to a specific load. The network layer is mainly to realize data exchange between different power electronic inverters, and realize the synchronization of all DG outputs in the entire microgrid.
图2显示了DG内部的逆变器框图,假设微电网内共有N个DG单元,每个DG按照一定的顺序分别定义为DGi(i=1,2,...,N),DGi通过馈线连接到PCC。逆变器的控制器主要包括:1)功率计算器;2)功率控制器;3)电压控制回路,调节DG单元交流测电压voi;4)电流控制回路,调节DG单元交流测电流ili。DGi输出的三相电运用dp-frame进行转化,得到vodi,voqi,iodi,ioqi,再通过计算得到voi,ili,从而计算出DGi输出的有功和无功功率分量。功率控制器是结合它们的额定功率值进行下垂控制:Figure 2 shows the block diagram of the inverter inside the DG. It is assumed that there are N DG units in the microgrid, and each DG is defined as DG i ( i =1,2,...,N) in a certain order. Connect to PCC via feeder. The controller of the inverter mainly includes: 1) a power calculator; 2) a power controller; 3) a voltage control loop, which adjusts the DG unit AC measurement voltage voi ; 4) a current control loop, which regulates the DG unit AC measurement current i li . The three-phase power output by DG i is converted by dp-frame to obtain v odi , v oqi , i odi , i oqi , and then v oi , i li are obtained by calculation, so as to calculate the active and reactive power components output by DG i . Power controllers perform droop control in combination with their power ratings:
其中,mi和ni是单元DGi的有功和无功下垂控制系数,ωi是DGi的输出频率,ωref是系统额定频率(2π×50red/s),是系统标称电压,是逆变器交流测电压voi的参考值并作为电压电流环的参考值,Pi和Qi分别是单元DGi输出的有功和无功功率分量。where m i and ni are the active and reactive droop control coefficients of unit DG i , ω i is the output frequency of DG i , ω ref is the system rated frequency (2π×50red/s), is the nominal system voltage, is the reference value of the AC voltage v oi of the inverter and is used as the reference value of the voltage and current loop, Pi and Q i are the active and reactive power components output by the unit DG i respectively .
(2)设计有限时间一致性控制策略,实现对频率和电压的调节。(2) Design a limited time consistency control strategy to realize the regulation of frequency and voltage.
2.1代数图论2.1 Algebraic graph theory
为了更好的描述微电网的通信网络的结构,这里运用代数有向图理论。如图3所示,微电网中通信网络包括N个多代理(DGs),标记从1到N,然后映射到有向图G(V,ε,A),其中节点集V={v1,v2,...,vN}代表所有的DGs,边缘集合代表了能够进行信息交换的通信链路。A=[aij]N×N是加权邻接矩阵系数,aii=0且aij≥0,当且仅当(vi,vj)∈ε时,aij>0。第i个代理的相邻节点被定义为Ni={vj∈V:(vi,vj)∈ε},有向图G的隶属度矩阵(degree matrix)设为D=diag{d1,d2,...,dN},并且拉普拉斯矩阵Ω=D-A是一个对称的半正定矩阵。In order to better describe the structure of the communication network of the microgrid, the algebraic directed graph theory is used here. As shown in Figure 3, the communication network in the microgrid consists of N multi-agents (DGs), labeled from 1 to N, and then mapped to a directed graph G(V,ε,A), where the node set V={v 1 , v 2 ,...,v N } represents all DGs, edge sets Represents a communication link capable of information exchange. A=[a ij ] N×N is the weighted adjacency matrix coefficient, a ii =0 and a ij ≥0, a ij >0 if and only if (vi , v j ) ∈ε . The adjacent nodes of the ith agent are defined as N i ={v j ∈V:(v i ,v j )∈ε}, and the degree matrix of the directed graph G is set to D=diag{d 1 ,d 2 ,...,d N }, and The Laplace matrix Ω=DA is a symmetric positive semi-definite matrix.
2.2有限时间一致性算法2.2 Finite Time Consistency Algorithm
单纯的下垂控制不可能避免的带来的全网频率和电压的下跌,因此,本文提出了一种基于有限时间一致性算法,运用之前的图论分析,对分布式电源输出进行补偿,最终使得每个代理的输出频率和电压保持一致并能够持续分别地跟踪到设定的频率和电压的标称值ωref和vref,提高系统的动态性能。Simple droop control cannot avoid the drop in the frequency and voltage of the whole network. Therefore, this paper proposes a consensus algorithm based on finite time, using the previous graph theory analysis, to compensate the output of distributed power, and finally make The output frequency and voltage of each agent are consistent and can continuously track to the set nominal values of frequency and voltage ω ref and v ref respectively, which improves the dynamic performance of the system.
对于,该代理DGi的输出误差可以用一致性策略计算为:For, the output error of this agent DG i can be calculated with the consistency policy as:
其中,ei代表代理i的全局输出误差,xi代表代理i的实际输出值,xj代表代理i的相邻代理j通过通信传输过来的值,xref代表代理i的输出的标称值,作为一致性算法的Leader节点,aij表示加权邻接系数,即代理i的网络通信链接,bi代表通向Leader的权重,当且仅当代理i可以访问Leader时,bi>0。Among them, e i represents the global output error of agent i, xi represents the actual output value of agent i, x j represents the value transmitted by the adjacent agent j of agent i through communication, and x ref represents the nominal value of the output of agent i , as the leader node of the consensus algorithm, a ij represents the weighted adjacency coefficient, that is, the network communication link of agent i, b i represents the weight leading to the leader, if and only when the agent i can access the leader, b i > 0.
为了实现有限时间的调节效果,引入符号函数。In order to realize the limited time adjustment effect, a sign function is introduced.
保证了在某个适合的条件下,代理i的输出全局误差可以被消除,最终实现微电网内每个代理的输出一致且趋近于标称值。It is guaranteed that under certain suitable conditions, the global error of the output of agent i can be eliminated, and finally the output of each agent in the microgrid is consistent and close to the nominal value.
设计的有限时间控制器为:The designed finite-time controller is:
其中,α,β是有限时间控制参数,α是指数系数,0<α<1,提高了系统收敛性能,β是比例系数,β>0,决定了控制变量的步长。Among them, α and β are finite-time control parameters, α is an exponential coefficient, 0<α<1, which improves the system convergence performance, β is a proportional coefficient, β>0, determines the step size of the control variable.
为了验证所设计的有限时间控制器的可行性和稳定性,构造了以下Lyapunov函数:To verify the feasibility and stability of the designed finite-time controller, the following Lyapunov function is constructed:
因此,therefore,
其中,e=[e1 e2 … eN],B=diag{b1 b2 … bN},Γ=Ω+B,Γ是一个半正定矩阵,很显然,定义一个有界矩阵对于连续的δ∈Φ,函数δTΓδ也是连续的,并且存在而且大于0,定义为ρ。Among them, e=[e 1 e 2 … e N ], B=diag{b 1 b 2 … b N }, Γ=Ω+B, Γ is a positive semi-definite matrix, obviously, define a bounded matrix For continuous δ∈Φ, the function δT Γδ is also continuous, and exists and is greater than 0, defined as ρ.
因此,therefore,
不妨设则may wish to set but
再假定最后,可以得到:Assume again Finally, you can get:
根据上面的证明将会在有限时间趋近于0,因此在时间t*内代理的输出误差e也会趋近于0,即可以实现 According to the above proof will be for a limited time approaches 0, so the output error e of the agent will also approach 0 within time t * , that is, it can be achieved
也就是that is
详细的分布式二级控制策略如图3所示。如图所示,通过对等稀疏网络获得相邻DG的信息,并且通过一致性算法处理所获得的信息和本地信息。一致性偏差反馈到由有限时间一致性策略设计的频率和电压控制器。然后,控制器的输出被输入到下垂控制,然后转移到电压和电流控制环路,最后实现频率和电压稳定并跟踪到标称值。The detailed distributed secondary control strategy is shown in Figure 3. As shown in the figure, the information of neighboring DGs is obtained through a peer-to-peer sparse network, and the obtained information and local information are processed through a consensus algorithm. The compliance bias is fed back to the frequency and voltage controllers designed by a finite-time compliance strategy. The output of the controller is then fed into the droop control, which is then transferred to the voltage and current control loops, and finally the frequency and voltage are stabilized and tracked to nominal values.
(3)设计通信中断的预测补偿策略(3) Design a predictive compensation strategy for communication interruption
传统ELM是基于经验风险最小化原则,将训练误差降到最小,但是在训练过程中,会出现过拟合问题,降低模型的泛化能力。因此,我们引入结构风险最小化理论,合理权衡经验风险和结构风险,提出了一种改进的ELM模型(ES-ELM)。当通讯数据发生丢失和干扰时,利用改进的极限学习机,通过对电压和频率的历史数据进行训练,从而预测出原本该有的数据,最后将预测得到的数据输入到一致性控制中,与传统极限学习机相比,ES-ELM具有更好的泛化能力和鲁棒性。The traditional ELM is based on the principle of empirical risk minimization to minimize the training error, but during the training process, there will be an overfitting problem, which reduces the generalization ability of the model. Therefore, we introduce the theory of structural risk minimization, reasonably weigh empirical risk and structural risk, and propose an improved ELM model (ES-ELM). When the communication data is lost and interfered, the improved extreme learning machine is used to train the historical data of voltage and frequency, so as to predict the original data, and finally input the predicted data into the consistency control. Compared with traditional extreme learning machine, ES-ELM has better generalization ability and robustness.
对于任意N个不同样本(Xi,Yi),其中Xi=[xi1 xi2 … xin]T∈Rn表示各个DG历史输出频率或电压,Yi=[yi1 yi2 … yim]T∈Rm表示各个DG期望输出的频率或电压,对于一个有L个隐层节点的单隐层神经网络可以表示为:For any N different samples (X i ,Y i ), where X i =[x i1 x i2 … x in ] T ∈R n represents the historical output frequency or voltage of each DG, Y i =[y i1 y i2 … y im ] T ∈ R m represents the frequency or voltage of the expected output of each DG. For a single hidden layer neural network with L hidden layer nodes, it can be expressed as:
其中g(x)为激励函数,一般为高斯函数,Wi=[wi1 wi2 … win]T为输入权重,γi为输出权重,ci为第i个隐层单元的偏置,oj表示预测输出。where g(x) is the excitation function, generally a Gaussian function, Wi = [ wi1 w i2 ... w in ] T is the input weight, γ i is the output weight, c i is the bias of the ith hidden layer unit, o j represents the predicted output.
当考虑经验风险和结构风险时,ES-ELM的数学模型可以表示为:When considering empirical risk and structural risk, the mathematical model of ES-ELM can be expressed as:
其中,||ε||2表示经验风险,||γ||2表示结构风险,η∈R表示两种风险比例参数通过交叉验证的方式来确定的最佳折中点。Among them, ||ε|| 2 represents the empirical risk, ||γ|| 2 represents the structural risk, and η∈R represents the best compromise point determined by the cross-validation of the two risk ratio parameters.
引入LS-SVM算法,将ES-ELM模型转化为拉格朗日方程为:The LS-SVM algorithm is introduced to convert the ES-ELM model into the Lagrange equation as:
其中,λ=[λ1 λ2 … λN]表示拉格朗日乘子,H表示隐层输出,γ=[γ1 γ2 …γL]T表示输出权重Among them, λ=[λ 1 λ 2 … λ N ] represents the Lagrange multiplier, H represents the output of the hidden layer, and γ=[γ 1 γ 2 … γ L ] T represents the output weight
根据KTT最优条件,求拉格朗日方程的梯度并令其为0,得According to the optimal conditions of KTT, find the gradient of the Lagrange equation and set it to 0, we get
从而得到thereby getting
其中X+表示矩阵X的广义逆矩阵。where X + denotes the generalized inverse of matrix X.
综上所述,ES-ELM同时考虑经验风险和结构风险,使得模型的过拟合降低,泛化能力也能优秀。To sum up, ES-ELM considers both empirical risk and structural risk, so that the overfitting of the model is reduced and the generalization ability is excellent.
训练之前先明确以下内容:训练集N个不同的样本(Xi,Yi),隐层数目L,激励函数g(x),基于ES-ELM预测过程主要包括一下几步:Before training, clarify the following contents: N different samples (X i , Y i ) in the training set, the number of hidden layers L, and the excitation function g(x). The ES-ELM-based prediction process mainly includes the following steps:
Step 1:当数据变化较大时,为了得到更好的训练结果,对数据进行预处理,具体公式为:Step 1: When the data changes greatly, in order to obtain better training results, the data is preprocessed. The specific formula is:
其中,x(i)和x'(i)分别表示原始数据和处理后的数据,Ex和σi表示原始数据的均值和标准差。Among them, x(i) and x '(i) represent the original data and processed data, respectively, and Ex and σ i represent the mean and standard deviation of the original data.
Step 2:输入权值wik和偏置ci在(0,1)范围内任意设定,并计算隐层输出H。Step 2: The input weights w ik and bias c i are arbitrarily set in the range of (0,1), and the hidden layer output H is calculated.
Step 3:根据公式(14)计算输出权值γ和拉格朗日乘子λ。Step 3: Calculate the output weight γ and the Lagrange multiplier λ according to formula (14).
经过ES-ELM训练之后,通过历史数据对已经丢失通信信息DGi的进行局部预测,分别得到频率和电压的预测值,较短的预测时间可以降低数据丢失造成的系统不稳定现象。After ES-ELM training, the local prediction of the lost communication information DG i is carried out through historical data, and the predicted values of frequency and voltage are obtained respectively. A shorter prediction time can reduce the system instability caused by data loss.
基于以上分析,本在通信中断的情况下,运用预测补偿机制,提高整个系统的稳定性。Based on the above analysis, in the case of communication interruption, the prediction compensation mechanism is used to improve the stability of the entire system.
本领域的技术人员容易理解,以上所述仅为本发明较佳实施方案而已,并不用以限制本发明,凡是在本发明的精神和原则之内所做的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。Those skilled in the art can easily understand that the above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, etc., All should be included within the protection scope of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910495672.7A CN110190599B (en) | 2019-06-10 | 2019-06-10 | A Control Method of Island Microgrid Based on Finite Time Consistency Theory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910495672.7A CN110190599B (en) | 2019-06-10 | 2019-06-10 | A Control Method of Island Microgrid Based on Finite Time Consistency Theory |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110190599A CN110190599A (en) | 2019-08-30 |
CN110190599B true CN110190599B (en) | 2020-12-22 |
Family
ID=67720957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910495672.7A Active CN110190599B (en) | 2019-06-10 | 2019-06-10 | A Control Method of Island Microgrid Based on Finite Time Consistency Theory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110190599B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110611333B (en) * | 2019-11-11 | 2022-12-13 | 燕山大学 | Island microgrid distributed coordination control method considering communication problem |
CN110994581B (en) * | 2019-11-14 | 2022-03-15 | 国网北京市电力公司 | DC microgrid control processing method and device |
CN112086996B (en) * | 2020-08-08 | 2022-05-24 | 东北电力大学 | Agent-based improved droop control method for parallel inverter |
CN112260251B (en) * | 2020-10-12 | 2022-07-05 | 国网河北省电力有限公司经济技术研究院 | Microgrid control period stability analysis method and system |
CN112713581B (en) * | 2020-12-17 | 2022-08-05 | 华中科技大学 | Distributed fixed-time voltage regulation and current equalization method and system for direct-current micro-grid |
CN112909954B (en) * | 2020-12-30 | 2023-12-15 | 燕山大学 | A hierarchical control strategy for microgrid based on generative adversarial neural network |
CN112788048B (en) * | 2021-01-22 | 2022-04-01 | 新华三信息安全技术有限公司 | Authentication information synchronization method and device |
CN113485126B (en) * | 2021-08-23 | 2023-05-12 | 安徽工业大学 | Improved dynamic matrix control three-time control method for direct-current micro-grid cluster |
CN114243767B (en) * | 2021-12-06 | 2023-11-21 | 电子科技大学长三角研究院(湖州) | Island micro-grid secondary controller design method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106129999A (en) * | 2016-07-01 | 2016-11-16 | 东南大学 | Based on finite time conforming direct-current grid distributed collaboration control method |
CN108075487A (en) * | 2017-12-05 | 2018-05-25 | 燕山大学 | The hierarchical control method for the isolated island micro-capacitance sensor that adaptive sagging and uniformity is combined |
CN108667067A (en) * | 2018-04-04 | 2018-10-16 | 燕山大学 | A Hierarchical Control Method for Island Microgrid Based on Dual SMC-Consistency Theory |
CN109687526A (en) * | 2019-03-06 | 2019-04-26 | 华北电力大学 | A kind of isolated island micro-capacitance sensor layered distribution type control strategy based on congruity theory |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105703393B (en) * | 2016-03-10 | 2018-02-06 | 东南大学 | A kind of micro-capacitance sensor voltage restoration methods based on Distributed Predictive Control strategy |
-
2019
- 2019-06-10 CN CN201910495672.7A patent/CN110190599B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106129999A (en) * | 2016-07-01 | 2016-11-16 | 东南大学 | Based on finite time conforming direct-current grid distributed collaboration control method |
CN108075487A (en) * | 2017-12-05 | 2018-05-25 | 燕山大学 | The hierarchical control method for the isolated island micro-capacitance sensor that adaptive sagging and uniformity is combined |
CN108667067A (en) * | 2018-04-04 | 2018-10-16 | 燕山大学 | A Hierarchical Control Method for Island Microgrid Based on Dual SMC-Consistency Theory |
CN109687526A (en) * | 2019-03-06 | 2019-04-26 | 华北电力大学 | A kind of isolated island micro-capacitance sensor layered distribution type control strategy based on congruity theory |
Non-Patent Citations (2)
Title |
---|
基于改进极限学习机的电力需求预测研究;孙伟 等;《计算机与数字工程》;20190420;第47卷(第04期);806-811、819 * |
基于有限时间一致性的直流微电网分布式协同控制;顾伟 等;《电力系统自动化》;20161225;第40卷(第24期);49-55、84 * |
Also Published As
Publication number | Publication date |
---|---|
CN110190599A (en) | 2019-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110190599B (en) | A Control Method of Island Microgrid Based on Finite Time Consistency Theory | |
Lai et al. | Distributed multi-DER cooperative control for master-slave-organized microgrid networks with limited communication bandwidth | |
CN109687526B (en) | A Hierarchical Distributed Control Strategy of Island Microgrid Based on Consistency Theory | |
Peng et al. | Voltage-based distributed optimal control for generation cost minimization and bounded bus voltage regulation in DC microgrids | |
Lou et al. | Optimal design for distributed secondary voltage control in islanded microgrids: Communication topology and controller | |
Li et al. | Multiagent-based distributed state of charge balancing control for distributed energy storage units in AC microgrids | |
CN108075487B (en) | Hierarchical control method for islanded microgrid combining adaptive droop and consistency | |
CN107706939B (en) | A Distributed Control Method Considering Time Delay and Packet Loss Problems in Microgrids Based on CPS Concept | |
CN113285457B (en) | Distributed economic dispatching method and system for regional power system under non-ideal communication | |
CN114069664B (en) | Distributed control method for power distribution network voltage of large-scale energy storage system | |
CN110858718B (en) | Distributed event-driven frequency control method for AC microgrid considering economy | |
CN108494022B (en) | Accurate scheduling method based on distributed power supply in micro-grid | |
CN107093893A (en) | The power voltage control method for coordinating and device of a kind of DC distribution net | |
CN106129999A (en) | Based on finite time conforming direct-current grid distributed collaboration control method | |
CN108448563A (en) | A DC microgrid distributed collaborative control system and DC microgrid | |
Shotorbani et al. | A distributed non-Lipschitz control framework for self-organizing microgrids with uncooperative and renewable generations | |
CN115622142A (en) | A Coordination Method for DC Microgrid Against Hybrid Network Attacks | |
CN117239728A (en) | A microgrid distributed economic dispatch method | |
Li et al. | A hierarchical control scheme with bi-level communication networks for the interconnected DC microgrids cluster | |
Lu et al. | A projected gradient descent-based distributed optimal control method of medium-voltage DC distribution system considering line loss | |
Gong et al. | Distributed secondary control based on cluster consensus of inhibitory coupling with power limit for isolated multi‐microgrid | |
Yang et al. | Distributed Two-Layer Predictive Control of AC Microgrid Clusters With Communication Delays | |
CN118432196A (en) | Micro-grid distributed cooperative control method and system considering economic dispatch | |
CN115733148A (en) | Active power distribution network double-layer voltage control method and system considering DG cluster access | |
Cai et al. | Multi-objective hierarchical optimization for grid-connected microgrids considering H∞ performance index |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240311 Address after: 071000 200m north of the intersection of Dingzhou commercial street and Xingding Road, Baoding City, Hebei Province (No. 1910, 19th floor, building 3, Jueshan community) Patentee after: Hebei Kaitong Information Technology Service Co.,Ltd. Country or region after: China Address before: 066004 No. 438 west section of Hebei Avenue, seaport District, Hebei, Qinhuangdao Patentee before: Yanshan University Country or region before: China |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240327 Address after: 200000 No. 1954, Huashan Road, Shanghai, Xuhui District Patentee after: Ai Qian Country or region after: China Address before: 071000 200m north of the intersection of Dingzhou commercial street and Xingding Road, Baoding City, Hebei Province (No. 1910, 19th floor, building 3, Jueshan community) Patentee before: Hebei Kaitong Information Technology Service Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240805 Address after: 201400 floor 5, building 11, No. 6055, Jinhai highway, Fengxian District, Shanghai Patentee after: Shanghai Julihe Energy Technology Co.,Ltd. Country or region after: China Address before: 200000 No. 1954, Huashan Road, Shanghai, Xuhui District Patentee before: Ai Qian Country or region before: China |