汽车理论课后习题Matlab程序详解_第1页
汽车理论课后习题Matlab程序详解_第2页
汽车理论课后习题Matlab程序详解_第3页
汽车理论课后习题Matlab程序详解_第4页
汽车理论课后习题Matlab程序详解_第5页
已阅读5页,还剩36页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、ÉÂÎ÷Àí¹¤Ñ§ÔºÑî·É»ª1. / 341.3 È·¶¨Ò»ÇáÐÍ»õ³µµÄ¶¯Á¦ÐÔÄÜ£¨»õ³µ&

2、#191;É×°ÓÃ4µ²»ò5µ²±äËÙÆ÷£¬ÈÎÑ¡ÆäÖеÄÒ»ÖÖ½øÐÐÕû³µÐÔÄܼÆËã

3、;£©£º1£©»æÖÆÆû³µÇý¶¯Á¦ÓëÐÐÊ»×èÁ¦Æ½ºâͼ¡£2£©ÇóÆû³µ×î¸

4、23;³µËÙ£¬×î´óÅÀƶȼ°¿Ë·þ¸ÃƶÈʱÏàÓ¦µÄ¸½×ÅÂÊ¡£3£©»æÖ&#

5、198;Æû³µÐÐÊ»¼ÓËٶȵ¹ÊýÇúÏߣ¬ÓÃͼ½â»ý·Ö·¨ÇóÆû³µÓÃ2µµÆð²&

6、#189;¼ÓËÙÐÐÊ»ÖÁ70km/hµÄ³µËÙ£­Ê±¼äÇúÏߣ¬»òÕßÓüÆËã»úÇóÆû³µÓÃ2

7、µµÆð²½¼ÓËÙÐÐÊ»ÖÁ70km/hµÄ¼ÓËÙʱ¼ä¡£ÇáÐÍ»õ³µµÄÓйØÊý¾Ý£ºÆ

8、ûÓÍ·¢¶¯»úʹÓÃÍâÌØÐÔµÄTq-nÇúÏßµÄÄâºÏ¹«Ê½Îª 23419.313295.27()165.44()40.874()3.8445()1000100010001000qnnnnT=?+?+?

9、2;½ÖУ¬TqΪ·¢¶¯»úת¾Ø£¨N?m£©nΪ·¢¶¯»úתËÙ£¨r/min£©¡£ ·¢¶¯»úµÄ

10、5;îµÍתËÙnmin=600r/min,×î¸ßתËÙnmax=4000r/min¡£ ×°ÔØÖÊÁ¿ 2000kg Õû³µÕû±¸ÖÊÁ¿ 1800kg ×ÜÖÊÁ&

11、#191; 3880kg ³µÂְ뾶 0.367m ´«¶¯Ïµ»úеЧÂÊ ¦Çt=0.85 ¹ö¶¯×èÁ¦ÏµÊý f=0.013 ¿ÕÆø×èÁ

12、6;ϵÊý¡ÁÓ­·çÃæ»ý CDA=2.77m2 Ö÷¼õËÙÆ÷´«¶¯±È i0=5.83 ·ÉÂÖת¶¯¹ßÁ¿ If=0.218kg?m2 ¶þÇ

13、6;ÂÖת¶¯¹ßÁ¿ Iw1=1.798kg?m2 ËĺóÂÖת¶¯¹ßÁ¿ Iw2=3.598kg?m2 ±äËÙÆ÷´«¶¯±È ig(Êý¾ÝÈçÏ

14、4;±í)¢ñµµ ¢òµµ ¢óµµ ¢ôµµ ¢õµµ Ëĵµ±äËÙÆ÷ 6.09 3.09 1.71 1.00 - Îåµµ±äËÙÆ÷ 5.56 2.769 1.644

15、 1.00 0.793 Öá¾à L=3.2m ÖÊÐÄÖÁÇ°Öá¾àÀ루ÂúÔØ£© a=1.974m ÖÊÐĸߣ¨ÂúÔØ£© hg=0.9m½â£

16、6;Matlab³ÌÐò£º (1) ÇóÆû³µÇý¶¯Á¦ÓëÐÐÊ»×èÁ¦Æ½ºâͼºÍÆû³µ×î¸ß³µËÙ

17、;³ÌÐò£º n=600:10:4000;Tq=-19.313+295.27*(n/1000)-165.44*(n/1000).2+40.874*(n/1000).3-3.8445*(n/1000).4;m=3880;g=9.8;nmin=600;nmax=4000;G=m*g;ig=5.56 2.769 1.644 1.00 0.793;nT=0.85;r=0.367;f=0.013;CDA=2.77;i0=5.83;L=3.2;a=1.947;hg=0.9;If=0.218;Iw1=1.798;Iw2=3.598;Ft1=Tq*

18、ig(1)*i0*nT/r;Ft2=Tq*ig(2)*i0*nT/r;Ft3=Tq*ig(3)*i0*nT/r;2. / 34Ft4=Tq*ig(4)*i0*nT/r;Ft5=Tq*ig(5)*i0*nT/r;ua1=0.377*r*n/ig(1)/i0;ua2=0.377*r*n/ig(2)/i0;ua3=0.377*r*n/ig(3)/i0;ua4=0.377*r*n/ig(4)/i0;ua5=0.377*r*n/ig(5)/i0;ua=0:5:120;Ff=G*f;Fw=CDA*ua.2/21.15;Fz=Ff+Fw;plot(ua1,Ft1,ua2,Ft2,ua3,Ft3,ua4,Ft

19、4,ua5,Ft5,ua,Fz);title('Çý¶¯Á¦-ÐÐÊ»×èÁ¦Æ½ºâͼ');xlabel('ua(km/s)');ylabel('Ft(N)');gtext('Ft1'),gtext('Ft2'),gtext('Ft3'),gtext('Ft4'),gtext(

20、9;Ft5'),gtext('Ff+Fw');zoom on;x,y=ginput(1);zoom off;disp('Æû³µ×î¸ß³µËÙ=');disp(x);disp('km/h');Æû³µ×î¸ß³µËÙ=99.3006km/h3. / 34(2)ÇóÆ

21、51;³µ×î´óÅÀƶȳÌÐò£ºn=600:10:4000;Tq=-19.313+295.27*(n/1000)-165.44*(n/1000).2+40.874*(n/1000).3-3.8445*(n/1000).4;m=3880;g=9.8;nmin=600;nmax=4000;G=m*g;ig=5.56 2.769 1.644 1.00 0.793;nT=0.85;r=0.367;f=0.013;C

22、DA=2.77;i0=5.83;L=3.2;a=1.947;hg=0.9;If=0.218;Iw1=1.798;Iw2=3.598;Ft1=Tq*ig(1)*i0*nT/r;ua1=0.377*r*n/ig(1)/i0;Ff=G*f;Fw1=CDA*ua1.2/21.15;Fz1=Ff+Fw1;Fi1=Ft1-Fz1;Zoom on;imax=100*tan(asin(max(Fi1/G);disp('Æû³µ×î´óÅÀƶÈ=');d

23、isp(imax);disp('%');Æû³µ×î´óÅÀƶÈ=35.2197%(3)Çó×î´óÅÀƶÈÏàÓ¦µÄ¸½×ÅÂʺÍÇóÆ&#

24、251;³µÐÐÊ»¼ÓËٶȵ¹ÊýÇúÏß³ÌÐò£ºclearn=600:10:4000;Tq=-19.313+295.27*(n/1000)-165.44*(n/1000).2+40.874*(n/1000).3-3.8445*(n/1000).4;m=3880;g=9.8;nmin=600;nmax=4000;G=m*g;ig

25、=5.56 2.769 1.644 1.00 0.793;nT=0.85;r=0.367;f=0.013;CDA=2.77;i0=5.83;L=3.2;a=1.947;hg=0.9;If=0.218;Iw1=1.798;Iw2=3.598;Ft1=Tq*ig(1)*i0*nT/r;Ft2=Tq*ig(2)*i0*nT/r;Ft3=Tq*ig(3)*i0*nT/r;Ft4=Tq*ig(4)*i0*nT/r;Ft5=Tq*ig(5)*i0*nT/r;ua1=0.377*r*n/ig(1)/i0;ua2=0.377*r*n/ig(2)/i0;ua3=0.377*r*n/ig(3)/i0;ua4=0.

26、377*r*n/ig(4)/i0;ua5=0.377*r*n/ig(5)/i0;Fw1=CDA*ua1.2/21.15;Fw2=CDA*ua2.2/21.15;Fw3=CDA*ua3.2/21.15;4. / 34Fw4=CDA*ua4.2/21.15;Fw5=CDA*ua5.2/21.15;Ff=G*f;deta1=1+(Iw1+Iw2)/(m*r2)+(If*ig(1)2*i02*nT)/(m*r2);deta2=1+(Iw1+Iw2)/(m*r2)+(If*ig(2)2*i02*nT)/(m*r2);deta3=1+(Iw1+Iw2)/(m*r2)+(If*ig(3)2*i02*nT)/

27、(m*r2);deta4=1+(Iw1+Iw2)/(m*r2)+(If*ig(4)2*i02*nT)/(m*r2);deta5=1+(Iw1+Iw2)/(m*r2)+(If*ig(5)2*i02*nT)/(m*r2);a1=(Ft1-Ff-Fw1)/(deta1*m);ad1=1./a1;a2=(Ft2-Ff-Fw2)/(deta2*m);ad2=1./a2;a3=(Ft3-Ff-Fw3)/(deta3*m);ad3=1./a3;a4=(Ft4-Ff-Fw4)/(deta4*m);ad4=1./a4;a5=(Ft5-Ff-Fw5)/(deta5*m);ad5=1./a5;plot(ua1,ad

28、1,ua2,ad2,ua3,ad3,ua4,ad4,ua5,ad5);axis(0 99 0 10);title('Æû³µµÄ¼ÓËٶȵ¹ÊýÇúÏß');xlabel('ua(km/h)');ylabel('1/a');gtext('1/a1');gtext('1/a2');gtext('1/a3

29、9;);gtext('1/a4');gtext('1/a5');a=max(a1);af=asin(max(Ft1-Ff-Fw1)/G);C=tan(af)/(a/L+hg*tan(af)/L);disp('¼ÙÉèºóÂÖÇý¶¯£¬×î´óÅÀƶÈÏàÓ¦µ&#

30、196;¸½×ÅÂÊ=');disp(C);¼ÙÉèºóÂÖÇý¶¯£¬×î´óÅÀƶÈÏàÓ¦µÄ¸½×ÅÂÊ=0.42195. / 34(4) >>cl

31、earnT=0.85;r=0.367;f=0.013;CDA=2.77;i0=5.83;If=0.218;Iw1=1.798;Iw2=3.598;L=3.2;a=1.947;hg=0.9;m=3880;g=9.8;G=m*g; 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:5deta(i)=1+(Iw1+Iw2)/(m*r2)+(If*(ig(i)2*i02*nT)/(m*r2);endua=6:0.01:99;N

32、=length(ua);n=0;Tq=0;Ft=0;inv_a=0*ua;delta=0*ua;Ff=G*f;Fw=CDA*ua.2/21.15;for i=1:Nk=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*nT/r;inv_a(i)=(deta(2)*m)/(Ft-Ff-Fw(i);delta(i)=0.01*inv_a(i)/3.6;elseif ua(

33、i)<=u2(3)n=ua(i)*(ig(3)*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(3)*i0*nT/r;inv_a(i)=(deta(3)*m)/(Ft-Ff-Fw(i);delta(i)=0.01*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

34、/1000)3-3.8445*(n/1000)4;Ft=Tq*ig(4)*i0*nT/r;inv_a(i)=(deta(4)*m)/(Ft-Ff-Fw(i);delta(i)=0.01*inv_a(i)/3.6;elsen=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/100Î人Àí¹¤´óѧ6. / 340)4;Ft=Tq*

35、ig(5)*i0*nT/r;inv_a(i)=(deta(5)*m)/(Ft-Ff-Fw(i);delta(i)=0.01*inv_a(i)/3.6;enda=delta(1:k);t(i)=sum(a);endplot(t,ua);axis(0 80 0 100);title('Æû³µ2µµÔ­µØÆð²½»»µ²¼ÓËÙʱ¼

36、8;ÇúÏß');xlabel('ʱ¼ät£¨s£©');ylabel('ËÙ¶Èua£¨km/h£©');>> ginputans =25.8223 70.073725.7467 70.0737ËùÒÔÆû³µ2µµÔ­&#

37、181;ØÆð²½»»µ²¼ÓËÙÐÐÊ»ÖÁ70km/hµÄ¼ÓËÙʱ¼äԼΪ25.8s7. 7ÒÑÖª»õ³µ×°ÓÃÆû

38、;ÓÍ·¢¶¯»úµÄ¸ººÉÌØÐÔÓëÍòÓÐÌØÐÔ¡£¸ººÉÌØÐÔÇúÏßµÄÄâºÏ¹«

39、;ʽΪ£º44332210eeeePBPBPBPBBb+=ÆäÖУ¬bΪȼÓÍÏûºÄÂÊg/(kW?h)£»PeΪ·¢¶¯»ú¾»¹¦ÂÊ£¨kW£

40、9;£»ÄâºÏʽÖеÄϵÊýËæתËÙn±ä»¯¡£µ¡ËÙÓͺÄsmLQid/299.0=£¨µ¡ËÙתËÙ400r/min

41、£©¡£ Î人Àí¹¤´óѧ8. / 34¼ÆËãÓë»æÖÆÌâ1.3Öлõ³µµÄ1£©Æû³µ¹¦ÂÊƽ

42、ºâͼ¡£2£©×î¸ßµµÓë´Î¸ßµµµÄµÈËٰٹ«ÀïÓͺÄÇúÏß¡£»òÀûÓÃ

43、;¼ÆËã»úÇó»õ³µ°´JB3352-83¹æ¶¨µÄÁù¹¤¿öÑ­»·ÐÐÊ»µÄ°Ù¹«ÀïÓͺġ£&#

44、188;ÆËãÖÐÈ·¶¨È¼ÓÍÏûºÄÖµbʱ£¬Èô·¢¶¯»úתËÙÓ븺ºÉÌØÐÔÖиø&

45、#182;¨µÄתËÙ²»ÏàµÈ£¬¿ÉÓÉÏàÁÚתËÙµÄÁ½¸ùÇúÏßÓòåÖµ·¨ÇóµÃ&

46、#161;£½â£ºMatlab³ÌÐò£º(1) Æû³µ¹¦ÂÊƽºâͼ³ÌÐò£ºclearn=600:10:4000;Tq=-19.313+295.27*(n/1000)-165.44*(n/1000).2+40.874*(n/1000).3-3.8445*(n/1000).4

47、;m=3880;g=9.8;G=m*g;ig=5.56 2.769 1.644 1.00 0.793;nT=0.85;r=0.367;f=0.013;CDA=2.77;i0=5.83;L=3.2;a=1.947;hg=0.9;If=0.218;Iw1=1.798;Iw2=3.598;ua1=0.377*r*n/ig(1)/i0;ua2=0.377*r*n/ig(2)/i0;ua3=0.377*r*n/ig(3)/i0;ua4=0.377*r*n/ig(4)/i0;ua5=0.377*r*n/ig(5)/i0;Pe1=Tq.*ig(1)*i0.*ua1./(3600*r);Pe2=Tq.*ig(

48、2)*i0.*ua2./(3600*r);Pe3=Tq.*ig(3)*i0.*ua3./(3600*r);Pe4=Tq.*ig(4)*i0.*ua4./(3600*r);Pe5=Tq.*ig(5)*i0.*ua5./(3600*r);ua=0:0.35:119;Ff=G*f;Fw=CDA*ua.2/21.15;Pf=Ff*ua/3600;Pw=Fw.*ua/3600;Pe0=(Pf+Pw)./nT;Pe=max(Pe1);plot(ua1,Pe1,ua2,Pe2,ua3,Pe3,ua4,Pe4,ua5,Pe5,ua,Pe0,ua,Pe);axis(0 119 0 100);title('

49、;Æû³µ¹¦ÂÊƽºâͼ');xlabel('ua(km/h)');ylabel('Pe(kw)');gtext('1'),gtext('2'),gtext('3'),gtext('4'),gtext('5'),gtext('(Pf+Pw)/et'),gtext('Pe');9. / 34£

50、¨2£©×î¸ßµµÓë´Î¸ßµµµÄµÈËٰٹ«ÀïÓͺÄÇúÏß³ÌÐò£ºclearn=600:1:4000;m=3880;g=9.8;G=m*g;ig=5

51、.56 2.769 1.644 1.00 0.793;nT=0.85;r=0.367;f=0.013;CDA=2.77;i0=5.83;L=3.2;a=1.947;hg=0.9;If=0.218;Iw1=1.798;Iw2=3.598;n0=815 1207 1614 2012 2603 3006 3403 3804;B00=1326.8 1354.7 1284.4 1122.9 1141.0 1051.2 1233.9 1129.7;B10=-416.46 -303.98 -189.75 -121.59 -98.893 -73.714 -84.478 -45.291;B20=72.379 3

52、6.657 14.524 7.0035 4.4763 2.8593 2.9788 0.71113;B30=-5.8629 -2.0553 -0.51184 -0.18517 -0.091077 -0.05138 -0.047449- 0.00075215;B40=0.17768 0.043072 0.0068164 0.0018555 0.00068906 0.000350320.00028230 -0.000038568;B0=spline(n0,B00,n);B1=spline(n0,B10,n);B2=spline(n0,B20,n);B3=spline(n0,B30,n);B4=spl

53、ine(n0,B40,n);Ff=G*f;ua4=0.377*r*n/ig(4)/i0;ua5=0.377*r*n/ig(5)/i0;9 / 34Fz4=Ff+CDA*(ua4.2)/21.15;Fz5=Ff+CDA*(ua5.2)/21.15;Pe4=Fz4.*ua4./(nT*3.6*1000);Pe5=Fz5.*ua5./(nT*3.6*1000);for i=1:1:3401b4(i)=B0(i)+B1(i)*Pe4(i)+B2(i)*Pe4(i).2+B3(i)*Pe4(i).3+B4(i)*Pe4(i).4;b5(i)=B0(i)+B1(i)*Pe5(i)+B2(i)*Pe5(i)

54、.2+B3(i)*Pe5(i).3+B4(i)*Pe5(i).4;endpg=7.0;Q4=Pe4.*b4./(1.02.*ua4.*pg);Q5=Pe5.*b5./(1.02.*ua5.*pg);plot(ua4,Q4,ua5,Q5);axis(0 100 10 30);title('×î¸ßµµÓë´Î¸ßµµµÈËٰٹ«ÀïÓ&#

55、205;ºÄÇúÏß');xlabel('ua(km/h)');ylabel('°Ù¹«ÀïÓͺģ¨L/100km£©');gtext('4'),gtext('5');3.1¸Ä±ä1.3ÌâÖÐÇáÐÍ

56、»õ³µµÄÖ÷¼õËÙÆ÷´«¶¯±È£¬×ö³ö0iΪ5.17¡¢5.43¡¢5.83¡¢6.17¡¢6.33ʱµÄȼÓ;­&#

57、188;ÃÐÔ¡ª¼ÓËÙʱ¼äÇúÏߣ¬ÌÖÂÛ²»Í¬0iÖµ¶ÔÆû³µÐÔÄܵÄÓ°Ïì¡£ Îä

58、;ººÀí¹¤´óѧ10 / 34½â£ºMatlab³ÌÐò£ºÖ÷³ÌÐò£ºi0=5.17,5.43,5.83,6.17,6.33; %ÊäÈëÖ÷´«¶¯±ÈµÄ

59、2;ý¾Ýfor i=1:1:5y(i)=jiasushijian(i0(i); %Çó¼ÓËÙʱ¼äendy;for i=1:1:5b(i)=youhao(i0(i); %Çó¶ÔÓ¦i0µÄÁù¹¤¿ö°Ù¹«ÀïÓͺÄe

60、ndb;plot(b,y,'+r')hold onb1=linspace(b(1),b(5),100);y1=spline(b,y,b1); %Èý´ÎÑùÌõ²åÖµplot(b1,y1); %»æÖÆȼÓ;­¼ÃÐÔ-¼ÓËÙʱ¼ä&

61、#199;úÏßtitle('ȼÓ;­¼ÃÐÔ¡ª¼ÓËÙʱ¼äÇúÏß');xlabel('°Ù¹«ÀïÓͺÄ(L/100km)');ylabel('¼Ó

62、03;Ùʱ¼äs');gtext('i0=5.17'),gtext('i0=5.43'),gtext('i0=5.83'),gtext('i0=6.17'),gtext('i0=6.33');×Ó³ÌÐò£º(1) function y=jiasushijian(i0) %Çó¼ÓËÙʱ¼

63、;äµÄ´¦Àíº¯Êýn1=linspace(0,5000); %ÏÈÇó¸÷¸öµµÎ»µÄÇý¶¯Á¦nmax=4000;nmin=600;r=0.367;yita=0.85;CDA=2.77;f=0.013;G=(3880)*9.8;ig=6.09,3.09,1.71,1.00;%

64、i0=5.83for i=1:1:4 %iΪµµÊýuamax(i)=chesu(nmax,r,ig(i),i0); %¼ÆËã¸÷¸öµµÎ»µÄ×î´óËÙ¶ÈÓë×îСËÙ¶Èuamin(i)=chesu(nm

65、in,r,ig(i),i0);ua(i,:)=linspace(uamin(i),uamax(i),100);n(i,:)=zhuansu(ua(i,:),r,ig(i),i0); %¼ÆËã¸÷¸öµµÎ»µÄתËÙ·¶Î§Ttq(i,:)=zhuanju(n(i,:); %Çó³ö¸÷µµ&#

66、206;»µÄת¾Ø·¶Î§Ft(i,:)=qudongli(Ttq(i,:),ig(i),i0,yita,r); %Çó³öÇý¶¯Á¦F(i,:)=f*G+CDA*(ua(i,:).2)/21.15; %Çó³ö¹ö¶¯×èÁ¦ºÍ¿

67、ÕÆø×èÁ¦µÄºÍdelta(i,:)=1+(1.798+3.598+0.218*(ig(i)2)*(i02)*yita)/(3880*r2); %Çóת¶¯ÖÊÁ¿»»ËãϵÊýa(i,:)=1./(delta(i,:).*3880./(Ft(i,:)-F(i,:); %Çó&#

68、179;ö¼ÓËÙ¶ÈF2(i,:)=Ft(i,:)-F(i,:);end%ÏÂÃæ·Ö¸÷¸öµµÎ»½øÐлý·Ö£¬Çó³ö¼ÓËÙʱ¼ätemp1(1,:)=

69、ua(2,:)/3.6;11 / 34temp1(2,:)=1./a(2,:);n1=1;for j1=1:1:100if ua(3,j1)>max(ua(2,:)&&ua(3,j1)<=70temp2(1,n1)=ua(3,j1)/3.6;temp2(2,n1)=1./a(3,j1);n1=n1+1;endendn2=1;for j1=1:1:100if ua(4,j1)>max(ua(3,:)&&ua(4,j1)<=70;temp3(1,n2)=ua(4,j1)/3.6;temp3(2,n2)=1./a(4,j1);n2=n2+1;e

70、ndendy=temp1(1,1)*temp1(2,1)+qiuji(temp1(1,:),temp1(2,:)+qiuji(temp2(1,:),temp2(2,:)+qiuji(temp3(1,:),temp3(2,:);end(2) function ua=chesu(n,r,ig,i0); %ÓÉתËÙ¼ÆËã³µËÙua=0.377*r.*n/(ig*i0);(3) function n=zhuansu(ua,r,ig,i0); %Ç

71、óתËÙn=ig*i0.*ua./(0.377*r);end(4) function y=zhuanju(n); %Çóת¾Øº¯Êýy=-19.313+295.27.*(n./1000)-165.44.*(n./1000).2+40.874.*(n./1000).3-3.8445.*(n./1000).4;(5) function y=qudongli(Ttq,ig,i0,yita,r); %ÇóÇý

72、¶¯Á¦º¯Êýy=(ig*i0*yita.*Ttq)/r;end(6) function p=qiuji(x0,y0) %Çó»ý·Öº¯Êýn0=size(x0);n=n0(2);x=linspace(x0(1),x0(n),200) ;y=spline(x0,y0,x); %²åÖµ% figure;plot(x,y);p=trapz(x,y) ;end12 / 34(7

73、) %Çó²»Í¬i0ϵÄÁù¹¤¿öÓͺÄfunction b=youhao(i0);global f G CDA yita m r If Iw1 Iw2 pg B0 B1 B2 B3 B4 n %ÉùÃ÷È«¾Ö±äÁ¿ig=6.09,3.09,1.71,1.00;r=

74、0.367;yita=0.85;CDA=2.77;f=0.013;%i0=5.83;G=(3880)*9.8;If=0.218;Iw1=1.798;Iw2=3.598;m=3880; %Æû³µµÄ»ù±¾²ÎÊýÉ趨n0=815 1207 1614 2012 2603 3006 3403 3804;B00=1326.8 1354.7 1284.4 1122.9 1141.0 1051.2 1233.9 1129

75、.7;B10=-416.46 -303.98 -189.75 -121.59 -98.893 -73.714 -84.478 -45.291;B20=72.379 36.657 14.524 7.0035 4.4763 2.8593 2.9788 0.71113;B30=-5.8629 -2.0553 -0.51184 -0.18517 -0.091077 -0.05138 -0.047449- 0.00075215;B40=0.17768 0.043072 0.0068164 0.0018555 0.00068906 0.00035032 0.00028230- 0.000038568;n=

76、600:1:4000;B0=spline(n0,B00,n);B1=spline(n0,B10,n);B2=spline(n0,B20,n); %ʹÓÃÈý´ÎÑùÌõ²åÖµ£¬±£Ö¤ÇúÏߵĹ⻬Á¬ÐøB3=spline(n

77、0,B30,n);B4=spline(n0,B40,n);ua4=0.377*r.*n./(i0*ig(4); %Çó³ö·¢¶¯»úתËÙ·¶Î§ÄÚ¶ÔÓ¦µÄIII¡¢IVµµ³µËÙF4=f*G+CDA*(ua4.2)/21.15; %Ç&

78、#243;³ö¹ö¶¯×èÁ¦ºÍ¿ÕÆø×èÁ¦µÄºÍP_fw4=F4.*ua4./(yita*3.6*1000); %Çó³ö×èÁ¦¹¦ÂÊfor i=1:1:3401 %ÓÃÄâº

79、Ϲ«Ê½Çó³ö¸÷¸öȼÓÍÏûºÄÂÊb4(i)=B0(i)+B1(i)*P_fw4(i)+B2(i)*(P_fw4(i)2+B3(i)*(P_fw4(i)3+B4(i)*(P_fw4(i)4;endpg=7.06; %ÆûÓ͵ÄÖضÈÈ¡

80、;7.06N/Lua4_m=25,40,50; %ÔÈËٽ׶εijµËÙs_m=50,250,250; %ÿ¶ÎÔÈËÙ×ß¹ýµÄ¾àÀëb4_m=spline(ua4,b4,ua4_m); %²åÖµµÃ&#

81、179;ö¶ÔÓ¦ËٶȵÄȼÓÍÏûºÄÂÊF4_m=f*G+CDA*(ua4_m.2)/21.15; %³µËÙ¶ÔÓ¦µÄ×èÁ¦P_fw4_m=F4_m.*ua4_m./(yita*3.6*1000); %·¢

82、2;¯»ú¹¦ÂÊQ4_m=P_fw4_m.*b4_m.*s_m./(102.*ua4_m.*pg) ;Q4_a1=jiasu(40,25,ig(4),0.25,ua4,i0);Q4_a2=jiasu(50,40,ig(4),0.2,ua4,i0);Qid=0.299;tid=19.3;s=1075;Q_i=Qid*tid; %Çó³ö¼õËٽ׶εÄȼ

83、1;ÍÏûºÄÁ¿Q4all=(sum(Q4_m)+Q4_a1+Q4_a2+Q_i)*100/s; %IVµµÁù¹¤¿ö°Ù¹«ÀïȼÓÍÏûºÄÁ¿b=Q4all;(8)¼ÓËٽ׶δ

84、66;Àíº¯Êý13 / 34function q=jiasu(umax,umin,ig,a,ua0,i0);global f G CDA yita m r If Iw1 Iw2 pg B0 B1 B2 B3 B4 n; %i0 ;ua1=umin:1:umax; %°ÑËٶȷ¶Î§ÒÔ1km/hΪ¼ä¸ô½øÐ

85、8;»®·Ödelta=1+(Iw1+Iw2)/(m*r2)+(If*ig2*i02*yita)/(m*r2);P0=(G*f.*ua0./3600+CDA.*ua0.3/76140+(delta*m.*ua0/3600)*a)/yita;P=(G*f.*ua1/3600+CDA.*ua1.3/76140+(delta*m.*ua1/3600)*a)/yita;dt=1/(3.6*a) ; %ËÙ¶ÈÿÔö¼Ó1km/hËùÐ

86、;èÒªµÄʱ¼äfor i=1:1:3401 %ÖØÐÂÀûÓÃÄâºÏ¹«Ê½Çó³öbÓëuaµÄ¹Øϵb0(i)=B0(i)+B1(i)*P0(i)+B2(i)*(P0(i)2+B3(i)*(P0(i)3+B4(i)*

87、(P0(i)4;endb1=interp1(ua0,b0,ua1); %²åÖµ³ö¸÷¸öËٶȽڵãµÄȼÓÍÏûºÄÂÊQt=P.*b1./(367.1.*pg); %Çó³ö¸÷¸öËÙ

88、¶È½ÚµãµÄȼÓÍÏûºÄÂÊi1=size(Qt);i=i1(2);Qt1=Qt(2:i-1);q=(Qt(1)+Qt(i)*dt./2+sum(Qt1)*dt; %Çó¸Ã¼ÓËٽ׶εÄȼÓÍÏû

89、86;ÄÁ¿4.34.34.34.3Ò»ÖÐÐÍ»õ³µ×°ÓÐÇ°ºóÖƶ¯Æ÷·Ö¿ªµÄË«¹Ü·Öƶ¯Ïµ£¬

90、98;äÓйزÎÊýÈçÏ£ºÔØºÉ ÖÊÁ¿£¨kg£© ÖÊÐĸßhg/m Öá¾àL/mÖÊÐÄÖÁÇ°Öá

91、90;àÀëa/mÖƶ¯Á¦·ÖÅäϵÊý¦Â¿ÕÔØ 4080 0.845 3.950 2.100 0.38ÂúÔØ 9290 1.170 3.950 2.950 0.381£© ¼ÆËã²¢»æÖÆ&#

92、192;ûÓø½×ÅϵÊýÇúÏߺÍÖƶ¯Ð§ÂÊÇúÏß2£© ÇóÐÐÊ»³µËÙUa£½30km/h£¬ÔÚ?

93、63;½0.80·ÃæÉϳµÂÖ²»±§ËÀµÄÖƶ¯¾àÀë¡£¼ÆËãʱȡÖÆÎ人Àí¹¤´ó

94、;ѧ14 / 34 ¶¯Ïµ·´Ó¦Ê±¼ä'2¦Ó£½0.02s£¬Öƶ¯¼õËÙ¶ÈÉÏÉýʱ¼ä''2¦Ó£½0.02s¡£

95、3£© ÇóÖƶ¯ÏµÇ°²¿¹Ü·Ëð»µÊ±Æû³µµÄÖƶ¯¾àÀës£¬Öƶ¯Ïµºó²

96、91;¹Ü·Ëð»µÊ±Æû³µµÄÖƶ¯¾àÀë's¡£½â£ºMatlab³ÌÐò£º(1) ÇóÀûÓø½×ÅÏ

97、;µÊýÇúÏߺÍÖƶ¯Ð§ÂÊÇúÏß³ÌÐò£º clear k=4080;hgk=0.845;Lk=3.950;ak=2.10;betak=0.38;bk=Lk-ak;%¿ÕÔØʱµÄ²ÎÊýmm=

98、9290;hgm=1.170;Lm=3.950;am=2.950;betam=0.38;bm=Lm-am;%ÂúÔØʱµÄ²ÎÊýz=0:0.01:1.0;figure(1);fai=z;fai_fk=betak*z*Lk./(bk+z*hgk);%¿ÕÔØʱǰÖáµÄ¦Õffai_fm=betam*z*Lm./(bm+z*hgm)

99、;%ÂúÔØʱǰÖáµÄ¦Õffai_rk=(1-betak)*z*Lk./(ak-z*hgk);%¿ÕÔØʱºóÖáµÄ¦Õrfai_rm=(1-betam)*z*Lm./(am-z*hgm);%ÂúÔØʱºóÖ

100、5;µÄ¦Õrplot(z,fai_fk,'b-',z,fai_fm,'r',z,fai_rk,'b-',z,fai_rm,'r',z,fai,'k');title('ÀûÓø½×ÅϵÊýÓëÖƶ¯Ç¿¶ÈµÄ¹&#

101、216;ϵÇúÏß');xlabel('Öƶ¯Ç¿¶È(z/g)');ylabel('ÀûÓø½×ÅϵÊý¦Õ');gtext('¦Õr(¿ÕÔØ)'),gtext('¦

102、3;r(ÂúÔØ)'),gtext('¦Õ=z'),gtext('¦Õf(¿ÕÔØ)'),gtext('¦Õf(ÂúÔØ)');figure(2);Efk=z./fai_fk*100;%¿ÕÔØʱǰÖáµÄÖƶ

103、;¯Ð§ÂÊEfm=z./fai_fm*100;Erk=z./fai_rk*100;Erm=z./fai_rm*100;plot(fai_fk,Efk,'b',fai_fm,Efm,'r',fai_rk,Erk,'b',fai_rm,Erm,'r');axis(0 1 0 100);title('Ç°.ºóÖƶ¯Ð§ÂÊÇúÏ

104、;ß');xlabel('¸½×ÅϵÊý¦Õ');ylabel('Öƶ¯Ð§ÂÊ%');gtext('Ef'),gtext('Er'),gtext('Er'),gtext('ÂúÔØ'),gtext('¿ÕÔØ&#

105、39;); Î人Àí¹¤´óѧ15 / 34(2)ÎʺÍ(3)ÎʳÌÐò£ºclearmk=4080;hgk=0.845;Lk=3.950;ak=2.10;betak=0.38;bk=Lk-ak;%¿ÕÔØʱµÄÎ人

106、2;í¹¤´óѧ16 / 34²ÎÊýmm=9290;hgm=1.170;Lm=3.950;am=2.950;betam=0.38;bm=Lm-am;%ÂúÔØʱµÄ²ÎÊýz=0:0.01:1;fai_fk=betak*z*Lk./(bk+z*hgk);%¿ÕÔØʱǰÖ

107、áµÄ¦Õffai_fm=betam*z*Lm./(bm+z*hgm);%ÂúÔØʱǰÖáµÄ¦Õffai_rk=(1-betak)*z*Lk./(ak-z*hgk);%¿ÕÔØʱºóÖáµÄ¦Õrfai_rm=(1-betam)*z*Lm./(am-z*hgm)

108、;%ÂúÔØʱºóÖáµÄ¦ÕrEfk=z./fai_fk*100;%¿ÕÔØʱǰÖáµÄÖƶ¯Ð§ÂÊEfm=z./fai_fm*100;Erk=z./fai_rk*100;Erm=z./fai_rm*100;t1=0.02;t2=0.02;ua0=

109、30;fai=0.80;g=9.8;ak1=Erk(81)*g*fai/100;am1=Erm(81)*g*fai/100;Sk1=(t1+t2/2)*ua0/3.6+ua02/(25.92*ak1);%Öƶ¯¾àÀëSm1=(t1+t2/2)*ua0/3.6+ua02/(25.92*am1);disp('¿ÕÔØʱ£¬Æû³µÖƶ¯¾

110、;àÀëSk1=');disp(Sk1);disp('ÂúÔØʱ£¬Æû³µÖƶ¯¾àÀëSm1=');disp(Sm1);ak2=fai*g*ak/(Lk+fai*hgk);am2=fai*g*am/(Lm+fai*hgm);ak3=fai*g*bk/(Lk-fai*hgk);am3=fai*g*bm/(Lk-fai*hgm);Sk2=(

111、t1+t2/2)*ua0/3.6+ua02/(25.92*ak2);%Öƶ¯¾àÀëSm2=(t1+t2/2)*ua0/3.6+ua02/(25.92*am2);Sk3=(t1+t2/2)*ua0/3.6+ua02/(25.92*ak3);Sm3=(t1+t2/2)*ua0/3.6+ua02/(25.92*am3);disp('¿ÕÔØʱ£¬Ç°Öƶ¯Æ

112、÷Ë𻵣¬Æû³µÖƶ¯¾àÀëSk2=');disp(Sk2);disp('ÂúÔØʱ£¬Ç°Öƶ¯Æ÷Ë𻵣¬Æû³µ

113、;Öƶ¯¾àÀëSm2=');disp(Sm2);disp('¿ÕÔØʱ£¬ºóÖƶ¯Æ÷Ë𻵣¬Æû³µÖƶ¯¾àÀëSk3=');disp(

114、Sk3);disp('ÂúÔØʱ£¬ºóÖƶ¯Æ÷Ë𻵣¬Æû³µÖƶ¯¾àÀëSm3=');disp(Sm3);¿ÕÔØʱ£¬Æû

115、³µÖƶ¯¾àÀëSk1=7.8668ÂúÔØʱ£¬Æû³µÖƶ¯¾àÀëSm1=5.6354Î人Àí¹¤´óѧ17 / 34¿ÕÔØʱ£¬Ç°Öƶ¯Æ÷Ë𻵣¬Æû³µÖƶ¯¾àÀëSk2=10.0061ÂúÔØʱ&#

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论