matlab-汽車?yán)碚?作業(yè)(word文檔良心出品).doc
《matlab-汽車?yán)碚?作業(yè)(word文檔良心出品).doc》由會員分享,可在線閱讀,更多相關(guān)《matlab-汽車?yán)碚?作業(yè)(word文檔良心出品).doc(4頁珍藏版)》請?jiān)趨R文網(wǎng)上搜索。
1、%習(xí)題1.3%平衡圖clear;n=600:1:4000;T=-19.313+295.27*(n/1000)-165.44*(n/1000).2+40.874*(n/1000).3-3.8445*(n/1000).4;r=0.367;e=0.85;io=5.83;f=0.013;CdA=2.77;G=38024;m=3880;If=0.218;Iw1=1.798;Iw2=3.598;Ig=5.56,2.769,1.644,1.00,0.793;ig1=5.56;ig2=2.769;ig5=0.793;for ig=Ig; Ft=T*ig*io*e/r; Ua=0.377*r*n/(io*ig)
2、; subplot(1,2,1); plot(Ua,Ft); axis square; title(驅(qū)動力與行駛阻力平衡圖); xlabel(Ua/(km/h) ylabel(F/N) hold on;endF=G*f+(CdA*Ua.2)/21.15;hold on; plot(Ua,F,r);Ft=T*ig5*io*e/r;k=abs(Ft-F);imin=find(min(k)=k);text(Ua(imin),Ft(imin), max=,num2str(Ua(imin);plot(Ua(imin),Ft(imin),r*);fprintf(最高車速為:);fprintf(%g,Ua(
3、imin);fprintf(km/hn);%爬坡度Ft1=T*ig1*io*e/r;Ua=0.377*r*n/(io*ig1);F=G*f+(CdA*Ua.2)/21.15;alpha=asin(Ft1-F)/G);i=tan(alpha);imax=find(max(i)=i);fprintf(最大爬坡度為:);fprintf(%g,i(imax);%附著率a1=1.947;L=3.2;hg=0.9;q=i+(1./cos(alpha)*(1./9.8);C=q/(a1/L+hg*q/L);fprintf(n附著率為:);fprintf(%g,C);fprintf(n);%加速度倒數(shù)曲線fo
4、r ig=Ig; Ft=T*ig*io*e/r; Ua=0.377*r*n/(io*ig); F=G*f+(CdA*Ua.2)/21.15; delta=1+(Iw1+Iw2)/(m*r2)+(If*ig2*io2*e)/(m*r2); a=(Ft-F)/(m*delta); v=1./a; subplot(1,2,2); plot(Ua,v); axis square; axis(0 99 0 10) title(汽車行駛加速度倒數(shù)曲線); xlabel(Ua/(km/h) ylabel(1/a) hold onend%加速時間yitaT=0.85;r=0.367;f=0.013;CdA=2
5、.77;i0=5.83;If=0.218;Iw1=1.798;Iw2=3.598;L=3.2;a=1.947;hg=0.9;ig=5.56 2.769 1.644 1.00 0.793;nmin=600;nmax=4000;u1=0.377*r*nmin./ig/i0;u2=0.377*r*nmax./ig/i0;deta=0*ig;for i=1:5 deta(i)=1+(Iw1+Iw2)/(m*r2)+(If*(ig(i)2*i02*yitaT)/(m*r2);enddeta_u=0.01;ua=6:deta_u:99;N=length(ua);n=0;Tq=0;Ft=0;inv_a=0*
6、ua;delta=0*ua;Ff=G*f;Fw=CdA*ua.2/21.15;for i=1:N k=i; if ua(i)=u2(2) n=ua(i)*(ig(2)*i0/r)/0.377; Tq=-19.313+295.27*(n/1000)-165.44*(n/1000)2+40.874*(n/1000)3-3.8445*(n/1000)4; Ft=Tq*ig(2)*i0*yitaT/r; inv_a(i)=(deta(2)*m)/(Ft-Ff-Fw(i); delta(i)=deta_u*inv_a(i)/3.6; elseif ua(i)=u2(3) n=ua(i)*(ig(3)*i
7、0/r)/0.377; Tq=-19.313+295.27*(n/1000)-165.44*(n/1000)2+40.874*(n/1000)3-3.8445*(n/1000)4; Ft=Tq*ig(3)*i0*yitaT/r; inv_a(i)=(deta(3)*m)/(Ft-Ff-Fw(i); delta(i)=deta_u*inv_a(i)/3.6; elseif ua(i)=u2(4) n=ua(i)*(ig(4)*i0/r)/0.377; Tq=-19.313+295.27*(n/1000)-165.44*(n/1000)2+40.874*(n/1000)3-3.8445*(n/10
8、00)4; Ft=Tq*ig(4)*i0*yitaT/r; inv_a(i)=(deta(4)*m)/(Ft-Ff-Fw(i); delta(i)=deta_u*inv_a(i)/3.6; else n=ua(i)*(ig(5)*i0/r)/0.377; Tq=-19.313+295.27*(n/1000)-165.44*(n/1000)2+40.874*(n/1000)3-3.8445*(n/1000)4; Ft=Tq*ig(5)*i0*yitaT/r; inv_a(i)=(deta(5)*m)/(Ft-Ff-Fw(i); delta(i)=deta_u*inv_a(i)/3.6; end
9、a=delta(1:k); t(i)=sum(a);endfigure(2);plot(t,ua);axis(0 40 0 70);title(汽車加速時間曲線);xlabel(t/s);ylabel(ua/km/h);fprintf(由圖可知,加速到70KM/h大約需要25.72sn);%習(xí)題1.8clear;m=1600;a=1450;b=1250;L=2700;hg=630;Mmax=140;ig1=3.85;i0=4.08;e=0.9;r=0.3;If=0.25;Iw1=2.25;Iw2=2.25;delta=1+(Iw1+Iw2)/(m*r2)+(If*ig12*i02*e)/(m*
10、r2);Ft=Mmax*ig1*i0*e/r;Acc=Ft/(delta*m);Fz1=m*9.8*b/L-Acc*(m*hg/L+(Iw1+Iw2+If*i0*ig1)/(L*r);q=Acc/9.8;C1=q/(b/L-hg*q/L);fprintf(最大加速度時需要的附著率為:);fprintf(%g,C1);fprintf(n此時的附著率大于0.6,故不能產(chǎn)生最大的加速度。n);b1=q*L/0.6+hg*q;x=b1/L;fprintf(調(diào)整后b值為:);fprintf(%g,b1);fprintf(n此時前軸負(fù)荷率為:);fprintf(%gn,x);%習(xí)題1.9clear;m=2
11、152;i0=4.55;ig1=3.79;ig2=2.17;ig3=1.41;ig4=1;ig5=0.86;hg=0.57;CdA=1.5;L=2300;If=0.22;Iw=3.6;r=0.367;e=0.9;delta=1+(Iw)/(m*r2);Acc=0.59/3.6;f=Acc*delta/9.8;fprintf(滾動阻力系數(shù)為:);fprintf(%gn,f);delta=1+(Iw)/(m*r2)+(If*ig42*i02*e)/(m*r2);D=f+delta*0.75/9.8;fprintf(最大動力因數(shù)為:);fprintf(%gn,D);q=0.52/(1/0.6-hg/
12、L);i=ig1*D-f;fprintf(最大爬坡度為:);fprintf(%gn,min(i,q);%習(xí)題2.7%功率平衡圖clear;n0=600:1:4000;T=-19.313+295.27*(n0/1000)-165.44*(n0/1000).2+40.874*(n0/1000).3-3.8445*(n0/1000).4;r0=0.367;e=0.85;io=5.83;f0=0.013;CdA=2.77;G0=38024;m0=3880;If0=0.218;Iw10=1.798;Iw20=3.598;Ig=5.56,2.769,1.644,1.00,0.793;ig5=0.793;i
- 1.請仔細(xì)閱讀文檔,確保文檔完整性,對于不預(yù)覽、不比對內(nèi)容而直接下載帶來的問題本站不予受理。
- 2.下載的文檔,不會出現(xiàn)我們的網(wǎng)址水印。
- 3、該文檔所得收入(下載+內(nèi)容+預(yù)覽)歸上傳者、原創(chuàng)作者;如果您是本文檔原作者,請點(diǎn)此認(rèn)領(lǐng)!既往收益都?xì)w您。
下載文檔到電腦,查找使用更方便
12.9 積分
下載 | 加入VIP,下載共享資源 |
- 配套講稿:
如PPT文件的首頁顯示word圖標(biāo),表示該P(yáng)PT已包含配套word講稿。雙擊word圖標(biāo)可打開word文檔。
- 特殊限制:
部分文檔作品中含有的國旗、國徽等圖片,僅作為作品整體效果示例展示,禁止商用。設(shè)計(jì)者僅對作品中獨(dú)創(chuàng)性部分享有著作權(quán)。
- 關(guān) 鍵 詞:
- matlab 汽車 理論 作業(yè) word 文檔 良心 出品