A new grid-connected control scheme of solar inverter was proposed, that is iterative learning control method. Analyzes the basic principle of iterative learning control; Applies D-type iterative learning control to improve the solar inverter output current waveform. The simulation results verify the validity and feasibility of the scheme.