DISTRIBUTED PREDICTIVE CONTROL BASED VOLTAGE RESTORATION SCHEME FOR MICROGRIDS

20180138705 ยท 2018-05-17

    Inventors

    Cpc classification

    International classification

    Abstract

    A distributed predictive control based voltage restoration scheme for microgrids, comprising: step 10) adopting a distributed finite time observer to acquire the global reference voltage for restoring the voltage of each local controller; step 20) each local controller adopts a droop control to acquire the local voltage value of each generation, and adds a secondary voltage compensation term into the droop characteristic formula to form the voltage reference value of a distributed generation; step 30) establishing a trended prediction model; step 40) acquiring a predictive control term at a current time as the secondary voltage compensation command, and acting on the local controllers; and step 50) determining, whether the local voltage of each distributed generation of the microgrid reaches the voltage reference value under the secondary voltage compensation command.

    Claims

    1. A method for restoring a voltage scheme for microgrids based on a distributed predictive control, comprises the following steps: step 1) acquiring a global reference voltage as reference for restoring local voltage of each distributed generation with q distributed finite time observer, wherein an autonomous microgrid having N distributed generations which utilize distributed control structures, a microgrid voltage reference instruction is entered through a human-machine interface and sent to a part of pinned distributed generations via 485 communication mode; step 2) collecting values of voltage from a local sensor with a data acquisition module of each distributed generation, sending to a Digital Signal Processing (DSP); each local controller adopts a droop control, and adding a secondary voltage compensation term to a droop characteristic formula, wherein the local voltage reference value of each distributed generation can be represented as formula (1):
    .sub.i=.sub.0n.sub.QiQ.sub.i+u.sub.i.sup.Vformula (1) wherein .sub.i denotes the local voltage value of the i-th distributed generation in the microgrid; v0 denotes the voltage reference value, unit: kilovolt; n.sub.Qi denotes the voltage droop characteristic coefficient of the i-th distributed generation in the microgrid, unit: kilovolt/megavar; Qi denotes the reactive power of the i-th distributed generation in the microgrid, unit: megavar; and u.sup.V.sub.i denotes the secondary voltage compensation term, unit kilovolt; exchanging information with the communication ports of the DSP of individual distributed generation with the information update interval , according to formula (1), dynamic characteristics of each distribute generation is transformed into a discrete form:
    (k+1)=P(k)+E.sub.rformula (2) wherein k is the current time; k+1 is the next time; v(k)=[v.sub.1(k), . . . , v.sub.N(k)].sup.T, v.sub.1(k) denotes the voltage value of the first distributed generation at t=k, and v.sub.N(k) denotes the voltage value of the N-th distributed generation at t=k; v(k+1) denotes the matrix formed by the voltage values of the distributed generations at t=k+1; P=I.sub.N(1)L, I.sub.N denotes the n-order unit matrix, and L denotes the Laplacian matrix of the distributed structure of the microgrid, which represents the information exchange between the distributed generations; E.sub.r=.sub.refE.sub.N, .sub.ref denotes the reference voltage value of the microgrid, and E.sub.N denotes the column vector comprising N elements, E.sub.N=1.sub.N; adding a prediction term with an adjustable parameter in the formula (2), as represented by formula (3):
    (k+1)=P(k)+E.sub.r+u(k)
    u(k)=[L(k)+((k).sub.refE.sub.N)]formula (3) wherein u(k) denotes the prediction term with an adjustable parameter, u(k)=[u.sub.1(k), . . . , u.sub.N(k)].sup.T, u.sub.1(k) denotes the prediction term of the first distributed generation; u.sub.N(k) denotes the prediction term of the N-th distributed generation; the superscript T denotes transposition; and denotes the coefficient of the prediction term with an adjustable parameter; according to the formulas (1) and (3), the secondary control compensation term is represented as formula (4):
    u.sub.i.sup.v(k)=[0, . . . ,1.sub.ith, . . . 0][(LI.sub.N)(k)+E.sub.r+u(k)]formula (4) wherein [0, . . . , 1.sub.ith, . . . 0] represents a row vector comprising N elements, with the i-th element as 1, and the other elements 0; step 3) Expand the formula (3) into a trended prediction model comprising H.sub.P prediction horizons and H.sub.U control horizons.
    V(k+1)=A(k)+BU(k)+E.sub.r
    U(k)=FL(k)+Mformula (5) wherein V(k+1)=[.sup.T (k+1), . . . , .sup.T(k+H.sub.P)].sup.T, (k+1) denotes the matrix formed by the voltage values of the distributed generations at t=k+1, and (k+H.sub.P) denotes the matrix formed by the voltage values of the distributed generations at t=k+H.sub.P; U(k)=[u.sup.T(k), . . . , u.sup.T(k+H.sub.u1)].sup.T, u(k) denotes the matrix formed by the first prediction terms of the distributed generations, and u(k+H.sub.u1) denotes the matrix formed by the H.sub.u-the prediction terms of the distributed generations; .Math. A = [ P .Math. P H P ] H U .Math. N N , .Math. B = [ I N P I N .Math. .Math. P H U - 1 P H U - 2 .Math. I N P H U P H U - 1 .Math. P + I N .Math. .Math. .Math. .Math. P H P - 1 P H P - 2 .Math. P H P - H U + .Math. + I N ] H p .Math. N H U .Math. N formula .Math. .Math. ( 6 ) E.sub.r=E.sub.r BR.sup.HpN1, R denotes the real number matrix; F = [ - ( L + I N ) - ( L + I N ) .Math. ( P - ( L + I N ) ) .Math. - ( L + I N ) .Math. ( P - ( L + I N ) ) H U - 1 ] H U .Math. N N M = [ .Math. .Math. v ref .Math. E N - ( L + I N ) .Math. H + .Math. .Math. v ref .Math. E N .Math. - ( L + I N ) .Math. ( H H u - 1 + .Math. + H ) + .Math. .Math. v ref .Math. E N ] H U .Math. N 1 H = E r + .Math. .Math. v ref .Math. E N R N 1 ; step 4) setting H.sub.P prediction horizons, voltage differences of the distributed generations are represented as formula (7): .Math. .Math. V ( k + 1 ) = .Math. [ .Math. .Math. v ( k + 1 ) T , .Math. .Math. .Math. .Math. .Math. v ( k + H P ) T ] T = .Math. .Math. .Math. V ( k + 1 ) = ( Av ( k ) + BU ( k ) + E r ) = .Math. A .Math. v ( k ) + B .Math. U ( k ) + .Math. .Math. E r R H P .Math. N 1 Formula .Math. .Math. ( 7 ) wherein V(k+1) denotes the voltage difference matrix of the distributed generations in the time period from k+1 to k+H.sub.P; (k+1) denotes the voltage difference matrix of the distributed generations at t=k+1; (k+1)=[.sub.1(k+1).sub.2(k+1), . . . , .sub.N1(k+1).sub.N(k+1)], .sub.1(k+1) denotes the voltage difference of the first distributed generation at t=k+1; .sub.2(k+1) denotes the voltage difference of the second distributed generation at t=k+1; .sub.N1(k+1) denotes the voltage difference of the (N1)-th distributed generation at t=k+1; .sub.N(k+1) denotes the voltage difference of the N-th distributed generation at t=k+1; (k+H.sub.P) denotes the voltage difference matrix of the distributed generations at t=k+H.sub.P; (k+H.sub.P)=[.sub.1(k+H.sub.P).sub.2(k+H.sub.P), . . . , .sub.N1(k+H.sub.P).sub.N(k+H.sub.P)], .sub.i(k+H.sub.P) denotes the voltage difference of the first distributed generation at t=k+H.sub.P; .sub.2(k+H.sub.P) denotes the voltage difference of the second distributed generation at t=k+H.sub.P; .sub.N1(k+H.sub.P) denotes the voltage difference of the (N1)-th distributed generation at t=k+H.sub.P; .sub.N(k+H.sub.P) denotes the voltage difference of the N-th distributed generation at t=k+H.sub.P; A.sub.=A, B.sub.=B, =diag(L, . . . , L).sup.HpNHpN; according to the formula (7), the coefficient of the prediction term with an adjustable parameters evaluated to minimize an optimization index function defined by formula (8) in DSP, where the positive definite symmetric matrices Q, W and R are weight matrices;
    J(k)=V(k+1).sub.Q.sup.2+V(k+1)I.sub.NHp.sub.W.sup.2+U(k).sub.R.sup.2formula (8) wherein J(k) denotes the optimization index function; and denotes the reference voltage value of each distributed generation; substitute the calculated coefficient of the prediction term with an adjustable parameter into the formula (5) to acquire the predictive control term of H.sub.U horizons for each distributed generation, where the current predictive control term is derived as a secondary voltage compensation instruction; then, the secondary voltage compensation instruction is transmitted to the PWM module of the local controller; and the generated PWM pulse signal is transmitted to the drive and power amplifier unit to trigger the power electronic switching transistor; step 5) determining whether the local voltage of each distributed generation in the microgrid reaches the voltage reference value under the secondary voltage compensation item acquired in step 40), if yes, then complete the control process; if no, then re-acquire the local voltage value of each distributed generation as the current voltage value, and repeat steps 2)-4) until the local voltage values all restore to the voltage reference value.

    2. The method according to claim 1, wherein the distributed finite time observer is represented as formula (9) in step 1): v . .Math. i = sig [ .Math. j = 1 N .Math. a ij ( v ^ j - v ^ i ) + g i ( v ref - v ^ i ) ] 1 / 2 Formula .Math. .Math. ( 9 ) wherein {circumflex over ()}.sub.i denotes the output value of a local observer of the i-th distributed generation, and represents the observation to the global reference information; {circumflex over ({dot over ()})}.sub.i denotes the differential form of {circumflex over ()}.sub.i; a.sub.ij denotes the neighboring weight; a.sub.ij>0 denotes that the i-th distributed generation is directly connected to the j-th distributed generation; a.sub.ij=0 denotes that the i-th distributed generation is not connected to the j-th distributed generation; {circumflex over (v)}.sub.j denotes the output value of the local observer of the j-th distributed generation; g.sub.i denotes if the i-th distributed generation is a pinned generation, g.sub.i=1 denotes that the pinned distributed generation can directly acquire the reference value, otherwise g.sub.i=0.

    3. The method according to claim 1, wherein Q=qI.sub.N, W=wI.sub.N, R=rI.sub.N, q denotes the first coefficient in step 4); w denotes the second coefficient; r denotes the third coefficient; q, w and r are all greater than 0.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0029] FIG. 1 is a structural diagram of parallel inverter microgrid of the present invention, DSP represents Digital Signal Processing;

    [0030] FIG. 2 is a detailed hardware implementation diagram of the present invention; PWM represents Pulse Width Modulation;

    [0031] FIG. 3 is a flow diagram of the embodiment of the present invention;

    [0032] FIG. 4 is a control diagram for the voltage restoration of a microgrid according to the present invention;

    [0033] FIG. 5 is a diagram of a communication topology and a simulation microgrid system adopted by the embodiment of the present invention;

    [0034] FIG. 6 is the voltage restoration process under the circumstances of load attached to or detached from the microgrid according to the embodiment of the present invention;

    [0035] FIG. 7 is a trend diagram of the secondary voltage control input under the circumstances of load attached to or detached from the microgrid according to the embodiment of the present invention;

    [0036] FIG. 8 (a) is a voltage restoration diagram of the present invention under the circumstances of load attached to or detached from the microgrid;

    [0037] FIG. 8 (b) is a voltage restoration diagram of the conventional secondary control under the circumstances of load attached to or detached from the microgrid;

    [0038] FIG. 9 is the voltage restoration diagram under the circumstance that the distributed generator 3 is detached from microgrid according to the embodiment of the present invention;

    [0039] FIG. 10 (a) is the voltage restoration diagram of the present invention at different information updating intervals;

    [0040] FIG. 10 (b) is the voltage restoration diagram of the conventional secondary control at different information updating intervals.

    DETAILED DESCRIPTION OF THE INVENTION

    [0041] In order to enable the objectives, technical schemes and advantages of the present invention to be more apparent, the present invention will be described in more details with the aid of the attached drawing and implementation cases. It should be understood that the specific embodiments described herein are only for illustrating but not for limiting the present invention.

    [0042] The control method of the present invention can be applied to a parallel inverter microgrid. As shown in FIG. 1, the microgrid voltage reference instruction is entered through a human-machine interface and sent to the pinned distributed generations via the 485 communication mode. The distributed generations perform information exchange by the Ethernet-based distributed communication network and the diagram of specific signal control and hardware implementation is as shown in FIG. 2. The data acquisition unit of each distributed generation collects the voltage from the local sensor. By combining the local voltage and the voltages from other distributed generations, a secondary voltage compensation instruction is generated by utilizing the distributed predictive control based voltage restoration scheme of the present invention, and is then transmitted to the PWM module of the local controller to trigger the inverter operation. As shown in FIG. 3, the distributed predictive control based voltage restoration scheme for microgrids comprises the following steps:

    [0043] Step 10) Suppose that there are N distributed generations in an autonomous microgrid, where the distributed control structure is adopted. The microgrid voltage reference instruction is entered through a human-machine interface and sent out to a part of pinned distributed generations via the 485 communication mode. A distributed finite time observer is utilized to acquire the global reference voltage as the reference for restoring the local voltage of each distributed generation, wherein the pinned distributed generations refer to the distributed generations which can directly receive the voltage reference information from an external set.

    [0044] In step 10). the distributed finite time observer is represented as formula (9):

    [00005] v . ^ i = sig [ .Math. j = 1 N .Math. a ij ( v ^ j - v ^ i ) + g i ( v ref - v ^ i ) ] 1 / 2 Formula .Math. .Math. ( 9 )

    [0045] Wherein {circumflex over ()}.sub.i denotes the output value of a local observer of the i-th distributed generation, and represents the observation to the global reference information; {circumflex over ({dot over ()})}.sub.i denotes the differential form of {circumflex over ()}.sub.i; a.sub.ij denotes the neighboring weight; a.sub.ij>0 denotes that the i-th distributed generation is directly connected to the j-th distributed generation; a.sub.ij=0 denotes that the i-th distributed generation is not connected to the j-th distributed generation; {circumflex over (v)}.sub.j denotes the output value of a local observer of the j-th distributed generation; g.sub.i denotes that the i-th distributed generation is a pinned generation; g.sub.i=1 denotes that the pinned distributed generation can directly acquire the reference value, otherwise g.sub.i=0.Math.Sig(*).sup.a=sign(*)|*|.sup.a (a>0) denotes the finite time function. According to the formula (9), each local voltage observer reaches {circumflex over ()}.sub.i=.sub.ref when tT.sub.0. The observer is mainly used for a distributed structure, and certain distributed generations can not directly acquire the voltage reference value, thus facilitating the distributed sharing of the global information.

    [0046] Step 20) The data acquisition module of each distributed generation collects the voltage from the local sensor, that is to be sent to the respective DSP. Each local controller adopts the droop control and a secondary voltage compensation term is added to the droop characteristic formula, wherein the local voltage reference value of each distributed generation can be represented as formula (1):


    .sub.i=.sub.0n.sub.QiQ.sub.i+u.sub.i.sup.VFormula (1)

    [0047] Wherein .sub.i denotes the local voltage value of the i-th distributed generation in the microgrid; .sub.0 denotes the voltage reference value, unit: kilovolt; n.sub.Qi denotes the voltage droop characteristic coefficient of the i-th distributed generation in the microgrid, unit: kilovolt/megavar; Q.sub.i denotes the reactive power of the i-th distributed generation in the microgrid, unit: megavar; and u.sup.V.sub.i denotes the secondary voltage compensation term, unit kilovolt.

    [0048] The information exchange is implemented through the communication ports of the DSP of the individual distributed generation with the information update interval . According to formula (1), the dynamic characteristics of each distribute generation is transformed into a discrete form. Therefore, the microgrid secondary voltage restoration problem is transformed into a distributed prediction synchronous tracking problem.


    (k+1)=P(k)+E.sub.rFormula (2)

    [0049] Wherein k is the current time; k+1 is the next time; v(k)=[v.sub.1(k), . . . , v.sub.N(k)].sup.T, v.sub.1(k) denotes the voltage value of the first distributed generation at t=k, and v.sub.N(k) denotes the voltage value of the N-th distributed generation at t=k; v(k+1) denotes the matrix formed by the voltage values of the distributed generations at t=k+1; P=I.sub.N(1)L, I.sub.N denotes the n-order unit matrix, and L denotes the Laplacian matrix of the distributed structure of the microgrid, which represents the information exchange between the distributed generations; E.sub.r=.sub.refE.sub.N, .sub.ref denotes the reference voltage value of the microgrid, and E.sub.N denotes the unit column vector of N elements, E.sub.N=1N.

    [0050] Add a prediction term with an adjustable parameter in the formula (2), as represented by formula (3):


    (k+1)=P(k)+E.sub.r+u(k)


    u(k)=[L(k)+((k).sub.refE.sub.N)]Formula (3)

    [0051] Wherein u(k) denotes the prediction term with an adjustable parameter, u(k)=[u.sub.1(k), . . . , u.sub.N(k)].sup.T, u.sub.1(k) denotes the prediction term of the first distributed generation; u.sub.N(k) denotes the prediction term of the N-th distributed generation; the superscript T denotes transposition; and denotes the coefficient of the prediction term with an adjustable parameter.

    [0052] Through the formula (3), the microgrid secondary voltage restoration problem is transformed into a distributed prediction synchronous tracking problem.

    [0053] According to the formulas (1) and (3), the secondary control compensation term is represented as formula (4):


    u.sub.i.sup.V(k)=[0, . . . ,1.sub.ith, . . . ,0][(LI.sub.N)(k)+E.sub.r+u(k)]Formula (4)

    [0054] Wherein [0, . . . , 1.sub.ith, . . . , 0] represents a row vector comprising N elements, with the i-th element as 1, and the other elements 0;

    [0055] Step 30) Expand the formula (3) into a trended prediction model comprising H.sub.P prediction horizons and H.sub.U control horizons.


    V(k+1)=A(k)+BU(k)+E.sub.r


    U(k)=FL(k)+MFormula (5)

    [0056] Wherein V(k+1)=[.sup.T(k+1), . . . , .sup.T (k+H.sub.P].sup.T, (k+1) denotes the matrix formed by the voltage values of the distributed generations at t=k+1, and (k+H.sub.P) denotes the matrix formed by the voltage values of the distributed generations at t=k+H.sub.P; U(k)=[u.sup.T(k), . . . , u.sup.T(k+H.sub.u1)].sup.T, u(k) denotes the matrix formed by the first prediction terms of the distributed generations, and u(k+H.sub.u1) denotes the matrix formed by the H.sub.u-th prediction terms of the distributed generations.

    [00006] A = [ P .Math. P H p ] H U .Math. N N , .Math. B = [ I N P I N .Math. .Math. P H U - 1 P H U - 2 .Math. I N P H U P H U - 1 .Math. P + I N .Math. .Math. .Math. .Math. P H P - 1 P H P - 2 .Math. P H P - H U + .Math. + I N ] H P .Math. N H U .Math. N

    E.sub.r=E.sub.rBR.sup.HpN1, R denotes the real number matrix;

    [00007] F = [ - ( L + I N ) - ( L + I N ) .Math. ( P - ( L + I N ) ) .Math. - ( L + I N ) .Math. ( P - ( L + I N ) ) H U - 1 ] H U .Math. N N M = [ .Math. .Math. v ref .Math. E N - ( L + I N ) .Math. H + .Math. .Math. v ref .Math. E N .Math. - ( L + I N ) .Math. ( H H u - 1 + .Math. + H ) + .Math. .Math. v ref .Math. E N ] H U .Math. N 1 H = E r + .Math. .Math. v ref .Math. E N R N 1 .

    [0057] Step 40) In order to enable each distributed generation to synchronously track the reference voltage value, suppose that in the H.sub.P prediction horizons, the voltage differences of the distributed generations are represented as formula (7):

    [00008] .Math. .Math. V ( k + 1 ) = .Math. [ .Math. .Math. v ( k + 1 ) T , .Math. .Math. .Math. .Math. .Math. v ( k + H P ) T ] T = .Math. .Math. .Math. V ( k + 1 ) = ( Av ( k ) + BU ( k ) + E r ) = .Math. A .Math. v ( k ) + B .Math. U ( k ) + .Math. .Math. E r R H P .Math. N 1 Formula .Math. .Math. ( 7 )

    [0058] Wherein V(k+1) denotes the voltage difference matrix of the distributed generations in the time period from k+1 to k+H.sub.P; (k+1) denotes the voltage difference matrix of the distributed generations at t=k+1; (k+1)=[.sub.1(k+1).sub.2(k+1), . . . , .sub.N1(k+1).sub.N(k+1)], .sub.i(k+1) denotes the voltage difference of the first distributed generation at t=k+1; .sub.2(k+1) denotes the voltage difference of the second distributed generation at t=k+1; .sub.N1(k+1) denotes the voltage difference of the (N1)-th distributed generation at t=k+1; .sub.N(k+1) denotes the voltage difference of the N-th distributed generation at t=k+1; (k+H.sub.P) denotes the voltage difference matrix of the distributed generations at t=k+H.sub.P; (k+H.sub.P)=[.sub.1(k+H.sub.P).sub.2(k+H.sub.P), . . . , .sub.N1(k+H.sub.P).sub.N(k+H.sub.P)], .sub.i(k+H.sub.P) denotes the voltage difference of the first distributed generation at t=k+H.sub.P; .sub.2(k+H.sub.P) denotes the voltage difference of the second distributed generation at t=k+H.sub.P; .sub.N1(k+H.sub.P) denotes the voltage difference of the (N1)-th distributed generation at t=k+H.sub.P; .sub.N(k+H.sub.P) denotes the voltage difference of the N-th distributed generation at t=k+H.sub.P; A.sub.=A, B.sub.=B, =diag(L, . . . , L).sup.HpNHpN.

    [0059] According to the formula (7), the coefficient of the prediction term with an adjustable parameter is evaluated to minimize an optimization index function defined by formula (8), where the positive definite symmetric matrices Q, W and R are weight matrices;


    J(k)=V(k+1).sub.Q.sup.2+V(k+1)I.sub.NHp.sub.W.sup.2+U(k).sub.R.sup.2Formula (8)

    [0060] Wherein J(k) denotes the optimization index function; and denotes the reference voltage value of each distributed generation. The penalty function represented as formula (8) comprises three parts: the first part acts as a penalty term of a voltage value deviation between neighboring distributed generations in the H.sub.P prediction horizon; the second part acts as a penalty term of a deviation between each local voltage and the reference value in the H.sub.P prediction horizon; and the third part acts as a penalty term of H.sub.U control energy. The combination of the three ensures the voltage of each distributed generation to quickly and synchronously track the value. On the basis of the evaluated optimal adjustable prediction coefficient, the latest control term is taken as a secondary compensation command, and is implemented on the local controllers.

    [0061] Substitute the calculated coefficient of the prediction term with an adjustable parameter into the formula (5) to acquire the predictive control term of H.sub.U horizons for each distributed generation, where the current predictive control term is derived as a secondary voltage compensation instruction. Then, the secondary voltage compensation instruction is transmitted to the PWM module of the local controller; and the generated PWM pulse signal is transmitted to the drive and power amplifier unit to trigger the power electronic switching transistor.

    [0062] In step 40), Q=qI.sub.N, W=wI.sub.N, R=rI.sub.N, q denotes the first coefficient; w denotes the second coefficient; r denotes the third coefficient; q, w and r are all greater than 0. The voltage restoration process can be achieved by adjusting the three coefficients q, w and r.

    [0063] Step 50) Determine whether the local voltage of each distributed generation of the microgrid reaches the voltage reference value under the secondary voltage compensation item acquired in step 40), if yes, then complete the control process; if no, then re-acquire the local voltage value of each distributed generation as the current voltage value, and repeat steps 20)-40) until the local voltage values all restore to the rated voltage reference value.

    [0064] In the embodiment above, when the secondary voltage compensation command is acquired in step 30), the latest step is extracted from H.sub.U control horizon each time, and is then applied onto the local controllers, which centrally embodies the concept of real time control and rolling optimization, such that the microgrid operation situations such as load change, topology change and the like can be better adapted. The present invention localizes the calculation and application of the secondary compensation command, and avoids using a central controller, thus satisfying the requirement for microgrid plug and play.

    [0065] The control scheme is a completely distributed control scheme, obviating the requirement for a supervisory centralized controller. It converts secondary voltage restoration in microgrid into a distributed predictive control based tracker consensus. The application of predictive control and rolling optimization can properly accommodate the model uncertainty, plug and play operation of, Moreover, the approach is robust against the information update rate, thus effectively improving the running level of the microgrid.

    [0066] As shown in FIG. 4, the control system for the voltage restoration of a microgrid according to the present invention mainly comprises two parts: one part is to acquire the global voltage reference by collecting the voltages of the pinned and the corresponding neighboring distributed generations based on the finite time observer; and the second part is to acquire the secondary compensation items by collecting the voltage of the local and the neighboring primary controllers based on distributed predictive control and thus implement them on the local controllers to restore the microgrid voltage.

    [0067] An implementation case will be given hereafter:

    [0068] As shown in FIG. 5, the simulation microgrid system consists of four distributed generations with respective loads and connected end to end via connecting wires. The distributed units are connected to an alternating current bus with reference voltage 0.38 kV via power electronic converters. Four distributed agents exist in the system which are denoted as A1, A2, A3 and A4 respectively; each agent can only communicate with the neighboring agents according to the communication topology; the microgrid model is established on the platform of the power systems computer aided design/electromagnetic transients including DC (PSCAD/EMTDC); the distributed finite time observer and microgrid voltage restoration algorithm based on distributed predictive control are established on the platform of the matrix lab (MATLAB) with a Gurobi 6.02 optimizer and the YAALMIP tool kit; the two simulation platforms are interactively operated via the Fortran language of PCSAD, thus the simulation verification of the present invention is realized utilizing the combined simulation technology. The simulation scenarios of increasing or decreasing loads and detaching distributed generation in microgrid are provided to verify the control methodology effectiveness in the present invention. Furthermore, the results are compared with the conventional voltage restoration method.

    [0069] FIG. 6 and FIG. 7 are the simulation processes under the circumstances of load attached to or detached from the microgrid. At the beginning, the microgrid operates in the primary droop control and thus the voltages of individual distributed generation deviates from the rated value. At t=0.5 s, the distributed voltage restoration scheme of the present invention is put in operation. At t=2 s, an additional load is added to the microgrid, and the voltage descends to a certain extent. At t=3.5 s, the added load is removed. The simulation results are as shown in FIG. 6: the abscissa represents time in the unit of second; and the ordinate represents voltage denoted with per unit. As shown in FIG. 6, after 0.5 s, under the action of the voltage restoration control scheme of the present invention, the secondary voltage compensation command is acquired via distributed predictive control based on the local and neighboring distributed generation units and all the voltage values arc synchronously restored to the reference value within 0.3 s, of which the secondary voltage control process is shown in FIG. 7: the abscissa represents time in the unit of second; and the ordinate represents the corresponding voltage compensation variables in the unit of volt. As shown in FIG. 7, due to the difference of the individual voltage values, the trajectories of the compensation control variables are different, which are in a step distribution. At t=2 s, the voltages have a downward trend due to the power shortage. The secondary voltage control of the present invention quickly restores the local voltage to the rated value. Similarly, the voltages have an upward trend at t=3.5 s due to the temporary power surplus. The secondary voltage control of the present invention quickly restores the local voltage to the rated value in 0.2 s.

    [0070] FIG. 8 is a diagram for comparing the simulation results of the voltage restoration scheme including the distributed predictive control described in the present embodiment and the conventional scheme excluding the predictive control, wherein FIG. 8(a) is a string diagram of local voltage values of the distributed generations adopting the voltage restoration control scheme of the present invention; and FIG. 8(b) is a string diagram of local voltage values of the distributed generations adopting the conventional voltage restoration control scheme. As can be seen from FIG. 8(a) and FIG. 8(b), compared with the conventional scheme, the scheme of the present invention can restore the voltage to the reference value more quickly, thus improving the dynamic process of the microgrid voltage.

    [0071] FIG. 9 is the voltage restoration diagram under the circumstance that the distributed generator 3 is detached from the microgrid. At the beginning, the microgrid operates in the droop control and the voltages deviate from the rated value. At t=0.5 s, the voltage restoration scheme of the present invention is put into operation; at t=2 s, the distributed generation 3 is detached due to the fault, causing a certain power shortage in the microgrid; then based on the distributed prediction scheme of the present invention, the compensation command is implemented on the local primary controller to maintain the microgrid voltage at the rated voltage level, thus satisfying the plug and play operation form microgrid. In FIG. 9, the abscissa represents time in the unit of second; and the ordinate represents voltage denotes as per unit.

    [0072] The influence of different data updating intervals on the voltage restoration process is as shown in FIG. 10. In FIG. 10, an additional load is added to the bus of the microgrid at t=s, which results to power shortage and voltage deviation. FIG. 10(a) denotes the voltage restoration process curve when adopting the distributed prediction voltage restoration algorithm of the present invention. FIG. 10(b) denotes the voltage restoration process curve when adopting the conventional voltage restoration algorithm. It can be seen from FIG. 10(b) that, with the increase of the data updating interval, the dynamic effect of the conventional voltage secondary restoration algorithm becomes poor; when the updating interval reaches 0.5 s, growing oscillation occurs to the voltage, and the voltage cannot restore to the rated voltage value. It can be seen from FIG. 10(a) that the control scheme of the present invention has a strong robustness to the data updating time, and can quickly restore local voltage to the voltage reference at different data updating intervals, thus ensuring a good dynamic performance.

    [0073] The scheme for restoring microgrid voltage provided by the present invention transforms the secondary voltage restoration problem into a distributed predictive control based tracker synchronization problem, avoiding the pressure of huge data handling and complex communication mechanism of the central controller, which can efficiently shares the global information and realizes superior dynamic restoration. Because the secondary control command contains prediction information and rolling optimization characteristic, the present invention has a good adaptability to model uncertainty such as the fluctuations of loads and distributed generations and satisfies the requirement for plug and play operation, efficiently improving the dynamic performance of the microgrid.