针对常见数控系统的后置处理模块具有专用、封闭等特点,从而限制了其在新型并联加工装备中的应用的问题,研究了开放式并联机床后置处理系统开发的关键环节。首先,基于Le,和Yacc编译工具实现了数控代码的解析功能,此功能能够适用于不同体系的数控代码格式,提高数控系统的开放性和通用性。其次,对并联机床后置处理中的关键算法进行了研究和分析,包括刀具矢量插补算法、三维刀具半径补偿算法、矢量运动学逆解算法等。最后,针对基于3-PRS—XY构型的并联机床开发开放式后置处理系统,通过对系统仿真结果的处理,验证了后置处理模块算法的正确性和有效性。
To solve the problem that a post-processing module in a common numerical control (NC) system can not be applied to new type parallel manufacturing equipment due to its limitations such as special use and closed state, the authors of the paper studied the key links in the development of an open post-processing system for parallel machines. Firstly, the func- tion for NC code interpretation was realized based on Lex and Yacc, the compiling tools. The function can be suitable to different formats of NC code and can make NC systems more open and universal. Secondly, the key algorithms for post- processing of parallel machines, including the algorithms of tool vector interpolation, three-dimensional tool radius compensation, and kinematical inverse solution of vector, were all analyzed. Finally, the open post-processing system based on the 3-PRS-XY parallel machine was developed and the simulation result proved the correctness and effectiveness of the proposed algorithm for post-processing modules.