南京师范大学学报:工程技术版
南京師範大學學報:工程技術版
남경사범대학학보:공정기술판
Journal of Nanjing Nor Univ: Eng and Technol
2012年
2期
64-68
,共5页
数控%圆弧插补%符号判别法
數控%圓弧插補%符號判彆法
수공%원호삽보%부호판별법
CNC%Circular interpolation%method of symbol distinguish
插补算法是数控技术的核心,最常见的算法是逐点比较法,主要是针对直线插补和圆弧插补.直线插补较为直观简单,而圆弧插补由于决定当前应该进给方向的因素很多,因而在程序编写时,需要用许多条件判断语句才能实现,程序编写可读性差、效率低.本文推导了基于符号判别法的逐点比较圆弧插补的算法公式,进一步对逐点比较法圆弧插补进行了改进,提出了改进后的符号判别法算法公式和流程图.改进后的符号判别法由于引人了标志变量,使整个插补过程更加流畅,具有程序设计简单、程序运行时间短的特点,提高了插补的效率和精度.
插補算法是數控技術的覈心,最常見的算法是逐點比較法,主要是針對直線插補和圓弧插補.直線插補較為直觀簡單,而圓弧插補由于決定噹前應該進給方嚮的因素很多,因而在程序編寫時,需要用許多條件判斷語句纔能實現,程序編寫可讀性差、效率低.本文推導瞭基于符號判彆法的逐點比較圓弧插補的算法公式,進一步對逐點比較法圓弧插補進行瞭改進,提齣瞭改進後的符號判彆法算法公式和流程圖.改進後的符號判彆法由于引人瞭標誌變量,使整箇插補過程更加流暢,具有程序設計簡單、程序運行時間短的特點,提高瞭插補的效率和精度.
삽보산법시수공기술적핵심,최상견적산법시축점비교법,주요시침대직선삽보화원호삽보.직선삽보교위직관간단,이원호삽보유우결정당전응해진급방향적인소흔다,인이재정서편사시,수요용허다조건판단어구재능실현,정서편사가독성차、효솔저.본문추도료기우부호판별법적축점비교원호삽보적산법공식,진일보대축점비교법원호삽보진행료개진,제출료개진후적부호판별법산법공식화류정도.개진후적부호판별법유우인인료표지변량,사정개삽보과정경가류창,구유정서설계간단、정서운행시간단적특점,제고료삽보적효솔화정도.
Interpolation technology is the core technology of machine tool' s CNC system. The most common algorithm is the method of comparing spot by spot. The inadequacies of the current method is that, the feed direction is determined by many factors in the process of writing, many conditional statements are needed to achieve that. It is hard to program by this way and the readability of the program is poor. The paper derives the formula of the method of comparing circular interpolation spot by spot based on the method of symbol distinguish. On this basis, the paper attempts to improve the method of comparing spot by spot, and derives the formula of the improved method of symbol distinguish. The whole in- terpolation process becomes smoother by the method of adding a flag variable. The algorithm program is designed to be simple and short program run-time features and effectively improve the computation precision and efficiency.