您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 机械/模具设计 > 73机械设计课程设计
2011年6月30日辽宁工程技术大学目录1.设计任务及要求……………………………………2.数学模型的建立……………………………………3.程序框图……………………………………………4.程序清单及运行结果………………………………5.设计总结……………………………………………6.参考文献………………………………………………7.附:中期检查报告…………………………………1.设计任务及要求已知:齿轮6,,32,112065moZZ模数分度圆压力角,齿轮为正常齿制,工作情况位开式传动,齿轮Z6与曲柄共轴。要求:1)用C语言编写程序计算A.中心距a(圆整尾数为5或0或双数);B.啮合角;C.按小轮不发生根切为原则分配变位系数x、65x;D.计算基圆直径,、节圆直径、,分度圆直径、bddddddb656565,,齿顶圆齿厚,基圆齿厚、分度圆齿厚、SSSSbb6565,、SSaa65节圆展角;E.重合度;2)计算出齿形曲线,在2号图纸上绘制齿轮传动的啮合图。3)编写出计算说明书。2.数学模型1)实际中心距a/的确定:2)65(zzma;a/=(a/5+1)5;2)啮合角/:;)cos(2)65()cos(//zzminvinvzzxx)/()(tan26565,;3)按小轮不发生根切为原则分配变位系数x、65x;zmin=2ha*/sin2αzzzhxamin5minmin5/)(;zzzhxaminminmin6/)(;;tan2))((65/65zzxxinvinv4)齿轮基本参数:注:下列尺寸单位为mm模数:m=6压力角:20o齿数:Z5=11Z6=32齿顶高系数:0.1*ha齿根高系数:25.0*c分度圆分离系数:)1coscos)((21,65azzy齿顶高变动系数:yxx65分度圆直径;zdm55zdm66基圆直径;cos55zdmbcos66zdmb齿顶高:)(5*5xhhaam)(6*6xhhaam齿根高:)(5**5xchhafm)(6**6xchhafm齿顶圆直径:hddaa5552hddaa6662齿根圆直径;hddff5552hddff6662节圆直径:add,5,5coscosadd,6,6coscos齿距:P=m节圆齿距:app,,coscos基圆齿距;cosppb分度圆齿厚:tan22155mmxstan22166mmxs基圆齿厚:;2;26616666655155555coscosinvinvinvinvddrrrSSddrrrSSabbbbabbbb节圆展角:;66tan;55tan/61/616/51/515coscoscoscosddddddddbbbb5)重合度:)]tan(tan)tan(tan[21,66,55aazz)/(5515cosddaba)/(6616cosddaba20,o一般情况应保证2.16)齿顶厚:)(2555555invinvaaaarrrss)(2666666invinvaaaarrrss一般取25.0sa3.程序框图输入mz5z6ha*c*计算aayd5d6db5db6d5d6pplpb计算Xmin5Xmin6Yx5﹤Xmin5x6﹤Xmin6N计算ha5ha6hf5hf6da5da6s5s6sb5sb6sa5sa656Ysa﹤0.25mN计算Y﹤1.2N计算aaypplpbha5ha6hf5hf6da5da6s5s6sb5sb6sa5sa656输出计算结果4.程序清单及运行结果(1)程序清单#includemath.h#includestdio.h#definez511.0#definez632.0#definet20*3.14/180/*yalijiao,unit:rad*/#definem6/*moshu*/#definehax1.0#definecx0.25#defineZmin17.0#definepi3.14main(){inta,ai;doubleti;/*niehejiao*/doublex5,x6,xh;doubledb5,db6;/*jiyuanzhijing*/doubled5,d6;/*fenduyuanzhijing*/doubleha5,ha6;/*chidinggao*/doublehf5,hf6;/*chigengao*/doubledf5,df6;/*chigenyuanzhijing*/doubledi5,di6;/*jieyuanzhijing*/doubleda5,da6;/*chidingyuanzhijing*/doublep;/*chiju*/doublep1;/*jieyuanchiju*/doublepb;/*jiyuanchiju*/doubleS5,S6;/*chihou*/doubleSb5,Sb6;/*jiyuanchihou*/doubleSa5,Sa6;/*chidinghou*/doubleo5,o6;/*jieyuanzhanjiao*/doublee;/*chonghedu*/doubley,Xmin5,Xmin6;/*yshifenlixishu*/doublecdb;doublecgm;/*chidingaobiandongxishu*/intj,i;a=m*(z5+z6)/2;printf(a=%d\n,a);i=a/5;ai=(i+1)*5;printf(ai=%d(mm)\n,ai);ti=acos(a*cos(t)/ai);printf(ti=%4.3f(rad)\n,ti);cdb=z6/z5;printf(\ncdb=%5.3f\n,cdb);y=0.5*(z5+z6)*(cos(t)/cos(ti)-1);printf(y=%5.3lf\n,y);d5=m*z5;d6=m*z6;printf(d5=%5.3lf,d6=%5.3lf(mm)\n,d5,d6);db5=m*z5*cos(t);db6=m*z6*cos(t);printf(db5=%5.3lf,db6=%5.3lf(mm)\n,db5,db6);di5=d5*cos(t)/cos(ti);di6=d6*cos(t)/cos(ti);printf(di5=%5.3lf,di6=%5.3lf(mm)\n,di5,di6);p=m*pi;p1=p*cos(t)/cos(ti);pb=pi*m*cos(t);printf(p=%5.3lf,p1=%5.3lf,pb=%5.3lf\n,p,p1,pb);Xmin5=hax*(Zmin-z5)/Zmin;printf(Xmin5=%3.4lf(mm)\n\n,Xmin5);Xmin6=hax*(Zmin-z6)/Zmin;printf(Xmin6=%3.4lf(mm)\n\n,Xmin6);xh=0.5*(tan(ti)-ti-(tan(t)-t))*(z5+z6)/tan(t);printf(xh=x5+x6=%5.3f\n,xh);for(j=0;j10;j++){x5=Xmin5+0.04*j;x6=xh-x5;if(x6Xmin6)break;cgm=x5+x6-y;ha5=m*(hax+x5-cgm);ha6=m*(hax+x6-cgm);hf5=(hax+cx-x5)*m;hf6=(hax+cx-x6)*m;da5=d5+2*ha5;da6=d6+2*ha6;df5=d5-2*hf5;df6=d6-2*hf6;S5=0.5*pi*m+2*x5*m*tan(t);S6=0.5*pi*m+2*x6*m*tan(t);Sb5=S5*db5/d5-db5*(tan(acos(db5/db5))-acos(db5/db5)-(tan(t)-t));Sb6=S6*db6/d6-db6*(tan(acos(db6/db6))-acos(db6/db6)-(tan(t)-t));Sa5=S5*da5/d5-da5*(tan(acos(db5/da5))-acos(db5/da5)-(tan(t)-t));Sa6=S6*db6/d6-da6*(tan(acos(db6/da6))-acos(db6/da6)-(tan(t)-t));o5=tan(acos(db5/di5))-acos(db5/di5);o6=tan(acos(db6/di6))-acos(db6/di6);e=(z5*(tan(acos(db5/da5))-tan(ti))+z6*(tan(acos(db6/da6))-tan(ti)))/(2*pi);if((S5cx*m)&&(S6cx*m)&&(Sb5cx*m)&&(Sb6cx*m)&&(Sa5cx*m)&&(Sa6cx*m)&&(e1.2)){printf(a=%d\n,a);printf(ai=%d(mm)\n,ai);printf(ti=%4.3f(rad)\n,ti);printf(\ncdb=%5.3f\n,cdb);printf(y=%5.3lf\n,y);printf(d5=%5.3lf,d6=%5.3lf(mm)\n,d5,d6);printf(db5=%5.3lf,db6=%5.3lf(mm)\n,db5,db6);printf(di5=%5.3lf,di6=%5.3lf(mm)\n,di5,di6);printf(p=%5.3lf,p1=%5.3lf,pb=%5.3lf\n,p,p1,pb);printf(x5=%5.3lf,x6=%5.3lf(mm)\n,x5,x6);printf(cgm=%5.3lf\n,cgm);printf(ha5=%5.3lf,ha6=%5.3lf(mm)\n,ha5,ha6);printf(hf5=%5.3lf,hf6=%5.3lf(mm)\n,hf5,hf6);printf(da5=%5.3lf,da6=%5.3lf(mm)\n,da5,da6);printf(df5=%5.3lf,df6=%5.3lf(mm)\n,df5,df6);printf(S5=%5.3lf,S6=%5.3lf(mm)\n,S5,S6);printf(Sb5=%5.3lf,Sb6=%5.3lf(mm)\n,Sb5,Sb6);printf(Sa5=%5.3lf,Sa6=%5.3lf(mm)\n,Sa5,Sa6);printf(o5=%6.5lf,o6=%6.5lf(rad)\n,o5,o6);printf(e=%5.3lf\n,e);}}}(2)运行结果a=129ai=130(mm)ti=0.369(rad)cdb=2.909y=0.167d5=66.000,d6=192.000(mm)db5=62.024,db6=180.433(mm)di5=66.512,di6=193.488(mm)p=18.840,p1=18.986,pb=17.705Xmin5=0.3529(mm)Xmin6=-0.8824(mm)xh=x5+x6=0.171a=129ai=130(mm)ti=0.369(rad)cdb=2.909y=0.167d5=66.000,d6=192.000(mm)db5=62.024,db6=180.433(mm)di5=66.512,di6=193.488(mm)p=18.840,p1=18.986,pb=17.705x5=0.353,x6=-0.182(mm)cgm=0.005ha5=8.089,ha6=4.882(mm)hf5=5.382,hf6=8.589(mm)da5=82.178,da
本文标题:73机械设计课程设计
链接地址:https://www.777doc.com/doc-3359520 .html