摘 要:本文提出了一种基于DSP TMS320F2812的多轴数控系统的设计方案,在硬件上采用了DSP+CPLD+FPGA的结构,以DSP作为主控制器,利用CPLD完成对DSP接口进行扩展和对存储器扩展的地址译码工作,利用FPGA辅助DSP完成编码器反馈计数功能。在CCS环境下利用C语言完成了DSP主程序的编写和调试,在ISE环境下利用Verilog HDL语言完成了CPLD和FPGA程序的编写、调试和仿真,实验结果实现了系统的可重构,更好的满足多轴数控系统对开放性的要求。 关键词:DSP;CPLD;FPGA;数控系统
Abstract: The high-performance DSP of TMS320F2812 was combined with CPLD (Complex Programmable Logic Device) to achieve the high performance multi-axis CNC system. The system proved to be of high operating speed while being capable of re-configurable according to the field-programmable character of programmable logic device. According to the properties of DSP, CPLD and FPGA, complex control computing was finished by DSP, and the intensive computations, including decoding, gating of memory and interface addresses, and the feedback of encoder, were completed by CPLD and FPGA. Designing based on modular was adopted in this project, which reduced the EMI (Elector Magnetic Interface) among different kinds of signals and enhanced the accuracy of this system. The experimental results indicate that the multi-axis CNC system meet requirements of real work on accuracy, real-time and stability. Key words: DSP;CPLD;FPGA;computerized numerical control system
|