版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
大作業(yè)(二)凸輪機構(gòu)設(shè)計(題號:4-A)(一)題目及原始數(shù)據(jù) (二)推桿運動規(guī)律及凸輪廓線方程 (三)程序框圖 (四)計算程序 (五)程序計算結(jié)果及分析(六)凸輪機構(gòu)圖????(七)心得體會 (八)參考書 一題目及原始數(shù)據(jù)試用計算機輔助設(shè)計完成偏置直動滾子推桿盤形凸輪機構(gòu)的設(shè)計(1)推程運動規(guī)律為五次多項式運動規(guī)律,回程運動規(guī)律為余弦加速度運動規(guī)建;(2)打印出原始數(shù)據(jù);(3)打印出理論輪廓和實際輪廓的坐標值;(4)打印出推程和回程的最大壓力角,以及出現(xiàn)最大壓力角時凸輪的相應(yīng)轉(zhuǎn)角;(5)打印出凸輪實際輪廓曲線的最小曲率半徑,以及相應(yīng)的凸輪轉(zhuǎn)角;(6)打印最后所確定的凸輪的基圓半徑。表一偏置直動滾子推桿盤形凸輪機構(gòu)的已知參數(shù)題號初選的基圓半徑R0/mm偏距E/mm滾子半徑Rr/mm推桿行程h/mm許用壓力角許用最小曲率半徑[pamin][a1][a2]4-A155102830°700.3Rr計算點數(shù):N=90q1=60; 近休止角5 1q2=180; 推程運動角52q3=90; 遠休止角5 3二整桿運動規(guī)程律及凸I輪廓線方程推桿運動規(guī)律:(1)近休階段:0o<6<60os=0;ds/db=0;d2s/d52=0;(2)推程階段:60o<6<180o五次多項式運動規(guī)律:Q1=Q-60;s=10*h*Q1*Q1*Q1/(q2*q2*q2)-15*h*Q1*Q1*Q1*Q1/(q2*q2*q2*q2)+6*h*Q1*Q1*Q1*Q1*Q1/(q2*q2*q2*q2*q2);ds/db=30*h*Q1*Q1*QQ/(q2*q2*q2)-60*h*Q1*Q1*Q1*QQ/(q2*q2*q2*q2)+30*h*Q1*Q1*Q1*Q1*QQ/(q2*q2*q2*q2*q2);d2s/d52=60*h*Q1*QQ*QQ/(q2*q2*q2)-180*h*Q1*Q1*QQ*QQ/((q2*q2*q2*q2))+120*h*Q1*Q1*Q1*QQ*QQ/((q2*q2*q2*q2*q2));(3)遠休階段:180oWb<270os=h=24;ds/db=0;d2s/d52=0;(4)回程階段:270Wb<360Q2=Q-270;s=h*(1+cos(2*Q2/QQ))/2;ds/db=-h*sin(2*Q2/QQ);d2s/d52=-2*h*cos(2*Q2/QQ);凸輪廓線方程:(1)理論廓線方程:s0=sqrt(r02-e2)x=(s0+s)sinb+ecosby=(s0+s)cosb-esinb⑵實際廓線方程先求x,y的一、二階導數(shù)dx=(ds/db-e)*sin(b)+(s0+s)*cos(b);dy=(ds/db-e)*cos(6)-(s0+s)*sin(6);dxx=dss*sin(6)+(ds/db-e)*cos(6)+ds/db*cos(6)-(s0+s)*sin(6);dyy=dss*cos(6)-(ds/db-e)*sin(6)-ds/db*sin(6)-(s0+s)*cos(6);x1=x-rr*coso;y1=y-rr*sino;再求sin0,cos0sin0=x'/sqrt((x′)2+(y’)2)cos0=-y'/sqrt((x,)2+(y')2)最后求實際廓線方程x1=x-rr*cos0;y1=y-rr*sin0;三程序框圖include<stdio.h> #incl打黑:axh.冷x,y''Pamin,3amin,%max,31max,a2max,32max,r0, 3, s結(jié)束5voidmain(){doubler0,or,rr,h,e,q1,q2,q3,q4,a,a11,a22,Q,pi,pa,paa,QQ,A1,A2,B1,B2,C1,C2;/*定義變量*/doublexz[90],yz[90],sz[90],x1z[90],y1z[90],Q1,Q2;doubles0,s,x,y,y1,x1,dx,dxx,dy,dyy,ds,dss,sino,coso,p;intN,i,j;r0=19;e=5;h=28;rr=10;q1=60;q2=120;q3=90;q4=90;a11=30;a22=70;or=1;pi=3.141592653;pa=3; /*給已知量賦值*/N=90;A1=0;B1=0;C1=1000;for(;;){Q=0;C1=1000;QQ=180/pi;r0=r0+or;s0=sqrt(r0*r0-e*e);for(i=1,j=0;i<=N;i++,j++){if(Q<60){ /*近休階段*/s=0;ds=0;dss=0;a=atan(e/sqrt(r0*r0-e*e)); /*求壓力角*/if(a>a11/QQ){break;)else(if(a>A1)A1=a;A2=Q;))elseif(Q>=60&&Q<180){ /*五次多項式運動*/Q1=Q-60;s=10*h*Q1*Q1*Q1/(q2*q2*q2)-15*h*Q1*Q1*Q1*Q1/(q2*q2*q2*q2)+6*h*Q1*Q1*Q1*Q1*Q1/(q2*q2*q2*q2*q2);ds=30*h*Q1*Q1*QQ/(q2*q2*q2)-60*h*Q1*Q1*Q1*QQ/(q2*q2*q2*q2)+30*h*Q1*Q1*Q1*Q1*QQ/(q2*q2*q2*q2*q2);dss=60*h*Q1*QQ*QQ/(q2*q2*q2)-180*h*Q1*Q1*QQ*QQ/((q2*q2*q2*q2))+120*h*Q1*Q1*Q1*QQ*QQ/((q2*q2*q2*q2*q2));a=atan(fabs(ds-e)/(sqrt(r0*r0-e*e)+s));if(a>a11/QQ){break;)else{ /*遠休階段*/if(a>A1)A1=a;A2=Q;))elseif(Q>=180&&Q<270){s=28;ds=0;dss=0;a=atan(fabs(ds-e)/(sqrt(r0*r0-e*e)+s));if(a>a22/QQ){break;)else(if(a>B1)B1=a;B2=Q;))elseif(Q>=270&&Q<360){ /*余弦加速度運動*/Q2=Q-270;s=h*(1+cos(2*Q2/QQ))/2;ds=-h*sin(2*Q2/QQ);dss=-2*h*cos(2*Q2/QQ);a=atan(fabs(ds-e)/(sqrt(r0*r0-e*e)+s));if(a>a22/QQ){break;)else(if(a>B1)B1=a;B2=Q;))dx=(ds-e)*sin(Q/QQ)+(s0+s)*cos(Q/QQ);dy=(ds-e)*cos(Q/QQ)-(s0+s)*sin(Q/QQ);dxx=dss*sin(Q/QQ)+(ds-e)*cos(Q/QQ)+ds*cos(Q/QQ)-(s0+s)*sin(Q/QQ);dyy=dss*cos(Q/QQ)-(ds-e)*sin(Q/QQ)-ds*sin(Q/QQ)-(s0+s)*cos(Q/QQ);
sino=dx/(sqrt(dx*dx+dy*dy));coso=-dy/(sqrt(dx*dx+dy*dy));x=(s0+s)*sin(Q/QQ)+e*cos(Q/QQ);y=(s0+s)*cos(Q/QQ)-e*sin(Q/QQ);x1=x-rr*coso;y1=y-rr*sino;sz[j]=s;yz[j]=y;xz[j]=x;x1z[j]=x1;y1z[j]=y1;p=pow(dx*dx+dy*dy,1.5)/(dx*dyy-dy*dxx);半徑*/if(p<0){paa=(fabs(p)-rr);if(paa<pa){break;}else(if(paa<C1)C1=paa;C2=Q;}}Q=Q+4;}if(i==91){break;}}for(j=0;j<90;j++){printf(〃第%d組數(shù)據(jù)",j+1);/*求理論輪廓曲率/*/*求理論輪廓曲率/*輸出數(shù)據(jù)*/printf("x=%f,y=%f;",xz[j],yz[j]);printf("x1=%f,y1=%f\n”,x1z[j],y1z[j]);)printf("r0=%f\n”,r0);printf(〃推程最大壓力角(弧度)=%f,相應(yīng)凸輪轉(zhuǎn)角=%£\/"1,八2-4);printf(〃回程最大壓力角(弧度)=%f,相應(yīng)凸輪轉(zhuǎn)角=%£\/21^2-4);printf(〃最小曲率半徑=%f,相應(yīng)凸輪轉(zhuǎn)角=%£\口〃工1工2-4);)2.matalab繪圖x=[5.0000006.6252418.2182059.77113011.27645112.72683514.11521515.434827 16.679242 17.842397 18.918626 19.902685 20.789781 21.57559022.256286 22.828551 23.298459 23.706615 24.097554 24.507799 24.96374525.480318 26.060379 26.694836 27.363383 28.035800 28.673715 29.23272929.664801 29.920768 29.952907 29.717406 29.176650 28.301221 27.07150725.478865 23.526246 21.228245 18.610551 15.708757 12.566564 9.2333765.7613492.201948-1.397906-5.000000-8.578422-12.115052-15.592657-18.994297-22.303399-25.503841-28.580030-31.516981-34.300384-36.916679-39.353120-41.597836-43.639892-45.469338-47.077263-48.455831-49.598328-50.499187-51.154019-51.559634-51.714055-51.616530-51.233453-50.364513-48.991675-47.144744-44.866118-42.209132-39.235944-36.015085-32.618764-29.120045-25.590019-22.095099-18.694544-15.438322-12.365412-9.502600-6.863834-4.450154-2.250205-0.2413031.6089973.3408955.000000];y=[23.47338923.06742722.54908221.92088121.18588320.34767019.41032518.37841517.25696716.05144514.76772113.41205111.99103910.5116088.9809657.4065685.8004084.1854212.5724590.957412-0.675351-2.349452-4.092999-5.935252-7.903549-10.020601-12.302228-14.755601-17.378031-20.156343-23.066822-26.075733-29.140389-32.210697-35.231149-38.143149-40.887607-43.407693-45.651627-47.57541310-49.145373-50.340385-51.153688-51.594160-51.686950-51.473389-50.999220-50.276588-49.309014-48.101211-46.659063-44.989598-43.100947-41.002313-38.703920-36.216966-33.553566-30.726696-27.750129-24.638366-21.406568-18.070478-14.646352-11.150869-7.601061-4.014222-0.4078253.2005596.79215910.32106513.71568716.90757319.83519722.44627024.69965826.56682228.03272429.09616429.76952030.07792830.05790829.75553529.22419528.52206427.70939126.84572025.98717425.18391224.47787223.90090723.473389];x1=[2.9166673.8647244.7939535.6998266.5779307.4239878.2338759.0036499.72955810.40806511.03586511.60990012.12737212.58576112.982834 13.316655 13.637197 13.989954 14.385216 14.841722 15.36972415.961917 16.595549 17.241474 17.871626 18.461055 18.986391 19.42387919.748587 19.934923 19.958013 19.795395 19.428612 18.844393 18.03524416.999369 15.739987 14.264216 12.581802 10.703984 8.6426806.4099754.0176121.476005-1.207747-4.033175-6.919656-9.772424-12.577583-15.321465-17.990702-20.572290-23.053652-25.422699-27.667890-29.778285-31.743603-33.554270-35.201463-36.677159-37.974167-39.086169-40.007747-40.734411-41.262621-41.589804-41.714366-41.635699-41.376364-40.850805-40.008452-38.855049-37.403903-35.676949-33.704972-31.526827-29.187728-26.736824-24.224319-21.698402-19.202199-16.770908-14.429195-12.188866-10.046784-7.982989-5.959305-3.919615-1.7954630.4759892.916667];y1=[13.69281013.45599913.15363112.78718112.35843211.86947411.32268910.72074210.0665649.3633438.6145047.8236976.9947736.1317715.2388964.3204983.2197081.8218430.191177-1.605194-3.495769-5.415401-7.320538-9.196225-11.051016-12.905780-14.783306-16.701480-18.669812-20.688233-22.747295-24.829259-26.909752-28.959788-30.947932-32.842380-34.612723-36.231183-37.673270-38.917916-39.947376-40.747241-41.306893-41.620545-41.68875811-41.520236-41.137755-40.554855-39.774375-38.800119-37.636833-36.290183-34.766732-33.073900-31.219936-29.213872-27.065480-24.785228-22.384225-19.874168-17.267286-14.576280-11.814260-8.994681-6.131282-3.238012-0.3289662.5816835.1075827.2405829.32231811.31463413.17822014.87457416.36849017.63062918.63974919.38430219.86321620.08579920.07080319.84472219.43947218.88962018.22947317.49055716.70048615.88498615.07523114.32007613.692810];plot(x1,y1,x,y,'r'):五程序計算結(jié)果及分析基圓半徑r0=24.000000推程最大壓力角(弧度)=0.513512,相應(yīng)凸輪轉(zhuǎn)角=172.000000回程最大壓力角(弧度)=0.766377,相應(yīng)凸輪轉(zhuǎn)角=352.000000最小曲率半徑=14.000000,相應(yīng)凸輪轉(zhuǎn)角=340.000000序號6SXYX1Y1100.0000005.00000023.4733892.91666713.692810240.0000006.62524123.0674273.86472413.455999380.0000008.21820522.5490824.79395313.1536314120.0000009.77113021.9208815.69982612.7871815160.00000011.27645121.1858836.57793012.3584326200.00000012.72683520.3476707.42398711.8694747240.00000014,11521519.4103258.23387511.3226898280.00000015.43482718.3784159.00364910,7207429320.00000016.67924217.2569679.72955810.06656410360.00000017.84239716.05144510.4080659.36334311400.00000018.91862614.76772111.0358658.61450412440.00000019.90268513.41205111.6099007.82369713480.00000020.78978111.99103912,1273726.99477314520.00000021.57559010.51160812.5857616.13177112
15560.00000022.2562868.98096512.9828345.23889616600.00000022.8285517.40656813.3166554.32049817640.00985923.2984595.80040813.6371973.21970818680.07488823.7066154.18542113.9899541.82184319720.23968024.0975542.57245914.3852160.19117720760.53804224.5077990.95741214.841722-1.60519421800.99382724.963745-0.67535115.369724-3.49576922841.62176025.480318-2.34945215.961917-5.41540123882.42827126.060379-4.09299916.595549-7.32053824923.41232226.694836-5.93525217.241474-9.19622525964.56624027.363383-7.90354917.871626-11.051016261005.87654328.035800-10.02060118.461055-12.905780271047.32477228.673715-12.30222818.986391-14.783306281088.88832029.232729-14.75560119.423879-16.7014802911210.54126029.664801-17.37803119.748587-18.6698123011612.25517829.920768-20.15634319.934923-20.6886333112014.00000029.952907-23.06682219.958013-22.7472953212415.74482229.717406-26.07573319.795395-24.8292593312817.45874029.176650-29.14038919.428612-26.9097523413219.11168028.301221-32.21069718.844393-28.9597883513620.67522827.071507-35.23114918.035244-30.9479323614022.12345725.478865-38.14314916.999369-32.8423803714423.43376023.526246-40.88760715.739987-34.6127233814824.58767821.228245-43.40769314.264216-36.2311833915225.57172918.610551-45.65162712.581802-37.6732704015626.37824015.708757-47.57541310.703984-38.9179164116027.00617312.566564-49.1453738.642680-39.9473764216427.4619589.233376-50.3403856.409975-40.7472414316827.7603205.761349-51.1536884.017612-41.3068934417227.9251122.201948-51.5941601.476005-41.6205454517627.990141-1.397906-51.686950-1.207747-41.6887584618028.000000-5.000000-51.473389-4.033175-41.5202364718428.000000-8.578422-50.999220-6.919656-41.1377554818828.000000-12.115052-50.276588-9.772424-40.5548554919228.000000-15.592657-49.309014-12.577583-39.7743755019628.000000-18.994297-48.101211-15.321465-38.8001195120028.000000-22.303399-46.659063-17.990702-37.6368335220428.000000-25.503841-44.989598-20.572290-36.2901835320828.000000-28.580030-43.100947-23.053652-34.7667325421228.000000-31.516981-41.002313-25.422699-33.0739005521628.000000-34.300384-38.703920-27.667890-31.2199365622028.000000-36.916679-36.216966-29.778285-29.2138725722428.000000-39.353120-33.553566-31.743603-27.0654805822828.000000-41.597836-30.726696-33.554270-24.78522813
5923228.000000-43.639892-27.750129-35.201463-22.3842256023628.000000-45.469338-24.638366-36.677159-19.8741686124028.000000-47.077263-21.406568-37.974167-17.2672866224428.000000-48.455831-18.070478-39.086169-14.5762806324828.000000-49.598328-14.646352-40.007747-11.8142606425228.000000-50.499187-11.150869-40.734411-8.9946816525628.000000-51.154019-7.601061-41.262621-6.1312826626028.000000-51.559634-4.014222-41.589804-3.2380126726428.000000-51.714055-0.407825-41.714366-0.3289666826828.000000-51.6165303.200559-41.6356992.5816836927227.965897-51.2334536.792159-41.3763645.1075827027627.694066-50.36451310.321065-40.8508057.2405827128027.155697-48.99167513.715687-40.0084529.3223187228426.361266-47.14474416.907573-38.85504911.3146347328825.326238-44.86611819.835197-37.40390313.1782207429224.070757-42.20913222.446270-35.67694914.8745747529622.619261-39.23594424.699658-33.70497216.3684907630021.000000-36.01508526.566822-31.52682717.6306297730419.244492-32.61876428.032724-29.18772818.6397497830817.386907-29.12004529.096164-26.73682419.3843027931215.463398-25.59001929.769520-24.22431919.8632168031613.511407-22.09509930.077928-21.69840220.0857998132011.568926-18.69454430.057908-19.20219920.070803823249.673762-15.43832229.755535-16.77090819.844722833287.862804-12.36541229.224195-14.42919519.439472843326.171299-9.50260028.522064-12.18886618.88962853364.632172-6.86383427.709391-10.04678418.22947863403.275378-4.45015426.845720-7.98298917.490557873442.127327-2.25020525.987174-5.95930516.700486883481.210364-0.24130325.183912-3.91961515.884986893520.5423361.60899724.477872-1.79546315.075231903560.1362473.34089523.9009070.47598914.320076運行結(jié)果截圖:141F:\l\Debug\l.exe第5組數(shù)據(jù)第6組數(shù)裾第7組數(shù)裾第81F:\l\Debug\l.exe第5組數(shù)據(jù)第6組數(shù)裾第7組數(shù)裾第8組數(shù)裾第9組數(shù)裾第巡且數(shù)據(jù)第U組數(shù)據(jù)第12組數(shù)據(jù)第13組數(shù)據(jù)第14組數(shù)據(jù)第15組數(shù)據(jù)第16組數(shù)據(jù)第17組數(shù)據(jù)第18組數(shù)據(jù)第心組數(shù)據(jù)第加組數(shù)據(jù)第21組數(shù)據(jù)3=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.000000S=0.009859s=0.074888s=0.239680s=0.538042s=0.993827x=ll.276451,y=21.185883;xl=6.577930,yl=12.358432x=12.726835,y=20.347670;xl=7.423987,yl=11.869474x=14.115215,y=19.410325;xl=8.233875,yl=11.322689x=15.434827,y=18.378415;xl=9.003649,yl=10.720742x=16.679242,y=17.256967;xl=9.729558,yl=10.066564x=17.842397,y=16.051445;xl=10.408065,yl=9.363343x=18.918626,y=14.767721;xl=11.035865,yl=8.614504x=19.902685,y=13.412051;xl=11.609900,yl=7.823697x=2B.789781,y=ll.991039;xl=12.127372,yl=6.994773x=21.575590,y=10.511608;xl=12.585761,yl=6.131771x=22.256286,y=8.980965;xl=12.982834,yl=5.238896x=22.828551,y=7.406568;xl=13.316655,yl=4.320498x
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 工地臨時護欄安裝協(xié)議
- 古鎮(zhèn)裝飾施工合同
- 電力設(shè)施廠房施工合同
- 科技館建設(shè)民建施工合同
- 西安景區(qū)附近酒店租賃協(xié)議
- 機場航站樓空調(diào)租賃協(xié)議
- 工地用施工升降機購銷合同
- 校園建設(shè)建造師聘用合同范例
- 建筑改造施工合同封面
- 大學廣告位租賃合同
- 2024年同等學力申碩英語考試真題
- GB/T 44625-2024動態(tài)響應(yīng)同步調(diào)相機技術(shù)要求
- (正式版)SHT 3075-2024 石油化工鋼制壓力容器材料選用規(guī)范
- 2024年廣西交通投資集團有限公司招聘筆試參考題庫附帶答案詳解
- 汽車機械識圖圖期末考試卷
- 五年級科學下冊 給冷水加熱課件1 教科版
- 冪的運算綜合專項練習50題(共7頁)
- 內(nèi)臟疾病康復(fù) 向云
- 農(nóng)村留守婦女創(chuàng)業(yè)就業(yè)情況調(diào)研報告
- 大型電力變壓器安裝監(jiān)理工作要點
- 第三次全國文物普查建檔備案工作規(guī)范
評論
0/150
提交評論