预览加载中,请您耐心等待几秒...
1/7
2/7
3/7
4/7
5/7
6/7
7/7

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

机械原理课程设计说明书设计题目:牛头刨床传动机构设计及其运动分析机电学院班学号设计者指导教师2007年6月21日(1)机构运动简图及原始数据和要求:牛头刨床传动机构示意图:原始数据:齿轮转速n1(rpm)模数m(mm)齿数Z1齿数Z2距离L1(mm)滑枕冲程H(mm)行程数比系数K距离L2(mm)中心距O2O3230615551765001.65360350(2)设计过程及主要计算结果:由K=(180°+θ)/(180°-θ)=1.65得:θ=180°·(K-1)/(K+1)=44.15°由α=(180°-θ)/2=67.92°及cosα=O2A/O2O3得:O2A=131.54㎜由sin(90°-α)=0.5H/O3B得:O3B=665.20㎜又由机构分析得S=-Lo3b*sin(j2)w1=2*PI*n1/(60)w2=w1*z1/z2w3=Lo2a*w2*cos(j1-j2)/Lo3aV=-w3*Lo3b*cos(j2)Va=-Lo2a*w2*sin(j1-j2)aj=-(2*Va*w3+Lo2a*w2*w2*sin(j1-j2))/Lo3aat=Lo3b*aj*cos(j2)an=Lo3b*w3*w3*sin(j2)a=an-at可得出机构刨刀滑枕位移s速度v及加速度a。(3)计算原程序及注释:#include<math.h>#include<stdio.h>#definePI3.1415926inti;floatn1=230,m=6,z1=15,z2=55,L1=176,H=500,K=1.65,L2=360,Lo23=350,Lo3b=665.20,Lo2a=131.54;/*定义参数*/floatj1,j2,tanj2,S,Lo2a,Lo3b,Lo3a,w1,w2,w3,V,Va,aj,at,an,a;/*定义变量(这里设O3A与Y轴夹角为角1,O3A与Y轴夹角为角2)*/PRINT(floatj1){FILE*fp;fp=fopen("d:\\NTB5.txt","a");tanj2=(Lo2a*sin(j1))/(Lo23+Lo2a*cos(j1));j2=atan(tanj2);/*求解角2*/Lo3a=sqrt((Lo23+Lo2a*cos(j1))*(Lo23+Lo2a*cos(j1))+(Lo2a*sin(j1))*(Lo2a*sin(j1)));S=-Lo3b*sin(j2);w1=2*PI*n1/(60);w2=w1*z1/z2;w3=Lo2a*w2*cos(j1-j2)/Lo3a;/*求解O1.O2.O3角速度*/V=-w3*Lo3b*cos(j2);/*求解刨刀速度*/Va=-Lo2a*w2*sin(j1-j2);/*滑块A的法向速度*/aj=-(2*Va*w3+Lo2a*w2*w2*sin(j1-j2))/Lo3a;/*滑块A的法向加速度*/at=Lo3b*aj*cos(j2);/*滑块B的切向加速度*/an=Lo3b*w3*w3*sin(j2);/*滑块B的法向加速度*/a=an-at;/*刨刀的加速度*/printf("%2d%12.3f%16.3f%16.3f%16.3f\n",i,j1/PI*180,S,V,a);fprintf(fp,"%2d%12.3f%18.3f%18.3f%18.3f\n",i,j1/PI*180,S,V,a);fclose(fp);}main(){FILE*fp;if((fp=fopen("d:\\NTB5.txt","w+"))==NULL)exit(0);printf("NO:\tj1\t\tS\t\tV\t\ta\n\n");for(j1=0,i=1;j1<=2*PI;j1=j1+(10*PI/180),i++)/*随角1变化定义循环*/{PRINT(j1);if(i%20==0)system("pause");}fclose(fp);system("pause");}(4)程序运行结果及图表分析:系列角度位移(mm)速度(mm/s)加速度(mm/s2)10.000-0.000-1193.6110.000210.00-31.649-1186.250554.774320.000-62.906-1164.0521118.385430.000-93.372-1126.6511700.996540.000-122.636-1073.3792315.608650.000-150.262-1003.1612979.941760.000-175.780-914.3673718.907870.000-198.666-804.5694567.833980.000-218.318-670.2235576.4011090.000-234.020-506.2296812.4