In this paper,Aiming at the weakness that the commonly used traditional PID controller can not obtain good anti-interference ability and set value following performance, a two degree of freedom model driven PID controller (MD-TDOF-PID) based on Labview is designed.