平面连杆机构三维可视化运动分析与仿真
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
机构分析与仿真是机械原理教学的重要内容,其中连杆机构的运动分析是难点与重点。采用线条状的机构简图进行机构仿真,虽然减少了编程实现难度,但是实现的机构仿真缺乏三维真实感。
     本文叙述了平面连杆机构运动分析和可视化仿真的理论算法及其编程实现方法,基于微机VC平台,采用OpenGL图形库编程,利用面向对象的方法对机构进行功能封装,利用VC++的文档视结构作为最基本的窗架,生成并控制三维绘制类、文档类、主窗口类和一些辅助类,利用WINDOWS平台的消息映射、事件驱动来组织程序运行和响应用户反馈,利用机构分析得出坐标数据驱动OpenGL库绘制三维机构图形。利用模型变换、光照、材质、颜色、帧缓存、显示表等OPENGL函数,采用基本构件图元组装技术实现高度真实感的连杆机构可视化运动仿真。
In this paper,to improve the course teaching of mechanism theorem,a visual analysis and simulation program of planar linkage in three dimensional space has built up. Based on VC and OpenGL software platform,as a part of integrate planar mechanism analysis and simulation CAI,the mechanism theory has been adopted to analysis the movement trace and profile of linkage;adopt oriented object method to capsulate the class module. Each corresponding class module complete parameter storage and process;adopt message-map,message-trigger to organize the programming and response the user' s input;use the document-view structure of the visual VC++ MFC class foundation as the basis of the programming architecture to complete those functions. Use oriented object method to product the following class module:control class,render class,document class,mechanism class and other classes;adopt OpenGL library to draw the three dimensional graph based on the result of mechanism analysis;use model transforming,lighting,material,color
    ,frame-buffer,display-list,graphics-component combine etc to draw the three-dimension mechanism and make the simulation of linkage has high reality.
引文
[1] 孙波,OPENGL编程实例,北京大学出版社,2001年
    [2] VISUAL C++类库参考详解清华大学出版社,1999年
    [3] 谢泗淮,机械原理,西南交通大学出版社,1992年
    [4] 黄锡恺、郑文纬,机械原理,人民教育出版社,1981年
    [5] 王知行、李建生、王哲,机械CAD与仿真技术,哈尔滨工业大学出版社
    [6] 陈元琰、张晓竞,《计算机图形学实用技术》,科学出版社,2000年9月
    [7] 孙家广、杨长贵,《计算机图形学》(新版),清华大学出版社,1998年3月
    [8] 清源计算机工作室,《3DSMAX设计宝典》,机械工业出版社,1999年6月
    [9] 齐东旭、马华东、李华山等,《计算机动画原理与应用》,科学出版社,1998年
    [10] 尚红林、李向前,《3DSMAX基础与使用》,人民邮电出版社,1997年8月
    [11] 易军,平面机构运动分析与仿真,西南交通大学毕业设计,2001年6月
    [12] 于洋,内燃机车化油器CAI开发,西南交通大学毕业设计,2001年6月
    [13] 肖世德,机构分析与综合(英文),西南交通大学讲义教材,1994年11月
    [14] 王国彪,机械优化设计方法微机程序与应用,机械工业出版社,1994年
    [15] 杜长龙、肖世德,液压支架计算机辅助分析与设计,中国矿业大学出版社,1997年

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700