摘要
在当前生产中的许多机械设备中均需要精密定位,而其中的三维精密定位工作台作为关键部件将直接影响其整机的性能和精度。为保证机器性能,工作台要在X方向和Y方向实现快速准确的定位,并且要求在Z方向能够实现精确调整和定位,要实现快速和准确定位,必须对工作台进行改装,使用步进电机和控制卡。本文设计的工作台就是基于单片机控制的三维数控工作台。
本次研究的课题的主要内容包括:充分利用实验室中废旧的二维工作台,通过对硬件诸如直线导轨,深沟球轴承,滚珠丝杠,步进电机等的选择并对零件的整体连接结构进行设计从而组装出一台可运转的三维工作台;利用三维建模软件对所选择的工作台的各部分零件进行建模,装配,并对装配好的三维工作台实现运动仿真;利用VB语言对插补程序进行软件设计;需要完成对三维工作台的控制系统的设计,主要包括对开闭环的选择,对80C51单片机功能的充分认识并编写控制程序,充分理解、学习插补技术在三维数控工作台中的应用。
通过上述研究内容,我们可以的到一台经济,实用,精密度较高的三维数控工作台,通过与普通工作台的比较,我们可以从中得出插补技术对于数控工作台的影响。可以说将插补技术应用到现代数控加工已经是一个不可逆转的趋势,因此本课题具有很高的研究价值。
关键词 数控系统;三维工作台;单片机;插补技术
Design and development of 3D NC workbench
Abstract
To study the influence of the parameters of open NC servo feed systems and spatial geometry error on the precision and find methods to realize the high precision control of numerical control (NC) system, the development of the control system of a two-axis NC worktable ,consisting of ball screws and linear roller guides, was presented in this thesis. The system is based on an open architecture PMAC (Programmable multi-Axis controller) motion control card to realize real-time control. Some experiments concerning control test and error measurement and analysis can be carried out on the designed worktable. At first, the configuration of control system of the 3D NC worktable Was proposed ,and its software was developed. Modular software development concept featured the system design, which includes the following modules: machining position and speed sampled display module; file management module; parameters setting module; error diagnosis module; precision analysis module; manual debugging module; machine simulation module; help module.
As one of focuses, the error measurement and precision analysis of the worktable were emphasized in the development of the system software. Series of experiments about system control and precision were made on the worktable. The precision characteristics of the half-loop and closed-loop position feedbacks were analyzed. Through comparing the theoretical analysis with the data collected from experiments ,a conclusion has been drawn that the smallest contour error will be got if the two axes have the same servo characteristics. The ball-bar ,which is considered to be more reliable than linearscales in measuring contour error, was used to measure the circular motion of the system. The experiment result showed that the contour error of the system was big .By analysis of the error source based on a mathematical model of the measuring system proposed in this thesis, it was found that it was the installation inclination of linear scales that caused so big error. By compensating the error with the measured result by the ball-bar ,the precision of the control system had been improved.
Keywords Numerical Control System;three-dimensional NC workbench;SCM;Interpolation technique;
目录
摘要 I
Abstract II
第1章 绪论 1
1.1课题研究的意义 1
1.2课题研究的现状 1
1.3课题研究的主要内容 2
第2章 三维数控工作台的硬件选择及连接结构 3
2.1三维数控工作台的工作原理介绍 3
2.2三维数控工作台的基本结构 3
2.3步进电机的选择 4
2.4丝杠的选型与校核 5
2.4.1滚珠丝杠的简单介绍 5
2.4.2滚珠丝杠的选型 7
2.4.3滚珠丝杠的校核 8
2.5直线导轨的选型与计算 9
2.5.1直线导轨的简单介绍 9
2.5.2直线导轨的选型 10
2.6联轴器的选型 12
2.6.1联轴器的简介 12
2.6.2联轴器的选型 13
2.7轴承选型 14
2.8本章小结 16
第3章 三维数控工作台的Pro/E三维建模 17
3.1 Pro/E建模软件简介 17
3.2 Pro/E界面介绍 17
3.3零件三维建模实例介绍 18
3.3.1新建文件 18
3.3.2建立拉伸特征 19
3.3.3建立螺旋特征 20
3.3.4建立螺母副特征 20
3.3.5进行颜色和外观设计 21
3.4其余零件三维建模图展示 22
3.5三维数控工作台装配 23
3.6本章小结 25
第4章 三维工作台的软件及控制系统设计 26
4.1逐点比较法直线插补的简介 26
4.2逐点比较法直线插补的计算步骤 26
4.3数控插补仿真软件的说明 29
4.4开环系统控制原理 30
4.5单片机设计 30
4.6本章小结 35
结论 36
致谢 37
参考文献 38
附录一 39
附录二 49
第1章 绪论
1.1课题研究的意义
目前在多种机械设备中均需要精密定位,而其中的三维精密定位工作台作为关键部件将直接影响其整机的性能和精度。为保证机器性能,工作台要在X方向和Y方向实现快速准确的定位,并且要求在Z方向能够实现精确调整和定位,要实现快速和准确定位,必须对工作台进行改装,使用步进电机和控制卡。插补技术是数控技术中的核心技术,它的好坏直接影响着数控加工精度进而影响数控加工技术的优劣,是目前数控技术急需提高、完善的环节之一,而插补算法的选择直接影响到数控系统的加工精度和速度。而本实验充分利用实验室中废旧的二维工作台,并进行导轨,丝杠,电机,轴承等选型,在其基础之上搭建成三维工作台,实现对插补仿真技术的应用研究,这样既节约了成本实现了废物回收再利用,又兼顾了插补技术的研究,因此具有十分广泛而重要的现实意义