Linear motor has a lot of merits, such as simple structure, fast dynamic response, high localization accuracy and great speed capability. It improves the dynamic sensitivity, accuracy and reliability of modern machining. On the basis of analyzing structure trait and operational principle of linear motor, a position servo control system of linear motor based on DSP is designed. This system is constructed according to vector control model. It consists of a control module, a detection module, a power driver module and a communication module. Closed-loop control strategies based on position feedback, speed feedback and current feedback are adopted. The Space Vector Pulse Width Modulation (SVPWM) integrates an inverter and a motor into a whole, which can make the full digital real-time controlling of PMLSM. TMS320LF2812 is selected as the controller in this control system, which can process the feedback signal of the detection module and output motor-droved current signals. The position and speed detection of linear motor is realized by a QEP circuit with a grating bar. Application of intelligent power module (IPM) simplifies the rectifier circuit and protects the circuit. The communication module is used to make connection between the servo system and a PC. The experimental results show that the servo control system proposed in this paper has reliable structure, good control performance, and simplicity in operation.