본문 펼치기
Tikrit Journal of Engineering Sciences (2021) 28 (1): 64-70
ISSN: 1813-162X (Print) ; 2312-7589 (Online)
## Tikrit Journal of Engineering Sciences
[available online at: http://www.tj-es.com](http://www.tj-es.com/)
<mark>Hamed NN. An Automatic Drawing Spur Gears Based</mark> <mark>on AutoCAD Program.</mark> _<mark>Tikrit Journal of Engineering</mark>_
_<mark>Sciences</mark>_ <mark>2021;</mark> <mark>28</mark> <mark>(1): 64- 70.</mark>
<u>[Najat Najmaldeen Hamed](mailto:nnaldeen@ntu.edu.iq)</u> <sup>[](mailto:nnaldeen@ntu.edu.iq)</sup>
Department of Mechanical Power
Engineering Techniques / Technical
Engineering College / Northern
Technical University / Iraq
_Keywords_ :
AutoCAD, AutoLISP, Spur gear.
A R T I C L E I N F O
_Article history:_
Received 09 Dec. 2019
Accepted 20 May. 2021
Available online 14 June 2021
# An Automatic Drawing Spur Gears Based on AutoCAD Program
A B S T R A C T
In this research, a computer-aided drawing system of spur gear was developed. An
auto LISP programming language embedded within the AutoCAD design package
was used to develop a new program to create a 3D model of a spur gear in two main
stages. In the first stage, the developed program of spur gear allows automatic 2D
spur gear drawing generation using the technique that depends on the half tooth
thickness at the pitch diameter. In the second stage, inner profiles of a 2D spur gear
views are used to create a 3D model of a spur gear. The developed program helpful
for the user in drawing the spur gear modelling, due to less work and time to be spent
when compared with the conventional approach, and it also improves a high degree
of accuracy of spur gear modelling. The spur gear resulting from the prepared gear
drawing system can also work with other popular CAD software.
© 2021 TJES, College of Engineering, Tikrit University
<u>[DOI: http://doi.org/10.25130/tjes.28.1.07](http://doi.org/10.25130/tjes.28.1.07)</u>
#### لوتوكاد ا لعتماد على برنامج لسطوانية المستقيمة ب ا ا تصميم الشكل الهندسي للتروس
الجامعة التقنية الشمالية كركوك- / نجاة نجم الدين حميد- قسم هندسة تقنيات ميكانيك القوى- الكلية التقنية الهندسية
الخالص ة
لتوليسب المبني تحت ا .في هذا البحث ، تم إعداد نظام الرسم بمساعدة الحاسوب للتروس األسطوانية المستقيمة وقد أعد برنامج البحث باستخدام لغة
شكل الهندسي للتروسلوتوكاد الهندسي .النظام المعد احتوى على جزأين أساسيين، يتناول الجزء األول إنشاء نظام مؤتمت لعملية توليد ال ا بيئة نظام برنامج
عرفة نصف سمك السن عند دائرة الخطوة. أما الجزء الثاني فهو يمثل إنشاء نظام مؤتمت لعمليةلعتماد على مبدأ ماألسطوانية المستقيمة ثنائية األبعاد ب ا
ة.وكذلك وفر إمكانياتتوليد الشكل الثالثي األبعاد للتروس األسطوانية المستقيمة .النظام المعد يوفر الوقت والجهد إلتمام رسم التروس األسطوانية المستقيم
ندسي ألسنان التروس بصورة دقيقة وتفصيلية. بينت النتائج من ان التروس األسطوانية المستقيمة الناتجة من نظام الرسم المعدعالية في إظهار الشكل اله
.له القدرة على العمل مع برامج التصميم الشائعة األخرى
لسطوانية المستقيمة .: اوتوكاد, لغة ا لتوليسب, التروس ا الكلمات الدالة
_Corresponding author: E-mail:_ <u>[nnaldeen@ntu.edu.iq](mailto:nnaldeen@ntu.edu.iq)</u> Department of Mechanical Power Engineering Techniques Technical
Engineering College / Kirkuk Northern Technical University / Iraq
64
_Najat Najmaldeen Hamed_ _<u>/ Tikrit Journal of Engineering Sciences (</u>_ 202 _1) 28(1): 64_ _-_ _70._
1. INTRODUCTION
Spur gears are designed to transmit motion and power
between parallel shafts. There are two basic types of
spur gears: external and internal spur gears shown in
Fig.1. The advantages of spur gears over other types are
their low manufacturing cost, simplest geometry design,
and ease of maintenance. The disadvantages include less
load capacity and higher noise levels than other types.
Spur gear teeth are straight and parallel to the gear shaft
axis [1]. To make gears operate smoothly with a
minimum of noise and vibration, the curved surface of
the tooth profile uses a definite geometric form. The
most common form in use today is the involute profile
[2]. Researchers have consistently investigated in order
to design a 3D spur gear drawing under optimal
conditions. The following are some published
researches related to the subject of the present research.
Oladejo and Ogunsade [3] present a computational and
drafting methods, self-determination of geometric
parameters and drafting of spur gears to a specific
configuration. The model is based on programming
language embedded within the AutoCAD design
package VBA (Visual Basic Applications), which
provides programmatic control of AutoCAD through the
Automation interface. Xin lei, et al [4] studied the
AutoCAD software through the Auto LISP program and
combined with AutoCAD modelling command, has
realized the parametric modelling of the involute spur
gear. Karma [5] started his research with visual basic 6
and MS access to the developed computer program for
the design of spur gears. The developed system can be
applied to gear industries making spur gear. Edward and
Lucky [6] worked on a combined computational and
graphical method for creating accurate standard involute
gear tooth profile. The method utilizes the fact that for a
specified spur gear module size, the half-angle
subtended by a spur gear tooth at its base radius is fixed.
All half-angles of the gear tooth between the base radius
and addendum circle can be calculated from the contact
and involute angles at discrete points. Using the offset
function of AutoCAD software, points on the involute
curve of the gear tooth were determined. To create the
involute curve, the spline function of the software was
used. Ming [7] presented the principle of applying the
embedded development tool visual lisp in three
dimensional modelling of a straight toothed spur gear in
the AutoCAD environment. Hongtao and Zhang [8]
developed a collaborative CAD system using Auto LISP
software, which implements the standard 2D straight
teeth cylindrical gear parametric drawing on the
AutoCAD platform. Suresh and Abu backer [9] Worked
on generation 2D and 3D spur gears modelling.
Microsoft office tool, the Excel spreadsheet software
was utilized in determining the basic gear parameters
and convert it into (X, Y, Z) coordinate of the involute
curve in the excel format. An interactive computer
graphics is able to generate accurate data and produce
accurate 2D and 3D drawing based on SolidWorks
software. Jayakiran and Pandu [10] Presented a method
for CAD model of a spur gear design using AGMA
(American Gear Manufacturers Association) standards
for design. The developed method is based on the
integration of modelling CAD software SolidWorks
with visual Basic. The results of this investigation led to
the development of a computer program with visual
basic to compute parametric CAD modelling system for
spur gear design and plot with SolidWorks software the
spur gear model based on AGMA standards. The
different aspects of the present study compared to other
studies are developing a computer program to generate
automatic 2D spur gear teeth geometry using the
technique depends on the half tooth thickness, also
reconstruction its 3D solid model by using the press pull
command.
_(a)._ External spur gear ( _b)_ . Internal spur gear
Fig. 1. Spur gears [1]
65
_Najat Najmaldeen Hamed_ _<u>/ Tikrit Journal of Engineering Sciences (</u>_ 202 _1) 28(1): 64_ _-_ _70._
2. SPUR GEAR PROFILE
Drawing an actual involute profile for a spur gear in the
metric system requires several mathematical formulas,
normally begins with selecting three parameters, the
number of teeth, module, and pressure angle. These
three basic spur gear parameters determine all other
parameters those define the spur gear profile that is
given below.
Rs = <sup>1</sup>
2 <sup>?? (1)</sup>
Ra = <sup>1</sup>
2 <sup>? (?</sup> <sup>+ 2) (2)</sup>
_2.1. Tooth Thickness_
The tooth thickness at any radius is defined as the arc
length between the face of a singular tooth that is
measured on the circumference of the circle at this
radius _(R)_ . When we know the tooth thickness at
standard pitch radius, it can be calculated at any other.
The space width at the radius ( _R)_ is defined as the
distance between two teeth that are measured on the
circumference of a circle of radius _(R)_, where the
summation of tooth thickness and the space width is
equal to the circular pitch, as shown in Fig.2 [11]. On
the other hand, the width of the space at a pitch radius
equals tooth thickness at the pitch radius for uncorrected
standard tooth [12, 13].
Fig. 2. Tooth thickness [11].
Fig. 3, shows an involute curve has been generated from
the base circle of radius _Rb( . A)_ and _(B)_ are two points
on this involute at distances of _RA_ and _RB_ respectively
from the base circle center (O). From geometry, we get
The following relations.
Rb = RA × cos ∅S = RB × cos ∅R (3)
Whence we get
cos ∅R = <sup>RA</sup>
RB <sup>cos ∅S (4)</sup>
From Eq. (4) we can determine the pressure angle at any
radius on the involute in relation to the parameters of
another known radius. If the circle passing through _(A)_
happens to be the pitch circle the diameter of which is
known, then for the standard system [13].
cos ∅R = <sup>RS</sup>
RB <sup>cos ∅S (5)</sup>
A gear tooth thickness is shown in Fig. 4, with points
_(E)_, _(A)_, and _(B)_ on the involute tooth profile at radius
_Rb_, _Rs_ and _(R)_ respectively. By assuming the tooth
thickness on pitch radius ( _ts_ ) is known, a formula for
tooth thickness ( _tR_ ) at the radius ( _R_ ) can be derived
through the following procedure:
Finding the polar coordinate( _θR_ )of point _(B .)_
θR = angle _(FOB)_
Angle _(FOB)_ =angle _(FOA)_ + angle _(AOE)_ - angle
_(BOE)_
Where the ( _BOE)_ is equal to involute function _inv_ _ϕR_,
and since the profile angle at the standard pitch radius is
equal to the pressure angle ( _ϕS_ ), the angle _(AOE)_ is
equal to _inv ϕS_ . Thus, the expression for ( _θR_ ) can be
written.
θR = <sup>tS</sup>
2RS <sup>+???∅S −???∅</sup> <sup>_R_</sup> <sup>(6)</sup>
Finally, after found the polar coordinate( _θR_ ) of point
(A), the formula of the tooth thickness at the radius ( _R_ )
66
_Najat Najmaldeen Hamed_ _<u>/ Tikrit Journal of Engineering Sciences (</u>_ 202 _1) 28(1): 64_ _-_ _70._
can be expressed as:
?R = 2RθR = ?( <sup>tS</sup>
RS <sup>+2(???∅S −???∅R))</sup> <sup>(7)</sup>
Fig. 3 . Involute profile [14]
Fig. 4. Gear tooth thickness [11]
3. A DEVELOPMENT OF THE SYSTEM
The computer-aided drawing of spur gears system was
proposed and developed, using the AutoLISP
programming language embedded within the AutoCAD
design package. It consists of two main stages. In the
first stage, automatic _2D_ spur gear drawing generation
using the technique depends on the fact that when you
know the tooth thickness at standard pitch radius, you
can calculate it at others radius. In the second stage,
inner profiles of _2D_ spur gear views are extruded using
the press pull command. The flow chart of the
development system is shown in Fig.5.
Fig. 5. Flow chart of the developed system
3.1. _The system development procedure_
The following are the procedures to draw a complete
spur gear profile using AutoLISP programming
language embedded within the AutoCAD design
package:
_3.1.1_ _Shapes_ _Preparation_ _on_ _AutoCAD_
_package_
After AutoCAD program is initiated select> New>
acadiso template. Then in Tool > Auto LISP> Load
Applications> Load/Unload Applications dialog box
>select an Auto LISP (.lsp) file.
3.1.2 _Entering the Spur Gear parameters by_
_the user_
In this section, the value of the spur gear parameters,
such as module, number of teeth, pressure angle, and
face width should be entered manually. Fig. 6, provides
the sample inputs for the drawing of the spur gear.
67
_Najat Najmaldeen Hamed_ _<u>/ Tikrit Journal of Engineering Sciences (</u>_ 202 _1) 28(1): 64_ _-_ _70._
Fig. 6. Sample inputs for the drawing of spur gear
3.1.3 _Draw an involute curve_
In this section, coordinates point _(F)_ on the involute
curve can be calculated based on formulating that are
given below:
Fig .7. The complete profile of the one side first
tooth.
?= Ra (8)
The tooth thickness at the pitch radius is given by:
ts = <sup>π m</sup>
2 <sup>(9)</sup>
Referring to Eq. (5) the ∅a is given by:
cos ∅a = <sup>RS</sup>
Ra <sup>cos ∅S (10)</sup>
Referring to Eq. (7) the outside circle radius tooth
thickness _(ta)_ at pressure angle 20 ° is given by:
<u>tS</u>
ta= Ra ~~(~~
<u>tS</u>
RS <sup>+2(???20° −???∅a))</sup> <sup>(11)</sup>
So, (?) coordinates can be obtained as:
?= <sup>ta</sup>
2 <sup>(12)</sup>
These processes then are repeated for other coordinates
of the involute curve at a finite number of positions
within the range from outside circle radius to the base
circle radius to define coordinates of each point on the
involute curve and connecting them with a polyline
command function of the AutoCAD design package.
The complete profile of the one side first tooth is
presented in Fig. 7.
_3.1.4_ Program automatic replicate another half of
tooth curve using Mirror command about the
centerline. The complete profile of the first tooth is
presented in Fig. 8.
Fig .8. The complete profile of the first tooth.
_3.1.5_ Program automatic rotate the first tooth of the
spur gear and add a number of teeth, using the polar
option of the array command to form all the teeth of
the spur gear. The complete _2D_ spur gear with the
involute tooth profile is illustrated in Fig. 9.
68
_Najat Najmaldeen Hamed_ _<u>/ Tikrit Journal of Engineering Sciences (</u>_ 202 _1) 28(1): 64_ _-_ _70._
automatically calculates (x, y) coordinates of each point
on the involute curve at a finite number of positions
within the range from outside circle radius(Ra) to the
base circle radius (Rb) and connecting them with a
polyline command function of the AutoCAD design
package to generate a geometrical shape of 2D spur gear
model as shown in Fig. 9. The paper also generates a
high degree of accuracy shape of 3D spur gear
modelling using the presspull command function of the
AutoCAD design package as shown in Fig. 10, this is a
simple and quick method to generate an extruded shape
from a closed boundary.
5. CONCLUSIONS
Fig .9. The generated 2D spur gear model with the
This paper concludes that, the software Which was
developed computer system
_3.1.6_ Last operation, program automatic generation 3D
spur gear using the Press pull command of the AutoCAD
design package from 2D spur gear views in Fig. 9. The
complete 3D spur gear is illustrated in Fig. 10.
Fig .10. The generated 3D spur gear model with the
developed computer system
4. RESULTS AND DISCUSSION
The aim of this paper is to develop a computer-aided
drawing system to enable geometrical shape drawing of
spur gears. Fig. 6, provides the value of the inputs of the
spur gear parameters, such as module, number of teeth,
pressure angle, and face width should be entered
manually. Using this input data, the developed system
developed was helpful for the user in the drawing an
actual form of 2D and 3D spur gear model with different
modules and number of teeth, due to less work and time
to be spent when compared with the conventional
approach. and it also improves a high degree of accuracy
of spur gear modelling. The spur gear resulting from the
prepared gear drawing system can also work with other
popular CAD software such as Autodesk inventor,
SolidWorks, etc.
NOMENCLATURE
_m_ = Module (mm)
Ra = Outside circle radius (mm)
Rb = Base circle radius (mm)
RS = Pitch circle radius (mm)
ta = Tooth thickness at the outside diameter (mm)
tS = Tooth thickness at the pitch diameter (mm)
t0.5 = Half tooth thickness (mm)
Z = Number of teeth
∅R = Profile angle at radius (R )(deg)
∅S = Pressure angle (deg)
REFERENCES
[1] David A. Madsen, David P. Madsen. Engineering
Drawing and Design. 5 <sup>th</sup> ed., USA: Delmar Cengage
Learning; 2012.
69
_Najat Najmaldeen Hamed_ _<u>/ Tikrit Journal of Engineering Sciences (</u>_ 202 _1) 28(1): 64_ _-_ _70._
[2] Frederick E, Shawna L, Marla G, Cindy M.
Technical Drawing with Engineering Graphics.15 <sup>th</sup>
ed., USA: Prentice Hall; 2016.
[3] K.A.Oladejo and A.A.Ogunsade. Drafting of
Involute Spur-Gears in AutoCAD-VBA
Customized. _Advancement_ _in_ _Sciences_ _and_
_Technology Research 2014_ ; 1 (2):18-26.
[4] Xinlei Guo, Ho ngsheng Zhao, Jiabin Lu.
Parametric Modeling of Involute Spur Gear Based
on AutoCAD. _Advanced Materials Research_
_2014_ ; 945 (949):845-848.
[5] Vijay Kumar Karma. Design and Development of
Graphic User Interface (GUI) For Design of Spur
Gear Using Computer Programming Tools.
_International Journal of Engineering Sciences_ _&_
_Research Technology_ _2013;_ 2 (12):3795-3799.
[6] Edward E, Lucky A. A Method for Constructing
Standard Involute Gear Tooth Profile. _International_
_Mechanical Engineering Congress and Exposition_
_2018_ _November_ _9-15_ ; Pennsylvania, USA.
[University of Pittsburgh:p.IMECE2018-86573.](https://www.googleadservices.com/pagead/aclk?sa=L&ai=DChcSEwi4_pDJqu7uAhXO5HcKHdy0DW0YABAAGgJlZg&ae=2&ohost=www.google.com&cid=CAASEuRo90D0e3dj9DJL8jyyWoSiwg&sig=AOD64_2hovslxveRc1XclZmosHzBlhfeQw&q&adurl&ved=2ahUKEwjTs4nJqu7uAhVFzqQKHXQFBTQQ0Qx6BAgZEAE)
[7] Lu Ming. The Application of CAD Secondary
Development in 3D Parametric Graphic Design.
_Applied Mechanics and Materials_ _2012;_ 224 : 239
242.
70
[8] Hongtao Guo, Weiguo Zhang. Design of Gear
Parameters Visual System Based on LISP. _Applied_
_Mechanics and Materials_ _2014_ ; 539 :42-46.
[9] V. Suresh Babu, Abubacker K M. Development of
Involute Profiled Spur Gear Model with Excel
Spreadsheet, Solid works and CAD Technique.
_International Journal of Mechanical Engineering_
_2018_ ; 5 (5):5-11
[10] E. Jayakiran Reddy, V. Pandu Rangadu.
Development of knowledge based parametric CAD
modeling system for spur gear. _Alexandria_
_Engineering Journal 2018_ ; 57 (4):3139-3149
[11] J.R.Colbourne .The Geometry of Involute Gear.1st
ed., New York: Spring; 1987.
[12] Jlrem H. Durynni. The Art of Gear Fabrication. 1st
ed., New York: Industrial Press; 2001.
[13] GIlIN M. MAITRA. Handbook of Gear Design.
2 <sup>th</sup> .ed., New Delhi: McGraw-Hill; 2001.
[14] Huei-Huang Lee. Finite Element Simulations with
ANSYS Workbench., Taiwan: Sdc Publications;
2014.