1 Introduction

Micro-grid as an autonomous system, which can realize self-protection, self-management and self-control, can either run in parallel with the utility grid, or run alone. Based on the characteristics of flexibility, stability and easy management, micro-grid is being paid more and more attention[1]. The power sources of micro-grid consist of many microsources, such as micro-gas turbine, fuel cell, photovoltaic battery, super capacitor, flywheel energy storage device, and battery, etc. The micro-sources are on the user side, which supply the electricity and heat energy for users, and have the characteristics of low cost, low voltage, low pollution, etc[2].

The grid-connected inverter is the interface device of energy conversion in micro-grid; and its performance is important in the stability and efficient operation of system[3].In the micro-grid, wind generator, fuel cell and solar cell supply distributed power and cascade the utility grid through the grid-connected inverter. All the parallel inverters must run synchronously to guarantee the flexibility and reliability of micro-grid, and the electric and thermal stress of modules are to be distributed uniformly and reasonably[4].In the micro-grid, the parallel control schemes of inverters are generally divided into centralized control, master-slave control, disperse logic control and no interconnection line control, etc[5]. In the first three schemes, there are many interconnection lines among the inverters, which leads to the complexity of signal transmission, and reduce the reliability of system. The fourth scheme can eliminate the problem that the parallel system cannot work normally, which is caused by signal interference among the micro-grid interconnection lines in the distribution control[6].

On one hand, for the single-phase grid-connected inverter, inductance-capacitance-inductance (LCL) filter can suppress high-frequency harmonics effectively. On the other hand, it is easy to cause the oscillation of system output. LCL inverters generally adopt two control strategies: One is called the indirect current control which is based on inductive current feedback on inverter side. The other is called the direct current control which is based on inductive current feedback on power network side. The former may cause phase error, which is difficult to make the net current satisfy unity power factor, and is difficult to be controlled when the system parameters are changed, while the latter scheme solves these problems very well.

For the single-phase LCL grid-connected inverter in micro-grid, we adopt no interconnection line control based on power droop characteristic, which realizes the current sharing among the inverters. In proportional-integralderivative (PID) control, it has the defect that it cannot-track periodical signal accurately and is difficult to set controller parameters[79]. In this paper, a kind of robust iterative learning controller is adopted based on direct current feedback, which improves the robustness of system by robust performance index, and it also improves the ability of system tracking periodic and repetitive signal by the iterative learning.

2 The no interconnection line control based on power droop characteristic

In the control without interconnection line, there is no other signal interconnection line among modules except the load line, which can improve the reliability of system. The principal figure of parallel inverter without interconnection line in micro-grid is shown in Fig. 1, in which power generation system includes solar power inverters and the load on the AC bus.

Fig. 1
figure 1

Parallel inverter without interconnection line in Microgrid

For convenience, we only consider two inverter sources supplying power for the same load, the equivalent circuit is shown in Fig. 2.

Fig. 2
figure 2

The parallel equivalent circuit of inverters

In Fig. 2, E is the voltage of load, the output impedances of inverters 1 and 2 can be written as

$${R_i} + {\rm{j}}{X_i} = {Z_i}\angle {\theta _{{z_i}}},\quad i = 1,2.$$
(1)

In (1), \({Z_i} = \sqrt {R_i^2 + X_i^2},{\theta _1},{\theta _2}\) are two phases of inverter output voltage; θz 1 and θz 2 are the phases of equivalent output impedance. The output power of solar power inverter can be described as

$${P_i} = {{{E_i}E\cos ({\theta _{{z_i}}} - {\theta _i}) - {E_i}\cos {\theta _{{z_i}}}} \over {{Z_i}}}$$
(2)
$${Q_i} = {{{E_i}E\sin ({\theta _{{z_i}}} - {\theta _i}) - {E_i}\sin {\theta _{{z_i}}}} \over {{Z_i}}}.$$
(3)

Assume that the equivalent output impedance is inductive, and sin θ i θ i . Because there is only small phase error between the inverter output voltage and the system voltage, it can be concluded that the active power of the inverter output power mainly depends on θ 1, reactive power mainly depends on amplitude E i according to (2) and (3)[10].

Based on the above analysis, the frequency and amplitude of the inverter output voltage can be controlled based on the power droop characteristic in (4) and (5), which can share load current and inhibit circulating current:

$${\omega _i} = {\omega _0} - {{\Delta {\omega _{\max }}} \over {{P_{ei}}}}{P_i} = {\omega _0} - {m_i}{P_i}$$
(4)
$${E_i} = {E_0} - {{\Delta {E_{\max }}} \over {{Q_{ei}}}}{Q_i} = {E_0} - {n_i}{Q_i}$$
(5)

where ω 0 and E 0 are the angular frequency and amplitude of output voltage, respectively; Δω max and ΔE max are the maximum changes in value of system frequency and system voltage amplitude, respectively; P ei and Q ei are the rated active power and reactive power of inverter, respectively; m i and n i are the droop coefficients of the frequency and amplitude, respectively.

By (4) and (5), it is known that changing the frequency of inverter output voltage can control the active power; and changing the amplitude of inverter output voltage can control the reactive power. While inverter is running in parallel, each power module is regulated according to ω i and E i by P i and Q i , which realizes the load current sharing, and guarantees the uniform distribution of electric stress among the modules, and realizes current balance of each module. When the input voltage and load current change, each module can the ensure the stability of output voltage, and has good transient characteristics in current sharing at the same time[11].

3 The model of single-phase LCL voltage source inverter

The structure of single-phase LCL voltage source grid-connection inverter is shown in Fig. 3.

Fig. 3
figure 3

The structure of single-phase LCL voltage source grid-connection inverter

In Fig. 3, U dc and u are DC output voltages of electrical power generating system and the output voltage of grid-connection inverter, respectively. C dc is filter capacitor on DC side; S 1S 4 represent 4 IGBT switch tubes in inverter bridge; L 1 and R 1 are inductance and parasitic resistance on inverter side, respectively; L 2 and R 2 are inductance and parasitic resistance on grid side, respectively; C is filter capacitor on the AC side, u g is the voltage of local user.

According to the Kirchhoff’s law, we can get

$$\left\{ {\matrix{{{{\dot i}_1} = - {{{R_1}} \over {{L_1}}}{i_1} - {{{u_c}} \over {{L_1}}} + {u \over {{L_1}}},} \hfill \cr {{{\dot u}_c} = {1 \over C}({i_1} - {i_2}),} \hfill \cr {{{\dot i}_2} = - {{{R_2}} \over {{L_2}}}{i_2} + {{{u_c}} \over {{L_2}}} - {{{u_g}} \over {{L_2}}}.} \hfill \cr } } \right.$$
(6)

The transfer function from the output voltage of the inverter bridge u to the grid side inductance current i 2 is

$$G(s) = {1 \over {{a_1}{s^3} + {a_2}{s^2} + {a_3}s + {a_4}}}$$
(7)

where a 1 = CL 1 L 2, a 2 = (R 1 R 2 C + L 1 + L 2), a 3 = (CL 1 R 2 + CL 2 R 1), a 4 = R 1 + R 2.

The open loop transfer function of system is given by

$$y(s) = G(s)u(s)$$
(8)

where y(s) is the Laplace transform of output current i 2:

$$\dot x = {A_G}x + {B_G}u + {B_w}{u_g}$$
(9)
$$y = {C_G}x.$$
(10)

In (9) and (10), \(x = {\left[ {\matrix{{{i_1}} & {{u_c}} & {{i_2}} \cr } } \right]^{\rm{T}}},\,{A_G} = \left[ {\matrix{{ - {{{R_1}} \over {{L_1}}}} & { - {1 \over {{L_1}}}} & 0 \cr {{1 \over C}} & 0 & { - {1 \over C}} \cr 0 & {{1 \over {{L_2}}}} & { - {{{R_2}} \over {{L_2}}}} \cr } } \right],\,{B_G} = {\left[ {\matrix{{{1 \over {{L_1}}}} & 0 & 0 \cr } } \right]^{\rm{T}}},\,{B_w} = {\left[ {\matrix{0 & 0 & { - {1 \over {{L_2}}}} \cr } } \right]^{\rm{T}}},\,{C_G} = \left[ {\matrix{0 & 0 & 1 \cr } } \right]\)

If PID control strategy is adopted for the system (7) by direct-current feedback, oscillation phenomenon is produced easily, which causes waveform distortion of output current, and cannot track periodic signal accurately[12].In this paper, a kind of robust iterative learning control is adopted, which can improve the tracking ability for periodic signals.

4 The existence conditions of robust iterative learning controller

Equation (8) can be rewritten as iterative learning mode as

$${y_k}(s) = G(s){u_k}(s)$$
(11)

where y k (s)is the k-th iteration of the system output, u k (s)is the k-th iterations of the system input. The k-th error of system output is

$${e_k}(s) = {y_d}(s) - {y_k}(s)$$
(12)

where y d (s) is the expected output.

Based on iterative learning control law of the error feedback, the control law is designed by

$${u_{k + 1}}(s) = {u_k}(s) + K(s){e_{k + 1}}(s).$$
(13)

In order to guarantee system convergence in the process of iterative learning, the controller K(s) which we need to design must be stable[13].

Assume that the initial error is zero, the tracking error can be got through (10) and (11):

$${e_{k + 1}}(s) = {\left({1 + G\left({\rm{s}} \right)K(s)} \right)^{ - 1}}{e_k}(s) = F(s){e_k}(s).$$
(14)

Putting F (s) = (1 + G (s) K(s))−1 as error transfer function, we can get robust iterative learning control of closed-loop system by (10)(12):

$$\matrix{{{y_k}(s) = {{(1 + G(s)K(s))}^{ - 1}}G(s)K(s){y_d}(s) + } \hfill \cr {G(s){u_{k - 1}}(s)} \hfill \cr}$$
(15)

where the input u k (s) can be obtained by the (k − 1)-th error iteration; and its initial error is zero, which can be ignored by analyzing the stability of (15)[13]. For the stability of system (14), we only need to discuss the stability of (1 + G (s) K(s))−1 G (s) K(s). The existing condition of robust iterative learning controller is given by Theorem 1.

Theorem 1. Assume G(s) and K(s) are stable, for a closed loop control system, \(y(s) = {{G(s)} \over {1 + G(s)K(s)}}u(s)\), the sufficient condition of closed loop system stability is \(||G(s)K(s)|{|_\infty } < 1\).

Proof. The state space realization of G(s) and K(s) are

$$G(s)K(s) = \left\{ {A,B,C,D} \right\}$$
(16)

where \(A = \left[ {\matrix{{{A_G}} & {{B_G}{C_K}} \cr 0 & {{A_K}} \cr } } \right],\,B = \left[ {\matrix{{{B_G}{D_K}} \cr {{B_K}} \cr } } \right],\,C = \left[ {\matrix{{{C_G}} & {{D_G}{C_K}} \cr } } \right],\,D = {D_G}{D_K},\,G(s) = \left\{ {{A_G},\,{B_G},\,{C_G},\,{D_G}} \right\},\,K(s) = \left\{ {{A_K},\,{B_K},\,{C_K},\,{D_K}} \right\}\). As \(||G(s)K(s)||_{\infty } < 1\) the equivalent Riccati equation is

$$\matrix{{{{\left({A + B{R^{ - 1}}{D^{\rm{T}}}C} \right)}^{\rm{T}}}X + X\left({A + B{R^{ - 1}}{D^{\rm{T}}}C} \right) + } \hfill \cr {XB{R^{ - 1}}{B^{\rm{T}}}X + {C^{\rm{T}}}{S^{ - 1}}C = 0.} \hfill \cr }$$
(17)

where R = I − D T D, S = I − DD T. Equation (17) has semi positive definite solution X ⩾ 0 and A + BR −1 D T C + BR −1 B T X is stable.

In order to get the conclusion, we just need to prove that the matrix \(\bar A\) in the following equation is stable:

$$\bar A = A - B{\left({I + D} \right)^{ - 1}}C.$$
(18)

The Riccati equation (16) can be written as

$$\matrix{{{{\bar A}^T}X + X\bar A + \left[ {XB + {C^T}{{\left({I + {D^T}} \right)}^{ - 1}}\left({I + D} \right)} \right]{R^{ - 1}}} \hfill \cr {\left[ {{B^T}X + \left({I + {D^T}} \right){{\left({I + D} \right)}^{ - 1}}C} \right] = 0.} \hfill \cr }$$
(19)

If Ā is not stable, Re λ ⩾ 0 for the characteristic value λ of \(\bar A\). Set the corresponding feature vector ε as

$$\bar A\varepsilon = \lambda \varepsilon.$$
(20)

Multiply (19) on left by ε and on right by the adjoint matrix nε*:

$${\varepsilon ^*}X\varepsilon \left({\lambda + \bar \lambda } \right) + {\eta ^*}{R^{ - 1}}\eta = 0$$
(21)
$$\eta = \left[ {{B^{\rm{T}}}X + \left({I + {D^{\rm{T}}}} \right){{\left({I + D} \right)}^{ - 1}}C} \right]\varepsilon$$
(22)

where \(\overline \lambda \) is the conjugate value of λ. Reλ ⩾ 0, X ⩾ 0, R > 0, so ŋ = 0.

$${B^{\rm{T}}}X\varepsilon = - \left({I + {D^{\rm{T}}}} \right){\left({I + D} \right)^{ - 1}}C\varepsilon.$$
(23)

According to (23), we have

$$\bar A\varepsilon = \left({A + B{R^{ - 1}}{D^{\rm{T}}}C + B{R^{ - 1}}{B^{\rm{T}}}X} \right)\varepsilon = \lambda \varepsilon.$$
(24)

The stability of (24) and the stability of A+BR −1 D T C + BR −1 B T X are contradictory, so \(\bar A\) is stable, which proves Theorem 1. □

5 The design of robust iterative learning controller

According to Theorem 1, it is known that the sufficient condition to stabilized closed-loop system (15) is \(||G(s)K(s)|{|_\infty } < 1\). As shown in Fig. 4, we deduce the specific method of getting K(s) by introducing the multiplicative uncertain systems. The actual system G A (s) belongs to unstructured set[14].

$${U_A} = \left\{ {{G_A}(s) = [I + W(s)\Delta (s)]G(s),\Delta (s) \in {{\overline {BH} }_\infty }} \right\}.$$
(25)

where W(s) is the weight function, \({\overline {BH} _\infty }\) is the robust performance index. The problem which makes U A robust stable is looking for a feedback controller K(s), so that the closed loop control system is stable for any \(\Delta(s)\in{\overline {BH} _\infty }\).

Fig. 4
figure 4

The closed loop control system with multiplicative uncertainty

The transfer function from ω to z is

$$z = - {\left({I + K\left(s \right)G\left(s \right)} \right)^{ - 1}}G\left(s \right)K\left(s \right)W\left(s \right).$$
(26)

For the unstructured set U A , there is stable controller K(s), when Δ(s) = 0. The closed loop control system is stable when (26) is got.

The sensitivity function of output side is

$$T(s) = {[I + G(s)K(s)]^{ - 1}}G(s)K(s).$$
(27)

Equation (26) can be rewritten as

$$||T\left(s \right)W\left(s \right)|{|_\infty } < 1.$$
(28)

For robust stabilization of system (15), the sufficient condition can be translated into the weighted constraint conditions of sensitivity function matrix. Thus, the robust stabilization problem of closed-loop system (15) can be transformed into H control problem[15].

Let

$$M(s) = \left[ {\matrix{0 & {W(s)} \cr I & { - G(s)} \cr } } \right].$$
(29)

Firstly, M(s) is decomposed, and the state space model is got as

figure Graphic1

where M ij (s) = C i (s)(sIA)−1 B i + D ij .

G (s) is got for single phase LCL grid-connected inverter:

figure Graphic2

At the same time, the weighted function is defined as

figure Graphic3

where \({A_G} \in {{\bf{R}}^{{n_p} \times {n_p}}},\,{B_G} \in {{\bf{R}}^{{n_p} \times m}},\,{C_G} \in {{\bf{R}}^{p \times {n_p}}},\,{A_w} \in {{\bf{R}}^{{n_w} \times {n_w}}},\,{B_w} \in {{\bf{R}}^{{n_w} \times m}},\,{C_w} \in {{\bf{R}}^{m \times {n_w}}}\).

The state space of M(s) can be got through M ij (s), G(s), W (s) and (29) as

figure Graphic4

where \(A = \left[ {\matrix{{{A_w}} & 0 \cr 0 & {{A_G}} \cr } } \right],\,{B_1} = \left[ {\matrix{0 \cr 0 \cr } } \right],\,{B_2} = \left[ {\matrix{{{B_w}} \cr { - {B_G}} \cr } } \right],\,{C_1} = \left[ {\matrix{{{C_w}} & 0 \cr } } \right],\,{C_2} = \left[ {\matrix{0 & {{C_G}} \cr } } \right],\,{D_{11}} = 0,\,{D_{12}} = {I_m},\,{D_{21}} = {I_G},\,{D_{22}} = 0\).

For H controller satisfying the output feedback condition and M(s), define

$$R = \left[ {\matrix{{{D_{11}}^{\rm{T}}{D_{11}} - {D_{21}}} & {{D_{11}}^{\rm{T}}{D_{21}}} \cr {{D_{12}}^{\rm{T}}{D_{11}}} & {{D_{12}}^{\rm{T}}{D_{12}}} \cr } } \right]$$
(30)
$$\tilde R = \left[ {\matrix{{{D_{11}}{D_{11}}^{\rm{T}} - {D_{12}}} & {{D_{11}}{D_{21}}^{\rm{T}}} \cr {{D_{21}}{D_{11}}^{\rm{T}}} & {{D_{21}}{D_{21}}^{\rm{T}}} \cr } } \right].$$
(1)

If R −1 and \({\tilde R^{ - 1}}\) exist, the Hamilton matrix can be defined as

where

Through \({{\bar H}_\infty },\,{{\bar J}_\infty }\) and M(s), we can get

where

The stable eigenvalue of Hamilton matrix H x , J x is the solution of Riccati equations. In other words, if the three conditions X = Ric (Hx) ⩾ 0, Y = Ric (J y ) ⩾ 0 and I − YX ⩾ 0 are satisfied, the controller K (s) exists, which make the closed-loop control system (15) stable. The robust stable controller is[15]

$$K\left(s \right) = \left[ {\matrix{{{A_{xy}}} & { - {L_{xy}}} \cr {{F_{xy}}} & 0 \cr } } \right]$$
(32)

where

For all kinds of learning system, iterative learning speed is an important concept, learning speed is to study which factors related to the system output converge into a given performance index under various learning laws. In iterative learning control, taking some effective measures can accelerate the convergence speed. It has been shown that the higher-order learning law can improve the convergence rate. Jay H. Lee pointed out that comparing with X norm, the supremum norm can greatly improve the dynamic process of learning, so the optimal norm or H norm can be chosen. In this paper, H norm is chosen so that the optimal learning rate can be obtained.

6 Simulation research

The simulation is considered for two inverters without interconnecting line in Micro-grid, and the simulation principal diagram of each inverter is shown in Fig. 5

Fig. 5
figure 5

The simulation principle diagram

The parameters of each inverter are as follows: Inverter capacity is 2kVA, switch frequency is 20kHz, output voltage without load is 220 V, L 1 = 4mH, U dc = 400 V, L 2 = 1 mH, R 1=R 2 = 0.1Ω, C = 10 µF.

First, we compare the robust iterative learning control with the repetitive control for the tracking ability to periodic signal. The parameters of controller are determined according to [16, 17]: The simulation curve is shown in Fig. 6.

Fig. 6
figure 6

The current curve adopting repetitive control

The error current curve adopting repetitive control is as shown in Fig. 7.

Fig. 7
figure 7

The error current curve adopting repetitive control

When adopting robust iterative learning control, the weighted function is elected as \(w(s) = {\textstyle{{50} \over {s + 50}}}\). From (33), we can get

$$\matrix{{K(s) = } \hfill \cr {{{ - 37.05{s^3} - 2.83 \times {{10}^7}{s^2} - 1.01 \times {{10}^{10}}s - 4.36 \times {{10}^{11}}} \over {{s^4} + 1.72 \times {{10}^4}{s^3} + 3.83 \times {{10}^9}{s^2} + 3.02 \times {{10}^{12}}s + 1.41 \times {{10}^{14}}}}.} \hfill \cr}$$

The simulation curve is shown in Fig. 8.

Fig. 8
figure 8

The actual and reference current curve adopting robust iterative learning control

The error current curve adopting robust iterative learning control is as shown in Fig. 9.

Fig. 9
figure 9

The current error curve adopting robust iterative learning control

From Figs. 69, it is shown that the robust iterative learning control begins to converge through 5th iteration, and the error precision of the repetitive control is less than 10−1, and the error precision of robust iterative learning control is less than 10−4. The latter improves the accuracy of the output waveform, and realizes the accurate track of amplitude, phase, and frequency between system output and expected output.

In order to test the robustness of the scheme, the parameters of system are changed as: L 1 = 2.5 mH, L 2 = 1.5mH, R 1= R 2 = 0.1Ω, C = 5 µF. The current simulation curve with repetitive control is shown in Fig. 10.

Fig. 10
figure 10

The current curve with repetitive control and system parameters changed

The error curve is as shown in Fig. 11, after the system parameters are changed:

Fig. 11
figure 11

The error current curve with repetitive control and system parameters changed

When the system parameters are changed, simulation curve is shown in Fig. 12, adopting robust iterative learning control.

Fig. 12
figure 12

The current curve with robust iterative learning control and system parameters changed

The error curve is as shown in Fig. 13, after system parameters are changed.

Fig. 13
figure 13

The current error curve with system parameters changed

When the system parameters are changed, the robust iterative learning control prove to be better than repetitive control in robustness, the former can ensure the accuracy of the output waveform as shown in Figs. 1013.

In the following, we will test the current sharing effect of two grid-connected inverters with robust iterative learning control. Firstly, let the inverter 1 run, the inverter 2 would merge into power grid after 0.2 s, and initial phase difference of two inverters is 2.1° as shown in [18]. Set Δω max = 0.04, P e 1 = 1000 W, P e 2 = 500 W, ΔEmax = 0.03, Q e 1 = 600 W, Q e 2 = 1000 W. According to (4) and (5), set the parameters of power droop characteristic: m 1 = 4.0 × 10−5, n 1 = 5 × 10−5, m 2 = 8 × 10−5, n2 = 3.0 × 10−5, the current curve of inverters 1 and 2 are shown in Fig. 14.

Fig. 14
figure 14

The current curve of inverters 1 and 2

From Fig. 14, it is shown that when inverter 2 is connected with the utility grid, the output current of inverters 1 and 2 are almost the same at 0.05 s. The precision of error current is less than 10−4, and synchronous operation is achieved accurately between the two inverters.

The current curve of inverters 1 and 2 after the system parameters are changed is shown in Fig. 15.

Fig. 15
figure 15

The current curve of two inverters with system parameters changed

When the system parameters are changed, let the inverter 2 merge into the utility grid at 0.2 s. Through 0.05 s iterative learning, synchronous operation can still be achieved accurately. It shows that the system have strong robustness.

7 Conclusions

In this paper, adopting no interconnection line control mode based on power droop characteristic, the synchronous operation of single-phase LCL grid-connected inverter in micro-grid is realized among the inverters. The structure is simple, and the current sharing effect is marked. A kind of robust iterative learning controller is designed by the robust performance index, which is suitable to repeated tracking control and periodic disturbance rejection, and has the ability to overcome uncertainty of system parameters.

It shows that the robust iterative learning control can solve the distortion of the output signal effectively, and improve the tracking performance for waveform. The accurate synchronous operation is achieved among the inverters as shown through the simulation.