This study deals with the current control of three-phase inverters connected to the grid by means of LCL filters. The control action is given by the feedback of the filter states, in coordinates αβ0, and of the internal states of resonant controllers. The control gains are computed by means of an optimal linear quadratic regulator that is robust to uncertain and time-varying parameters related to the grid impedance at the point of common coupling. As contributions, one has the detailed proof of a robust discrete linear quadratic control, showing its applicability also for the time-varying case, the experimental validation of the results in terms of the total harmonic distortion and harmonic limits for the grid injected current, according to the IEEE 1547 standard, and the analysis of the ℋ ∞ norm of the closedloop system for several values of grid inductance, indicating a value of grid inductance for which one has best performance for the time-invariant case. For comparison, a conventional state feedback controller is designed and implemented, showing the limitation of the non-robust strategy.