哈工大数控技术大作业二 DDA法椭圆插补
DDA法圆弧插补软件的设计研究

内容
动点 JVX 修正 JV Y 进给 ∃x 方向 ∃y
L 1 L 2 L 3 L 4 N R 1N R 2N R 3N R 4 SR 1 SR 2 SR 3 SR 4
+1- 1+1- 1- 1+1- 1+1 - 1+1- 1+1+1- 1+1- 1 +- - +- - ++++- ++- - +- - +- ++-
性或变频器直流环节中滤波电感及电容之间发生能量 交换造成的。 3 结束语
变频系统应用于车床数控化改造中的主轴调速控 制系统, 由于其技术先进、 功能齐全、 效率高、 调速 范围大、 精度高、 节电效果显著以及无级调速和体积 小, 因此是一种理想的调速控制方式。 它既提高了设 备效率, 满足了生产工艺要求, 又提高了能源利用率, 降低了能源损耗, 经济效益十分显著。
(上接第 75 页)
D esign and Research of Arc In terpola tion Sof tware in DDA Law
XU L iang-yuan
(Eng ineering Co llege , A nhu i A g ricu ltu ral U n iversity, H efei 230036, Ch ina) Abstract: T h is p ap er ana lyzed the p rincip le of a rc in terpo la tion in DDA , in troduced the p rog ramm ing m ethod of a rc in terpo la tion in DDA. B y m ean s of th is softw a re, w e can im p rove CN C m ach ine too ls on p rocessing efficience, so the softw a re ha s a p ractica l va lue. Key w o rd s: DDA ; m ove to left and standa rd ize; in terpo la tion softw a re
2DDA圆弧插补改进算法

其中提出了一个基于传统DDA圆弧插补算法的改进算法,并通过比较证明了该算法相对于弦线插补算法的优越性。实践表明DDA圆弧插补改进算法精简了计算步骤,提高了计算速度。
2DDA圆弧插补改进算法及其实现传统DDA圆弧插补计算过程简单,但是用切线逼近圆弧造成误差。该改进算法使用割线逼近圆弧,可以降低径向误差。改进算法的思想如图3所示,下面以顺圆为例说明。
IK坐标系原点A即切割枪位置,随着切割枪而移动,圆心C相对于原点A的坐标值为(K,I)。第i次迭代之后,切割枪按照插补命令移动到A i点,这时圆心C的坐标为(K i,I i)。
1传统DDA圆弧插补算法在用户编制的零件程序中,对于圆弧插补的程序段,提供了圆弧在XZ平面中的起点、终点以及圆心相对于起点的偏移量I 0、K 0值。现以第一象限的顺圆为例,说明传统DDA圆弧插补算法的实现。
在机床XZ坐标系中,设圆弧起点为A,圆心为C,坐标轴原点平移A点后构成IK坐标系。IK坐标系原点A即切割枪位置,随着切割枪而移动,圆心C相对于原点A的坐标值为(K,I)。第i次迭代之后,切割枪按照插补命令移动到A i点,这时圆心C的坐标为(K i,I i)。在第i+1次迭代中,切割枪将沿着切线A i C′方向移动,于是将按斜率为-K i/I i的切线进行插补迭代一步,切割枪移动到A i+1点。此时圆心C相对于A i+1,的坐标为(I i+1,K i+1)。
式(1)X和Z轴的进给步长可以根据编程速度按斜率为-K i/I i;的直线A i C′计算如下:△X i+1=v(3)因此,第一象限顺圆的传统DDA圆弧插补迭代公式如下式(4)I i=I i-1-△X i K i=K i-1-△Z i)式(5)X i=X i-1-△X i Z i=Z i-1-△Z i)式(6)上述公式中第一个公式用来计算第I次插补周期中坐标轴的进给步长,第二个公式用来修正圆心相对于切割枪位置的现时坐标,第三个公式用来计算切割枪应该达到的命令位置。图2中轨迹是根据传统DDA圆弧插补算法形成的轨迹曲线,包括8个插补点。由切线逼近圆弧的插补算法本身的误差所引起的径向误差较大。
数控系统椭圆弧插补的两种算法

数控系统椭圆弧插补的两种算法
叶伯生
【期刊名称】《组合机床与自动化加工技术》
【年(卷),期】1997(000)005
【摘要】本文介绍了数控加工中经常遇到的椭圆弧插补的两种算法并进行了误差分析及进给速度分析。
【总页数】2页(P21-22)
【作者】叶伯生
【作者单位】华中理工大学
【正文语种】中文
【中图分类】TG659.01
【相关文献】
1.数控系统中圆弧插补算法的改进和实现 [J], 李莉;冯志永
2.数控系统差值比较法圆弧插补算法的研究 [J], 范希营;郭永环
3.数控系统轮廓圆弧插补算法研究 [J], 孙德茂
4.数控系统直接函数法圆弧插补算法的改进 [J], 唐学飞;姚传维;王新安
5.数控系统DDA圆弧插补改进算法的研究 [J], 付凯
因版权原因,仅展示原文概要,查看原文内容请购买。
数控车床加工椭圆的方法

数控车床加工椭圆的方法摘要本文讲述在数控车床上利用椭圆直角坐标和极坐标方程,通过对宏程序进行编程来加工椭圆,同时总结了针对不同尺寸规格椭圆的编程方法。
关键词数控车床;加工椭圆;方法1概述二维轮廓的椭圆形零件在日常生活中使用得非常多,尤其是在机械制造业中更是应用广泛,但是,该零件加工起来的难度是非常大的。
椭圆形零件的加工方法有很多种,比较常见的有以下几种:在普通车床上进行近似加工[1];根据椭圆的形成原理,设计专用的加工装置进行加工[2];在数控车床上利用“虚拟轴”原理实现椭圆曲线的数控加工[3];利用圆弧逼近法[4]、直线逼近法加工等。
本文仅讨论利用直线逼近法(宏程序)加工椭圆。
2直线逼近法现今,计算机和自动化技术发展迅速,数控车床相关技术也随之不断进步,给椭圆形截面零件的加工创造了很好的条件。
从目前的技术来说,各种数控车床进行椭圆加工的插补原理基本相同,不同的是实现插补运算的方法。
圆弧插补与直线插补是两种常用的实现插补运算的方法,但是目前还没有椭圆插补。
因为受到各方面的限制,尤其在设备和条件方面,通常我们无法手工来编制程序,必须借助于电脑来实现。
一般来说,通过拟合运算及直线逼近法编写宏程序来加工椭圆。
宏程序指令适用于抛物线、双曲线、椭圆等没有插补指令的非圆曲线编程;还适用于图形相同,只是尺寸不同的一系列零件编程,同样还适用于工艺路线一样,只是位置数据不同的系列零件的编程。
相比于其他编程方法,宏程序实现椭圆形截面零件的加工的优点在于,其能有效的简化程序,提高程序的运行速度,并且能扩展数控机床的使用范围。
3用户宏程序法数控车床通过程序来实现某项功能,将编写的程序存储在数控车床中,并将这些实现某项功能的程序用某个简单命令代表,利用数控车床进行加工时,只需要写入代表命令就可以执行相应的功能,极大的减少了操作流程,提高了工作效率。
其中,把存入数控机床的一组程序称作用户宏程序主体,简称为宏程序;把代表命令称作用户宏程序命令,简称为宏命令。
DDA法圆弧插补误差分析及解决办法

析,通过增加终点判别器的方法很好的解决了这个问题。
Abstract: Interpolation is index close process. DDA interpolation is quite a common interpolation way. However, in the actual
此时对应的刀具运动轨迹如图 3 所示。 由图 3 可知刀具运动轨迹完全符合题意插补要求。再
向进给结束,在 Y 轴方向
继续,直至 JLY 变为零。才 3
最终插补结束。
总结以上过程,我们 在应用 DDA 法插补圆弧 0 时,为了减小或避免误差 的出现,我们在插补过程
E′
E
X
4
图3
加一个终点判别器分别判断多轴的插补结束,而不是单纯
4+3=
6
2
5
6<q
7<q
5 6+5= 11-8=
1 3 7+3= 10-8=
4
7
+X
-Y
5-1=4 11>q 3
1 3+1=4 10>q 2
4
3+4=
2+4=
8
1
4
7<q
6<q
4 7+4= 11-8=
4 6+4= 10-8=
9
+X 0
-Y 3
4-1=3 11>q 3
4+1=5 10>q 2
10
停止
在对数控系统输入有限坐标点例如起点终点的情冴下计算机根据线段的特性直线囿弧椭囿等运用一定的算法自动地在有限坐标点之间生成一系列的坐标数据从而自动地对各坐标轴进行脉冲分配完成整个线段的轨迹运行使机床加工出所要求的轮廓曲线
哈工大数控技术

数控技术与编程一及答案一、填空题1、数字控制是用_____ 对机床的运动及加工过程进行控制的一种方法。
2、数控机床是由__________ 和_______ 组成。
3、数控机床的核心是一,它的作用是接受输入装置传输来的加工信息。
4、伺服系统分为____________ 和_____________ o5、数控机床按运动方式可分为_____________ 、_____________________ 、 _____________ 。
6、数控机床按控制方式可分为________________ •_______________ 和________________ 。
7、数控机床中没有位置检测反馈装置的是_____________ ;有位置检测反馈装置的是________________ 和____________________ 。
8、开环控制数控机床主要采用_______________________ 进行驱动,而半闭环和闭坏控制数控机床主要采用进行驱动。
9、数控机床中2.5轴控制是指两个轴是_________ 控制,第三个轴是_________________ 控制。
10> __________ 是指数控机床适应加工对象变化的能力。
11、________________________ __________________________ FMC 代表 ________________ , FMS 代表,CIMS 代表。
12、数控系统按功能水平的不同可分为、、三类。
二、判断题1、数控机床只适用于零件的批量小、形状复杂、经常改型且精度高的场合。
()2、对于点位控制,进给运动从某一位置到另一个给定位置的进程进行加工。
()3、一般情况下半闭坏控制系统的精度高于开环系统。
()4、轮廓控制的数控机床只要控制起点和终点位置,对加工过程中的轨迹没有严格要求。
()5、加工中心是可以完成一个工件所有加工工序的数控机床。
哈工大数控大作业完美版

第一作业调研报告 (1)1.1调研内容 (1)1.2工作量与要求 (1)1.3正文 (1)The development and application of NC machine tool servo system (2)第二作业:典型曲线数字积分法插补方法 (13)2.1目的 (13)2.2要求 (13)2.3 DDA法双曲线插补的积分表达式 (13)2.4终点判别 (15)2.5插补举例 (15)第三作业:加工中心零件加工编程 (17)3.1目的和要求 (17)3.2数控机床设备 (17)3.3加工工艺制订 (19)3.4要完成的程序编写任务 (22)《数控技术》课程(2015)大作业院(系)专业姓名学号班号任课教师完成日期哈尔滨工业大学机电工程学院2015年5月数控大作业第一作业调研报告1.1调研内容请以课堂所学习的知识为基础,自主选择课程中所涉及的任一知识点进行调研。
可以调研知识点的发展脉络,也可以重点介绍该知识点的发展现状、争议与未来发展趋势。
请提交交独一无二的报告1.2工作量与要求1. 报告需用英文撰写,可计算机打印,也可手写,但最后封面需手工签名。
2. 格式请参照本科生毕业论文要求(见教务处网站),总字数不少于2000字。
3.在调研报告的最后,请列出参考的主要文献(英文学术刊物上正式发表的文献不少于5篇)或网址,并在正文中标注引用。
4. 如果出现雷同,两位同学均无成绩。
1.3正文The development and application of NC machine tool servo system Since the invention of NC machine tool in 1950s, servo system has been the indispensable component of the NC machine tool. With the rapid development of new materials, electronic power and controlling system, the servo system has evolved from the step-by-step system to DC system and then to AC system. As the blossom of AC servo technology, AC servo system will replace the DC system wholly and take up the dominant position in the family of servo system.With the electronic power conversion unit as actuator and controller as c ore , Servo system which contains the servo driver and servo motor const itutes the main part of the electric-driving and automatic control system . When working, firstly the servo system willreceive the signal from NC devices, and then drive the motion of machine tool as well as ensure the accuracy and speediness of movement under the guidance of pulse command . Usually, precision and speed of t he NC machine tool and other technical indicatorsmainly depend on the servo system itself1.The improvement and assortment of NC servo systemAt present, engineers tend to assess the quality by reference to several im portant indicators, such as precision, speed and so on. Therefore, a NC se rvo system must meet these requirements.High precisionUnlike the traditional manufacturing which can be manually handled to r egulate and compensate errors, the NC servo system has a high demand o n positioning accuracy and repeated positioning accuracyQuick repose characteristicQuick response is one of important indicators of servo system’s dynamic quality which requires the servo system following the command signal with minimum error as well as quick repose and high stability. Once receiving the instruction of manipulator, the working machine can restore the original state of equilibrium quickly after a short regulation or a disturbance from outer space.Wide speed rangeDue to the difference in work piece materials, cutting tool and process requirements, servo system must have wide speed range, so as to ensure that the CNC machine in any circumstances can get the optimal cutting condition. Thus the machine tool can satisfy the requirement of high speed machining as well as the requirement of low speed feed.The speed range is generally larger than 1 to 10000. when the machine is working in a low cutting speed which ask for a larger stable torqueoutput, NC servo system must maintain a good reliability.Good reliabilitythe usage of machine tool is frequent, usually with 24 hours' continuous work, so the servo system must have good working reliability. Servo system of NC machine tool can be divided into open loop control system and closed loop control system according to the presence of feedback test components. Drive control Unit transforms feeding instructions to perform signal needed by actuator, and then actuator convert this signal into mechanical displacement.In Open loop control system, there is no feedback detecting components and comparing control links. On the contrary, these are essential part of a closed-loop control system.The composition of servo systemServo system can be classified into the feed drive system and the spindle drive system on the basis of function and usage. Besides,the NC servo system can also be sorted into open loop control system and the closed loop control system in light of the presence of feedback detecting element.In addition, according to the difference of actuators, servo system can be divided into stepping servo system, dc servo system and ac servo system.Stepping servo systemBefore the 1960 s,the stepping servo system is based on step motor driven hydraulic servo motor or characterized by power steppingmotor as direct drive,and servo system uses open-loop control. Stepping servo system works with the pulse signal, and its speed and turning Angle depends on the frequency or the number ofInstruction pulses.Because there is no testing and feedback loop, the precision of the stepper motor step depends on the step angle, the accuracy of the gear transmission clearance and so on, its accuracy is low. stepping motor is easy to appear vibration phenomenon when working in the low frequency,and its output torque decreases with increment of speed. Because the stepping servo system is the open loop control, step motor in the start of machine with the over-high frequency or large load shows"lost" or "blocked" phenomenon and prone to appear phenomenon of high speed overshoot in the braking of the machine tool. At the same time, step motor speed accelerating from 0 to working speed requires longer time and slower speed response. But because of its simple structure, easy adjustment, and good working reliability and the low prices, the stepping system is a good choice in many many occasions of low occasions.Dc servo systemAfter 60 and 70 s, most of numerical control system adopts dc servo system. Dc servo motor has a good wide range speed performance, large output torque, and strong overload capacity. servo system also has evolved from open loop control into closed-loop control, thus in the industry as well as its related fields gains the more extensive or aboard application. However, with the rapid development of modern industry, the corresponding equivalents such as precision CNC machine tools, industrial robots make higher and higher requirements to the electrical servo system, especially the precision, reliability and other performance.The traditional dc motor uses a mechanical commutator, faced up with many problems in the application process, such as brush and commutator wear easily, maintenance work is heavy and the cost of it is high. Commutator reversing would produce sparks, the maximum speed of the motor and the application environment is limited;Dc motor has a more complex structure, higher cost,and prone to interfere other devices'work.Ac servo systemThe existence of these problems, limiting the dc servo system in high precision, high performance requires the application of servo driveoccasion.Because hard-overcoming weakness of dc motor, people have been seeking the development of ac servo motor to replace the dc motor whose advantage is limited by mechanical commutor and brush to satisfy the needs of various application fields, especially in the field of high precision and high-performance servo drive .But because the ac motor has strong coupling, nonlinear characteristics, so control is very complete and the high-performance application has been limited. Since the 1980 s, with the boom of the new technology such as electronic electricity, the modern control theory, and the breakthrough in the field of vector control algorithm, the original problems of AC motor which has bothered so many engineers has been solved, and ac servo development faster and faster.The characteristics of the ac servo systemIn addition to good stability, good rapidity,and high precision,servo motor system has a series of other advantages.with out the limitation of commutator circumferential speed and armature reactance potential numerical element, the speed limit ofAC motor can be design higher than DC motor in the same given motor. with a wide range of speed regulation, the most ac servo motor speed ratio can reach 1:50000,and high-performance servo motor speed ratio can even amount to ver 100000. Meet the numerical control machine tooldrive, wide speed range and small static rate request.good torque speed characteristicAC motor as the constant torque output, i.e. within its rated speed output rated torque, in for a constant power output above the rated speed.And torque overload capacity, can overcome the inertia moment of inertia load moment at start-up.Meet the machine tool servo system, large output torque, good dynamic accordingly, high positioning accuracy demands.The research status of domestic ac servoAc servo system consists of the ac servo system based on asynchronous motor and the ac servo system on the base of synchronous motor.At present machine mainly adopts a permanent magnet synchronous ac servo system.In the field of ac servo research, the Japan, the United States and Europe are in the forefront.In the mid 1980s, Japan yaskawa company has successfully developed the world's first ac servo drive.Then F ANUC, Mitsubishi, Panasonic and other companies have launched their own ac servo system. Most of these products from aboard companies are based on the asynchronous motor. However,domestic institutes has set up late in ac servo system with asynchronous motor,and so far there are still no products available. Many domestic researchers put much importance on the research of permanent magnet synchronous motor servo system. Huazhong university of science and technology, Beijing machine toolresearch institute, xi 'an micro motor research institute, shenyang institute of automation of Chinese academy of sciences, lanzhou electric factory etc have started out in the research of AC servo system and are expected to launch their own products. DA98 all-digital ac servo drive unit from guangzhou NC manufacturing company has already knock at the door of high-precision servo driver industry in our country, broken the monopoly of foreign countries , and initiated a new era belonging to our national brands.Ac servo signal and numerical control system interface have three different modes, which can also divided into three stages.Domestically, Guangzhou CNC DA98 which belongs to the first generation and is also a epoch-making servo drive, at the same time, it is first all-digital domestic ac servo drive unit, pulse command it accept direction. The second generation is EDB series delegated by Aston, it can not only accept pulse command signal, but also receive the signal from the speed control and torque control analog input.The third generation is networked ac servo worked servo system is the organic combination of industrial field-bus technology and full digital ac servo,which enables users to adjust the parameters according to load conditions and saves some unstable factors such as drift produced by analog circuits. Based on field bus network control technology,the servosystem the microprocessor and field bus interface in all type ac motor servo drive, form independent of intelligent digital servo control unit, it directly connected to the industrial field bus, it formed a new type of network control system based on field-bus.Reduced the number of hardware and the attachment, the structure of intelligent units on independent, to the outside world and realize data sharing between each other, but also can use other field control equipment, easy to extend.So far, the network communication server product in domestic has not yet mature.Robotics institute of Beijing university of aeronautics and astronautics development design a network based on DSP + FPGA + ASIPM ac servo control system, the principle prototype has been got preliminary validation of the three-dimensional carving machine. currently, the most server drive adopt high-speed DSP processors,which promote the movement of all kinds of advanced control algorithms in the use of new type of drive. Mostly, suppliers of servo system employ the structure of DSP + CPLD (FPGA) on the hardware. Because the DSP and CPLD (FPGA) can repeat programming,they are easy to realize modular re-configurable of the ac servo system.As long as the software for corresponding different system configurations, including the control algorithm can control and asynchronous motor, permanent magnet synchronous servo motor, brush-less dc motor, and through the reconfiguration of FPGA can also drive dc motor and three phaseinduction of stepping motor.It's for NC machine tool upgrade and innovation has left a lot of space.The development tendency of ac servoWith the constant improvement of productive forces, the ac servo system will be sophisticated in the direction of the integration, intelligent and network .integrationBy using a single and multi-function control unit, the servo system can achieve position control and speed control function through the setting of software and constitute a half closed loop feedback unit configuration or full closed loop control system of high accuracy through the external interface composition.intelligentServer intelligent control mode, such as internal programming can achieve a certain trajectory in advance and control the surrounding IO port as well as the adjustment of master-slave's following with electronic CAM, etc.networkServer implementation is distributed by network.The server's modulation could be reconstructed with low cost .conclusionThe modern NC machine tool is developing rapidly in the direction ofhigh speed and high precision.As the essential component of the NC machine tool,servo system has gradually equated to ac servo system which has several incomparable advantages compared with other servo systems. With the progress of the ac servo technology, it will gradually replace dc servo system overall.[参考文献][1]Tryling, David P.Simple servo uses.ProQuest Journal,2009.[2]J. Cao ;Z.W. Li ;Z.X. Meng.Development Of A Nc Servo System Based On Fuzzy Adaptive Control.Key engineering materials,2009.[3]Fusaomi&Nagata.Development of CAM system based on industrial robotic servo controller without using robot languag.Robotics andComputer Integrated Manufacturing,2013.[4]Mulan Wang Kaiyun Xu Chuan He Lei Zhou.Research on Servo System for CNC Machine Tool Driven by Permanent Magnet Synchronous Torque Motor.Materials Engineering and Automatic Control,2012[5]Xu, Kaiyun Li, Ning Lin, Jian He, Chuan.Development of linear servo control system for CNC machine tool based on DSP.International Conference on Mechatronic Science, Electric Engineering and Computer,2011第二作业:典型曲线数字积分法插补方法2.1目的数字积分插补方法是实现数控插补功能的重要方法之一。
数控中DDA插补的原理详解

∑
i =1
∑
NOTE: NOTE: 插补开始时, x=0, y=0; 1)插补开始时,∑x=0,∑y=0; 被积函数寄存器分别寄存X 一直不变) 被积函数寄存器分别寄存Xe和Ye(一直不变) 插补开始后,每隔一个时间间隔△ 2)插补开始后,每隔一个时间间隔△t ,被 积函数的内容与各自的累加器中的内容相加 一次, 一次,相加后溢出的脉冲做为驱动相应坐标 轴的进给脉冲, 余数仍寄存在累加器中。 轴的进给脉冲,而余数仍寄存在累加器中。 被积函数寄存器中的数可用二进制位表示: 3)被积函数寄存器中的数可用二进制位表示: 由高到低), 2n-1、……20。(由高到低),也可用十进制 2 。(由高到低),也可用十进制 数表示。 数表示。 4)当累加出现>2N项时,则表示溢出脉冲。 当累加出现>2 项时,则表示溢出脉冲。
∑ ∑
∑ ∑
例3:当函数寄存器位数N=3,对第一象限直 当函数寄存器位数N=3, N=3 OE进行DDA插补 起点( 进行DDA插补, 线OE进行DDA插补,起点(0,0), 终点E ),写出插补过程并画出插补轨 终点E(5,3),写出插补过程并画出插补轨 迹。 解: 1)基本参数 N=3,则累加次数m=2 =8, N=3,则累加次数m=23=8, =5, Xe=5,Ye =3, ∑x=000, ∑x=000,∑y=000 。
t 0 i =1 n
n
y = ∫ k y e dt = ∑ k y e ∆t
t 0 i =1
取单位时间 Δt=1,则公式化为
x = k ⋅ ∑ xe i =1 n y = k ⋅ y ∑ e i =1
n
插补公式
平面直线的插补运算框图
累加多少次,才能到达加工终点呢?m=? K=? 累加多少次,才能到达加工终点呢?m=? K=?
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
三,插补器的结构框图
dɵ
X
b/adyຫໍສະໝຸດ Y -1a/bdx
图 2.2 插补器的结构框图
四,DDA 法椭圆插补的终点判别
每次累加后,用 ������、 ������与椭圆终点坐标值作比较,当某个坐标轴到终点,该 轴不会有脉冲发出,当两个坐标轴都到达终点时,插补结束。
4
数控技术(双语)课程作业——题目 3
五,DDA 法椭圆插补实例
设已知椭圆方程为25 + 26 = 1,插补起点 A(5,0),插补终点 B(0,4),逆时针加 工,用 DDA 法插补此段圆弧。 根据上述插补方法,设寄存器整数部分占 4 位,小数部分占 4 位,共 8 位, 慢 8 溢出,则插补过程如表 2.1。
数控技术(双语)课程作业要求
目的:
数字积分插补方法是实现数控插补功能的重要方法之一。除平面直线和圆弧 外,数字积分法法也可以实现多坐标插补联动以及描绘如二次曲线甚至高次曲线 等各种函数曲线,精度也能满足要求,在一些专用数控机床和高档数控系统中得 到了广泛的应用。因此,深入理解数字积分插补方法是掌握数控加工知识的重要 内容之一。
������ =
0
������ ������
������������������ =
1 2������
������ =1 ������
������ =1
3
数控技术(双语)课程作业——题目 3
二,椭圆插补的步骤
1,插补运算开始,x 轴、y 轴的被积函数分别存放其初值(分别为������ ������、������ ������) , 总步长分别为 ������������ − ������������ 、 ������������ − ������������ ; 2,x 轴累加器得到的溢出脉冲发向-x 方向,y 轴累加器得到的溢出脉冲发送 到+y 方向; 3,某一轴发出一个进给脉冲后,须将该轴被积函数的坐标轴修正,即当 x 轴 方向发出进给脉冲时 y 轴的被积函数的 x 值减 1 后乘以������ ,当 y 轴方向发出进给脉 冲时 x 轴的被积函数的 y 值加 1 后乘以 。
Y 积分器 Y终 ������������������ (������������ ) 101 101 101 101 101 101 101 100 100 011 011 010 010 001 001 000 101 101 101 101 101 101 101 101100 100 100011 011 011010 010 010001 001 001000
所以,从 Pi 到 Pi+1 的坐标增量为 ������ ������ Δ������ = − ������������������ = −������ ������������������ ������ ������ ������ ������ Δ������ = ������������������ = ������ ������������������ ������ ������
一,DDA 法椭圆插补公式的推导
图 2.1 DDA 椭圆插补原理示意图
椭圆的方程: ������ 2 ������ 2 + = ������ ������2 ������ 2 椭圆的参数方程: ������ = ������ cos ������ ������ = ������ sin ������ 在第一象限内加工一段椭圆曲线, 起点为 PA, 终点为 PB, 当前点 Pi 的坐标为 ������������ , ������������ , 经过某个参数角Δθ后,下一个点 Pi+1 的坐标为 ������������ +1 , ������������ +1 。对参数方程微分可得 ������ ������������ = −������ sin ������ ������������ = − ������������������ ������ ������ ������������ = ������ cos ������ ������������ = ������������������ ������
表 2.1 DDA 法插补椭圆实例过程
������ 2 ������ 2
运算 次序 0 1 2 11 3 4 5 6 7 8 9 10 11 12 13 14 15 ������������������ (������������ ) 000
X 积分器 X终
������������������ ( ������������ )
《 数 控 技 术 》 课 程 ( 2015 ) 大作业
院(系) 专业 姓名 学号 班号 任课教师 完成日期
机电工程学院 机械制造及自动化 段泽军 1120810810 1208108 付云忠 2015 年 5 月 5 日
哈尔滨工业大学机电工程学院
2015 年 5 月
题目二:典型曲线数字积分法插补方法
要求:
试参照直线和圆弧 DDA 插补方法,推导椭圆曲线(������������ + ������������ = ������)的 DDA 法 插补公式,要求有完整的推导过程,画出插补器的结构框图,讨论终点判别方法, 并给出一个插补过程实例。
������������ ������������
数控技术(双语)课程作业——题目 3
6
������������������ ( ������������ )
ΔX 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1
ΔY 0 0 1 0 1 0 1 0 1 100 100 011 011 010 010 001 001 000
000 000 000 001 010 100 110 001 100 000 100 000 100 000 100 000
000 101 010 111 100 001 110 111 001 停
000 000000 001001 001 001010 010 010011 011 011100 100 100 100 100 100 100 100
5
数控技术(双语)课程作业——题目 3
图 2.3 椭圆插补加工轨迹
设累加器为 n 位,则k = 2������ ,得椭圆的插补公式为:
������
1
������ =
0
1 − ������������������ = − ������ ������ 2
������
������
������
������ ������ ������ ������
������������ ������ ������������ ������