In order to realize the position control of permanent magnet AC synchronous motor, the author put forwards a position control program based on the DSP2806. On the basis of PMSM vector control theory, introduces the design of hardware and software in detail. The results show that the program can efficiently realize the position control with stable running of the whole system.