节点文献

PC-DSP主从式数控车床系统的研究与开发

The Study and Realization of PC-DSP Master-slave Mode Numerically Controlled Lathe System

【作者】 王晓煜

【导师】 唐宗军;

【作者基本信息】 沈阳工业大学 , 机械电子工程, 2004, 硕士

【摘要】 开放式体系结构的CNC系统具有灵活的软硬件结构,可以方便地进行软硬件的更新换代,也是适应FMS、CIMS环境的机床控制器的最理想的结构,代表了数控技术的发展方向。 本文在对CNC系统进行面向对象分析的基础上,建立了以PC机作为上位机,DSP运动控制器作为下位机的主从式数控车床系统。在硬件设计上,应用市售MCT8000F4运动控制卡和日本信浓交流伺服系统,充分利用PC机的固有硬件资源,建立了PC-DSP主从式数控车床伺服系统的硬件环境。在软件设计上,利用windows平台,以C++builder为开发工具,采用模块化结构设计,以实现软件的DIY。也体现了数控系统开放性的基本思想。在对CNC系统整体结构设计的基础上,本文完成了上下位机通信用数据结构的开发,利用MCT8000F4运动控制器自带的DLL动态链接库编写了车床数控指令的解释模块。并且运用WINDOWS编程技术完成了人机交互界面的开发。同时,利用运动控制器自带的C语言编辑器开发了应用于下位机DSP系统中螺纹加工的程序,具有一定的实用价值。 本文运用位置控制的方法实现数控系统,在理论和实践的基础上,建立了开放式数控车床系统。是将PC的灵活性与DSP运算的高速性进行系统集成,是未来开放式数控系统的发展方向。

【Abstract】 Having flexible software and hardware, The CNC (Computer Numerical Control) system of Open Architecture is convenient to renewed and therefore suitable for FMS and CIMS circumstance, which represents for the orientation of CNC technology.Based on the object-orient analysis of CNC system, the paper proposes a design idea of master-slave CNC system, which builds with PC as upper chip and motion controller with DSP as lower chip. On the design of hardware, which use MCT8000F4 motion controller purchased by market and Japanese SINANO AC servo system. The environment of PC-DSP master-slave CNC system is set up with the best use of the hardware resource of a PC computer itself .On the design of software, in the windows environment, this paper realizes the DIY of software in the design method of modularization structure by the development tool of C++ Builder, which materializes the basic idea of open system structure. Based on the structure design of CNC system, first, the paper develops the structure for communication between upper chip and lower chip and program the explanation module of CNCS by MCT8000F4 motion control board’s dynamic link library, finishes the human-computer interface with the technology of windows programming. Meanwhile, developed the software method of the screw machining used in lower chip by itself C language compiler, which has much value in use.It based on the theory and practice applying the methods of position control builds up the open numerically controlled lathe system. It integrates the agility of PC and the high speed of calculation of the DSP, which is the direction of the future development of open CNCS.

  • 【分类号】TG519.1
  • 【被引频次】4
  • 【下载频次】209
节点文献中: