Please wait a minute...
Chinese Journal of Engineering Design  2014, Vol. 21 Issue (1): 80-86    DOI: 10.3785/j.issn. 1006-754X.2014.01.014
    
Development of auxiliary geometric design software for involute gear based on the C and gnuplot
LIANG Song,LI Hai-bo,ZHANG Yi-min
School of Mechanical Engineering & Automation,Northeastern University,  Shenyang 110819, China
Download: HTML     PDF(1610KB)
Export: BibTeX | EndNote (RIS)      

Abstract  Based on the geometric model of involute tooth profile, the geometric design software for gears was developed on the platform of Windows. The software was written in C programming language, including open source programs and libraries such as gnuplot and CxImage. Many geometric modeling approaches for gears were proposed. Gnuplot had been regarded as the module of graphical output in many application software, in which the proposed approaches were used. For the implementation of the calculation module, the curve parameter equations for tooth profile were proposed. The module of computing kernel was written in C language. Gnuplot was the kernel of data visualization module. Data was transmitted by plain text and commands through pipes. The process of windows was established on the the method of Windows Application Programming Interface (API). Graphical User Interface (GUI) had been used in the software. The display problem of png format pictures was solved by using CxImage library in stand of picture control. Modern computer program design technique is involved in traditional mechanical design theory. Drawing on the experience of many open source software and function libraries, the aided machinery design software promotes the efficiency and level of design.

Key wordsinvolute gear      root transition curve gnuplot      Windows process      CxImage     
Published: 28 February 2014
Cite this article:

LIANG Song,LI Hai-bo,ZHANG Yi-min. Development of auxiliary geometric design software for involute gear based on the C and gnuplot. Chinese Journal of Engineering Design, 2014, 21(1): 80-86.

URL:

https://www.zjujournals.com/gcsjxb/10.3785/j.issn. 1006-754X.2014.01.014     OR     https://www.zjujournals.com/gcsjxb/Y2014/V21/I1/80


基于C和gnuplot的渐开线齿轮辅助几何设计程序开发

以渐开线齿廓几何模型为基础,结合开源程序和类库,在Windows平台上开发了齿轮辅助几何设计程序.简要介绍了国内外学者针对齿轮几何模型的建立和基于gnuplot的数据可视化模块设计的研究概况.针对计算模块的程序实现,推导并给出全齿廓的曲线参数方程.用C编写计算模块,在gnuplot的基础上编写数据可视化模块.两模块以纯文本方式传递数据,通过管道传递指令.以Windows API的方式建立窗口程序过程,并为程序设计了图形用户界面.用CxImage库替代picture控件,解决png格式设计结果图片的显示问题.这里将计算机程序设计技术融入传统机械设计理论,并借鉴众多开源软件和函数库,开发的辅助机械设计软件提升了机械设计效率和水平.

关键词: 渐开线齿轮,  齿根过渡曲线,  gnuplot,  窗口过程,  CxImage 
[1] XU Xiang, YANG Ding-Fu, SUO Wen-Chao, LIU Gang. Calculation of friction power losses on gears based on time-varying contact load[J]. Chinese Journal of Engineering Design, 2010, 17(3): 224-228.