1 Introduction

With the use of a pulse width modulation (PWM) technique, the voltage source converter (VSC) had excellent P&Q operation characteristics, which is shown in Fig. 1. VSCs have been widely used in renewable energy production, smart grids, uninterruptable power supplies (UPSs), active power filtering (APF), and electrical drives [1]. With the development of self-commutated power electronic devices, the capacity of VSCs have been sustained with their growth. The state of the art of this technology is its application in VSC-HVDC systems [2, 3].

Fig. 1
figure 1

The grid connected voltage source converter

In high power applications, a LCL filter is usually employed to filter out the PWM switching frequency components. Compared with the L filter of a single inductor, the LCL filter is much smaller in weight and size, but has a similar low frequency performance. Therefore, the LCL filter is a better choice in this context because it allows for the use of a lower switching frequency that meets the harmonic limits and further decreases the switching losses [4, 5].

A critical innate problem that the LCL filters have is a low damped LC resonance. Resistors can be simply used to provide passive damping to the resonance. However, this has the disadvantage of an increased power loss [6]. Several active damping control strategies have been suggested, such as lead-lag compensation [7] and virtual resistance [8, 9]. However, these control methods usually limit the control bandwidth. There is a tradeoff between the closed loop performance and the system stability. In addition, the uncertainty in the grid environment worsens this problem. Grid operation, cable overload, saturation, and temperature effects can cause variations in the interfacing impedance and the resonance frequency, which makes the control design much more difficult [10].

To enhance the performance of a VSC with all these restrictions, the H∞ control theory was applied to design a robust current controller for the VSC system in stationary coordinates in this paper. The H∞ control theory dealing with the model and disturbance uncertainty. This is a relatively new method for the controller design of VSCs. However, there are still several successful examples. In [11], the authors developed a tuning strategy for designing multiple-loop lag-lead compensators for uninterruptable power supplies (UPSs) based on the H∞ robust control theory. The H∞ tuned compensator was asymptotically stable with guaranteed performance. In [12], a robust control scheme with an outer H∞ voltage control loop and an inner current control loop was designed for a dynamic voltage restorer (DVR). The H∞ voltage controller was effective in both balanced and unbalanced sag compensation as well as load disturbance rejection. In [13], a H∞ current controller was designed for a grid connected to a power factor correction (PFC). It was possible to explicitly specify the degree of robustness with variations in the parameters using the proposed method. A mixed-sensitivity method was used to synthesize the H∞ controller. A high pass weight function was used to guarantee a robust performance and to avoid possible oscillations caused by the capacitor connected in parallel. However, none of the previous works focused on VSCs with an LCL filter. In this paper the H∞ method is further developed; the ability to achieve LC resonance attenuation is enhanced. Alternatively, from the previous work, the LC resonance in this paper is modeled as a noise channel and the corresponding weight functions are proposed to provide a robust performance.

The remainder of this paper is organized as follows: in Section 2, the system model is introduced and the problem with the LC resonance is described. In Section 3, the design procedure of the proposed H∞ current controller and the selection of weight functions are presented. A conventional PR controller is also designed for comparison. The performance is then analyzed in detail. In Section 4, the experimental results are explained. Finally, conclusions are given in Section 5.

2 System modelling

2.1 Mathematical model of the VSC system

As shown in Fig. 1, the studied VSC was connected to the grid via the LCL interface. R c and L c are the resistance and inductance for the inductor of the converter side, respectively; R g and L g represent the equivalent resistance and inductance for the inductor of the grid side and the AC grid line impedance, respectively; C f is the filter capacitor; C dc is the DC capacitor; u g is the grid voltage; u f is the filter capacitor voltage; i g is the injected grid current; i c is the converter output current; u c is the converter output voltage; u dc is the DC capacitor; and i dc is the DC load current.

In stationary α-β coordinates, the per-phase mathematic model of the AC side can be written as:

$$ \left\{ {\begin{array}{*{20}l} {L_{g} \frac{{{\text{d}}i_{g} }}{{\text{d}}t} = - R_{g} i_{g} + u_{g} - u_{f} } \hfill \\ {C_{f} \frac{{{\text{d}}u_{f} }}{{\text{d}}t} = i_{g} - i_{c} } \hfill \\ {L_{c} \frac{{{\text{d}}i_{c} }}{{\text{d}}t} = - R_{c} i_{c} + u_{f} - u_{c} .} \hfill \\ \end{array} } \right. $$
(1)

On the DC side the model can be written as,

$$ C_{dc} \frac{{{\text{d}}U_{dc} }}{{\text{d}}t} = \frac{{P_{ac} }}{{U_{dc} }} - I_{dc} = \frac{{3(u_{c\alpha } i_{c\alpha } + u_{c\beta } i_{c\beta } )}}{{2U_{dc} }} - I_{dc} . $$
(2)

The values for the parameters are shown in Appendix A. The impedance of the AC grid line was uncertain. In addition, taking into consideration of the measurement error and nonlinear characteristics, ±50% uncertainty in all of the parameters were reasonable for robust analysis.

2.2 LC resonance

From (1), the transfer function of the AC side was derived as:

$$ i_{g} = G_{1} u_{g} + G_{2} u_{c} . $$
(3)

The frequency response of G1 is depicted in Fig. 2. The response is similar to that of G2. For comparison, a system that used a common single L (L g  + L c ) filter is also depicted. In the low frequency region, the two systems were similar to each other, which implied that there was a similar control design for the fundamental components. In the high frequency region, there was a single resonance peak with the LCL filter, which can be modeled as noise from the feedback system. The resonance frequency was about 1.45 kHz, which was calculated using:

Fig. 2
figure 2

Frequency response of the open loop system of a VSC

$$ f_{res} = \frac{{\omega_{res} }}{2\pi } = \frac{1}{2\pi }\sqrt {\frac{{L_{g} + L_{c} }}{{L_{g} L_{c} C_{f} }}} . $$
(4)

The LC resonance, which was caused by the LCL filter, needs to be dampened properly, otherwise the system will become unstable. Uncertainties in the system parameters can make the resonance frequency difficult to identify. In the next section, both the control design of the fundamental components and the suppression of the LC resonance are discussed.

3 Control design

3.1 Multi-loop control scheme

In most applications, a multi-loop vector control scheme, either in stationary or rotating coordinates, is adopted to improve the transient and steady-state performances [1]. The inner current loop is responsible for the overall stability of the system and for attenuating the LC resonance introduced by the filter. The outer loop is usually much slower than the inner loop.

In this paper, the outer loop was used to control the DC voltage and the output reactive power, as shown in Fig. 3. Meanwhile, the inner current loop was designed in stationary coordinates. The injected grid current was fed back into the system for ease of controlling the reactive power.

Fig. 3
figure 3

Multiloop vector control scheme of a VSC

For coordinate transformations, the C3s2s and C2r2s blocks are:

$$ \begin{aligned} C_{3s2s} :\left[ {\begin{array}{*{20}c} {u_{g\_\alpha } } \\ {u_{g\_\beta } } \\ \end{array} } \right] = & \left[ {\begin{array}{*{20}c} 1 & { - \frac{1}{2}} & { - \frac{1}{2}} \\ 0 & {\frac{\sqrt 3 }{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {u_{g\_a} } \\ {u_{g\_b} } \\ {u_{g\_c} } \\ \end{array} } \right] \\ \left[ {\begin{array}{*{20}c} {i_{g\_\alpha } } \\ {i_{g\_\beta } } \\ \end{array} } \right] = & \left[ {\begin{array}{*{20}c} 1 & { - \frac{1}{2}} & { - \frac{1}{2}} \\ 0 & {\frac{\sqrt 3 }{2}} & { - \frac{\sqrt 3 }{2}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {i_{g\_a} } \\ {i_{g\_b} } \\ {i_{g\_c} } \\ \end{array} } \right], \\ \end{aligned} $$
(5)
$$ C_{2r2s} :\begin{array}{*{20}c} {} \\ \end{array} \left[ {\begin{array}{*{20}c} {i_{g\_\alpha }^{*} } \\ {i_{g\_\beta }^{*} } \\ \end{array} } \right] = \frac{1}{{u_{g\_\alpha }^{2} + u_{g\_\beta }^{2} }}\left[ {\begin{array}{*{20}c} {u_{g\_\alpha } } & { - u_{g\_\beta } } \\ {u_{g\_\beta } } & {u_{g\_\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {i_{g\_d}^{*} } \\ {i_{g\_q}^{*} } \\ \end{array} } \right]. $$
(6)

The PQ block was used to calculate active and reactive power:

$$ PQ:\begin{array}{*{20}c} {} \\ \end{array} \left[ {\begin{array}{*{20}c} {P_{g} } \\ {Q_{g} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {u_{g\_\alpha } } & {u_{g\_\beta } } \\ {u_{g\_\beta } } & { - u_{g\_\alpha } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {i_{g\_\alpha } } \\ {i_{g\_\beta } } \\ \end{array} } \right]. $$
(7)

3.2 PR current control design

In stationary coordinates, a PR controller is usually used to track the sinusoidal signals. In this paper, a PR controller was used for comparison.

$$ K = \left(k_{p} + \frac{{2k_{i} \omega_{c} s}}{{s^{2} + 2\omega_{c} s + \omega_{n}^{2} }}\right)\left[ {\begin{array}{*{20}c} 1 & 0 \\ 0 & 1 \\ \end{array} } \right], $$
(8)

where k p and k i are gain constants; ω c is the cut-off frequency and ω n = 100π for a 50 Hz system. More details of the control design can be found in [14].

3.3 H∞ current control design

The PR controller has been successfully used in many VSC systems. However, further improvements in its performance are limited by the presence of the LC resonance.

The advanced H∞ control theory was employed in this section in the current control design. The overall performance was specified by choosing proper weight functions. The controller was then calculated by solving the algebraic Riccati functions [15]. The order of the synthesized controller was equal to the sum of the controlled plant and the weight functions.

A diagram of the control design is shown in Fig. 4, where G1 and G2 are the same as in (3). W p , W u and W n are the performance, control and noise weight functions, respectively. As can be seen in Fig. 2, L and LCL had similar frequency responses near the fundamental frequency. Therefore, an L filter model could be used to control the fundamental frequency components by reducing the order of the final controller. The LC resonance, which was caused by the LCL filter, was considered as noise. This is a new development for the design of a VSC control and it is sensible and effective, according to the experimental results.

Fig. 4
figure 4

Diagram of the H∞ current control design

In this mixed H∞ problem, the control design aimed to obtain a stable controller that minimized the H∞ norm of the generalized transfer function (P) from w to z as shown in Fig. 4.

$$ \left\| {\begin{array}{*{20}c} {W_{p} S_{o} } & { - W_{p} S_{o} G_{1} } & {W_{p} S_{o} G_{2} KW_{n} } \\ {W_{u} S_{i} K} & { - W_{u} S_{i} KG_{1} } & { - W_{u} S_{i} KW_{n} } \\ \end{array} } \right\| < \gamma , $$
(9)

where S i = (I + KG2)−1 and S o = (I + G2K)−1 are the input and output sensitivity transfer functions, respectively, and γ is the peak value of the H∞ norm. For γ < 1, the system was robust stable within the desired uncertainty range.

From (6), the closed loop performance of the system was largely dependent on the shape of the weight functions. To prevent the control signal from being too large, W u  = 1 was chosen for the scaled signals. The other two weight functions were related to the tracking performance and the robust stability.

3.3.1 Performance weight function

The sensitivity function, S, is an indication of the tracking performance of the system. As such, the weight function (W p ) can be used to specify the control performance [15]. As shown in Fig. 3, the current reference is a sinusoidal signal in α-β coordinates. Thus, S should be as small as possible at the fundamental frequency. For the sinusoidal signal, a second order resonant filter was adopted:

$$ W_{p} = \frac{{k_{n} \omega_{n}^{2} }}{{s^{2} + 2\zeta_{n} \omega_{n} s + \omega_{n}^{2} }}\left[ {\begin{array}{*{20}c} 1 & 0 \\ 0 & 1 \\ \end{array} } \right], $$
(10)

where ω n , k n and ζ n are the fundamental frequency,the gain constant and the damping ratio, respectively.

3.3.2 Noise weight function

To improve the robust stability and suppress the LC resonance, a proper noise weight function needs to be defined. The variations in the model can be measured using a singular input-output value [16].

$$ \Delta (G) = \sigma_{\hbox{max} } \left( {\frac{{G_{P} - G_{N} }}{{G_{N} }}} \right), $$
(11)

where G N is the nominal plant and G P is the disturbed plant.

From Fig. 5, the variation in the circuit parameters caused a large uncertainty near the resonance frequency. There was only one resonance peak in the LCL filter. Thus, a second order resonant filter can be used to model the LC resonance a noise:

Fig. 5
figure 5

Frequency response of the open loop system

$$ W_{n} = \frac{{k_{res} \omega_{res}^{2} }}{{s^{2} + 2\zeta_{res} \omega_{res} s + \omega_{res}^{2} }}\left[ {\begin{array}{*{20}c} 1 & 0 \\ 0 & 1 \\ \end{array} } \right], $$
(12)

where ω res , k res and ζ res are the resonant frequency, the gain constant and the damping ratio, respectively.

3.4 Design results

Here, one PR controller and two types of H∞ controllers are compared. PR is a conventional control, for comparison. H∞(I) is a basic H∞ control. Only W u and W p were used (W n was removed). For H∞(II): W u , W p , and W n were used at the same time to guarantee that the overall performance was robust.

An important step in the design of the H∞ control is loop-shaping, which is similar to the traditional Bode’s response method, but can be applied to Multiple-Input Multiple-Output systems. First, the weight functions were designed. The controller was then synthesized by iterations, to reduce the H∞ norm. The frequency response could then be depicted. The frequency response of the weight functions covered the critical frequency, allowing for a satisfactory stability and performance to be obtained. By checking the frequency response, weight functions can be redesigned or the parameters modified to obtain a more ideal shape.

In this paper, the parameters of the weight functions were tuned by loop-shaping of the T-S response. The circuit parameters and the tuned weight function parameters can be found in Appendix A. The H∞ controllers were synthesized with the robust control toolbox included in MATLAB. In all cases, a H∞ norm of γ = 1.0046 was achieved, indicating the robust stability of the designed uncertainty.

The singular values of the controllers are depicted in Fig. 6. For comparison, the controllers were tuned to have similar responses in the low frequency range.

Fig. 6
figure 6

The singular value of the controllers

The singular value of the closed loop sensitivity function (S) and complementary sensitivity function (T) are shown in Figs. 7 and 8, respectively. In Fig. 7 the ||S|| value was small around f = 50 Hz for all three controllers, which indicated that there was a small tracking error in the fundamental components. Thus, the three controllers were all capable for fundamental control of the current.

Fig. 7
figure 7

The singular value of the sensitivity function, S

Fig. 8
figure 8

The singular value of the complementary sensitivity function, T

In Fig. 8, the H∞ controllers had a faster roll off speed than the PR controller in the high frequency range, which indicated that they had a better harmonic rejection ability. Because of the shaping effect of W n , H∞(II) had a deep subsidence around the LC resonance frequency; while the other frequencies were not affected. This feature made the system much more stable and insensitive to LC resonance.

4 Experimental results

Experiments were carried out with all three of the controllers designed in Section 3.4. The experimental system included a 5 kW VSC with a LCL filter. The circuit parameters can be found in Appendix A. An additional type II controller with an incorrect resonance frequency (W n2 ) was also designed to verify the robust performance of the system. System stability was guaranteed during the design of the controller.

The overall performance was evaluated by the total harmonic distortion (THD) of i g , which is shown in Table 1. The THD of the grid voltage was about 1.2%–1.4% during all of the experiments. A smaller THD for the output current resulted in a better performance of the controller.

Table 1 THDs (%) of the injected grid currents

From the measured THD, it was verified that all three controllers were capable of fulfilling the control requirements for the fundamental frequency components, in which the PR and H∞(I) controllers had similar performances owing to their similar frequency responses, as shown in Section 3.4. The H∞(II) controller had the best performance. Even with the incorrect parameters, the H∞(II) controller still achieved a relatively good result because of the deep subsidence around the LC resonance frequency, as shown in the singular response plots in Figs. 6, 7 and 8.

Three oscilloscope screenshots are given in Figs. 9, 10, and 11, in which, Ch1 is the grid voltage of phase a (u g_a ); Ch2 is the grid current of phase a (i g_a ); Ch3 is the DC side voltage (U dc ); Ch4 was not used; and ChM is the FFT analysis of Ch2. From these figures, the current with the H∞(II) controller (Fig. 11) was much smoother than those with the PR (Fig. 9) and H∞(I) (Fig. 10) controllers, and the FFT curve was less volatile around the LC resonance frequency.

Fig. 9
figure 9

Experiment results with PR controller

Fig. 10
figure 10

Experiment results with H∞(I) controller

Fig. 11
figure 11

Experiment results with H∞(II) controller

The LC resonance made the control bandwidth of the PR controller difficult to increase. The H∞(II) controller successfully suppressed the LC resonance and was less sensitive to variations in the parameters than the PR controller, i.e. the H∞(II) controller became more robust in terms of its stability and performance.

5 Conclusion

In this paper, a robust current control design method was proposed to enhance the performance of VSC systems with LCL filters, and the details on the design procedure were explained.

Based on the theoretical analysis and the experimental results, it can be concluded that the proposed H∞ current controller was capable of fundamental control of the frequency current and it potentially suppressed the LC resonance. The overall performance of the proposed H∞ current controller was better than that of a conventional PR controller. The H∞ controller was stable with certain parameter uncertainties and it was not sensitive to the LC resonance frequency. The unified H∞ control tools have proven to be effective for multivariable and multi-objective control designs in VSC applications.