Sequential design of controller for grinding circuit