车辆系统动力学仿真大作业(带程序).docx
《车辆系统动力学仿真大作业(带程序).docx》由会员分享,可在线阅读,更多相关《车辆系统动力学仿真大作业(带程序).docx(17页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、车辆系统动力学仿真大作业(带程序)文档视界车辆系统动力学仿真大作业(带程序)车辆系统动力学仿真大作业(带程序)文档视界车辆系统动力学仿真大作业(带程序)车辆系统动力学仿真大作业(带程序)AccordingtotheNewssecondLaw,wecangettheequation:2)()(221211mgzzczzkzm-+-=?221212)()(zkmgzzczzkzmw+-=?0)()()()(222111222111=-+-+-+-+?wwwwzLzkzLzkzLzczLzczm0)()()()(2222111122221111=-+-+-?wwwwzLzLkzLzLkzLzLczL
2、zLcJdwwwwQzLzkzLzczm,111111111)()(-=-?dwwwwQzLzkzLzczm,222222222)()(-=-+-+-?Whenthereisnoexcitationwecangettheequation:2)()(221211mgzzczzkzm-+-=?221212)()(zkmgzzczzkzmw+-=?Thenwesubstitudethedataintotheequation,wewriteaproceduretosimulatethesystem:Date:?=?=?=MN/m0.10km25.1s/mkN0.20MN/m0.1mkg3020kg21
3、00kg3250w2lckImmbywbProgram:1.Forthenoexcitationsituation.Buidafilenamedrigid1.mfunctiondy=rigid1(t,y)dy=zeros(4,1);dy(1)=y(2);dy(3)=y(4);dy(2)=-(615.38*y(1)-615.38*y(3)+12.31*dy(1)-12.31*dy(3)-9.81);dy(4)=-(5238.1*y(3)-476.19*y(1)+9.52*dy(3)-9.52*dy(1)-9.81);Buidanotherfilenamedtest1.mT,Y=ode45(rig
4、id1,01.5,0000);figure(1)plot(T,Y(:,1)gridon,xlabel(time(sec),ylabel(displayment(m),title(displaymentofboge)figure(2)plot(T,Y(:,2)gridon,xlabel(time(sec),ylabel(velocity(m/s),title(velocityofboge)figure(3)plot(T,Y(:,3)gridon,xlabel(time(sec),ylabel(displayment(m),title(displaymentofwheel)figure(4)plo
5、t(T,Y(:,4)gridon,xlabel(time(sec),ylabel(velocity(m/s),title(velocityofwheel)文档视界车辆系统动力学仿真大作业(带程序)车辆系统动力学仿真大作业(带程序)文档视界车辆系统动力学仿真大作业(带程序)车辆系统动力学仿真大作业(带程序)Whenthereareexcitations,accordingtoNewtonssecondLawandmomentumequationwecanget0)()()()(32321=-+-+-+-+?zlzkzlzkzlzczlzczm0)()()()(3232=-+-+-?zlzklzl
6、zklzlzclzlzlcJdQzlzkzlzczm,222)()(22-=-?dQzlzkzlzczm,33333)()(-=-+-+-?)(22,2xzkQwd-=)(33,3xzkQwd-=Therearefourexcitations,eachwheelsetgetoneexcitation.X1=0.005sin(4t)X2=0.005sin(8t)X1andX2actonboge1X3=0.005sin(4t)X4=0.005sin(6t)X1andX2actonboge2Program:Mw=2100;%wheelmassMb=3250;%bogemassMc=0;%carbod
7、ymassKw=1.0e7;%wheelelasticcoeffetionKs=0e6;%secendarysuspensioncoeffetionKp=1.0e6;%primerysuspensioncoeffetionCs=1;%secendarydumpcoeffetionCp=5.0e4;%primerysuspensioncoeffetionlc=0;%carbodylenthlt=1.25;%bogelenthic=1;%carbodyinertiaib=3020;%bogeinertiaA=-(Kp+Cp+Kw+Mw),0,0,0,(Kp+Cp),0,0,-lt*(Kp+Cp),
8、0,0;0,-(Kp+Cp+Kw+Mw),0,0,(Kp+Cp),0,0,-lt*(Kp+Cp),0,0;0,0,-(Kp+Cp+Kw+Mw),0,0,(Kp+Cp),0,0,-lt*(Kp+Cp),0;0,0,0,-(Kp+Cp+Kw+Mw),0,(Kp+Cp),0,0,-lt*(Kp+Cp),0;(Kp+Cp),(Kp+Cp),0,0,-(Ks+Cs+2*Kp+2*Cp+Mb),0,(Ks+Cs),0,0,-lc*(Ks+Cs);0,0,(Kp+Cp),(Kp+Cp),0,-(Ks+Cs+2*Kp+2*Cp+Mb),(Ks+Cs),0,0,-lc*(Ks+Cs);0,0,0,0,(Ks+C
9、s),(Ks+Cs),-(2*Ks+2*Cs+Mc),0,0,0;lt*(Kp+Cp),-lt*(Kp+Cp),0,0,0,0,0,(2*lt2*(Kp+Cp)-ib),0,0;0,0,(lt*Kp+lt*Cp),-(lt*Kp+lt*Cp),0,0,0,0,(2*lt2*(Kp+Cp)-ib),0;0,0,0,0,(lc*Ks+lc*Cs),-(lc*Ks+lc*Cs),0,0,0,(2*lc2*(Ks+Cs)-ic);B=-(2*Mw+Cp),0,0,0,Cp,0,0,-Cp*lt,0,0;0,-(2*Mw+Cp),0,0,Cp,0,0,Cp*lt,0,0;0,0,-(2*Mw+Cp),0
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 车辆 系统 动力学 仿真 作业 程序
限制150内