哈尔滨工业大学课程设计说明书(论文)机械原理大作业说明书课程名称:机械原理设计题目:凸轮机构设计院系:汽车工程学院班级:1设计者:学号:指导教师:游斌弟设计时间:2014年6月哈尔滨工业大学一、设计题目如右图所示直动从动件盘形凸轮机构,选择一组凸轮机构的原始参数,据此设计该凸轮机构。哈尔滨工业大学课程设计说明书(论文)凸轮机构原始参数序号行程(mm)推程运动角推程运动规律推程许用压力角1590150正弦加速度30°回程运动角回程运动规律回程许用压力角远休止角近休止角100°余弦加速度60°55°55°二.凸轮推杆升程、回程运动方程及推杆位移、速度、加速度线图凸轮推杆推程运动方程:s=90[6φ5π−sin12φ52π]v=108ω1𝜋[1−cos(12𝜑5)]a=259.2𝜔12𝜋sin(12𝜑5)凸轮推杆回程运动方程:𝑠=45[1+cos(9𝜑5−41𝜋20)]𝑣=−81𝜔1sin(9𝜑5−41𝜋20)𝑎=−145.8𝜔12cos(9𝜑5−41𝜋20)%t表示转角,s表示位移t=0:0.01:5*pi/6;%升程阶段s=90*[(6*t)/(5*pi)-1/(2*pi)*sin(12*t/5)];holdonplot(t,s);t=5*pi/6:0.01:41*pi/36;%远休止阶段s=90;holdonplot(t,s);哈尔滨工业大学课程设计说明书(论文)t=41*pi/36:0.01:61*pi/36;%回程阶段s=45*[1+cos((9*t/5)-(41*pi/20))];holdonplot(t,s);t=61*pi/36:0.01:2*pi;%近休止阶段s=0;holdonplot(t,s);gridonholdoff%t表示转角,令ω1=1t=0:0.01:5*pi/6;%升程阶段v=108*1*[1-cos(12*t/5)]/piholdonplot(t,v);t=5*pi/6:0.01:41*pi/36;%远休止阶段v=0holdonplot(t,v);t=41*pi/36:0.01:61*pi/36;%回程阶段v=-81*1*sin((9*t/5)-(41*pi/20))holdonplot(t,v);t=61*pi/36:0.01:2*pi;%近休止阶段012345670102030405060708090哈尔滨工业大学课程设计说明书(论文)v=0holdont=0:0.001:5*pi/6;a=259.2*sin(12*t/5)/pi;holdonplot(t,a);t=5*pi/6:0.01:41*pi/36;a=0;holdonplot(t,a);t=41*pi/36:0.001:61*pi/36;a=-145.8*cos((9*t/5)-(41*pi/20));holdonplot(t,a);t=61*pi/36:0.001:2*pi;a=0;holdon0123456-100-80-60-40-20020406080哈尔滨工业大学课程设计说明书(论文)三.绘制凸轮机构的sdds线图%t表示转角,x(横坐标)表示速度ds/dφ,y(纵坐标)表示位移st=0:0.001:5*pi/6;%升程阶段x=108*1*(1-cos(12*t/5))/pi;y=90*((6*t)/(5*pi)-1/(2*pi)*sin(12*t/5));holdonplot(x,y,'-r');t=5*pi/6:0.01:41*pi/36;%远休止阶段x=0;y=90;holdonplot(x,y,'-r');t=41*pi/36:0.001:61*pi/36;%回程阶段x=-81*1*sin((9*t/5)-(41*pi/20));y=45*(1+cos((9*t/5)-(41*pi/20)));holdonplot(x,y,'-r');t=61*pi/36:0.01:2*pi;%近休止阶段x=0;y=0;0123456-150-100-50050100150哈尔滨工业大学课程设计说明书(论文)holdonplot(x,y,'-r');gridonholdoff四.绘制凸轮理论轮廓线%理论轮廓o1=0:pi/100:5*pi/6;s1=100*((6*o1)/(5*pi)-sin(12*o1/5)/(2*pi));x1=(31+s1).*cos(o1)-18*sin(o1);y1=(31+s1).*sin(o1)+18*cos(o1);o2=5*pi/6:0.01:19*pi/18;x2=131*cos(o2)-18*sin(o2);y2=131*sin(o2)+18*cos(o2);o3=19*pi/18:0.01:4*pi/3;s3=100-200*(o3-(19*pi)/18).^2/(5*pi/9)^2;x3=(31+s3).*cos(o3)-18*sin(o3);y3=(31+s3).*sin(o3)+18*cos(o3);o4=4*pi/3:0.01:29*pi/18;s4=200*((29*pi)/18-o4).^2/(5*pi/9)^2;x4=(31+s4).*cos(o4)-18*sin(o4);y4=(31+s4).*sin(o4)+18*cos(o4);o5=29*pi/18:0.01:2*pi;x5=31*cos(o5)-18*sin(o5);y5=31*sin(o5)+18*cos(o5);plot(x1,y1,'b',x2,y2,'b',x3,y3,'b',x4,y4,'b',x5,y5,'b')title('理论轮廓')grid-100-80-60-40-200204060800102030405060708090哈尔滨工业大学课程设计说明书(论文)六、求最小曲率半径%求最小曲率半径v=[];symsx1x2x3x4x5s0=31;e=18;s1=100*((6*x1)/(5*pi)-sin(12*x1/5)/(2*pi));t1=(s1+s0)*cos(x1)-e*sin(x1);y1=(s0+s1)*sin(x1)+e*cos(x1);tx1=diff(t1,x1);txx1=diff(t1,x1,2);yx1=diff(y1,x1);yxx1=diff(y1,x1,2);forxx1=0:(pi/100):(2*pi/3);k1=subs(abs((tx1*yxx1-txx1*yx1)/(tx1^2+yx1^2)^1.5),{x1},{xx1});v=[v,1/k1];ends2=100;t2=(s2+s0)*cos(x2)-e*sin(x2);y2=(s0+s2)*sin(x2)+e*cos(x2);tx2=diff(t2,x2);txx2=diff(t2,x2,2);yx2=diff(y2,x2);yxx2=diff(y2,x2,2);forxx2=(2*pi/3):(pi/100):(35*pi/36);k2=subs(abs((tx2*yxx2-txx2*yx2)/(tx2^2+yx2^2)^1.5),{x2},{xx2});v=[v,1/k2];ends3=100-200*(x3-(19*pi)/18).^2/(5*pi/9)^2;t3=(s3+s0)*cos(x3)-e*sin(x3);y3=(s0+s3)*sin(x3)+e*cos(x3);tx3=diff(t3,x3);-140-120-100-80-60-40-2002040-100-50050100150理论轮廓哈尔滨工业大学课程设计说明书(论文)txx3=diff(t3,x3,2);yx3=diff(y3,x3);yxx3=diff(y3,x3,2);forxx3=(35*pi/36):(pi/100):(53*pi/36);k3=subs(abs((tx3*yxx3-txx3*yx3)/(tx3^2+yx3^2)^1.5),{x3},{xx3});v=[v,1/k3];ends4=200*((29*pi)/18-x4).^2/(5*pi/9)^2;t4=(s4+s0)*cos(x4)-e*sin(x4);y4=(s0+s4)*sin(x4)+e*cos(x4);tx4=diff(t4,x4);txx4=diff(t4,x4,2);yx4=diff(y4,x4);yxx4=diff(y4,x4,2);forxx4=(53*pi/36):(pi/100):(2*pi);k4=subs(abs((tx4*yxx4-txx4*yx4)/(tx4^2+yx4^2)^1.5),{x4},{xx4});v=[v,1/k4];ends5=0;t5=(s5+s0)*cos(x4)-e*sin(x4);y5=(s0+s5)*sin(x4)+e*cos(x4);tx5=diff(t5,x5);txx5=diff(t5,x5,2);yx5=diff(y5,x5);yxx5=diff(y5,x5,2);forxx5=(53*pi/36):(pi/100):(2*pi);k5=subs(abs((tx5*yxx5-txx5*yx5)/(tx5^2+yx5^2)^1.5),{x5},{xx5});v=[v,1/k5];endmin(v)ans=((sin((161*pi)/450)*((441352763482308608*pi^2)/6945116672350037925+31)-18*cos((161*pi)/450)+(126100789566373888*pi*cos((161*pi)/450))/30867185210444613)^2+(18*sin((161*pi)/450)-(126100789566373888*pi*sin((161*pi)/450))/30867185210444613+cos((161*pi)/450)*((441352763482308608*pi^2)/6945116672350037925+31))^2)^(3/2)/((sin((161*pi)/450)*((441352763482308608*pi^2)/6945116672350037925+31)-18*cos((161*pi)/450)+(126100789566373888*pi*cos((161*pi)/450))/30867185210444613)*(18*cos((161*pi)/450)+(450359962737049600*sin((161*pi)/450))/3429687245604957-sin((161*pi)/450)*((441352763482308608*pi^2)/6945116672350037925+31)-(252201579132747776*pi*cos((161*pi)/450))/30867185210444613)+(18*sin((161*pi)/450)-(126100789566373888*pi*sin((161*pi)/450))/30867185210444613+cos((161*pi)/450)*((441352763482308608*pi^2)/6945116672350037925+31))*((450359962737049600*cos((161*pi)/450))/3429687245604957-18*sin((161*pi)/450)+(252201579132747776*pi*sin((161*pi)/450))/30867185210444613-哈尔滨工业大学课程设计说明书(论文)cos((161*pi)/450)*((441352763482308608*pi^2)/6945116672350037925+31)))七,求工作轮廓图线%工作轮廓图线r0=36.31;e=18;s0=sqrt(r0^2+e^2);r=7;o1=0:0.01:5*pi/6;s1=100*((6*o1)/(5*