
CAD/CAE/CAPP/CAM
现代制造工程(ModemManufacturingEngineering)
液压泵站油箱的参数化设计研究
李延民,赵烨,韩枫钦
(郑州大学机械工程学院,郑州450001)
2016年第2期
摘要:在分析液压泵站设计现状的基础上,介绍了以VisualBasic(VB)编程软件为工具,以SolidWorks软件为设计平台,采用编程驱动进行液压泵站参数化自动设计的方法,其中涉及到API函数的调用、非标零件的参数库的建立、VB与数据库和SolidWorks的链接、油箱的自动装配和装配体工程图样的自动生成等相关技术,并通过一个卧式液压油箱的实例详细介绍参数化自动设计的过程。结果表明,所进行的参数化研究方法对于像液压油箱一样具有一定相似性的结构件设计有一定的借鉴意义。
关键调:VisualBasic编程软件;SolidWorks软件;液压泵站油箱;参数化设计
中图分类号:TP391.72;TH16文献标志码:A文章编号:1671—3133(2016)02—0094—05 D0I:10.16731/j.cnki.16713133.2016.02.017
Parametric design of hydraulic pump station tank
Li Yanmin,Zhao Ye, Han Fengqin
(School of Mechanical Engineering,Zhengzhou University,Zhengzhou 450001,China)
Abstract: On the basis of the analysis of the status quo about the design of the pump station,a design method using the Visual Basic( VB) 6. O software as a tool is presented,that user can parametricly design a hydraulic pump station by using the driven programming method,based on the SolidWorks software, It involves the application of the API function calls,the establishment of the database of non-standard parts,the links between VB and databases and SolidWorks,the automatic assembly of tank,the auto matic generation of assembly drawings and so on, Also,a horizontal hydraulic pump tank project is introduced in detail to show the process of parameterized design. At last, the parametric study method has a certain reference significance to other designs with similar structural parts like the hydraulic pump station tank.
Key words: Visual Basie Software;SolidWorks;hydraulic pump station tank;parametric design
0引言
液压泵站作为液压传动系统中的动力源,是液
压系统设计的重要组成部分。而油箱在液压系统中,主要功能是储油和散热,也起到分离油液中的气体和沉积物的作用,是液压泵站设计的基础1)。在液压泵站的设计任务中,主要设计工作有3项内容:液压系统的设计计算、液压泵站装配图设计和非标零件设计[2],而非标准的零件往往是液压系统的主要设计工作。目前大多液压泵站非标准零件的设计是按照传统设计方法,较少采用计算机参数化设计。利用现有的设计软件由计算机自动完成设计,可以减少开发人员单调反复的工作,从而进行更多创造性工作。
对于系列化的标准件,更多的是采用尺寸参数 94
万方数据
驱动自动生成技术、三维参数化设计开发的基本方法[3],即创建现有的系列标准零件尺寸库,设计出具有几何约束和拓扑关系的零件模板,将主要的尺寸定义成变量,然后在设计时借助应用程度编程接口(ApplicationProgrammingInterface,API)函数,调用已有的数据库数据进行变量赋值即可进行参数化设计[4]。但这种方法对非标准零件却不太适用。本文所采用的参数化设计方法是编程驱动设计法,就是将设计过程的所有关系式都包括在应用程序中,并编辑代码,利用程序顺序地依次执行设计过程。采用此方法可以使液压泵站油箱的设计更加灵活、便捷。
本文以SolidWorks软件为平台,以常见的卧式油箱为例,介绍参数液压泵站油箱的自动参数化设计方法。