版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
大作业(二)凸轮机构设计(题号:4-A)(一)题目及原始数据 (二)推杆运动规律及凸轮廓线方程 (三)程序框图 (四)计算程序 (五)程序计算结果及分析(六)凸轮机构图••••(七)心得体会 (八)参考书 一题目及原始数据试用计算机辅助设计完成偏置直动滚子推杆盘形凸轮机构的设计(1)推程运动规律为五次多项式运动规律,回程运动规律为余弦加速度运动规建;(2)打印出原始数据;(3)打印出理论轮廓和实际轮廓的坐标值;(4)打印出推程和回程的最大压力角,以及出现最大压力角时凸轮的相应转角;(5)打印出凸轮实际轮廓曲线的最小曲率半径,以及相应的凸轮转角;(6)打印最后所确定的凸轮的基圆半径。表一偏置直动滚子推杆盘形凸轮机构的已知参数题号初选的基圆半径R0/mm偏距E/mm滚子半径Rr/mm推杆行程h/mm许用压力角许用最小曲率半径[pamin][a1][a2]4-A155102830°700.3Rr计算点数:N=90q1=60; 近休止角5 1q2=180; 推程运动角52q3=90; 远休止角5 3二整杆运动规程律及凸I轮廓线方程推杆运动规律:(1)近休阶段:0o<6<60os=0;ds/db=0;d2s/d52=0;(2)推程阶段:60o<6<180o五次多项式运动规律: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的一、二阶导数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结束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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s(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组数据",j+1);/*求理论轮廓曲率/*/*求理论轮廓曲率/*输出数据*/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,相应凸轮转角=%£\/"1,八2-4);printf(〃回程最大压力角(弧度)=%f,相应凸轮转角=%£\/21^2-4);printf(〃最小曲率半径=%f,相应凸轮转角=%£\口〃工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'):五程序计算结果及分析基圆半径r0=24.000000推程最大压力角(弧度)=0.513512,相应凸轮转角=172.000000回程最大压力角(弧度)=0.766377,相应凸轮转角=352.000000最小曲率半径=14.000000,相应凸轮转角=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运行结果截图:141F:\l\Debug\l.exe第5组数据第6组数裾第7组数裾第81F:\l\Debug\l.exe第5组数据第6组数裾第7组数裾第8组数裾第9组数裾第巡且数据第U组数据第12组数据第13组数据第14组数据第15组数据第16组数据第17组数据第18组数据第心组数据第加组数据第21组数据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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 采购代表合同格式
- 施工招标文件的经典范本详解
- 快递公司丢件找回保证
- 促销材料选购合约
- 居间环保居间咨询
- 工程保证书格式及内容
- 诚实守信赢得尊重
- 借车期间车辆保险协议
- 供应商零件信誉承诺
- 简易纯劳务分包合同示例
- 2024年同等学力申硕英语考试真题
- GB/T 44625-2024动态响应同步调相机技术要求
- 伦理与社会责任智慧树知到期末考试答案章节答案2024年浙江大学
- (高清版)JTGT 3610-2019 公路路基施工技术规范
- (正式版)SHT 3075-2024 石油化工钢制压力容器材料选用规范
- 2024年广西交通投资集团有限公司招聘笔试参考题库附带答案详解
- 国开2023春《学前儿童语言教育》活动指导形成性考核一二三四参考答案
- GB/T 9119-2010板式平焊钢制管法兰
- 输变电工程经济评价导则
- 作为设备科长,浅谈怎么开展设备管理工作?
- 思想政治工作中人文关怀、心理疏导方式研究
评论
0/150
提交评论