当前位置:文档之家› (完整版)逐点比较法插补程序程序设计与模拟毕业论文

(完整版)逐点比较法插补程序程序设计与模拟毕业论文

大连民族学院本科毕业设计(论文)逐点比较法插补程序程序设计与运行模拟学院(系):机电信息工程学院_____专业:机械设计制造及其自动化__学生姓名: _________指导教师:李文龙 __________评阅教师:_________________________完成日期:_________________________大连民族学院摘要在数控编程时,一般仅提供描述该线形所必须的相关参数,但为了满足几何零件尺寸精度要求,必须在刀具(或工件)运动过程中实时计算出满足线形和进给速度要求的在起点和终点之间的若干中间点,所以就有了插补。

本设计主要阐述了逐点比较法的基本原理,在四个象限直线、圆弧插补的插补原理以及如何实现。

重点研究了逐点比较法的基本算法,控制程序的原理框图,对逐点比较法做了详细的研究,掌握基本的G代码的内容与运用,编写插补程序,并且基于vb平台演示插补过程。

从调试结果来看,本文所提供的运算与编程能够通过简洁的“输入输出”界面,较好的实现了计算机屏幕模拟。

关键词:简易数控;逐点比较法插补;G代码;VB;计算机屏幕模拟AbstractBy-point comparison interpolation program design and runthe simulation programIn NC programming, generally only provide a description of the relevant parameters necessary for linear, but in order to meet the accuracy requirements of the geometric part size must be in the tool (or workpiece) during exercise to meet the real-time calculation and linear feed rate required at the start and some intermediate point between the endpoints, so there will be interpolated.The design is mainly explained by-point comparison of the basic principles in the four quadrants linear and circular interpolation interpolation theory and a point by point comparison of the basic algorithm, a block diagram of the control program, right by-point comparison method to do a detailed study and master the basic content and the use of G-code, write interpolation procedures, and is based on interpolation vb platform demo process.From the debugging results, provided computing and programming through simple "input output" interface, to achieve a better simulation of the computer screenKeywords:Simple numerical control; interpolation point by point comparison;G code;VB;Computer simulation on the screen目录摘要 ........................................................................................................................... ABSTRACT....................................................................................................................目录 ...........................................................................................................................1 绪论 ...................................................................................................................... - 11.1课题的背景..................................................................................................... -11.2课题的主要研究内容...................................................................................... -31.3课题的研究方案 ............................................................................................. -32 数控加工基本原理.................................................................................................... - 42.1概述................................................................................................................ -42.2数控编程内容................................................................................................. -42.3逐点比较法直线插补原理 .............................................................................. -52.3.1偏差计算公式........................................................................................ - 62.3.2插补计算过程........................................................................................ - 62.3.3终点判别 ............................................................................................... - 62.3.4不同象限的直线插补计算..................................................................... - 72.4逐点比较法圆弧插补原理 .............................................................................. -72.4.1偏差计算公式........................................................................................ - 72.4.2终点判别法 ........................................................................................... - 82.5VB基本原理 ................................................................................................... -83 逐点比较法总体方案设计 ...................................................................................... - 103.1程序设计简介............................................................................................... -103.2逐点比较法直线插补框图 ............................................................................ -113.3逐点比较法圆弧插补框图 ............................................................................ -124 逐点比较法方案的程序设计................................................................................... - 144.1逐点比较法直线插补运算 ............................................................................ -144.2逐点比较法圆弧插补运算 ............................................................................ -144.3准备功能G代码 ........................................................................................... -164.4插补界面设计............................................................................................... -165 VB调试 ................................................................................................................... - 175.1直线插补VB调试 .......................................................................................... -175.2圆弧插补VB调试 ......................................................................................... -17参考文献 .................................................................................................................... - 20附录A 直线和圆弧插补象限区分程序....................................................................... - 21致谢 .................................................................................................................... - 281 绪论1.1课题的背景数字控制简称数控,是由数字指令控制对象的一种自动控制技术。

相关主题