数控系统的插补算法及加减速控制方法研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
插补及加减速控制的精度和速度是CNC系统的重要指标,决定了数控系统的性能优劣。本文针对这两方面的问题做了深入的理论和应用研究。
    针对研制自主知识产权的经济型数控系统,本文主要研究插补精度高、换向较少、有利于轴连续运动的最小偏差插补算法及直接加减速控制方法。在改进原算法的基础上处理了非过原点线形的插补问题,证明了特殊情况下的插补精度,推导出最小偏差法三维直线插补算法,并首次采用解析法证明了三维直线插补精度,详细讨论了终点判别条件,解决了圆弧插补时因终点错误而导致飞车的问题,首次将计算机图形学的Bresenham算法与最小偏差法有机结合,建立了图形学与电机控制系统的关系。本文还提出了基于最小偏差算法的加减速控制方法,采用实时速度计算法,通过减少静态变量、减少参数传递、减少程序的长转移、简化乘除法运算,以解决实时计算浪费机时的问题,使进给速度达到2500 mm /min。该速度控制方法使操作者可以根据负载的情况,灵活改变最高运行频率、加速度等速度控制参数,而无需重新制表,可方便实现数控系统与机床的配套。上述的研究展现了一个从理论推导到实际应用的完整的最小偏差插补算法和速度控制方法,满足经济型数控系统的精度、速度的要求,并已应用于本实验室自主开发的数控系统中,为其产业化铺平了道路。
    针对目前大多数中高档CNC系统只具有直线圆弧插补指令的现状,本文研究了Step标准中的Nurbs曲线插补算法、多坐标参数曲面插补算法及自适应速度控制方法。插补过程中,为提高插补计算的精度和速度,提出了改进的试探修正法,以代替复杂的求导过程。速度控制过程中,采用插补前S型加减速曲线进行速度控制,将插补的弓高误差、机床许用加速度均考虑在内,并提出时间顺延法,加减速对称法,实现了在线实时自适应的加减速控制。本文提出的方法不仅充分发挥了插补前加减速控制的位置精确的优势,还解决了减速点预测困难的问题,具有位置精度高、无冲击、自适应等优点。其中的弧长求解算法的精度高于CAD/CAM的计算精度。该速度控制方法也可以用于加工前的仿真,帮助编程人员选择合理的进给速度、加速度、跃变度等参数,从而提高加工的精度和效率。上述的研究使CNC系统具备了Nurbs曲线、五坐标参数曲面插补功能,避免了加工过程中直线圆弧逼近曲线曲面的种种弊端,可有力支持高速、高精加工,将对提高我国CNC系统水平起到积极的推动作用。
It is important for CNC system to control the precision and speed of interpolatorand Acceleration and deceleration, which decide the character of CNC system. Theresearch to this two aspects is done deeply in this paper.
     In order to research and develop economic-type CNC system, Minimumdeviation interpolator and feed-control method are studied, which possesses higherprecision and benefit for motor. On the basis of improved original interpolator, onesof line and circle not to go through the initial point are solved, interpolation precisionin special cases is proved, three-dimensional line one is deduced. Analysis is takenstep firstly to prove the precision of three-dimensional line interpolator. The endpoint criterion is discussed in detail so that no-stop caused by error end is solved. It iscombined between Bresenham algorithm in computer graphic area and Minimumdeviation interpolator to establish the bridge between them. The real-timeAcceleration-Deceleration control algorithm to stepper motor is put forward, whichbreaks away form traditional look-up table and uses real-time calculating way. Butthis method has its disadvantage that calculating speed is slower. For this reason,multiform means, for example, decreasing static variables, decreasing parametertransfer, decreasing long jump and simplified multiplication-division operation, areused to deal with its disadvantage in practice and take effective. The fastest feedreaches 2500 mm /min. The engineer may change flexibly highest frequency,acceleration and so on according to loading, without renewing chart.
    Above all, a complete minimum deviation interpolator and feed-control method isshowed, which meet the need of economic-type CNC system and benefit forindustrialization
    In order to improve present level of CNC system, the Nurbs curve,multi-coordinates parameter surface interpolator and adaptive-feed control methodare discussed. In order to improve the precision and rate of interpolator, advancedtrial-amendment method is adopted. S shape Acceleration-Deceleration methodforehand Nurbs interpolator is adopted, taking chord error and jerk into consideration,
    proposing time-progressive-last and Acce-Dece-symmetry method, which not onlymake good use of higher position in Acce-Dece control of forehand interpolator, butalso solving rationally difficulty in the predetermination Deceleration-point. In which,the accuracy of the calculation of arc is better than the one in CAD/CAM software.This method is a higher position, no impact and adaptive one. It also may become theassistant to the programmer, helping them to select optimizing parameter, forexample, feed, acceleration and jerk as well through the simulation so as to improveprecision and efficiency of machining. Above all, the Nurbs curve interpolator andparametrical surface interpolators are realized, which can support strongly the higheraccuracy and higher speed machining, avoid the disadvantage of transfer curve andsurface into line or circle and will promote the level of Chinese CNC system.
引文
[1] 李惠光,郑绳楦,改进的最小偏差法直线插补及其软件,东北重型机械学院学报,1991,15(2):153~156
    [2] 王丹萍,王刚,实用快速圆弧插补,机械工业自动化,1993,15(4):47~49
    [3] 古辉,古纯效,一种新型的圆弧插补算法,制造技术与机床,1998,(5):37~38
    [4] 贾宝贤,对直接函数法圆弧插补的改进,机床与液压,2000,(4):44~45
    [5] 裴仁清,华卫平,机床的微机控制技术,上海:上海科技文献出版社,1990
    [6] 傅邦宁,邹士敏,最小偏差插补方法的扩展及应用,机械工业自动化,1990,(2):35~36
    [7] 游有鹏,改进最小偏差法――一种高精度快速插补算法,机械工业自动化, 1995,17(1):32~34
    [8] 张春良,陈锡嘉,一种实用快速圆弧插补法, 机械工艺师,1998,(1):25~26
    [9] 朱建忠,吉训进,一种新的数控系统圆弧插补判别法,机床与液压,2001,(5):87~88
    [10] 唐学飞,数控系统圆弧插补算法的改进,组合机床与自动化,2001,(10): 33~34
    [11] 李恩林,插补原理,北京:机械工业出版社,1984
    [12] http://www.ekany.com/wdg98/cg/tutorial/chapter1/lesson1~1.htm
    [13] 罗笑南,王若梅,计算机图形学,广州:中山大学出版社,1996
    [14] 王汝传,计算机图形学,北京:人民邮电出版社,2002
    [15] 孙家广,杨长贵,计算机图形学,北京:清华大学出版社,1995
    [16] Donald Hearn , M Pauline Bake. Computer Graphics ,C Version,2nd Ed. New York :Prentice Hall ,1997.84~94
    [17] 黄坚,由二维插补拓展维三维插补的实现方法,机械与电子,2001,(5):73~74
    [18] 赵学,逐点比较法多坐标联动直线插补,甘肃工业大学学报,1996,22(1):73~78
    [19] 屠晓明,刘雄伟,直线 Bresenham 生成算法的三维推广,计算机辅助设计与 图形学学报,2001,13(9):779~782
    [20] Min-Yang Yang, Won-Pyo Hong,A PC-NC milling machine with new simultaneous 3-axis control algorithm. International Journal of Machine Tools & Manufacture,2001, 41: 555~566
    [21] 王文熙,逐点比较法插补终点判别的研究,青岛大学学报,1999,12(1):86~90
    [22] 王文熙,数字积分法插补终点判别的研究,青岛大学学报,2000,15(1):17~20
    [23] 冯勇,冉树成,倪二男,一种插补轨迹的矢量终点判别法,哈尔滨工业大学学报,1995,21(7):78~82
    [24] 任玉田等,机床计算机数控技术,北京:北京理工大学出版社,1996
    [25] 王永彦等,机床的数字控制技术,哈尔滨:哈尔滨工业大学出版社,1995
    [26] A.M.Luscombe, D.J.Toncich, W.Thomson, R.Dluzniak, A new type of machine control system to replace traditional CNC, International Journal of Advanced Manufacturing Technology , 1994,(9): 369~374
    [27] 王文熙,经济型数控系统的性能分析,制造技术与机床,1999,(7):5~7
    [28] 史浩,计算机图形学中的 Bresenham 算法,计算机时代,1995,(3):23~24
    [29] 杜君文,邓广敏,数控技术,天津:天津大学出版社,2002.99~118
    [30] 廖效果,数控技术,武汉:湖北科学技术出版社,2000.80~154
    [31] 付云忠 多轴联动线性插补及其“S 加减速”规划算法 制造技术与机床 2001,(9)9~11
    [32] Syh-Shiuh Yeh, Pau-Lo Hsu, Adaptive-feed rate interpolation for parametric curves with a confined chord error, Computer-Aided Design,2002,34: 229~237
    [33] Tsehaw Yong, Ranga Narayanaswami, A parametric interpolator with confined chord errors,acceleration and deceleration for NC machining, Computer-Aided Design , 2003,35(1):249~1259
    [34] M.-C.Tsai, C.-W.Cheng, M.-Y.Cheng, A real-time NURBS surface interpolator for precision three-axis CNC machining, Machine tools&manufacture , 2003,43:1217~1227
    [35] Yeh SS, Hsu PL, the speed-controlled interpolator for machining parametric curves, Computer-Aided Design, 1999,31: 349~357
    [36] Han GC,Kim DI,Kim HG,etc,A high speed machining algorithm for CNC machine tools,IECON ‘99 Proceeding of the 25th Annual Conference of the IEEE:1999,1493~1499
    [37] Herbert Schuiz, High speed Machining, Annals of the CIRP, 1992,41(2):637~643
    [38] Yusuf Altintas 著,罗学科译,数控技术与制造自动化,化学工业出版社, 2002. 152~180
    [39] Wang FC, Wright PK, Open architecture controllers for machine tools, Part 2, A real time quintic interpolator, J Manufact Sci Engng,1998,120(2):425~432
    [40] 施法中,计算机辅助几何设计与非均匀有理 B 样条(CAGD&NURBS),北京: 航空航天大学出版社,1994.3~5
    [41] 全荣,五坐标联动数控技术,长沙:湖南科学技术出版社,1995.15~17
    [42] 《功率步进电动机的驱动》编写组,功率步进电动机的驱动,北京:机械工业出版社
    [43] 哈尔滨工业大学、成都电机厂,步进电动机,科学出版社 1979
    [44] 刘宝廷,程树康等,步进电动机及其驱动控制系统,哈尔滨工业大学出版社,1997
    [45] 陈爱国,黄文玲,杨红红,步进电机升降速曲线的研究,机电产品开发与创新 2003,(2):47~49
    [46] 肖本贤,喷墨绘图仪中步进电机的升降速控制,微电机,2001,34(4):28~29,33
    [47] 王晓初,何捷,步进电机自动升降速及其单片机控制,微特电机 1998, (2):14~16,29
    [48] 张晓宏,岳永坚,刘恩海等,基于光栅信号的步进电机速度控制,光电工程,2000,27(1):29~32
    [49] 胡建华,廖文和,周儒荣,CNC 系统中几种升降速控制曲线的研究与比较,南京航空航天大学学报,1999,1(6):706~711
    [50] 李铁才,杜坤梅,电机控制技术,哈尔滨:哈尔滨工业大学出版社,2000.12
    [51] Bedi S,Ali I, Quan N, Advanced interpolation techniques for CNC machines, ASME J Engng Ind, 1993,115:329~336
    [52] Shpitalni M, Koren Y, Lo CC, Realtime curve interpolators, Computer-Aided Des, 1994,26(11):832~838
    [53] 吴焱明,赵福民,王治森,空间任意平面二次曲线的采样插补算法,机械科学与技术,1999,18(6):914~916
    [54] 张伟,CNC 系统中任意空间曲线的插补方法,机械,2002,29(2):36~37
    [55] Yang DCH, Kong T, Parametric interpolator versus linear interpolator for precision CNC machining, Computer-Aided Des,1994,26(3):225~233
    [56] Sung-Ho Nam, Min-Yang Yang, A study on a generalized parametric interpolator with real-time jerk-limited acceleration, Computer-Aided Des 2001,41:1323~1345
    [57] 张申生,用二次非均匀有理 B 样条表示圆锥曲线和二次曲面,计算机辅助设计与图形学学报,1989,(2):28~34
    [58] 施法中,各种角度圆弧的二次 NURBS 表示,计算机辅助设计与图形学学报,1993,5(4):247~251
    [59] 君扬,世界机床名展风采——第八届中国国际机床展览会报道,航空制造技术,2003,(6):62~65
    [60] 张春良,基于时间分割法的 DDA 圆弧插补算法的改进,机械工艺师,2000, (5):28~29
    [61] 詹冰,周云飞,周济,五轴数控机床空间圆弧插补,华中理工大学学报, 2000,28(5):4~6
    [62] 罗欣,李光斌 朱涵梁等,时间分割法抛物线插补算法研究,华中理工大学学报,1994,22(7):49~53
    [63] 叶伯生,杨树子,任意三维抛物线的一种高速插补方法,华中理工大学学报,1996,24(11):15~17
    [64] 徐海银,陈幼平,周祖德,CNC 系统中空间抛物线的五坐标迭代插补法,华中理工大学学报,1998,26(4):50~52
    [65] 秦开怀,CNC 系统中任意三维椭圆弧的高速插补新方法,华中理工大学学 报 1992,20(6):7~12
    [66] 冉树成,曲长虹,刘义翔,数控系统中椭圆插补功能的研究与实现,组合 机床与自动化加工技术,1995,(5):18~21,24
    [67] 王幼民,杨国太,Bezier 曲线插补法在 CNC 系统中的应用,机电工程,2000, 17(6):45~47
    [68] 邓勇,B 样条曲线的实时插补,机械与电子,2001,(4):23~24
    [69] 孔亚洲,非均匀 B 样条曲线的插补算法,华中科技大学学报,2001,20(4): 69~71
    [70] 赵毅,曲线的通用参数插补法,机械科学与技术,1997,16(4):627~629
    [71] 封建湖,车刚明,聂玉峰,数值分析原理,北京:科学出版社,2001. 182~216
    [72] 白恩远 王俊元 孙爱国 现代数控机床伺服及检测技术 国防工业出版社 2002.24~62
    [73] L.N.Srinivasan and Q.J.Ge.Parameteric Continuous and Smooth Motion Interpolation.Journal of Mechanical Design,1996,118(4):494~498
    [74] Xin-Gui Guo, De-Cai Wang, Cong-Xin Li, ect, A rapid and accurate positioning method with linear deceleration in servo system, International Journal of Machine Tools & Manufacture 2002,42:851–861
    [75] 程金林,周学才,国产 MCT8000 运动控制器的轨迹规划系统,制造业自动 化,2001,(5):1~5
    [76] 周云飞,李国其,具有曲面直接插补加工功能的新型 CNC 系统,中国机械 工程, 1993,4(2):4~6
    [77] 王水来,阮雪榆,基于曲面插补的曲面加工模式及其关键技术研究,上海 机床,1997,(4):30~33
    [78] 彭炎午,计算机数控(CNC)系统,西安:西北工业大学出版社,1988
    [79] 游有鹏,王珉,朱剑英,NURBS 曲线高速高精度加工的插补控制,计算机 辅助设计与图形学学报,2001,13(10):943~947
    [80] 刘雄伟,张定华,王增强等,数控加工理论与编程技术,北京:机械工业出 版社,2001.92,128~137
    [81] Kaan Erkorkmaz, Yusuf Altintas, High speed CNC system design. Part I: jerk limited trajectory generation and quintic spline interpolation,International Journal of Machine Tools & Manufacture, 2001, 41:1323~1345
    [82] 周正干,王美清,李和平等,高速加工的核心技术,航空制造技术,2000,(3):13~16,20
    [83] Zhiming X, Jincheng C, Zhengjin F, interpolation algorithm for NURBS curves, Int J Adv Manufact Technol, 2002,20:270~276
    [84] 房京,李世杰,NURBS自由曲线、曲面的等距算法及其在数控加工中的应用,河北工业大学学报,2002,31(5):50~54
    [85] N. Tounsi, M.A. Elbestawi, Optimized feed scheduling in three axes machining. Part I:Fundamentals of the optimized feed scheduling trategy, International Journal of Machine Tools & Manufacture, 2003,(43): 253~267
    [86] Sotiris L, Omirou, Space curve interpolation for CNC machines, Journal of Materials Processing Technology, 2003,141: 343~350
    [87] Y.S.Lee, Non-isoparametric tool path planning by machining strip evaluation for five-axis sculptured surface machining,Computer-Aided Design, 1998,30(7): 559~570
    [88] Behnam Bahr, Xiaomao Xiao, Krishnan Krishnan, A real-time scheme of cubic parametric curve interpolations for CNC systems, Computer in industry, 2001,45:309~317

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700