This paper presents a high-precision position control system for a linear switched reluctance motor (LSRM) based on dSPACE real-time control platform. The LSRM has a very simple structure and it can be manufactured easily, and there is no need for magnets. The system utilizes dSPACE platform as the controller and generates the real-time code for the control algorithm, tuning the control parameters on line and PD algorithm is implemented. The results show that control algorithm can substantially reduce position error. The DSP-based position control scheme is implemented and experimental results prove the effectiveness of control design method.