摘要
随着离心机在各个领域中的应用越来越广泛,在化工、石油、食品及制药等关键领域也起到重要的作用。随着现在科技的快速发展,用户越来越看重产品的性能,这也导致了离心机产业出现了许多序列化的产品以适应各个领域的需求。而现在参数化设计技术在机械领域已经有了极大的发挥,对于序列化的离心机产品,采用参数化设计的方法能够大大缩短产品的生产周期,这样就可以缩短开发周期,极大的提高企业的竞争力。
本文以一种型号的离心机为例,建立离心机的三维柔性系统。研究内容主要包括有离心机的主要零部件的参数化建模以及整机的自动装配。首先利用模块化设计理论和参数化设计原理对离心机主要零部件及子装配体进行参数化建模,以SolidWorks
2020作为平台,使用Visual Basic 6.0作为编程语言,利用SolidWorks API接口函数对SolidWorks进行二次开发,实现了离心机主要零部件的参数化设计,然后采用自底向上的设计思想,完成离心机整机的自动装配。
关键词:离心机;参数化设计;SolidWorks二次开发;自动装配
Abstract
With the application of centrifuge in various fields more and more widely, it also plays an important role in key fields such as chemical industry, petroleum, food and pharmacy. With the rapid development of science and technology, users pay more and more attention to the performance of products, which also leads to a lot of serialized products in the centrifuge industry to meet the needs of various fields. Now parametric design technology has played a great role in the field of machinery. For serialized centrifuge products, the use of parametric design method can greatly shorten the production cycle of products, which can shorten the development cycle and greatly improve the competitiveness of enterprises. Taking a type of centrifuge as an example, a three-dimensional flexible system of centrifuge is established in this paper. The research content mainly includes the parametric modeling of the main parts of the centrifuge and the automatic assembly of the whole machine. First of all, the main parts and sub assemblies of centrifuge are parameterized by using modular design theory and parameterized design principle. SolidWorks 2020 is used as platform, Visual Basic 6.0 is used as programming language and SolidWorks is used as programming language API interface function is used to redevelop SolidWorks and realize the parametric design of main parts of centrifuge. Then, the bottom-up design idea is used to complete the automatic assembly of centrifuge.
Key words: centrifuge; parametric design; secondary development of SolidWorks; automatic assembly
目录
第一章绪论----------------------------------------------------------1
1.1离心机的发展概述与特点--------------------------------------------1
1.1.1离心机的发展概述----------------------------------------------1
1.1.2离心机的工作原理----------------------------------------------1
1.2国内外的研究现状--------------------------------------------------2
1.2.1机械CAD技术概述----------------------------------------------2
1.2.2离心机设计的国内外现状----------------------------------------3
1.3课题研究的意义----------------------------------------------------4
1.4课题研究的内容与方法----------------------------------------------5
第二章系统开发的基本理论-----------------------------------------6
2.1模块化理论和系统模块划分------------------------------------------6
2.2参数化建模技术----------------------------------------------------9
2.2.1参数化设计----------------------------------------------------9
2.2.2三维设计平台SolidWorks--------------------------------------10 2.3本章小结---------------------------------------------------------11第三章离心机的三维柔性设计-------------------------------------12
3.1 SolidWorks二次开发-----------------------------------------------12
SolidWorks二次开发技术12
SolidWorks二次开发方法14
Visual Basic与SolidWorks2020的连接16
3.2 SolidWorks宏录制技术---------------------------------------------18
3.2.1宏的定义-----------------------------------------------------18
宏录制技巧18
宏录制步骤20
3.3离心机柔性设计系统的三维柔性设计---------------------------------20
3.3.1自顶向下和自底向上的设计方法21
3.3.2零部件的三维参数化建模21
5.1离心机的自动装配22
5.1.1自动装配技术22
5.1.2自动装配的方法23
5.1.3自动装配方案24
3.5本章小结---------------------------------------------------------25
第四章人机交互界面设计---------------------------------26
4.1界面设计原则-----------------------------------------------------26
4.2 Visual Basic 6.0编程语言----------------------------------------26
4.3系统界面设计-----------------------------------------------------28
4.4本章小结---------------------------------------------------------32
第五章离心机三维柔性系统设计与程序展示33
4.1系统研究的目标33
4.2系统结构和系统工作流程33
5.2.1系统结构-----------------------------------------------------33
5.2.2系统工作流程-------------------------------------------------34
5.3程序展示---------------------------------------------------------34
3.4.1环境搭建程序34
3.4.2新零件重建程序34
3.4.3离心机自动装配程序36
5.4本章小结---------------------------------------------------------38
第六章结论与展望--------------------------------------------------39
6.1全文总结---------------------------------------------------------39
6.2展望-------------------------------------------------------------39
致谢-----------------------------------------------------------------41
参考文献42
第一章绪论
3.3离心机的发展概述与特点
3.3.1离心机的发展概述
随着科技的不断进步,离心机也随着各个行业的飞速发展而得到了广泛应用,目前离心机大量应用于化工、石油、污水处理、食品、制药等关键领域且发展迅猛,为了满足不同行业的各种需求,离心机也应运而生了各种各样的类型,主流的产品主要有三足式离心机、台式离心机、卧式离心机、以及碟式分离机等等。其中卧式螺旋卸料沉降离心机是整个离心机行业应用最为普遍的一种机型,这种机型结构简单,功能能够满足使用着的日常需求且价格便宜,常常用于工业上的污水分离、生活中的食品脱水以及煤油的净化与提纯。但是任何行业要想持续发展都必须得跟的上时代的进步,这就要求企业不断的创新,更新核心技术,才能缩小与国外离心机设备之间的差距。未来离心机的改善必然离不开产品机械结构的改进以及提高产品自动化的程度,这样才可以提高离心机整体性能,并能为用户提供更加便捷的服务。