【正文】
天津職業(yè)技術(shù)師范大學(xué) Tianjin University of Technology and Education 畢 業(yè) 設(shè) 計(jì) 專 業(yè): 機(jī)械設(shè)計(jì)制造及其自動化 班級學(xué)號: 機(jī)自 0804 09 學(xué)生姓名: 黃登春 指導(dǎo)教師: 郭培培 講師 二〇一二年 六 月 天津 職業(yè)技術(shù)師范大學(xué) 本科生畢業(yè)設(shè)計(jì) 軸類零件的一體化設(shè)計(jì)系統(tǒng)開發(fā) Shaft parts of The integrated Design System Development 專業(yè)班級:機(jī)自 0804 學(xué)生姓名: 黃登春 指導(dǎo)教師:郭培培 講師 系 別:機(jī)械設(shè)計(jì)制造及其自動化 2020 年 6 月 天津職業(yè)技術(shù)師范大學(xué) 2020屆本科生畢業(yè)設(shè)計(jì) I 摘 要 軸是機(jī)械設(shè)計(jì)中應(yīng)用最為廣泛的零件之一, 在常規(guī)的設(shè)計(jì)中普遍存在強(qiáng)度、剛度計(jì)算過程繁瑣 , 容易出錯,且一旦校核不通過,還要重新開始結(jié)構(gòu)設(shè)計(jì),重新校核強(qiáng)度、剛度 ; 忽視精度設(shè)計(jì) , 設(shè)計(jì)者往往不查什么依據(jù),只大約標(biāo)注,或完全照搬圖上的精度,這就很難保證產(chǎn)品的質(zhì)量和經(jīng)濟(jì)性 ; 在軸的設(shè)計(jì)中 .計(jì)算和繪圖是并行的,這就需要不斷地修改圖形,過程麻煩,工作量大。 因此 設(shè)計(jì) 軸 類零件的一體化設(shè)計(jì)系統(tǒng) , 以 適應(yīng)設(shè)計(jì)的發(fā)展趨勢, 提高機(jī)械設(shè)計(jì)的效率。 本 設(shè)計(jì)旨在 開發(fā)一個 軸類零件一體化輔助設(shè)計(jì) 系統(tǒng), 以 Access 為底層數(shù)據(jù)庫 ,采用 Visual 編程語言, 通過在可視化人機(jī)界面輸入關(guān)鍵 設(shè)計(jì) 參數(shù)完成軸類零件的 Pro/E 三維模型的快速生成及修改工作;并可在此設(shè)計(jì)系統(tǒng)下完成階梯軸上各段的精度設(shè)計(jì) ,最后實(shí)現(xiàn)智能標(biāo)注。 由此 只要 設(shè)計(jì)者 根據(jù)軟件提示操作,輸入相應(yīng)的參數(shù),就能使軸的設(shè)計(jì)、校核 化繁為簡,完成繁瑣的 設(shè)計(jì) 計(jì) 算過程, 加快實(shí)體模型的生成, 提高 軸 類零件 的準(zhǔn)確度 ,減少設(shè)計(jì)時間,具 有一定的實(shí)際指導(dǎo)意義。 關(guān)鍵詞 : 一體化 ; ; Pro/E; 精度設(shè)計(jì) 天津職業(yè)技術(shù)師范大學(xué) 2020屆本科生畢業(yè)設(shè)計(jì) II ABSTRACT Mechanical design of shaft is the most widely used one of the parts, in the conventional design of widespread strength, stiffness calculation process is tedious, errorprone, and once again began to check is not passed, structure design, to check the intensity, rigidity。 neglect of precision design, the design is often not what basis, only about the annotation, or totally copy map accuracy, it is very difficult to ensure the quality of products and the economy。 in the design of shafts. The calculation and drawing are parallel, the need to constantly modify the graphics, the process of trouble, workload is big. Therefore the design of shaft parts of the integrated design system, in order to adapt to the design trend of development, improve the efficiency of mechanical design. This design aims to develop an integrated aided design system of shaft parts, taking Access as the underlying database, using Visual programming language, the visualization interface input key design parameters of shaft parts of Pro/E threedimensional model of rapid generation and modification work。 and in this design system to plete the stepped shaft section precision design, finally realizes the intelligent dimension. As long as the designer according to the software prompts, corresponding to the input parameters, can make the shaft design, checking change numerous for brief, plete tedious design calculation process, accelerate the entity model generation, improve the accuracy of shaft parts, reduce the design time, it has certain practical significance. Keywords : Integration。 。 Pro/E。 Precision design 天津職業(yè)技術(shù)師范大學(xué) 2020屆本科生畢業(yè)設(shè)計(jì) III 目 錄 1 緒 論 ............................................................. 1 系統(tǒng)開發(fā)背景 及意義 .......................................... 1 研究內(nèi)容 .................................................... 2 2 系統(tǒng)總體方案設(shè)計(jì) .................................................. 3 系統(tǒng)分析和規(guī)劃 .............................................. 3 系統(tǒng)分析 ............................................... 3 系統(tǒng)規(guī)劃 ............................................... 4 ................................................ 5 Visual 主要 優(yōu)勢 與 特性 ........................ 5 Microsoft Office Access 的主要功能特點(diǎn) ................. 6 Pro/E 的 VB API 二次開發(fā)技術(shù) ............................ 7 AutoCAD ActiveX/VBA 的二次開發(fā)技術(shù) ..................... 7 3 系統(tǒng)開發(fā)過程 ...................................................... 9 軸的參 數(shù)化輔助設(shè)計(jì) .......................................... 9 登陸界面 ............................................... 9 軸類型選擇 ............................................ 10 軸的設(shè)計(jì)準(zhǔn)則及校核計(jì)算 ................................ 10 軸的三維模型的輸出 ......................................... 18 Pro/E 參數(shù)化設(shè)計(jì) ...................................... 18 與 Pro/E 的鏈接 ................................. 19 設(shè)計(jì) ............................................... 28 軸的精度設(shè)計(jì)概述 ...................................... 28 數(shù)據(jù)庫的設(shè)計(jì) .......................................... 29 控件連接 Access 數(shù)據(jù)庫 ..................... 29 ...................................... 31 .............................................. 32 4 軟件的功能展示及 系統(tǒng)集成 ......................................... 35 ............................................. 35 ................................................... 39 結(jié) 論 .......................................................... 40 參考文獻(xiàn) .......................................................... 41 附 錄 .......................................................... 42 致 謝 .......................................................... 56 天津職業(yè)技術(shù)師范大學(xué) 2020屆本科生畢業(yè)設(shè)計(jì) 1 1 緒論 系統(tǒng)開發(fā)背景 及意義 隨著科技的高速發(fā)展 , 要求人們的工作效率也要不斷提高 , 但在機(jī)械設(shè)計(jì)的過程中 , 一些常用零件的設(shè)計(jì)變得很復(fù)雜 , 工作量也越來越大 , 因此我們需要一種快速 、簡潔的設(shè)計(jì)方法來代替過去陳舊的設(shè)計(jì)方法 , 來減輕設(shè)計(jì)負(fù)擔(dān) 。 計(jì)算機(jī)輔助設(shè)計(jì)的廣泛應(yīng)用以及計(jì)算機(jī)硬件和軟件技術(shù)的迅速提高,為參數(shù)化設(shè)計(jì)提供了一個良好的基礎(chǔ)。 CAD 技術(shù)發(fā)展到今天,經(jīng)歷了兩次技術(shù)革命。第一次革命是 20 世紀(jì) 90年代三維 CAD 軟件的推廣,國內(nèi)普遍使用的是 AutoCAD 軟件。它實(shí)現(xiàn)了我國企業(yè)提出的“甩掉繪圖板”的目標(biāo),解決了使用圖板的種種弊端,但利用 AutoCAD一旦建立圖形,要想改變圖形大小,即使結(jié)構(gòu)相似也只能對圖形進(jìn)行重新編輯。而在工程設(shè)計(jì)中,新產(chǎn)品設(shè)計(jì)時不可避免地需要多次反復(fù)修改,需要不斷進(jìn)行零件結(jié)構(gòu)和尺寸的綜合協(xié)調(diào)、優(yōu)化。雖然比較成熟的二維 CAD 系統(tǒng)增加了參數(shù)化繪圖功能,但在實(shí)際使用中需要編寫程序,使得二維 CAD 系統(tǒng)下實(shí)現(xiàn)參數(shù)化設(shè)計(jì)比較困難。另一次革命是大量三維軟件的崛起。三維 CAD 技術(shù)不僅能夠參數(shù)化構(gòu)建三維實(shí)體模型 ,而且能夠利用設(shè)計(jì)的三維實(shí)體模型進(jìn)行模擬裝配、機(jī)構(gòu)分析、動態(tài)干涉檢查、動力學(xué)分析和有限元應(yīng)力分析等,還可以采用 CAM 系統(tǒng),運(yùn)用 CAD/CAM 系統(tǒng)一體化技術(shù),省去輸出圖紙的過程通過數(shù)據(jù)轉(zhuǎn)換直接驅(qū)動加工中心等設(shè)備完成生產(chǎn)加工過程,不需要傳統(tǒng)意義的圖紙。其中最有代表性的軟件是 Pro/Engineer。在機(jī)械零件設(shè)計(jì)中,Pro/Engineer 軟件采用基于約束的參數(shù)化,以全新的思維和方式支持產(chǎn)品的設(shè)計(jì)、修改和變形,通過約束參數(shù)的修改,能方便的創(chuàng)建一系列功能和形狀相似的設(shè)計(jì)模型。本設(shè)計(jì)主要 以 VB API 為開發(fā)工具, 使用 語言作為編程語言進(jìn)行參數(shù)化模型庫的設(shè)計(jì)開發(fā),最終快速、精確地生成所需三維模型,提高設(shè)計(jì)效率。 軸是組成機(jī)器的重要零件之一,它主要用來支承軸上的回轉(zhuǎn)零件 (如齒輪,帶輪等 )使其具有確定的位置,并傳遞運(yùn)動和動力。用傳統(tǒng)的方法對軸進(jìn)行設(shè)計(jì),由于計(jì)算繁瑣,設(shè)計(jì)效率低,且易出錯。采用現(xiàn)代設(shè)計(jì)方法可徹底改變過去依靠手工計(jì)算和繪圖時的效率低、易出錯等局面 ,使軸零件設(shè)計(jì)人員借助計(jì)算機(jī)及相應(yīng)軟件可迅速、高效、準(zhǔn)確地進(jìn)行設(shè)計(jì)方案的確定、比較、分析和繪圖;為生產(chǎn)企業(yè)以高技術(shù)、高質(zhì)量、