In view of the industrial robot permanent magnet synchronous motor(PMSM) is often subject to variable load and other conditions, this paper proposes a fuzzy adaptive PID control strategy which based on a large number of expert experience and practical experiments. In the actual operation process, the fuzzy control is used to optimize the real-time PID control parameters. The model of position control and velocity vector control was established by matlab/simulink and realization in DSP28035 control system. The results show that this algorithm has good stability, strong adaptability, no overshoot in speed and position control and small computation, so it is suitable for the motor servo controller.