Abstract
Transformerless grid-connected inverters offer greater efficiencies when transferring power from renewable energy sources to the electrical grid. If the grid-inverter connection is done with an LCL filter, high attenuation of switching harmonics is achieved while preserving a small-size output filter. However, damping must be included in the controller to assure closed-loop stability. This paper proposes a reference computation methodology for the inverter-side current feedback in a photovoltaic (PV) generation system connected to the grid through an LCL filter. Theoretical analysis of the closed-loop system stability and of the steady-state performance are presented as well as experimental validation of the closed-loop performance. The feedback controller includes active damping and relies on a resonant control structure which improves the ability of dealing with grid harmonic distortion. The controller uses a reduced set of measurements, which requires the inverter-side current and grid voltage only, and assures a power factor close to unity.
TRANSFORMERLESS power inverters connected to the grid have acquired a notorious usage among residential and industrial facilities. A noteworthy application that is gaining increasing interest is the connection to the grid of renewable sources such as photovoltaic (PV), wind turbine or hybrid generation systems [1]-[3]. In these applications, the electric energy is delivered by compelling a grid-side current with an almost pure alternating-current (AC) sinusoidal waveform with zero phase-shift with respect to the fundamental component of the grid voltage. However, this latter, which is fixed by the grid, may present harmonic distortion.
Transformerless power inverters are connected to the grid through a passive filter. An inductive filter represents one of the simplest solutions for this connection, which leads to simple filter and controller designs, and practical implementations [
In LCL grid-connected power inverters, damping can be added by means of additional passive networks. For example, a series resistor or a shunt RC network can be connected to the LCL filter capacitor to add passive damping [
Several controllers providing active damping to the closed-loop system have been proposed so far. Most of them are based on the feedback of the grid-side or inverter-side currents and the feedback of the voltage or current of the LCL filter capacitor [
This paper analyzes and experimentally validates an inverter-side current controller for power inverters connected to the grid through an LCL filter. The controller consists of a proportional term over the inverter-side current error, and a harmonic compensation mechanism, which is embodied in a bank of resonant filters tuned at the fundamental and harmonic frequencies and also operating on the inverter-side current error. The proportional term adds the required damping, while the resonant control structure compensates the effect of the grid voltage harmonic distortion to assure a high-quality grid current. This controller guarantees the tracking of the inverter-side current. Hence, it is important to provide an appropriate inverter-side current reference. This reference must be designed to assure that the grid-side current follows a sinusoidal waveform of the grid fundamental frequency component only, in phase with the grid voltage. The key to design such a reference is the use of a scheme that extracts the fundamental component of the grid voltage and its square-phase companion. The analysis shows that the inverter-side current controller guarantees asymptotic stability.
Experimental tests are performed in a three-level inverter prototype for simplicity. However, the controller can be extended to other inverter topologies. The experimental results show that the inverter, with the controller and the proposed current reference computation, supplies active power to the grid with a good performance and enough damped response despite the harmonic distortion in the grid voltage. Moreover, the solution uses a reduced number of sensors. The main contribution of the paper is the design of an inverter-side current controller to guarantee active damping for LCL grid-connected H-bridge (HB) based converters along with the corresponding stability analysis. The controller is able to achieve active power injection with guaranteed active damping by using a design method to obtain the references for the inverter-side current and the injected voltage. In addition, the corresponding modifications to these references are also included to deal with the more realistic scenario that considers harmonic distortion in the grid voltage.
A general representation of a power inverter connected to the grid through an LCL filter to supply power to the grid is depicted in

Fig. 1 Power inverter connected to grid through LCL filter.
Let
and
denote the currents through
and
, respectively, namely the inverter-side and the grid-side currents, and let
denote the voltage across
. The model of the system in
(1) |
(2) |
(3) |
where each inductor is represented by an inductance followed by a parasitic resistor , . The main objective is to supply active power to the grid by forcing the grid-side current to have a pure sinusoidal waveform in phase with the fundamental component of the grid voltage . In order to comply with this purpose, the voltage source inverter (VSI) must reconstruct an appropriate voltage signal , referred to as the inverter voltage and the control objective all along the paper.
In the present work, it is assumed that the switching frequency is high enough, that is, the cutoff frequency of the LCL filter is selected well below the switching frequency
. In this way, the ripple in all signals can be neglected, and
can be regarded as a continuous signal. In fact, it can be calculated as
, as shown in
The inverter-side current controller, to be described in the next section, can be used without major modifications in several renewable based systems that supply electric energy to the grid. Furthermore, the VSI in
In general, the inductor series parasitic resistors
and
shown in
(4) |
(5) |
(6) |
where the characteristic polynomial and resonance frequency are given by:
(7) |
A common design of the LCL filter, intended to mitigate switching frequency components and to reduce the filter size [
This section presents the design of the inverter-side current controller to achieve active damping for the LCL grid connected inverter. The controller is based on the inverter-side current feedback to damp the system resonance. It includes a proportional term over the inverter-side current error. Therefore, an appropriate design of the inverter-side current reference is essential to accomplish the main control objective, i.e., to compel a proper grid-side current. A resonant control structure [
In this section, the error system is obtained by considering an output feedback, where only the inverter-side current is measured. The controller consists of a proportional gain for which an stability analysis is performed. A resonant control structure is added to the main controller to deal with possibly harmonic distortion in the grid voltage.
The controller operates on the inverter-side current error, which is the difference between the measured and an appropriately designed reference of the inverter-side current. The following assumptions are considered to simplify the error dynamics in the controller derivation.
1) The grid fundamental frequency has a known constant value of .
2) Parasitic resistors and have an arbitrarily small value and can be neglected in the system dynamics (1)-(3).
If
is unknown, an estimator such as the one presented in [
To supply only active power to the grid, must asymptotically track a reference , which is composed of fundamental components only and is in phase with the grid voltage. The amplitude of is proportional to the amount of power to be supplied to the grid, namely, the power reference . This control objective is denoted by as , and must be fulfilled with uniform stability.
Consider to be an admissible trajectory for , then , , and track references , , and , respectively, which are governed by system dynamics (1)-(3). Define the error state variables as , , and . Based on these error definitions, the system (1)-(3) is transformed into the following system, which is referred to as the error system:
(8) |
(9) |
(10) |
The system described in (8)-(10) is linear and time-invariant, and has a pole at the origin and two complex conjugate poles. The magnitude of the latter equals the resonant frequency in (7). In order to fulfill the control objective, the above error system must have the origin as an asymptotically stable equilibrium point. Then, the following controller is proposed, which relies on the feedback of , which is expressed in (11).
(11) |
where is a strictly positive constant gain. The closed-loop error system (8)-(11) can be rewritten in the form of an autonomous system as follows:
(12) |
(13) |
where is the diagonal matrix with filter parameters in its diagonal, and the error state vector is given by . The closed-loop state matrix is given by (14).
(14) |
The model in (13) represents the closed-loop error average model in time domain with inverter-side current error feedback. The roots of its closed-loop characteristic polynomial in the frequency domain establishes stability. Closed-loop polynomial together with the related transfer function is used to prove closed-loop stability with the inverter-side current error feedback by appealing to the root locus method. The filter inductor ratio is defined by . Then the closed-loop characteristic polynomial is given by (15) and its roots are the closed-loop poles, or equivalently, the eigenvalues of .
(15) |
Then, the closed-loop poles coincide with the solutions of , where G( s) is expressed in (16).
(16) |
The open-loop poles of
are located at zero and at
, and the zeros at
. The root locus of the closed-loop poles as a function of gain
, which varies from zero to infinity, may adopt either of the sketches shown in

Fig. 2 General forms of root-locus for inverter-side current error feedback loop. (a) . (b) . (c) .
If
,
, and the root locus is depicted in
If
,
, and the root locus is shown in
(17) |
If
,
, and the root locus is shown in
(18) |
There exists an entry/exit to/from the real line of the complex conjugated closed-loop poles, occurring at and , respectively, expressed in (19).
(19) |
From this analysis, it can be concluded that, for any of the possible cases with
, the asymptotic stability of the origin is guaranteed since closed-loop poles have negative real parts. However, the transient response depends on different ratios
and feedback gains
. Therefore, the inverter-side current feedback (11) adds active damping by moving the closed-loop poles to the left-side of the complex plane as the gain parameter
increases. For a relatively small
, the response is dominated by the real closed-loop pole closest to the origin, where the response is well damped. For a relatively large value of
, the response behavior is dominated by complex conjugated closed-loop poles, which dictates an oscillatory behavior of the closed-loop system. In either case, an increase in gain
, in a given range, causes the reduction of the imaginary part of the complex conjugated closed-loop poles in each of the cases depicted in
Therefore, with the inverter-side current feedback (11), and taking into consideration the inverter voltage reference , the inverter voltage is given by (20).
(20) |
Under the above assumptions, the feedback controller (20) renders the closed-loop system stable. The computation of requires and , where can be seen as a decoupling term. The next subsection presents a method to obtain estimates of and , in the case where the grid voltage and are pure sinusoidal signals, i.e., contain fundamental component only. The case with harmonic distortion in the grid voltage requires a harmonic compensation mechanism, which is presented right after the next subsection.
Implementation of the above controller (20) requires the reference and the decoupling term to accomplish the control objective, i.e., to assure that is a pure sinusoidal signal with the same frequency and phase of the fundamental component of . This subsection presents the estimation for these two references. For the ease of presentation, this subsection considers the case of a pure sinusoidal , which is composed of fundamental component only. It is proved that the estimates and converge towards their references and , respectively, in the steady state. However, in the presence of harmonic distortion in , the reference estimations exhibit a bounded convergence error.
If the grid voltage has no harmonic distortion, the grid-side current reference can be computed in terms of , and the desired active power to be supplied to the grid . However, in general conditions, has additional harmonic components, and therefore, its fundamental component may be used instead. Let be the steady-state fundamental component of the grid voltage, and be its square-phase companion, that is, coincides with except for a phase shift difference of 90°. Notice that and form a basis for the set of periodic signals at the fundamental grid frequency. Therefore, the system references and in steady state can be constructed as linear combinations of and .
To guarantee the fulfillment of the control objective, must be proportional to , whose amplitude is fixed by the desired active power to be supplied. Let be the apparent conductance of the system, and the root-mean-square (RMS) value of the grid voltage. Then the grid-current reference can be proposed as (21).
(21) |
Let , then the remaining system references are imposed by the system dynamics (1)-(3), and can be expressed by (22).
(22) |
Moreover, the admissible steady-state inverter voltage is given by (23).
(23) |
Notice that and satisfy (24).
(24) |
The time-derivative of the system state reference (22) is given by (25).
(25) |
Based on (22) and the above time-derivative, it can be verified that references in (22) satisfy the system dynamics (1)-(3), and thus, they are admissible trajectories.
The following linear, uniformly stable estimator for the fundamental component of the grid voltage
and of its square-phase companion
is used based on the linear estimator presented in [
(26) |
(27) |
The estimation gain modifies the rate of the estimation. Estimates of and of can be computed as follows:
(28) |
(29) |
If reactive power injection is required, references (28) and (29) can be modified as follows. Let be the desired reactive power references, and define . The magnitude of the apparent admittance of the system is define as . Then the required grid current reference in (21) must be modified to . Following an analogous procedure as the one used to obtain the references imposed by the system dynamics (22) and the admissible steady-state inverter voltage (23), the following references can be proposed.
(30) |
(31) |
Then, the expressions (30) and (31) are the estimated references for the inverter-side inductor current and the steady-state inverter voltage, respectively, when the reactive power reference is not zero.
In fact, the estimator in (26) and (27) is linear. Its eigenvalues have negative real part, and it is bounded-input, bounded-output stable. Therefore, if the grid voltage is bounded and periodic, the estimations and are also bounded and periodic.
Assuming that has no harmonic contents, the estimations and in (28) and (29) converge exponentially toward , in the first scalar equation of (22), and in (23). However, if has considerable harmonic contents, there is an steady-state error between estimated references and actual references. In the remaining part of this subsection, bounds are obtained for these errors. The usual grid voltage harmonics for single-phase electrical systems are at odd multiples of the fundamental frequency. Then the Fourier series representation of the grid voltage in steady-state is expressed as . Notice that and , where and are given in (32).
(32) |
The magnitudes of these transfer functions at each consecutive multiple of the harmonic frequency, i.e., and are given by (33), where .
(33) |
Therefore, the Fourier representation of the steady-state estimated references are given by (34).
(34) |
where and . Hence, the error of each estimated reference, and , satisfy (35) and (36).
(35) |
(36) |
If the harmonic components of are zero from a given and above, as occurs in practical applications, or if the magnitude of the harmonics is of the order of , errors are bounded since the sums in the inequalities (35) and (36) are convergent. The approximation error becomes zero whenever the grid voltage is a pure sinusoidal.
The harmonic distortion of
propagates to the controller and estimator. A solution to compensate the harmonic distortion is to use a resonant control structure following the principle of the internal model [
Considering the estimated references and , the controller (20) can be expressed as follows:
(37) |
where is a periodic bounded perturbation whose Fourier series representation includes the odd harmonics in the grid voltage. Therefore, a resonant control structure may be included at the feedback path to compensate , which consists of a set of resonant filters tuned at odd multiples of the fundamental grid frequency, i.e., frequencies defined by , , where can be fixed as the number of the first more significant harmonics in the grid voltage. By considering the resonant structure (37), the following expression for the controller is obtained:
(38) |
The last term in (38) can be implemented in the form of a transfer function as follows:
(39) |
where , is a constant gain.
A block diagram of the overall controller is presented in
(40) |

Fig. 3 Block diagram of reference estimation and feedback controller. (a). Reference estimation. (b). Feedback controller.
The controller presented in

Fig. 4 LCL grid-connected power inverter experimental setup.
The DC-link voltage is fixed to V, the switching frequency is set to kHz, and the power reference is set to W, which is the active power to be supplied to the grid. The LCL filter parameters are mH, μH, μF. The sampling period is 50 μs. Other system and controller parameters are V, , , , , , , , , , , , , , , , , , , , , , , , .
The above parameters follow the design rules previously presented and reported in [
The experiments include tests where the harmonic compensation block of the controller shown in

Fig. 5 Steady-state grid voltage, estimated grid voltage fundamental component, inverter-side current, and grid-side current with proposed controller considering W. (a) Without harmonic compensation. (b) With harmonic compensation.
As observed in

Fig. 6 Steady-state inverter-side current error, estimated inverter-side current reference, and inverter-side current, with proposed controller considering W. (a) Without harmonic compensation. (b) With harmonic compensation.

Fig. 7 Steady-state grid voltage and grid-side current with proposed controller (including harmonic compensation) and considering W ( x-axis unit for FFT is 62.5 Hz).

Fig. 8 Steady-state control voltage, estimated voltage reference, inverter-side current, and inverter-side current reference, with proposed controller (including harmonic compensation) and considering W.
The figure shows , , and . Notice that the control voltage and the inverter-side current converge to their corresponding references in a relatively short time, without a noticeable overshoot nor settling time.

Fig. 9 Transient responses of control voltage, estimated voltage reference, inverter-side current, and inverter-side current reference in proposed scheme (including harmonic compensation) after power step changes. (a) Changing from W to W. (b) Back from W to W.

Fig. 10 Transient responses of power reference, grid-side current reference, grid-side current, and grid-side current error in proposed scheme (including harmonic compensation) after power step changes. (a) Changing from W to W. (b) Back from W to W.
This paper presents the design, analysis and experimental validation of a model-based controller for a power inverter connected to the grid through an LCL filter, which has special interest in applications of photovoltaic generation systems among others.
The controller provides active damping and assures a grid-side current in phase with the fundamental component of the grid voltage. Moreover, the controller adopts a reduced number of measurements. In fact, only the grid voltage and the inverter-side current are required for the controller implementation. The controller structure consists of a proportional term and a harmonic compensation scheme over the inverter-side current error. One of the contributions of this work is the estimation of the inverter-side current reference and a decoupling term required for the controller implementation. Analysis has also been presented to show that the error between these estimations and the references turns out to be bounded. Moreover, it is shown that this error could be compensated even in the general case of a grid voltage with harmonic distortion. Therefore, the overall controller proposed in this paper is able to supply power to the grid with a guaranteed clean sinusoidal current signal. Experimental results with a laboratory prototype inverter prove the benefits of the proposed controller. The results show that the controller is able to introduce active damping and achieves lower-than-standard harmonic distortion in the grid-side current.
REFERENCES
S. Kjaer, J. Pedersen, and F. Blaabjerg, “A review of single-phase grid-connected inverters for photovoltaic modules,” IEEE Transactions on Industry Applications, vol. 41, no. 5, pp. 1292- 1306, Sept.-Oct. 2005. [百度学术]
M. Liserre, F. Blaabjerg, and A. Dell’Aquila, “Step-by-step design procedure for a grid-connected three-phase PWM voltage source converter,” International Journal of Electronics, vol. 91, no. 8, pp. 445- 460, Aug. 2004. [百度学术]
Y. Riffonneau, S. Bacha, F. Barruel et al., “Optimal power flow management for grid connected PV systems with batteries,” IEEE Transactions on Sustainable Energy, vol. 2, no. 3, pp. 309- 320, Jul. 2011. [百度学术]
J. M. Sosa, G. Escobar, P. R. Martinez-Rodriguez et al., “Control law for transformerless converters connected to the grid through an L filter,” in Proceedings of 2014 IEEE International Autumn Meeting on Power, Electronics and Computing (ROPEC), Ixtapa, Mexico, Nov. 2014, pp. 1-6. [百度学术]
S. Li, X. Fu, M. Ramezani et al., “A novel direct-current vector control technique for single-phase inverter with L, LC and LCL filters,” Electric Power Systems Research, vol. 125, pp. 235- 244, Aug. 2015. [百度学术]
J. Dannehl, M. Liserre, and F. W. Fuchs, “Filter-based active damping of voltage source converters with LCL filter,” IEEE Transactions on Industrial Electronics, vol. 58, no. 8, pp. 3623- 3633, Aug. 2011. [百度学术]
G. Escobar, M. J. Lopez-Sanchez, D. F. Balam-Tamayo et al., “Inverter-side current control of a single-phase inverter grid connected through an LCL filter,” in Proceedings of 2014 40th Annual Conference of the IEEE Industrial Electronics Society (IECON), Dallas, USA, Oct.-Nov. 2014, pp. 1-7. [百度学术]
X. Wang, C. Bao, X. Ruan et al., “Design considerations of digitally controlled LCL-filtered inverter with capacitor-current-feedback active damping,” IEEE Journal of Emerging and Selected Topics in Power Electronics, vol. 2, no. 4, pp. 972- 984, Dec. 2014. [百度学术]
R. N. Beres, X. Wang, M. Liserre et al., “A review of passive power filters for three-phase grid-connected voltage-source converters,” IEEE Journal of Emerging and Selected Topics in Power Electronics, vol. 4, no. 1, pp. 54- 69, Mar. 2016. [百度学术]
V. Blasko and V. Kaura, “A novel control to actively damp resonance in input LC filter of a three-phase voltage source converter,” IEEE Transactions on Industry Applications, vol. 33, no. 2, pp. 542- 550, Mar.-Apr. 1997. [百度学术]
Y. Tang, P. C. Loh, P. Wang et al., “Exploring inherent damping characteristic of LCL-filters for three-phase grid-connected voltage source inverters,” IEEE Transactions on Power Electronics, vol. 27, no. 3, pp. 1433- 1443, Mar. 2012. [百度学术]
C. A. Busada, S. G. Jorge, and J. A. Solsona, “Full-state feedback equivalent controller for active damping in LCL-filtered grid-connected inverters using a reduced number of sensors,” IEEE Transactions on Industrial Electronics, vol. 62, no. 10, pp. 5993- 6002, Oct. 2015. [百度学术]
J. Dannehl, F. W. Fuchs, S. Hansen et al., “Investigation of active damping approaches for PI-based current control of grid-connected pulse width modulation converters with LCL filters,” IEEE Transactions on Industry Applications, vol. 46, no. 4, pp. 1509- 1517, Jul.-Aug. 2010. [百度学术]
A. Coccia, G. Escobar, L.-A. Serpa et al., “Control method for single-phase grid-connected LCL inverter,” US Patent 8553434B2, Sept. 15, 2011. [百度学术]
J. M. Sosa, P. R. Martinez-Rodriguez, G. Vazquez et al., “Model based controller for an LCL coupling filter for transformerless grid connected inverters in PV applications,” in Proceedings of 2013 39th Annual Conference of the IEEE Industrial Electronics Society (IECON), Vienna, Austria, Nov. 2013, pp. 1-6. [百度学术]
S. G. Parker, B. P. McGrath, and D. G. Holmes, “Regions of active damping control for LCL filters,” IEEE Transactions on Industry Applications, vol. 50, no. 1, pp. 424- 432, Jan.-Feb. 2014. [百度学术]
J. Xu, S. Xie, and T. Tang, “Active damping-based control for grid-connected LCL-filtered inverter with injected grid current feedback only,” IEEE Transactions on Industrial Electronics, vol. 61, no. 9, pp. 4746- 4758, Sept. 2014. [百度学术]
M. Victor, F. Greizer, S. Bremicker et al., “Method of converting a direct current voltage from a source of direct current voltage, more specifically from a photovoltaic couse of direct current voltage, into an alternating current voltage,” US Patent Application Publication US 2005/0286281 A1, Dec. 29, 2005. [百度学术]
H. Schmidt, C. Siedle, and J. Ketterer, “DC/AC converter to convert direct electric voltage into alternating voltage or into alternating current,” US Patent US 7046534 B2, Aug. 11, 2005. [百度学术]
R. Gonzalez-Senosiain, J. Coloma-Calahorra, L. Marroyo-Palomo et al., “Single-phase inverter circuit for conditioning and converting DC electrical energy into AC electrical energy,” WIPO (PCT) Patent WO 2008/015298 Al, Feb. 2008. [百度学术]
T. Kerekes, R. Teodorescu, P. Rodriguez et al., “A new high-efficiency single-phase transformerless PV inverter topology,” IEEE Transactions on Industrial Electronics, vol. 58, no. 1, pp. 184- 191, Jan. 2011. [百度学术]
A. Reznik, M. G. Simoes, A. Al-Durra et al., “LCL filter design and performance analysis for grid-interconnected systems,” IEEE Transactions on Industry Applications, vol. 50, no. 2, pp. 1225- 1232, Mar.-Apr. 2014. [百度学术]
W. Wu, Y. He, and F. Blaabjerg, “An LLCL power filter for single-phase grid-tied inverter,” IEEE Transactions on Power Electronics, vol. 27, no. 2, pp. 782- 789, Feb. 2012. [百度学术]
A. A. Valdez-Fernandez, P. R. Martinez-Rodriguez, G. Escobar et al., “A model-based controller for the cascade H-bridge multilevel converter used as a shunt active filter,” IEEE Transactions on Industrial Electronics, vol. 60, no. 11, pp. 5019- 5028, Nov. 2013. [百度学术]
R. Teodorescu, F. Blaabjerg, M. Liserre et al., “Proportional-resonant controllers and filters for grid-connected voltage-source converters,” IEE Proceedings - Electric Power Applications, vol. 153, no. 5, pp. 750- 762, Sept. 2006. [百度学术]
B. A. Francis, and W. M. Wonham, “The internal model principle for linear multivariable regulators,” Applied Mathematics and Optimization, vol. 2, no. 2, pp. 170- 194, Jun. 1975. [百度学术]
V. Kaura and V. Blasko, “Operation of a phase locked loop system under distorted utility conditions,” IEEE Transactions on Industry Applications, vol. 33, no. 1, pp. 58- 63, Jan.-Feb. 1997. [百度学术]
J. de Vegte, Feedback Control Systems, 3rd ed. Englewood Cliffs: Prentice Hall, 1993. [百度学术]
P. R. Martinez-Rodriguez, J. M. Sosa, S. Iturriaga-Medina et al., “Model based current mode control design and experimental validation for a 3 rectifier under unbalanced grid voltage conditions,” Journal of Modern Power Systems and Clean Energy, vol. 6, no. 4, pp. 777- 790, Jul. 2018. [百度学术]
P. R. Martinez-Rodriguez, G. Escobar, A. A. Valdez-Fernandez et al., “Direct power control of a three-phase rectifier based on positive sequence detection,” IEEE Transactions on Industrial Electronics, vol. 61, no. 8, pp. 4084- 4092, Aug. 2014. [百度学术]
P. Channegowda and V. John, “Filter optimization for grid interactive voltage source inverters,” IEEE Transactions on Industrial Electronics, vol. 57, no. 12, pp. 4106- 4114, Feb. 2010. [百度学术]
M. Liserre, F. Blaabjerg, and S. Hansen, “Design and control of an LCL-filter-based three-phase active rectifier,” IEEE Transactions on Industry Applications, vol. 41, no. 5, pp. 1281- 1291, Sept.-Oct. 2005. [百度学术]