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. Index Terms-LCL filter, transformerless inverter, grid connection, inverter-side current feedback.