当前位置:文档之家› 机械原理大作业凸轮剖析

机械原理大作业凸轮剖析

机械原理大作业二课程名称:设计题目:院系:班级:设计者:学号:指导教师:一、设计题目图1 凸轮机构设计升程/mm 升程运动角/。

升程运动规律升程许用压力角/。

回程运动角/。

回程运动规律回城许用压力角/。

远休止角/。

近休止角/。

65 90 等加等减速35 50改进正弦70 100 120二、凸轮推杆运动规律分析1、升程运动规律(等加等减速)推程:2、远休止运动规律远休止:3、回程运动规律(改进正弦加速度)回程:4、近休止运动规律近休止:三、编程及代码1、位移、速度、加速度t=0:0.01:pi/4;s=2*65*((2*t/pi).^2);hold onplot(t,s);t=pi/4:0.01:pi/2;s=65-2*65*(((pi/2-t)/(pi/2)).^2);hold onplot(t,s);t=pi/2:0.01:pi*19/18;s=65*ones(size(t));hold onplot(t,s);t=19*pi/18:0.01:196.25*pi/180;s=65-65*((pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/18) ))/4)/(4+pi);hold onplot(t,s);t=196.25*pi/180:0.01:233.75*pi/180;s=65-65*(2+(pi*(t-19*pi/18)/(5*pi/18))-9*sin(pi/3+4*(pi*(t-19*pi/18)/ (15*pi/18)))/4)/(4+pi);hold onplot(t,s);t=233.75*pi/180:0.01:24*pi/18;s=65-65*(4+(pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/1 8)))/4)/(4+pi);hold onplot(t,s)t=24*pi/18:0.01:2*pi;s=0*ones(size(t));hold onplot(t,s);grid onhold offt=0:0.01:pi/4;v=4*65*2*t/(pi*pi/4);hold onplot(t,v);t=pi/4:0.01:pi/2;v=4*65*2*(pi/2-t)/(pi*pi/4);hold onplot(t,v);t=pi/2:0.01:pi*19/18;v=0*ones(size(t));hold onplot(t,v);t=19*pi/18:0.01:196.25*pi/180;v=-65*pi*2*(1-cos(4*pi*(t-19*pi/18)/(5*pi/18)))/((4+pi)*(5*pi/18)); hold onplot(t,v);t=196.25*pi/180:0.01:233.75*pi/180;v=-65*pi*2*(1-3*cos(pi/3+4*pi*(t-19*pi/18)/(3*5*pi/18)))/((4+pi)*(5*p i/18));hold onplot(t,v);t=233.75*pi/180:0.01:24*pi/18;v=-65*pi*2*(1-cos(4*pi*(t-19*pi/18)/(5*pi/18)))/((4+pi)*(5*pi/18)); hold onplot(t,v)t=24*pi/18:0.01:2*pi;v=0*ones(size(t));hold onplot(t,v);grid onhold offt=0:0.01:pi/4;s=4*65*4/(pi*pi/4)*ones(size(t));hold onplot(t,s);t=pi/4:0.01:pi/2;s=-4*65*4/(pi*pi/4)*ones(size(t));hold onplot(t,s);t=pi/2:0.01:pi*19/18;s=0*ones(size(t));hold onplot(t,s);t=19*pi/18:0.01:196.25*pi/180;s=-4*65*pi*pi*4*sin(4*pi*(t-19*pi/18)/(5*pi/18))/((4+pi)*((5*pi/18).^ 2));hold onplot(t,s);t=196.25*pi/180:0.01:233.75*pi/180;s=-4*65*pi*pi*4*sin(pi/3+4*pi*(t-19*pi/18)/(15*pi/18))/((4+pi)*((5*pi /18).^2));hold onplot(t,s);t=233.75*pi/180:0.01:24*pi/18;s=-4*65*pi*pi*4*sin(4*pi*(t-19*pi/18)/(5*pi/18))/((4+pi)*((5*pi/18).^ 2));hold onplot(t,s)t=24*pi/18:0.01:2*pi;s=0;hold onplot(t,s);grid onhold off2、dφ/ds – s线图t=0:0.01:pi/4;s=2*65*((2*t/pi).^2);v=4*65*2*t/(pi*pi/4);hold onplot(v,s);t=pi/4:0.01:pi/2;s=65-2*65*(((pi/2-t)/(pi/2)).^2);v=4*65*2*(pi/2-t)/(pi*pi/4);hold onplot(v,s);t=pi/2:0.01:pi*19/18;s=65*ones(size(t));v=0*ones(size(t));hold onplot(v,s);t=19*pi/18:0.01:196.25*pi/180;s=65-65*((pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/18)))/4)/(4+pi);v=-65*pi*2*(1-cos(4*pi*(t-19*pi/18)/(5*pi/18)))/((4+pi)*(5*pi/18)); hold onplot(v,s);t=196.25*pi/180:0.01:233.75*pi/180;s=65-65*(2+(pi*(t-19*pi/18)/(5*pi/18))-9*sin(pi/3+4*(pi*(t-19*pi/18)/ (15*pi/18)))/4)/(4+pi);v=-65*pi*2*(1-3*cos(pi/3+4*pi*(t-19*pi/18)/(3*5*pi/18)))/((4+pi)*(5*p i/18));hold onplot(v,s);t=233.75*pi/180:0.01:24*pi/18;s=65-65*(4+(pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/1 8)))/4)/(4+pi);v=-65*pi*2*(1-cos(4*pi*(t-19*pi/18)/(5*pi/18)))/((4+pi)*(5*pi/18)); hold onplot(v,s)t=24*pi/18:0.01:2*pi;s=0*ones(size(t));v=0*ones(size(t));hold onplot(v,s);t=pi/4;s=2*65*((2*t/pi).^2);v=4*65*2*t/(pi*pi/4);k=tan(55*pi/180);b=s-k*v;n=0:1:170;m=k*n+b;hold onplot(n,m);t=219.83*pi/180;s=65-65*(2+(pi*(t-19*pi/18)/(5*pi/18))-9*sin(pi/3+4*(pi*(t-19*pi/18)/ (15*pi/18)))/4)/(4+pi);v=-65*pi*2*(1-3*cos(pi/3+4*pi*(t-19*pi/18)/(3*5*pi/18)))/((4+pi)*(5*p i/18));k=tan(160*pi/180);b=s-k*v;n=-265:1:170;m=k*n+b;hold onplot(n,m);k=tan(55*pi/180);n=0:1:170;m=-k*n;hold onplot(n,m);grid onhold off在轴心公共许用区内取轴心位置,能够满足压力角要求,现取直线Dt’dt’与直线Dtdt的交点为轴心位置,通过解二元一次方程组,可以求得, 可取:偏距e=75, 基圆半径=122mm3、压力角线图t=0:0.01:pi/4;s=2*65*((2*t/pi).^2);v=4*65*2*t/(pi*pi/4);a=atan((abs(v-75))./(60+s));hold onplot(t,a);t=pi/4:0.01:pi/2;s=65-2*65*(((pi/2-t)/(pi/2)).^2);v=4*65*2*(pi/2-t)/(pi*pi/4);a=atan((abs(v-75))./(60+s));hold onplot(t,a);t=pi/2:0.01:pi*19/18;s=65*ones(size(t));v=0*ones(size(t));a=atan((abs(v-75))./(60+s));hold onplot(t,a);t=19*pi/18:0.01:196.25*pi/180;s=65-65*((pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/18) ))/4)/(4+pi);v=-65*pi*2*(1-cos(4*pi*(t-19*pi/18)/(5*pi/18)))/((4+pi)*(5*pi/18));a=atan((abs(v-75))./(60+s));hold onplot(t,a);t=196.25*pi/180:0.01:233.75*pi/180;s=65-65*(2+(pi*(t-19*pi/18)/(5*pi/18))-9*sin(pi/3+4*(pi*(t-19*pi/18)/ (15*pi/18)))/4)/(4+pi);v=-65*pi*2*(1-3*cos(pi/3+4*pi*(t-19*pi/18)/(3*5*pi/18)))/((4+pi)*(5*p i/18));a=atan((abs(v-75))./(60+s));hold onplot(t,a);t=233.75*pi/180:0.01:24*pi/18;s=65-65*(4+(pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/1 8)))/4)/(4+pi);v=-65*pi*2*(1-cos(4*pi*(t-19*pi/18)/(5*pi/18)))/((4+pi)*(5*pi/18));a=atan((abs(v-75))./(60+s));hold onplot(t,a);t=24*pi/18:0.01:2*pi;s=0*ones(size(t));v=0*ones(size(t));a=atan((abs(v-75))./(60+s));hold onplot(t,a);grid onhold off4、曲率半径r=122;t=0:0.01:pi/4;s=2*65*((2*t/pi).^2);a=4*65*4/(pi*pi/4)*ones(size(t));w=r+s+a;hold onplot(t,w);t=pi/4:0.01:pi/2;s=65-2*65*(((pi/2-t)/(pi/2)).^2);a=-4*65*4/(pi*pi/4)*ones(size(t));w=r+s+a;hold onplot(t,w);t=pi/2:0.01:pi*19/18;s=65*ones(size(t));a=0*ones(size(t));w=r+s+a;hold onplot(t,w);t=19*pi/18:0.01:196.25*pi/180;s=65-65*((pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/18) ))/4)/(4+pi);a=-4*65*pi*pi*4*sin(4*pi*(t-19*pi/18)/(5*pi/18))/((4+pi)*((5*pi/18).^ 2));w=r+s+a;hold onplot(t,w);t=196.25*pi/180:0.01:233.75*pi/180;s=65-65*(2+(pi*(t-19*pi/18)/(5*pi/18))-9*sin(pi/3+4*(pi*(t-19*pi/18)/ (15*pi/18)))/4)/(4+pi);a=-4*65*pi*pi*4*sin(pi/3+4*pi*(t-19*pi/18)/(15*pi/18))/((4+pi)*((5*pi /18).^2));w=r+s+a;hold onplot(t,w);t=233.75*pi/180:0.01:24*pi/18;s=65-65*(4+(pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/1 8)))/4)/(4+pi);a=-4*65*pi*pi*4*sin(4*pi*(t-19*pi/18)/(5*pi/18))/((4+pi)*((5*pi/18).^ 2));w=r+s+a;hold onplot(t,w);t=24*pi/18:0.01:2*pi;s=0*ones(size(t));a=0;w=r+s+a;hold onplot(t,w);grid onhold off5、理论轮廓与实际轮廓h=65;e=75;s0=96;n=8;%滚子直径取8mmt=0:0.01:pi/4;s=2*65*((2*t/pi).^2);x=-(s0+s).*sin(t)-e.*cos(t);y=(s0+s).*cos(t)-e.*sin(t);dx=-(s0+s).*cos(t)+e*sin(t);dy=-(s0+s).*sin(t)-e*cos(t);x1=x-n.*dy./(sqrt(dx.^2+dy.^2)); y1=y+n.*dx./(sqrt(dx.^2+dy.^2)); hold onplot(x,y,x1,y1);t=pi/4:0.01:pi/2;s=65-2*65*(((pi/2-t)/(pi/2)).^2); x=-(s0+s).*sin(t)-e.*cos(t);y=(s0+s).*cos(t)-e.*sin(t);dx=-(s0+s).*cos(t)+e*sin(t);dy=-(s0+s).*sin(t)-e*cos(t);x1=x-n.*dy./(sqrt(dx.^2+dy.^2));y1=y+n.*dx./(sqrt(dx.^2+dy.^2));hold onplot(x,y,x1,y1);t=pi/2:0.01:pi*19/18;s=65*ones(size(t));x=-(s0+s).*sin(t)-e.*cos(t);y=(s0+s).*cos(t)-e.*sin(t);dx=-(s0+s).*cos(t)+e*sin(t);dy=-(s0+s).*sin(t)-e*cos(t);x1=x-n.*dy./(sqrt(dx.^2+dy.^2));y1=y+n.*dx./(sqrt(dx.^2+dy.^2));hold onplot(x,y,x1,y1);t=19*pi/18:0.01:196.25*pi/180;s=65-65*((pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/18) ))/4)/(4+pi);x=-(s0+s).*sin(t)-e.*cos(t);y=(s0+s).*cos(t)-e.*sin(t);dx=-(s0+s).*cos(t)+e*sin(t);dy=-(s0+s).*sin(t)-e*cos(t);x1=x-n.*dy./(sqrt(dx.^2+dy.^2));y1=y+n.*dx./(sqrt(dx.^2+dy.^2));hold onplot(x,y,x1,y1);t=196.25*pi/180:0.01:233.75*pi/180;s=65-65*(2+(pi*(t-19*pi/18)/(5*pi/18))-9*sin(pi/3+4*(pi*(t-19*pi/18)/ (15*pi/18)))/4)/(4+pi);x=-(s0+s).*sin(t)-e.*cos(t);y=(s0+s).*cos(t)-e.*sin(t);dx=-(s0+s).*cos(t)+e*sin(t);dy=-(s0+s).*sin(t)-e*cos(t);x1=x-n.*dy./(sqrt(dx.^2+dy.^2));y1=y+n.*dx./(sqrt(dx.^2+dy.^2));hold onplot(x,y,x1,y1);t=233.75*pi/180:0.01:24*pi/18;s=65-65*(4+(pi*(t-19*pi/18)/(5*pi/18))-sin(4*(pi*(t-19*pi/18)/(5*pi/1 8)))/4)/(4+pi);x=-(s0+s).*sin(t)-e.*cos(t);y=(s0+s).*cos(t)-e.*sin(t);dx=-(s0+s).*cos(t)+e*sin(t);dy=-(s0+s).*sin(t)-e*cos(t);x1=x-n.*dy./(sqrt(dx.^2+dy.^2));y1=y+n.*dx./(sqrt(dx.^2+dy.^2));hold onplot(x,y,x1,y1);t=24*pi/18:0.01:2*pi;s=0*ones(size(t));x=-(s0+s).*sin(t)-e.*cos(t);y=(s0+s).*cos(t)-e.*sin(t);dx=-(s0+s).*cos(t)+e*sin(t);dy=-(s0+s).*sin(t)-e*cos(t);x1=x-n.*dy./(sqrt(dx.^2+dy.^2)); y1=y+n.*dx./(sqrt(dx.^2+dy.^2)); hold onplot(x,y,x1,y1);t=0:0.01:2*pi;x=122*cos(t);y=122*sin(t);hold onplot(x,y);t=0:0.01:2*pi;x=75*cos(t);y=75*sin(t);hold onplot(x,y);grid onhold off。

相关主题