adams环境下工业机器人运动控制毕业论文.doc
adams环境下工业机器人运动控制毕业论文,adams环境下工业机器人运动控制毕业论文摘 要虚拟样机技术就是在建造第一台物理样机之前,设计师利用计算机技术建立机械系统的数字化模型,进行仿真分析并以图形方式显示该系统在真实工程条件下的各种特性,从而修改并得到最优设计方案的技术。adams软件是目前国际上应用最为广泛的虚拟样机分析软件,用户可以运用该软件非常方便地对...
内容介绍
此文档由会员 csfujixie 发布ADAMS环境下工业机器人运动控制毕业论文
摘 要
虚拟样机技术就是在建造第一台物理样机之前,设计师利用计算机技术建立机械系统的数字化模型,进行仿真分析并以图形方式显示该系统在真实工程条件下的各种特性,从而修改并得到最优设计方案的技术。
ADAMS软件是目前国际上应用最为广泛的虚拟样机分析软件,用户可以运用该软件非常方便地对虚拟机械系统进行静力学、运动学和动力学分析。但针对复杂的机器人机械系统,要想准确的控制其运动,仅依靠ADAMS软件自身也很难做到;MATLAB软是Mathworks公司开发的一种集计算、图形可视化和编辑功能于一体的优秀数学应用软件,具有强大的计算能力,能够建立复杂的控制模型准确控制复杂机器人系统的运动;OpenGL(开放式图形库全称)是SGI公司开发的底层三维图形API,目前在图形开发领域已成为工业标准。使用OpenGL可以创建视觉质量接近射线跟踪程序的精致漂亮的3D图形。Visual C++ 6.0已经成为集编辑、编译。运行、调试为一体的功能强大的集成编程环境,在Windows编程中占有重要地位。OpenGL和Visual C++ 6.0有紧密接口,利用二者可以开发出优秀的视镜仿真系统。ADAMS、MATLAB和Visual C++ 6.0由于定位不同,都有各自的优势和缺点,但是三者之间又可以通过接口联合控制或者混合编程。本文分别利用ADAMS对三自由度机器人的运动学和轨迹优化方案进行研究,利用Visual C++ 6.0、OpenGL和从MATLAB里导出的控制模型的数据对三自由度机器人进行了视景仿真的研究。
论文首先通过建立坐标系和矩阵变换,对刚体的空间表示进行了阐述,然后采用通用的D-H法则,将机器人关节角度参数化,推导出其正运动学方程和逆运动关节角,并计算出机器人手部的初始坐标。其次采用ADAMS软件,详细介绍了机器人三维建模过程,包括整体框架构建,单个构件绘图和布尔运算等,并对机器人关节点进行了参数化设计。最后从机器人轨迹规划的基本原理和方法出发,比较分析了关节空间轨迹规划和直角坐标空间轨迹规划的差别,并采用三次多项式和五次多项式对机器人进行了轨迹规划,利用ADAMS软件中内嵌的Step函数对运动轨迹进行了仿真分析。然后在Windows XP Professional的系统环境下,以Visuall C++6.0为开发工具,建立了三自由度机械手视景仿真系统模型,实现了仿真系统对MATLAB控制模型导出数据的读取和利用。
关键词:运动学 轨迹规划 ADAMS虚拟样机技术 视景仿真 纹理映射
Abstract
Before manufacturing the first physical prototype, the designers used computer technology to build a mechanical system of digital model for analysis simulation, which showed that the system works in real conditions of the various characteristics, so as to be revised and Optimal design. This process is called Virtual prototyping technology.
Now ADAMS software is widely used in virtual prototyping analysis in the world, it is very convenient for the user to use this software ot do the statics, kinematics and dynamics analysis for the virtual machine system.But to the complicated robot mechanical system,it is also very hard to do the accurate control of its movement only rely on ADAMS software itself ;MATLAB is one of the outstanding mathematics application software integrating calculation, graphical visualization and editing functions developed by the Mathworks company , and it has strong ability in complex calculation, being able to create the control model to do accurate control of the robot system's complicated movement . OpenGL(the full name of Open graphics libraries) is a 3D graphics Application Programming Interface in the bottom,now having been the industry standard in the area of graphics developing.You can create delicate and beautiful 3D graphics using OpenGL,whose visual quality is close to ray tracing program . Visual C + + 6.0 has become powerful integrated programming environment with editing, compiling. Operating and debugging, and occupies an important position in the Windows programming. Visual C + + 6.0 and OpenGL has close interface, using them we can develop good endoscopic simulation system. Because of the different due , ADAMS, Visual C + + 6.0 and MATLAB have their own respective advantages and disadvantages, but we can also do the joint control or mixing programming through the interface between the three.In this paper, the author do research tokinematics and track optimization scheme of 3-dof robot based on ADAMS , also do the Visual simulation research of 3-dof robot using the data of the control model derived from the MATLAB based on Visual C + + 6.0 and OpenGL.
First of all, through the establishment of coordinates and matrix transformation, the rigid body of the space that was elaborated, and then use the D-H rule, Robot parameters of the joint were gained, equations of motion were given, and the joints angle were known , initial coordinates of Robot hand can be calculated. Followed by ADAMS software, we processed details of the robot three-dimensional modeling, including the overall framework for building, mapped a single component and Boolean operation, designed parameters for the robot and the key points. Finally, we introduced the basic principles and methods of robot trajectory planning, and compared differences between the joint space trajectory planning and rectangular coordinates space trajectory planning. the cubic polynomial and five polynomial of the robot trajectory planning were carried out, the Step function were used on a trajectory simulation analysis of ADAMS software.Then in Windows XP system environment, using Visual C + + 6.0 as development tool, the author establish a 3-dof manipulator visual simulation system, realizing the accessing and using to the data of control model derived from MATLAB .
Key words: kinematics trajectory planning ADAMS virtual prototyping technology Visual simulation Texture mapping
目 录
第一章 绪论 1
1.1工业机器人的发展现状 1
1.2 虚拟样机技术简介 1
1.2.1 虚拟样机的定义和特点 2
1.2.2 研究现状和发展趋势 2
1.4 本文要研究的主要内容 4
第二章 机器人运动学 5
2.1 空间点和坐标系的表示 5
2.1.1 空间点的向量表示 5
2.1.2坐标系在固定参考坐标系中的表示 6
2.2 坐标系的变换 6
2.2.1 齐次变换 6
2.2.2 坐标系相对于旋转坐标系的变换 10
2.2.3 变换矩阵的逆 10
2.3 机器人的正逆运动学 11
2.3.1正运动学的D-H表示法 12
2.3.2逆运动学方程的求解 15
2.4 微分运动 16
第三章 基于ADAMS的机器人的虚拟样机分析 18
3.1 ADAMS概述 18
3.2 ADAMS中机器人模型的建立 18
3.2.1 设置建模环境 19
3.2.2机器人实体建模 19
3.2.3 机器人模型的设置 20
3.3 轨迹规划仿真分析 21
3.3.1 轨迹规划方法的理论分析 21
3.3.2 轨迹规划仿真分析 27
第四章 基于模型的视景仿真系统的设计与实现 32
4.1 OpenGL概述 33
4.1.1 OpenGL工作方式 33
4.1.2 OpenGL绘制过程 34
4.2 机器人三维可视化框架建立 35
4.2.1 利用MFC建立单文档应用程序框架 35
4.2.2 设置OpenGL绘图环境 37
4.3 机械手三维模型的建立 40
4.3.1 导入机械手模型 40
4.3.2 在OpenGL中建立机械手的模型 41
4.4 建立仿真场景 44
5.4.1 纹理贴图的实现 45
4.4.2 设置光照 48
4.5 基于模型的视景仿真的实现 51
4.5.1 数据的读取 52
4.5.2 利用读取的数据控制机械手的运动 55
4.5.3 实现观察视角的交互式键盘控制 60
结论 63
致谢 65
附录 66
参考文献 73
实习报告 74