Abstract:LCL type filter has better filter with respect to highfrequency harmonics in the AC current in the inhibition ability, so it is more and more used in the inverter. The switching process in independent mode and grid connected inverter mode between the switch without disturbance was researched. So in the inverter and grid independence under the two modes respectively. On load voltage and grid current direct control. In contrast to the traditional control of voltage and current conditions, the voltage and current control was improved. Through the simulation platform of MATLAB/Simulink, a model of grid connected inverter type LCL filter, simulation analysis proved the feasibility.