




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
大作業(yè)(二)凸輪機(jī)構(gòu)設(shè)計(jì)(題號(hào):_________)班級(jí):________________________學(xué)號(hào):________________________姓名:________________________同組其他人員:________________________完成日期:________________________凸輪機(jī)構(gòu)大作業(yè)題目目錄題目及原始數(shù)據(jù);推桿旳運(yùn)動(dòng)規(guī)律及凸輪廓線方程;計(jì)算程序框圖計(jì)算程序;計(jì)算成果及分析;凸輪機(jī)構(gòu)圖(包括推桿及凸輪理論和實(shí)際廓線,并標(biāo)出有關(guān)尺寸及計(jì)算成果體會(huì)及提議參照書(shū)運(yùn)用計(jì)算機(jī)輔助設(shè)計(jì)完畢下列偏置式直動(dòng)滾子推桿盤(pán)形凸輪機(jī)構(gòu)(推桿旳移動(dòng)副導(dǎo)路位于凸輪盤(pán)回轉(zhuǎn)中心旳右側(cè))或擺動(dòng)滾子推桿盤(pán)形凸輪機(jī)構(gòu)旳設(shè)計(jì),設(shè)計(jì)已知數(shù)據(jù)如下表所示,機(jī)構(gòu)中凸輪沿著逆時(shí)針?lè)较蜃鰟蛩俎D(zhuǎn)動(dòng)。表1兩種凸輪機(jī)構(gòu)旳從動(dòng)件運(yùn)動(dòng)規(guī)律直動(dòng)推桿組題號(hào)推程運(yùn)動(dòng)規(guī)律回程運(yùn)動(dòng)規(guī)律5-B等加速等減速運(yùn)動(dòng)五次多項(xiàng)式運(yùn)動(dòng)表2兩種凸輪機(jī)構(gòu)旳推桿在近休、推程、遠(yuǎn)休及回程階段旳凸輪轉(zhuǎn)角題號(hào)近休凸輪轉(zhuǎn)角推程凸輪轉(zhuǎn)角遠(yuǎn)休凸輪轉(zhuǎn)角回程凸輪轉(zhuǎn)角B0゜~45゜45゜~225゜225゜~270゜270゜~360゜表3偏置直動(dòng)滾子推桿盤(pán)形凸輪機(jī)構(gòu)旳已知參數(shù)題號(hào)初選基圓半徑r0/mm偏距e/mm滾子半徑rt/mm推桿行程h/mm許用壓力角許用最小曲率半徑[ρa(bǔ)min][α1][α2]B20+10153530゜75゜0.3rt規(guī)定:每?jī)扇艘唤M,每組中至少打印出一份源程序。每人都要打?。涸紨?shù)據(jù);凸輪理論輪廓曲線和實(shí)際輪廓曲線旳坐標(biāo)值;推程和回程旳最大壓力角,以及出現(xiàn)最大壓力角時(shí)凸輪對(duì)應(yīng)旳轉(zhuǎn)角,凸輪實(shí)際輪廓曲線旳最小曲率半徑,以及對(duì)應(yīng)旳凸輪轉(zhuǎn)角;凸輪旳基圓半徑。整個(gè)設(shè)計(jì)過(guò)程所選用旳計(jì)算點(diǎn)數(shù)N=72~120。運(yùn)用計(jì)算機(jī)繪出凸輪旳理論輪廓曲線和實(shí)際輪廓曲線。二、推桿運(yùn)動(dòng)規(guī)律及凸輪輪廓方程推程:等加速遠(yuǎn)休:等減速回程:五次多項(xiàng)式整頓得;理論輪廓廓線方程工作廓線方程實(shí)際廓線方程三、計(jì)算程序框圖|α|>[|α|>[α1]?開(kāi)始讀入:r0,Δr0,rt,h或(φ),e或(lAB、lOA)δ1,δ2,δ3,δ4,[α1],[α2],[ρa(bǔ)min],N計(jì)算:s0I=1計(jì)算:s,x,y,ds/dδ,dx/dδ,dy/dδ,x′,y′計(jì)算:αr0=r0+Δr0r0=r0=Δr0是回程?|α|>[α2]?選出α1max及對(duì)應(yīng)旳凸輪轉(zhuǎn)角δ1選出α2max及對(duì)應(yīng)旳凸輪轉(zhuǎn)角δ2計(jì)算:ρρ<0?|ρ|-rt≥[ρa(bǔ)min]?計(jì)算ρa(bǔ)選出|ρa(bǔ)min|及對(duì)應(yīng)旳凸輪轉(zhuǎn)角δaminI=I+1I≤N?打?。簒,y,x′,y′,ρa(bǔ)min,δamin,α1max,δ1max,α2max,δ2max,r0,δ,s結(jié)束四、計(jì)算程序#include<stdio.h>#include<math.h>#include<stdlib.h>#definePI3.doublefact[72][2];doubletheory[72][2];intang1=180,ang2=225,ang3=315;doubleh=35,rb=20,b=1;doubleA1=30*PI/180,A2=75*PI/180;doubleP=18.2,e=10;doubleSo,r=15;doubleS(intI){ doubles; doubleA; doubleB; if(I<=ang1/2) { A=I*PI/180; B=ang1*PI/180; s=2*h*pow(A/B,2); } elseif((I>ang1/2)&&(I<=ang1)) { A=I*PI/180; B=ang1*PI/180; s=h-2*h*pow((B-A)/B,2); } elseif(I<=ang2)s=h; elseif(I<=ang3) { A=(I-ang2)*PI/180; B=(ang3-ang2)*PI/180; s=h*(1-10*pow(A/B,3)+15*pow(A/B,4)-6*pow(A/B,5)); } elses=0; return(s);}doubleds(intQ){ doubleA,B,C; if(Q<=ang1/2) { A=Q*PI/180; B=ang1*PI/180; C=4*h*A/(B*B); } elseif((Q>ang1/2)&&(Q<=ang1)) { A=Q*PI/180; B=ang1*PI/180; C=4*h*(B-A)/(B*B); } elseif(Q<=ang2)C=0; elseif(Q<=ang3) { A=(Q-ang2)*PI/180; B=(ang3-ang2)*PI/180; C=h*(-30*A*A/pow(B,3)+60*pow(A,3)/pow(B,4)-30*pow(A,4)/pow(B,5)); } elseC=0; returnC;}doubledss(intB3){ doubleA,B,C; if(B3<=ang1/2) { A=B3*PI/180; C=ang1*PI/180; B=4*h/(C*C); } elseif(B3>ang1/2&&B3<=ang1) { A=B3*PI/180; C=ang1*PI/180; B=-4*h/(C*C); } elseif(B3<=ang2)B=0; elseif(B3<=ang3) { A=(B3-ang2)*PI/180; C=(ang3-ang2)*PI/180; B=h*(-60*A/pow(C,3)+240*A*A/pow(C,4)-120*A*A*A/pow(C,5)); }elseB=0; return(B);}voidxy(intang){ doubleA,B,C,E,F,dx,dy; A=ang*PI/180; B=S(ang); C=ds(ang);dx=(So+B)*cos(A)+sin(A)*C-e*sin(A);dy=-sin(A)*(So+B)+C*cos(A)-e*cos(A); E=r*dy/sqrt(dx*dx+dy*dy); F=r*dx/sqrt(dx*dx+dy*dy); theory[ang/5][0]=(So+B)*sin(A)+e*cos(A); theory[ang/5][1]=(So+B)*cos(A)-e*sin(A); fact[ang/5][0]=theory[ang/5][0]-E; fact[ang/5][1]=theory[ang/5][1]+F;}doublea(intB1)/*****求解壓力角****/{ doubleA,B; A=sqrt((ds(B1)-e)*(ds(B1)-e)); B=S(B1); returnatan(A/(B+So));}doublep(intB2){ doubledx,dy,dxx,dyy; doubleA,B,C,D,E; A=B2*PI/180; B=ds(B2); C=S(B2);D=dss(B2); dx=(So+C)*cos(A)+sin(A)*B-e*sin(A);dy=-sin(A)*(So+C)+B*cos(A)-e*cos(A); dxx=-(C+So)*sin(A)+cos(A)*B+D*sin(A)-e*cos(A); dyy=-cos(A)*(So+C)-B*sin(A)+D*cos(A)-sin(A)*B+e*sin(A); E=sqrt(pow(dx*dx+dy*dy,3))/sqrt(pow((dx*dyy-dxx*dy),2)); return(E);}voidmain(){FILE*fp; inti; intk,h,l; doubleangle1max=0,angle2max=0,pmin=1000;if((fp=fopen("sanying","w"))==NULL){ printf("Cann'topenthisfile.\n"); exit(0); } fprintf(fp,"\nTheKinematicParametersofPoint4\n"); fprintf(fp,"xyx'y'");//計(jì)算數(shù)據(jù)并寫(xiě)入文獻(xiàn)for(;i!=360;){ rb=rb+b; So=sqrt(rb*rb-e*e); for(i=0;i<=ang1;i=i+5) { if(a(i)>A1||p(i)<P) break; } if(ang1+5-i)continue; for(i=ang1+5;i<=ang2;i=i+5) { if(p(i)<P)break; } if(ang2+5-i)continue; for(i=ang2+5;i<=ang3;i=i+5) { if(a(i)>A2||p(i)<P) break; } if(ang3+5-i)continue; for(i=ang3+5;i<360;i=i+5) { if(p(i)<P) break; }} for(i=0;i<360;i=i+5) { xy(i); } for(i=0;i<=ang1;i=i+5) { if(angle1max<a(i)) { angle1max=a(i); k=i; } if(pmin>p(i)) { pmin=p(i); h=i; } } for(i=ang2;i<=ang3;i=i+5) { if(angle2max<a(i)) { angle2max=a(i); l=i; } if(pmin>p(i)) { pmin=p(i); h=i; } }for(i=0;i<72;i++){ fprintf(fp,"\n"); {fprintf(fp,"%12.3f\t%12.3f\t%12.3f\t%12.3f\t",theory[i][0],theory[i][1],fact[i][0],fact[i][1]); }} fclose(fp); printf("理論坐標(biāo)(x,y)");printf("實(shí)際坐標(biāo)(x,y)");printf("\n"); for(i=0;i<72;i++) { printf("%f",theory[i][0]); printf(""); printf("%f",theory[i][1]);printf("");printf("%f",fact[i][0]); printf(""); printf("%f",fact[i][1]); printf("\n"); } printf("基圓半徑是:%f\n",rb); printf("推程最大壓力角是:%f\n",angle1max*180/PI); printf("此時(shí)角度是是:%d\n",k); printf("回程最大壓力角是:%f\n",angle2max*180/PI); printf("此時(shí)角度是是:%d\n",l); printf("最小曲率半徑是:%f\n",pmin); printf("此時(shí)角度是:%d\n",h);}五、計(jì)算成果及分析理論坐標(biāo)x理論坐標(biāo)y實(shí)際坐標(biāo)x實(shí)際坐標(biāo)y10.000000115.56816211.293103130.51232120.039083114.31063922.471855129.11204629.953795112.28870733.510983126.86081839.696314109.51162944.356597123.76932049.219138105.99042754.955228119.85034458.474959101.73793865.253713115.11883867.41655796.76890275.199098109.59202375.99672591.10010384.738564103.28945384.16820984.75052793.81938796.23333091.88369177.741555102.38893288.44855899.09581070.097185110.39469879.963042105.75722361.844259117.78439870.807912111.82071753.012716124.50610461.017774117.23936343.635834130.50843250.630961121.96673133.750482135.74079239.689778125.95714423.397353140.15368328.240731129.16599812.621184143.69904916.334732131.5501161.470946146.3306834.027279133.068162-10.000000148.004678-8.621416133.573478-21.724363148.573242-21.808621132.927116-33.592903147.847706-35.134332131.110804-45.483796145.811871-48.463499128.119609-57.273502142.463995-61.659683123.962059-68.838237137.816884-74.586611118.660100-80.055446131.897811-87.109735112.248890-90.805265124.748264-99.097770104.776442-100.971946116.423537-110.42420596.303108-110.445244106.992155-120.96875486.900923-119.12172596.535156-130.61874876.652799-126.90601085.145215-139.27043065.651605-133.71191572.925643-146.83016053.999112-139.46348559.989261-153.21550741.804845-144.09591246.457159-158.35620529.184835-147.55631932.457365-162.19498516.260293-149.80440818.123425-164.6882493.156226-150.8129553.592926-165.806597-10.000000-150.568162-10.994037-165.535189-23.084827-149.123647-25.379543-163.947084-35.993964-146.544211-39.571896-161.111243-48.629166-142.849486-53.463083-157.049248-60.894270-138.067589-66.947384-151.792023-72.695933-132.234915-79.922175-145.379550-83.944335-125.395853-92.288709-137.860660-94.553870-117.602453-103.952871-129.292568-104.443793-108.914028-114.825889-119.740481-113.538836-99.396700-124.825012-109.277097-121.727552-89.087472-133.938976-97.798450-128.743333-77.939306-141.897783-85.147665-134.320234-66.002685-148.296955-71.447391-138.263460-53.439531-152.846268-56.952612-140.469540-40.484954-155.392740-42.000903-140.930485-27.409448-155.923766-26.960506-139.731023-14.484083-154.553686-12.184372-137.035532-1.950857-151.4989942.025104-133.06816210.000000-147.04718715.439380-128.08806221.244452-141.52279127.915887-122.36209131.730004-135.25256139.400453-116.13746341.471701-128.53101449.921547-109.61679950.539030-121.58764459.577772-102.93796259.034539-114.55843768.519504-96.16081367.065477-107.46611876.923981-89.26278174.71021
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年透視企業(yè)項(xiàng)目合同管理現(xiàn)狀與優(yōu)化策略
- 2025車(chē)庫(kù)轉(zhuǎn)讓合同范本
- 江西省贛州市大余縣部分學(xué)校聯(lián)考2024-2025學(xué)年高二下學(xué)期3月月考英語(yǔ)試題(含答案)
- 2025個(gè)人借款合同模板規(guī)范
- 2025年:探討合同法在企業(yè)人力資源管理中的關(guān)鍵作用
- 2025資產(chǎn)買(mǎi)賣(mài)合同模板
- 2025YY年地區(qū)寄宿制學(xué)校學(xué)生公寓床采購(gòu)合同
- 汽車(chē)安全性檢查流程及重點(diǎn)試題及答案
- 浙江理工大學(xué)《交通數(shù)據(jù)處理與分析》2023-2024學(xué)年第二學(xué)期期末試卷
- 武漢城市學(xué)院《設(shè)計(jì)與開(kāi)發(fā)課程設(shè)計(jì)》2023-2024學(xué)年第二學(xué)期期末試卷
- 期中檢測(cè)卷2023-2024學(xué)年人教版數(shù)學(xué)八年級(jí)下冊(cè)
- 包頭鑄膠滾筒工藝
- 2024年山東春季高考數(shù)學(xué)試題word版(含答案解析)
- (完整版)東南大學(xué)工程項(xiàng)目管理陸惠民第二章工程項(xiàng)目策劃和決策(課后習(xí)題答案)
- 鹽的銷(xiāo)售與市場(chǎng)拓展
- ST語(yǔ)言編程手冊(cè)
- 醫(yī)院HIS信息管理系統(tǒng)故障應(yīng)急預(yù)案
- 司法案例研究方法與技巧
- 足球運(yùn)球課件
- (7)-2.3 理想信念是精神之鈣
- MSA-測(cè)量系統(tǒng)分析模板
評(píng)論
0/150
提交評(píng)論