Design on Motion Controller in Numerical Control System Based on DSP
|School||Harbin University of Science and Technology|
|Course||Pattern Recognition and Intelligent Systems|
|Keywords||Motion controller DSP CPLD PCI bus|
With the development of the open motion control system , the DSP as the core of computing and control devices have become the mainstream of the development of the motion controller . Traditional PC, has a strong information processing capabilities , user-friendly, high degree of openness , these years have been used as the control system of the host computer . Embedded motion controller card to the PC control system combines the advantages of both , not only has good motion control capabilities and high-speed data processing capabilities , but also has a friendly control interface and a wide range of generic and openness , is conducive to the secondary development of motion control . This paper introduces the development status of the CNC system , followed by analysis of the current development of domestic and foreign motion controller and DSP as the core dynamic , as this paper is to design motion controller based on DSP CPLD PCI the hardware structure . DSP Tl companies TMS320LF2407A , CPLD Altera EPM7256 , PCI PLX PCI9052 design PCI interface . According to the above scheme , the motion controller module specific hardware circuit , including the output of a controlled amount of the dual-port RAM , PCI interface , CPLD fourth harmonic . Software , this article uses a modular design , first introduced the design of the motion controller and PC communication function , and then the realization of DSP functions and CPLD hardware design language , then introduced the incremental PID control algorithm software implementation Finally, the all modules integrated debugging . The procedure described in the software , primarily using a flowchart to show design ideas , and give some critical code .