• 
    

    
    

      99热精品在线国产_美女午夜性视频免费_国产精品国产高清国产av_av欧美777_自拍偷自拍亚洲精品老妇_亚洲熟女精品中文字幕_www日本黄色视频网_国产精品野战在线观看 ?

      Software design for spur gear tooth thickness based on MATLAB/GUI

      2015-11-03 07:07:54HongyanSHIXiaoqiangWUXiaominSHANChunYINGChunyouZHANG
      機床與液壓 2015年3期
      關(guān)鍵詞:直齒圓柱齒輪控件

      Hong-yan SHI, Xiao-qiang WU, Xiao-min SHAN,Chun YING, Chun-you ZHANG

      (College of Mechanical Engineering, Inner Mongolia University for the Nationalities, Tongliao 028000, China)

      ?

      Software design for spur gear tooth thickness based on MATLAB/GUI

      Hong-yan SHI, Xiao-qiang WU, Xiao-min SHAN,Chun YING, Chun-you ZHANG*

      (College of Mechanical Engineering, Inner Mongolia University for the Nationalities, Tongliao 028000, China)

      As far as the gear measurement and analysis are concerned, the traditional way is to do large amount of calculation by using the artificial evaluation other than commonly used to divide the circular tooth thickness. In order to solve the above problems, this paper developed a straight tooth cylindrical gear tooth thickness calculation software to realize the corresponding computation functions by using the MATLAB/GUI function to add the corresponding controls. The calculation examples have shown that the design and development of this software has a certain practical value.

      Spur gear, MATLAB/GUI, Callback function

      1 Introduction

      Spur gear could transmit motion between two parallel axes with high transmission efficiency, which has a great range of passing power and peripheral speed. It becomes the most widely used transmission mechanism [1-2]. The tooth thickness of other circles outside pitch circle are often used in the analysis and measurement, the traditional calculation method is usually manual calculation, which is error-prone and needs large computation. Therefore, there is a need to develop a specialized computation software. With the development of object-oriented technology, graphical user interface (Graphical User Interfaces, GUI) design becomes more popular [3-7]. GUI design, which is the build-in function in MATLAB, could meet design object of the user through the related graphics capabilities. In this paper, with the GUI function in MATLAB, calculation software for spur gear tooth thickness is developed, which has the powerful computation capabilities and easy-learning characteristic based on the MATLAB.

      This paper gives the computational formula for spur gear tooth thickness on the arbitrary circle. Then, a graphical user interface is designed and the program code is written in the appropriate callback function. Based on these characteristics, this software could independently run without the MATLAB environment. Finally, a numerical example is given to verify the correctness of the software design.

      2 Calculation of spur gear tooth thickness

      According to the literature, it shows that teeth thick of straight teeth cylindrical gear is related with pressure angle and radius of arbitrary circle. As shown in Fig.1, the radius at the pointKisrK, whose pressure angle is:

      (1)

      Tooth thickness at the pointKis:

      (2)

      Where,φKis the central angle of both sides of the cylindrical gear tooth profile corresponding pointK.

      From Fig.1, it can be seen that the central angleφKcould be expressed as follows:

      (3)

      Puttheequation(3)intoequation(2),thetooththicknessofarbitrarycircleoncylindricalgearcouldbeexpressedasfollows:

      (4)

      Fig.1 Tooth thickness of arbitrary circle

      3 Software interface design

      The graphical user interface (GUI) refers to a man-machine interface which consists of windows, menus, graphics, buttons, dialog boxes and text boxes, and other graphic objects. By selecting, activating graphic above-mentioned objects, it could make the computer generate the corresponding action or change. Basic graphical objects could be divided into the control objects and menu objects, referred as the controls and menus for short[5]. Controls used in this software interface design consist of text editor, static text boxes and buttons.

      Graphical user interface design window in the MATLAB is shown in Fig.2. Desired controls are dragged into the blank panel and named to obtain the software interface as shown in Fig.3. Then the appropriate parameters are required to enter into the dynamic input box on the left. By clicking the calculation button, the program calls the input parameters to calculate and display the calculation results in the right side of the text box.

      Fig.2 GUI design interface

      Fig.3 Calculation software interface

      4 The generation of standalone application

      The above-designed calculation software is developed in the MATLAB environment and could only run in the MATLAB environment, which greatly limits the use of this software. In this paper, the correlation functions in MATLAB are used to generate a program which can independently run without MATLAB environment.

      The steps of generation stand-alone application are as follows:

      1) Install the compiler. Enter mbuild-setup in MATLAB, then select the compiler, as shown in Fig.4.

      Fig.4 install the compiler

      2) Call MATLAB Compiler toolbox, as shown in Fig 5. Use Compiler toolbox to generate a window of generation stand-alone application, as shown in Fig 6.

      Fig.5 Compiler toolbox

      Fig.6 The window of generating standalone application

      3) Click Add main file in the window of Windows Stand-alone Application shown in Fig.7, and add the M program written in MATLAB into the window, then click the first button on the top right corner to generate the exe files.

      Fig.7 Add M-files

      4) Finally package the obtained exe files with MATLAB self-bring “MCRinstaller.exe” together, and first install MCRinstaller.exe on the computer where MATLAB is not installed, then run the calculation software. This method could make the application runs independently without the MATLAB environment on any computers.

      5 Calculation example

      Take a spur gear for example, the specific geometric parameters are shown in Table 1. According to the calculation software, an arbitrary location is selected to calculate.

      Table 1 Spur gear parameters

      ModulemNumberofteethZPressureangleαAddendumcoefficient32520°1

      The parameters above are entered into the corresponding position in the software. Take the calculation of addendum circle and pitch circle tooth thickness for example, the calculation result is shown in Fig.8 and Fig.9.

      Fig.8 Calculation result of tooth thickness of addendum circle

      Fig.9 Calculation result of tooth thickness of pitch circle

      Manually calculate the tooth thickness of the addendum circle and pitch circle is as follows:

      sa=2.159mm

      The calculation result is exactly the same as the result of software, which proves the correctness of this software. In addition, the software could also integrate a calculator function, which is convenient for the calculation of user, as shown in Fig.10.

      Fig.10 Calculator

      6 Conclusion

      In this paper, through MATLAB/GUI, a spur gear tooth thickness calculation software is designed and developed to make the tooth thickness calculation simple, accurate and easy to operate. In addition, with this design method software development cycle could be decreased, which has a certain significance to other software design.

      Acknowledgements

      This paper is supported by National Natural Science Foundation of China (6144041).

      [1]Zhang Ce. Mechanical principle and mechanical design [M].Beijing: Mechanical Industry Press, 2004.

      [2]Xiao Li.Forming method based on straight bevel gears dimensional parametric design [J].Manufacturing Automation, 2012,34(4): 154-156.

      [3]Gezhe school.Proficient in MATLAB [M].Beijing: Electronic Industry Press, 2008.

      [4]Chen Jie.MATLAB Collection [M].Beijing: Electronic Industry Press, 2013.

      [5]Section insurance cases, segment Liu Yun, et al.Research and Implementation of MATLAB GUI software production methods[J].Electronic Design Engineering, 2010,18(7): 54-56.

      [6]Wang Yulin, Ge Lei, et al.The new interface development tools: MATLAB/GUI [J].Radio Communications Technology, 2008, 34(6): 50-52.

      [7]Qiujin Hui, Wang Yu-hui, et al. The new interface based development approach MATLAB/GUI of [J].Journal of Industrial Science, 2008, 25(4): 233-236.

      基于MATLAB/GUI的直齒圓柱齒輪齒厚計算軟件設(shè)計

      侍紅巖,吳曉強,單曉敏,迎春,張春友*

      內(nèi)蒙古民族大學 機械工程學院, 內(nèi)蒙古 通遼028000

      在齒輪的測量和進一步的分析中,常用到分度圓以外的其他圓上的齒厚,傳統(tǒng)的方法就是通過人工進行計算,計算量大,且易出錯。為了解決以上問題,利用MATLAB/GUI功能,開發(fā)直齒圓柱齒輪齒厚計算軟件,在MATLAB/GUI添加相應(yīng)的控件,并在相應(yīng)的回調(diào)函數(shù)中編寫程序,以實現(xiàn)相應(yīng)的計算功能。計算實例表明:本文設(shè)計開發(fā)的計算軟件具有一定的實用價值。

      直齒圓柱齒輪;MATLAB/GUI;回調(diào)函數(shù)

      25 November 2014; revised 9 Feburary 2015;

      Chun-you ZHANG,

      E-mail: wangzai8402@163.com

      10.3969/j.issn.1001-3881.2015.18.015 Document code: A

      TH132.417

      accepted 12 March 2015

      Hydromechatronics Engineering

      http://jdy.qks.cqut.edu.cn

      E-mail: jdygcyw@126.com

      猜你喜歡
      直齒圓柱齒輪控件
      基于Halcon的直齒圓柱齒輪參數(shù)檢測
      基于Solidworks的圓柱齒輪專用轉(zhuǎn)運小車創(chuàng)新設(shè)計
      關(guān)于.net控件數(shù)組的探討
      軟件(2018年7期)2018-08-13 09:44:42
      雙刀盤直齒錐齒輪銑齒機
      直齒-面齒輪傳動嚙合效率的計算與分析
      結(jié)合Solidworks和ANSYS的斜齒圓柱齒輪模態(tài)分析
      基于楔橫軋原理的直齒圓柱齒輪軋制研究現(xiàn)狀
      就這樣玩會VBA中常見的自定義控件
      電腦迷(2012年24期)2012-04-29 00:44:03
      在PowerBuUder中利用WinSock控件制作簡單的Web服務(wù)器
      VB.NET中ListBox控件實現(xiàn)流程跟蹤
      惠州市| 清徐县| 高青县| 高州市| 富源县| 金沙县| 临江市| 德州市| 云梦县| 华蓥市| 精河县| 县级市| 靖西县| 华坪县| 革吉县| 尼玛县| 眉山市| 体育| 美姑县| 金堂县| 阜阳市| 遂昌县| 承德市| 温宿县| 五指山市| 营口市| 琼结县| 沂南县| 朔州市| 那坡县| 格尔木市| 阳西县| 昆山市| 绥阳县| 通化市| 大邑县| 景洪市| 沁阳市| 区。| 连江县| 绿春县|