A discussion is made on the iterative learning controller for a class of continuous systems.After analyzing the P-type iterative learning control(ILC),a new kind of ILC algorithm is proposed based on comparing the P-type with the PD-type.It uses the error signal and the difference of the error signal to correct the controller,which can avoid the blight of the differential,also fully use the available information.So it can achieve better tracking effect and high convergence rate.At last the simulation of a nonlinear system is given to show the efficiency and superiority to P-type algorithm.