According to the techniques of GPS and electrical compass,in this paper a servo tracking system is designed,a directional algorithm of microwave vehicle antenna is presented and the way to calculate the angle of pitch and the angle of location under the moving state system on land is obtained.The problem of real-time data collection and system control is solved and the servo tracking system of microwave vehicle antenna is realized by utilizing the line-based anticipated multitask managing function of the up state-machine system of PC core and the down state-machine system of μP core.