The speed controller is one of the ATO key technology in automatic train operation system.This paper establishes a mathematical model of the speed controller, aiming at speed control function ATO speed controller, using strategy of predictive control and gray control, considering performance indicators such as the comfort, punctuality, energy efficiency, precision parking and so on, combining with idling slipping, operation delay, velocity measurement positioning error and other locality factors. The model in paper has the simulation tested at vehicle platform to verify the speed control function of ATO speed controller and it achieves the desired control effect.