| To satisfy high requirements for position follow accurateness and location precision of AC servo system at present. This paper researches and develops AC servo position control system based on DSP.In allusion to the drawbacks of PID position control algorithm in traditional AC servo systems, this paper studies one multi-control algorithm based on CMAC and single Nerve Cell,which integrates advantages of both CMAC and single Nerve Cell. ANN owns study ability, memory ability, calculation ability and all kinds of intelligent process abilities, integrating with PID, it has solved the defect of imprecise control on condition of no accurate mathematics model. For the ability of CMAC's classifying information storage, it is more fit for non-linear real-time control of complicated environment than other nets. Furthermore, this paper comes out hardware-in-loop simulation in platform so-called dSPACE. The simulation results represent that this algorithm has a lot of advantages, for example fast dynastic response, hard robustness and high stationary precision, so it can satisfy CNC technology demands for real-time ability.To improve system flexibility and calculation speed of servo software, this paper adopts DSP which has higher speed of operation as the main chip of motion control circuit and designs multiple suited circuits—module of memory extend circuit, AC output module, DC I/O module and USB communication module. Taking into consideration of the communication rate with the monitoring system of PC, this paper adopts USB2.0 with higher transmission rate rather than general serial communication mode. Furthermore, a detailed description of the programming to the firmware ofUSB2.0(ISP1581) is given.With VC++'s multi-document template technology, this paper designs the monitoring software on PC under WINDOWS operating system. Finally, utilizing this control system, this paper does a semi-closed loop experiment on Panasonic AC servo motor, the result indicates that this system can meet needs of actual projects. |