In this paper, a new method of improving uniformity of surface roughness through controlling feed rate was proposed. A CNC grinding software based on feed rate controlling and error compensation for aspheric surface was developed. The structure and function of the software system was described. An experimental test for grinding aspheric surface of WC mould was conducted for evaluating the performance of the compensation process by using this developed software. After compensation grinding for several times, form accuracy of PV 126 nm, roughness of Ra 3.4 nm can be obtained.