In order to eliminate the influence of some instabilities with repetitive learning controller to the control quality process of harmonic restraining.The parameters choosing range of repetitive learning controller is analyzed theoretically based on the stability and compensation effect of Active Yower Filter (AYF) system with LCL filter.The simulation results verify the correctness effectiveness of the theory.