63% found this document useful (8 votes)
5K views5 pages

Helical Gear Design

This document contains code for analyzing the design of a helical gear system. It requests input values related to the gear dimensions and material properties. It then calculates values like tooth loads, bending strength, and wear resistance. These values are compared to determine if the design is safe, weak against wear, or unsafe. The output shows an example run where the design is determined to be weak against wear.

Uploaded by

Nazim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
63% found this document useful (8 votes)
5K views5 pages

Helical Gear Design

This document contains code for analyzing the design of a helical gear system. It requests input values related to the gear dimensions and material properties. It then calculates values like tooth loads, bending strength, and wear resistance. These values are compared to determine if the design is safe, weak against wear, or unsafe. The output shows an example run where the design is determined to be weak against wear.

Uploaded by

Nazim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Helical Gear Design

#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<math.h>
void main()
{
clrscr();
float st_g,st_p,psi1,psi,fefg,fefp,fbg,fbp,Zfg,Zfp,c,Zp,Zg,Yp,Yg;
float Fi,Fw,Fb,Ft,Fd,Dp,kw,f,m,mn,v,cv,Q,Np;
int choice;
printf("\nEnter the Following Values\n");
printf("\nNumber of Teeth on Pinion(Zp): ");
scanf("%f",&Zp);
printf("\tNumber of Teeth on Gear(Zg): ");
scanf("%f",&Zg);
printf("\nTransverse Module(m) in mm: ");
scanf("%f",&m);
printf("\tPinion Speed(Np) in Rpm: ");
scanf("%f",&Np);
printf("\nHelix Angle(psi) in Degree: ");
scanf("%f",&psi1);
psi=cos(psi1*3.14159/180);
printf("\nSafe working Strength for pinion(fbp) in Mpa: ");
scanf("%f",&fbp);
printf("\tSafe working Strength for Gear(fbg) in Mpa: ");
scanf("%f",&fbg);
printf("\nFlexural endurance limit for pinion(fefp) in Mpa: ");
scanf("%f",&fefp);
printf("\tFlexural endurance limit for Gear(fefg) in Mpa: ");
scanf("%f",&fefg);
printf("\nFactor(c): ");
scanf("%f",&c);
printf("\tLoad Stress Factor(kw): ");
scanf("%f",&kw);
mn=m*psi;
Zfp=Zp/(psi*psi*psi);
Zfg=Zg/(psi*psi*psi);
Q=(2*Zg)/(Zp+Zg);
f=11*m;
Dp=Zp*m/1000;
v=(3.14159*Dp*Np)/60;
if(v>=0&&v<5)
cv=4.58/(4.58+v);
if((v>=5)&&(v<10))
cv=6.1/(6.1+v);
if((v>=10)&&(v<=20))
cv=15.25/(15.25+v);
if(v>20)
cv=5.55/(5.55+sqrt(v));
printf("\nSelect a tooth system:\n1. 14.5øFD system\n2. 20øFD system\n3. 20øcomposite
system\n");
scanf("%d",&choice);
if(choice==1)
{
Yp=3.14159*(.124-.684/Zfp);
Yg=3.14159*(.124-.684/Zfg);
st_g=Yg*fbg;
st_p=Yp*fbp;
if(st_g>st_p)
{
printf("\nPinion is weaker. design is based on Pinion");
Ft=0.75*fbp*f*mn*Yp*cv;
Fb=0.75*fefp*f*mn*Yp;
}
if(st_p>st_g)
{
printf("\nGear is weaker. design is based on Gear");
Ft=0.75*fbg*f*mn*Yg*cv;
Fb=0.75*fefg*f*mn*Yg;
}
}
if(choice==2)
{
Yp=3.14159*(.154-.912/Zfp);
Yg=3.14159*(.154-.912/Zfg);
st_g=Yg*fbg;
st_p=Yp*fbp;
if(st_g>st_p)
{
printf("\nPinion is weaker. design is based on Pinion");
Ft=0.75*fbp*f*mn*Yp*cv;
Fb=0.75*fefp*f*mn*Yp;
}
if(st_p>st_g)
{
printf("\nGear is weaker. design is based on Gear");
Ft=0.75*fbg*f*mn*Yg*cv;
Fb=0.75*fefg*f*mn*Yg;
}
}
if(choice==3)
{
Yp=3.14159*(.175-.841/Zfp);
Yg=3.14159*(.175-.841/Zfg);
st_g=Yg*fbg;
st_p=Yp*fbp;
if(st_g>st_p)
{printf("\nPinion is weaker. design is based on pinion");
Ft=0.75*fbp*f*mn*Yp*cv;
Fb=0.75*fefp*f*mn*Yp;}
if(st_p>st_g)
{printf("\nGear is weaker. design is based on Gear");
Ft=0.75*fbg*f*mn*Yg*cv;
Fb=0.75*fefg*f*mn*Yg;}
}
if((choice==0)||(choice>3))
{
printf("Wrong Choice Entered");
exit;
}

Fw=Dp*f*kw*Q/(psi*psi);
Fi=(21*v*(c*f*psi*psi+Ft)*psi)/(21*v+(sqrt(c*f*psi*psi+Ft)));
Fd=Ft+Fi;
printf("\n\n$$$$$$$$$$$$$$$$$$HELICAL GEAR DESIGN$$$$$$$$$$$$$$$$$$");
printf("\n\n\tFb=%f",Fb);
printf("\n\tFt=%f",Ft);
printf("\n\tFw=%f",Fw);
printf("\n\tFd=%f",Fd);
if ( (Fw>=Fd)&&(Fb>=Fd))
{
printf("\n\nDesign is Safe.");
}
if ((Fb>=Fd)&&(Fw<Fd))
{
printf("\n\nDesign is Weak against Wear. Heat Treatment is required");
}
if(((Fb<Fd)&&(Fw>=Fd))&&((Fb<Fd)&&(Fw<Fd)))
{
printf("\nDesign is not SAFE at all.");
}

getch();
}
OUTPUT

Enter the Following Values

Number of Teeth on Pinion(Zp): 20


Nubber of Teeth on Gear(Zg): 60

Transverse Module(m) in mm: 8


Pinion Speed(Np) in Rpm: 1200

Helix Angle(psi) in Degree: 25

Safe working Strength for pinion(fbp) in Mpa: 175


Safe working Strength for Gear(fbg) in Mpa: 145

Flexural endurance limit for pinion(fefp) in Mpa: 350


Flexural endurance limit for Gear(fefg) in Mpa: 300

Factor(c): 288
Load Stress Factor(kw): 358

Select a tooth system:


1. 14.5°FD system
2. 20°FD system
3. 20°composite system
2

Gear is weaker. design is based on Gear

$$$$$$$$$$$$$$$$$$HELICAL GEAR DESIGN$$$$$$$$$$$$$$$$$$

Fb=64351.324219
Ft=18745.652344
Fw=9205.033203
Fd=37207.703125

Design is Weak against Wear. Heat Treatment is required

You might also like