![哈工大機(jī)械設(shè)計(jì)-V帶傳動(dòng)電算報(bào)告_第1頁(yè)](http://file4.renrendoc.com/view/e10b98efe685677bd378aae7ca69adf5/e10b98efe685677bd378aae7ca69adf51.gif)
![哈工大機(jī)械設(shè)計(jì)-V帶傳動(dòng)電算報(bào)告_第2頁(yè)](http://file4.renrendoc.com/view/e10b98efe685677bd378aae7ca69adf5/e10b98efe685677bd378aae7ca69adf52.gif)
![哈工大機(jī)械設(shè)計(jì)-V帶傳動(dòng)電算報(bào)告_第3頁(yè)](http://file4.renrendoc.com/view/e10b98efe685677bd378aae7ca69adf5/e10b98efe685677bd378aae7ca69adf53.gif)
![哈工大機(jī)械設(shè)計(jì)-V帶傳動(dòng)電算報(bào)告_第4頁(yè)](http://file4.renrendoc.com/view/e10b98efe685677bd378aae7ca69adf5/e10b98efe685677bd378aae7ca69adf54.gif)
![哈工大機(jī)械設(shè)計(jì)-V帶傳動(dòng)電算報(bào)告_第5頁(yè)](http://file4.renrendoc.com/view/e10b98efe685677bd378aae7ca69adf5/e10b98efe685677bd378aae7ca69adf55.gif)
版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
HarbinInstituteofTechnology哈爾濱工業(yè)大學(xué)機(jī)械設(shè)計(jì)作業(yè)設(shè)計(jì)計(jì)算說(shuō)明書(shū)設(shè)計(jì)題目:V帶傳動(dòng)設(shè)計(jì)院系:英才學(xué)院哈爾濱工業(yè)大學(xué)一、程序框圖a1=0.7(dd1+dd2),a2=2(dd1+dd2)輸入初估中心距a0,計(jì)算Ld0Add2=查標(biāo)準(zhǔn)帶輪直徑表確定dd2YV<Vmax?根據(jù)型號(hào)確定最大帶速Vmax,額定功率P0中系數(shù)K1,a1=0.7(dd1+dd2),a2=2(dd1+dd2)輸入初估中心距a0,計(jì)算Ld0Add2=查標(biāo)準(zhǔn)帶輪直徑表確定dd2YV<Vmax?根據(jù)型號(hào)確定最大帶速Vmax,額定功率P0中系數(shù)K1,K2,K3,彎曲影響系數(shù)KbV=輸出該型號(hào)帶輪系列直徑,選擇輸入小帶輪基準(zhǔn)直徑dd1輸入帶型號(hào)查表求傳動(dòng)比系數(shù)Ki查KA,計(jì)算Pd,選型查表求KA,計(jì)算Pd輸入P,n1,i輸入各原始數(shù)據(jù)開(kāi)始減小直徑圖1V帶設(shè)計(jì)程序框圖B查標(biāo)準(zhǔn)長(zhǎng)度確定Ld,同時(shí)查取KL,計(jì)算實(shí)際中心距aA計(jì)算小帶輪包角查表確定包角系數(shù)計(jì)算Po,Z<10?計(jì)算Fo,Q,B(取整)輸出結(jié)果計(jì)算下一型號(hào)帶?結(jié)束計(jì)算下一種帶輪直徑?YYYNNNNB二、V帶設(shè)計(jì)程序functionvarargout=V_caculate(varargin)%本程序用于計(jì)算V帶的各項(xiàng)數(shù)據(jù)%部分中文注釋復(fù)制出來(lái)之后為亂碼%V_CACULATEM-fileforV_caculate.fig%V_CACULATE,byitself,createsanewV_CACULATEorraisestheexisting%singleton*.%%H=V_CACULATEreturnsthehandletoanewV_CACULATEorthehandleto%theexistingsingleton*.%%V_CACULATE('CALLBACK',hObject,eventData,handles,...)callsthelocal%functionnamedCALLBACKinV_CACULATE.Mwiththegiveninputarguments.%%V_CACULATE('Property','Value',...)createsanewV_CACULATEorraisesthe%existingsingleton*.Startingfromtheleft,propertyvaluepairsare%appliedtotheGUIbeforeV_caculate_OpeningFcngetscalled.An%unrecognizedpropertynameorinvalidvaluemakespropertyapplication%stop.AllinputsarepassedtoV_caculate_OpeningFcnviavarargin.%%*SeeGUIOptionsonGUIDE'sToolsmenu.Choose"GUIallowsonlyone%instancetorun(singleton)".%%Seealso:GUIDE,GUIDATA,GUIHANDLES%EdittheabovetexttomodifytheresponsetohelpV_caculate%LastModifiedbyGUIDEv2.506-Dec-201215:27:18%Begininitializationcode-DONOTEDITgui_Singleton=1;gui_State=struct('gui_Name',mfilename,...'gui_Singleton',gui_Singleton,...'gui_OpeningFcn',@V_caculate_OpeningFcn,...'gui_OutputFcn',@V_caculate_OutputFcn,...'gui_LayoutFcn',[],...'gui_Callback',[]);ifnargin&&ischar(varargin{1})gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_State,varargin{:});elsegui_mainfcn(gui_State,varargin{:});end%Endinitializationcode-DONOTEDIT%---ExecutesjustbeforeV_caculateismadevisible.functionV_caculate_OpeningFcn(hObject,eventdata,handles,varargin)%Thisfunctionhasnooutputargs,seeOutputFcn.%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%varargincommandlineargumentstoV_caculate(seeVARARGIN)globalPdyileierleichuandongbizhuansuTYPEDd1arrayDd1MINMAXP0arrayNarrayVmaxLdarrayDd1posKaarrayKlarrayDd2arrayDSPcellarrayCELLDSPTABLEPOSHEADMES;Vmax=25;%ZABCDí′?μ?×?′ó′??ù%ò???ê???í¨V′??ù±????¨1|?êP0μ?±í??êy?YP0array=[0.000.04,0.06,0.09,0.10,0.12,0.14,0.16,0.17,0.20,0.22,0.26,0.28,0.30,0.32,0.33,0.34,0.33,0.31;0.000.05,0.08,0.13,0.15,0.18,0.22,0.25,0.27,0.32,0.37,0.41,0.45,0.47,0.49,0.50,0.50,0.49,0.48;0.000.06,0.09,0.17,0.20,0.23,0.27,0.30,0.33,0.39,0.46,0.50,0.54,0.58,0.61,0.62,0.62,0.61,0.58;0.000.10,0.14,0.20,0.22,0.26,0.30,0.35,0.39,0.44,0.50,0.56,0.61,0.64,0.67,0.67,0.66,0.64,0.00;0.000.15,0.26,0.40,0.45,0.51,0.60,0.68,0.73,0.84,0.92,1.00,1.04,1.08,1.09,1.07,1.02,0.96,0.80;0.000.22,0.39,0.61,0.68,0.77,0.93,1.07,1.05,1.34,1.50,1.64,1.73,1.83,1.87,1.88,1.82,0.00,0.00;0.000.26,0.47,0.74,0.83,0.95,1.14,1.32,1.42,1.66,1.87,2.05,2.19,2.28,2.34,2.33,0.00,0.00,0.00;0.000.37,0.67,1.07,1.191.371.661.922.072.442.742.983.163.260.000.000.000.000.00;0.000.480.841.301.441.641.932.192.332.642.852.962.942.800.000.000.000.000.00;0.000.591.051.641.822.082.472.823.003.423.703.853.830.000.000.000.000.000.00;0.000.741.322.092.322.663.173.623.864.404.754.890.000.000.000.000.000.000.00;0.000.881.592.532.813.223.854.394.685.305.670.000.000.000.000.000.000.000.00;0.001.392.413.694.074.585.295.846.076.346.020.000.000.000.000.000.000.000.00;0.002.033.625.646.237.048.219.049.389.620.000.000.000.000.000.000.000.000.00;0.002.845.148.098.9210.0511.5312.4612.720.000.000.000.000.000.000.000.000.000.00;0.003.917.0611.0212.1013.4815.040.00.0000.000.000.000.000.000.000.000.000.000.00;3.015.319.2413.7014.8316.1517.2516.7715.630.000.000.000.000.000.000.000.000.000.00;3.666.5211.4517.0718.4620.0621.200.000.0000.000.000.000.000.000.000.000.000.000.00;4.377.9013.8520.6322.2524.0124.840.000.0000.000.000.000.000.000.000.000.000.000.00;5.089.2116.2023.9925.7627.500.0000.000.0000.000.000.000.000.000.000.000.000.000.00;6.2110.8618.5526.2127.5728.320.000.000.0000.000.000.000.000.000.000.000.000.000.00;7.3213.0922.4931.5933.0333.400.000.000.0000.000.000.000.000.000.000.000.000.000.00;8.7515.6526.9537.2638.620.0000.000.000.0000.000.000.000.000.000.000.000.000.000.00;10.3118.5231.8342.8743.520.000.000.000.0000.000.000.000.000.000.000.000.000.000.00;];MINMAX=[950,6000;800,6000;700,6000;700,6000;200,600;200,6000;200,6000;200,5500;200,6000;200,5000;200,4500;200,3600;200,3600;200,3200;200,2800;200,2400;200,2400;200,2000;200,1600;200,1200;100,1600;100,1200;100,1200;100,950;100,950;100,950;100,800;100,800;];Narray=[100,200,400,700,800,950,1200,1450,1600,2000,2400,2800,3200,3600,4000,4500,5000,5500,6000];%ò???ê?′?μ??ù×?3¤?èLd?μáDLdarray=[200,224,250,280,315,355,400,450,500,560,630,710,800,900,1000,1120,1250,1400,1600,1800,2000,2240,2500,2800,3150,3550,4000,4500,5000];Dd2array=[20,28,31.5,35.5,40,45,50,56,63,71,80,90,100,112,125,140,150,160,180,200,224,250,280,315,355,400,425,450,500,560,600,630,710,800];%ò???ê?1¤×÷?·?3μ?Ka2é±íyilei=[1:0.1:1.2;1.1:0.1:1.3;1.2:0.1:1.4;1.3:0.1:1.5];erlei=[1.1:0.1:1.3;1.2:0.1:1.4;1.4:0.1:1.6;1.5,1.6,1.8];%°ü??DT?y?μêy±íKaarray=[220,210,200,190,180,170,160,150,140,130,120,110,100,90;1.20,1.15,1.10,1.05,1.00,0.98,0.95,0.92,0.89,0.86,0.82,0.78,0.73,0.68];%′?3¤DT?y?μêy±íKlarray=[200zeros(1,6);224zeros(1,6);250zeros(1,6);280zeros(1,6);315zeros(1,6);355zeros(1,6);4000.87zeros(1,5);4500.89zeros(1,5);5000.91zeros(1,5);5600.94zeros(1,5);6300.960.81zeros(1,4);7100.990.83zeros(1,4);8001.000.850.82zeros(1,3);9001.030.870.840.83zeros(1,2);10001.060.890.860.860.830;11201.080.910.880.880.860;12501.100.930.900.910.890;14001.140.960.920.930.910;16001.160.990.950.950.930;18001.181.010.980.970.960;200001.031.000.990.980;224001.061.031.021.000;250001.091.051.041.030;280001.111.071.071.060;315001.131.091.091.080;355001.171.131.121.110;400001.191.151.151.140;4500001.181.181.170;50000001.211.200];%D????±???μáDêy×éDd1array=[506371807590100125125140160180200250315400355400450500500560630710];%????3?ê??ˉTYPE=get(handles.popupmenu11,'value');switch(TYPE)case1set(handles.popup,'string','50|63|71|80');case2set(handles.popup,'string','75|90|100|125');case3set(handles.popup,'string','125|140|160|180');case4set(handles.popup,'string','200|250|315|400');case5set(handles.popup,'string','355|400|450|500');Vmax=30;case6set(handles.popup,'string','500|560|630|710');Vmax=30;endDd1pos=get(handles.popup,'value');%è·?¨popup?DDd1????μ?????Dd1=Dd1array((TYPE-1)*4+Dd1pos);TABLEPOS=1;changetabledsp(handles.uitable1,'deleteall',TABLEPOS,TYPE);set(handles.edit9,'string','');%ChoosedefaultcommandlineoutputforV_caculatehandles.output=hObject;%Updatehandlesstructureguidata(hObject,handles);%UIWAITmakesV_caculatewaitforuserresponse(seeUIRESUME)%uiwait(handles.figure1);%---Outputsfromthisfunctionarereturnedtothecommandline.functionvarargout=V_caculate_OutputFcn(hObject,eventdata,handles)%varargoutcellarrayforreturningoutputargs(seeVARARGOUT);%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Getdefaultcommandlineoutputfromhandlesstructurevarargout{1}=handles.output;%---Executesonselectionchangeinpopupmenu3.functionpopupmenu3_Callback(hObject,eventdata,handles)%hObjecthandletopopupmenu3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:contents=cellstr(get(hObject,'String'))returnspopupmenu3contentsascellarray%contents{get(hObject,'Value')}returnsselecteditemfrompopupmenu3%---Executesduringobjectcreation,aftersettingallproperties.functionpopupmenu3_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopupmenu3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:popupmenucontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');endfunctionedit1_Callback(hObject,eventdata,handles)%hObjecthandletoedit1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofedit1astext%str2double(get(hObject,'String'))returnscontentsofedit1asadouble%---Executesduringobjectcreation,aftersettingallproperties.functionedit1_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');endfunctionedit2_Callback(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofedit2astext%str2double(get(hObject,'String'))returnscontentsofedit2asadouble%---Executesduringobjectcreation,aftersettingallproperties.functionedit2_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');endfunctionedit3_Callback(hObject,eventdata,handles)%hObjecthandletoedit3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofedit3astext%str2double(get(hObject,'String'))returnscontentsofedit3asadouble%---Executesduringobjectcreation,aftersettingallproperties.functionedit3_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executesonselectionchangeinpopupmenu9.functionpopupmenu9_Callback(hObject,eventdata,handles)%hObjecthandletopopupmenu9(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:contents=cellstr(get(hObject,'String'))returnspopupmenu9contentsascellarray%contents{get(hObject,'Value')}returnsselecteditemfrompopupmenu9%---Executesduringobjectcreation,aftersettingallproperties.functionpopupmenu9_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopupmenu9(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:popupmenucontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executesonselectionchangeinpopupmenu5.functionpopupmenu5_Callback(hObject,eventdata,handles)%hObjecthandletopopupmenu5(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:contents=cellstr(get(hObject,'String'))returnspopupmenu5contentsascellarray%contents{get(hObject,'Value')}returnsselecteditemfrompopupmenu5%---Executesduringobjectcreation,aftersettingallproperties.functionpopupmenu5_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopupmenu5(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:popupmenucontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executesonselectionchangeinpopupmenu4.functionpopupmenu4_Callback(hObject,eventdata,handles)%hObjecthandletopopupmenu4(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:contents=cellstr(get(hObject,'String'))returnspopupmenu4contentsascellarray%contents{get(hObject,'Value')}returnsselecteditemfrompopupmenu4%---Executesduringobjectcreation,aftersettingallproperties.functionpopupmenu4_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopupmenu4(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:popupmenucontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executesonselectionchangeinpopupmenu6.functionpopupmenu6_Callback(hObject,eventdata,handles)%hObjecthandletopopupmenu6(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:contents=cellstr(get(hObject,'String'))returnspopupmenu6contentsascellarray%contents{get(hObject,'Value')}returnsselecteditemfrompopupmenu6%---Executesduringobjectcreation,aftersettingallproperties.functionpopupmenu6_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopupmenu6(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:popupmenucontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executesonselectionchangeinpopupmenu8.functionpopupmenu8_Callback(hObject,eventdata,handles)%hObjecthandletopopupmenu8(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:contents=cellstr(get(hObject,'String'))returnspopupmenu8contentsascellarray%contents{get(hObject,'Value')}returnsselecteditemfrompopupmenu8%---Executesduringobjectcreation,aftersettingallproperties.functionpopupmenu8_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopupmenu8(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:popupmenucontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executesonbuttonpressincheckbox1.functioncheckbox1_Callback(hObject,eventdata,handles)%hObjecthandletocheckbox1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hint:get(hObject,'Value')returnstogglestateofcheckbox1%---Executesonbuttonpressincheckbox2.functioncheckbox2_Callback(hObject,eventdata,handles)%hObjecthandletocheckbox2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hint:get(hObject,'Value')returnstogglestateofcheckbox2%---Executesonbuttonpressincheckbox3.functioncheckbox3_Callback(hObject,eventdata,handles)%hObjecthandletocheckbox3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hint:get(hObject,'Value')returnstogglestateofcheckbox3%---Executesduringobjectcreation,aftersettingallproperties.functionpushbutton1_Callback(hObject,eventdata,handles)%hObjecthandletopushbutton1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)globalPdyileierleichuandongbizhuansuTYPEDd2arrayDd1Dd2TABLEPOSHEADMES;fori=1:1p=get(handles.edit1,'string');n1=get(handles.edit2,'string');cd=get(handles.edit3,'string');gonglv=eval(p);%??ò?1|?êzhuansu=eval(n1);chuandongbi=eval(cd);%′??ˉ±èGZJ=get(handles.popupmenu3,'value');YDJ=get(handles.popupmenu5,'value');SJ=get(handles.popupmenu9,'value');if(YDJ==1||YDJ==3||YDJ==4||YDJ==6)leibie=1;elseleibie=2;endif(leibie==1)Ka=yilei(GZJ,SJ);elseKa=erlei(GZJ,SJ);end;check1=get(handles.checkbox1,'value');check2=get(handles.checkbox2,'value');check3=get(handles.checkbox3,'value');gongzuochanghe=check1|check2|check3;if(gongzuochanghe==1)Ka=Ka*1.1;endPd=Ka*gonglv;xianshi=sprintf('%0.3f%s',Pd,'KW');set(handles.text23,'string',xianshi);Dd22=chuandongbi*Dd1;Dd2=nearest(Dd22,Dd2array);a01=0.7*(Dd1+Dd2);a02=2*(Dd1+Dd2);pa1=num2str(a01);pa2=num2str(a02);set(handles.edit6,'string',pa1);set(handles.edit8,'string',pa2);end%---Executesonselectionchangeinpopupmenu11.functionpopupmenu11_Callback(hObject,eventdata,handles)%hObjecthandletopopupmenu11(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:contents=cellstr(get(hObject,'String'))returnspopupmenu11contentsascellarray%contents{get(hObject,'Value')}returnsselecteditemfrompopupmenu11globalTYPEDd1posDd1arrayDd1Dd2Dd2arraychuandongbi;TYPE=get(handles.popupmenu11,'value');switch(TYPE)case1set(handles.popup,'string','50|63|71|80');case2set(handles.popup,'string','75|90|100|125');case3set(handles.popup,'string','125|140|160|180');case4set(handles.popup,'string','200|250|315|400');case5set(handles.popup,'string','355|400|450|500');Vmax=30;case6set(handles.popup,'string','500|560|630|710');Vmax=30;endDd1pos=get(handles.popup,'value');%è·?¨popup?DDd1????μ?????Dd1=Dd1array((TYPE-1)*4+Dd1pos);Dd22=chuandongbi*Dd1;Dd2=nearest(Dd22,Dd2array);a01=0.7*(Dd1+Dd2);a02=2*(Dd1+Dd2);pa1=num2str(a01);pa2=num2str(a02);set(handles.edit6,'string',pa1);set(handles.edit8,'string',pa2);%---Executesduringobjectcreation,aftersettingallproperties.functionpopupmenu11_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopupmenu11(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:popupmenucontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executesonbuttonpressinpushbutton2.functionpushbutton2_Callback(hObject,eventdata,handles)%hObjecthandletopushbutton2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%---Executesonbuttonpressinpushbutton5.functionpushbutton5_Callback(hObject,eventdata,handles)%hObjecthandletopushbutton5(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)globalPdyileierleichuandongbizhuansuTYPEDd1Dd2MINMAXP0arrayNarrayVmaxLdarrayDd1posKaarrayDd2arrayKlarrayTABLEPOSdatadatafront;clc;fori=1:1Dd22=chuandongbi*Dd1;Dd2=nearest(Dd22,Dd2array);V=pi*Dd1*zhuansu/(60*1000);%′??ùa0=str2double(get(handles.edit9,'string'));%3????DD??àLdpie=2*a0+1.57*(Dd1+Dd2)+(Dd2-Dd1)^2/(4*a0);%3????ù×?3¤?èLd=nearest(Ldpie,Ldarray);%?ù×?3¤?èa=round(a0+(Ld-Ldpie)/2);%?DD??àalf1=180-(Dd2-Dd1)/a*57.3;%D???°ü??£?μ¥??£o?èP0=P0func(zhuansu,MINMAX,P0array,Narray,TYPE,Dd1pos);%2é±í£??òμ??í·μ?????¨1|?êKa=baojiao(alf1,Kaarray);%2é?ò°ü??DT?y?μêyKl=daichangxiuzheng(Ld,TYPE,Klarray);%2é?ò′?3¤DT?y?μêyKb=wanquyingxiang(TYPE);%í??úó°?ì?μêyKi=chuandongbixishu(chuandongbi);%′??ˉ±è?μêydietaP0=Kb*zhuansu*(1-1/Ki);Zfront=Pd/(P0+dietaP0)/Ka/Kl;%?¤′??ùêyZ=ceil(Zfront);m=mass(TYPE);%????′?μ??êá?if(Z<1)Z=1;endF0=500*Pd/(V*Z)*((2.5-Ka)/Ka)+m*V^2;%è·?¨3?à-á|′óD?Fq=2*F0*Z*sin(alf1/360*pi);%????×÷ó??ú?áé?μ??1á|%??ê?êy?Ydata={Z,Ld,a,alf1,V,Dd2,F0,Fq};changetabledsp(handles.uitable1,'write',TABLEPOS,TYPE,data);TABLEPOS=TABLEPOS+1;endfunctionpopup_Callback(hObject,eventdata,handles)%hObjecthandletopopup(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofpopupastext%str2double(get(hObject,'String'))returnscontentsofpopupasadoubleglobalDd1TYPEDd1arrayDd1posDd2Dd2arraychuandongbi;Dd1pos=get(handles.popup,'value');%è·?¨popup?DDd1????μ?????Dd1=Dd1array((TYPE-1)*4+Dd1pos);Dd22=chuandongbi*Dd1;Dd2=nearest(Dd22,Dd2array);a01=0.7*(Dd1+Dd2);a02=2*(Dd1+Dd2);pa1=num2str(a01);pa2=num2str(a02);set(handles.edit6,'string',pa1);set(handles.edit8,'string',pa2);%---Executesduringobjectcreation,aftersettingallproperties.functionpopup_CreateFcn(hObject,eventdata,handles)%hObjecthandletopopup(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');end%---Executeswhenentereddataineditablecell(s)inuitable1.functionuitable1_CellEditCallback(hObject,eventdata,handles)%hObjecthandletouitable1(seeGCBO)%eventdatastructurewiththefollowingfields(seeUITABLE)%Indices:rowandcolumnindicesofthecell(s)edited%PreviousData:previousdataforthecell(s)edited%EditData:string(s)enteredbytheuser%NewData:EditDataoritsconvertedformsetontheDataproperty.EmptyifDatawasnotchanged%Error:errorstringwhenfailedtoconvertEditDatatoappropriatevalueforData%handlesstructurewithhandlesanduserdata(seeGUIDATA)%---Executesduringobjectcreation,aftersettingallproperties.functionedit6_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit6(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%---Executesduringobjectcreation,aftersettingallproperties.functionedit8_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit8(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalledfunctionedit7_Callback(hObject,eventdata,handles)%hObjecthandletoedit7(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofedit7astext%str2double(get(hObject,'String'))returnscontentsofedit7asadouble%---Executesduringobjectcreation,aftersettingallproperties.functionedit7_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit7(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&&isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');endfunctionedit9_Callback(hObject,eventdata,handles)%hObjecthandletoedit9(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofedit9astext%str2double(get(hObject,'String'))returnscontentsofedit9asadouble%---Executesduringobjectcreation,aftersettingallproperties.
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 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ì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度餐廳酒樓員工福利與激勵(lì)計(jì)劃合同
- 2025年度物流運(yùn)輸安全風(fēng)險(xiǎn)評(píng)估合同范本
- 2025年度退休返聘員工知識(shí)產(chǎn)權(quán)保護(hù)及使用合同
- 2025年度年度炊事員團(tuán)隊(duì)建設(shè)聘用合同
- 2025年度共享辦公空間租賃合同提前解除及會(huì)員權(quán)益協(xié)議
- 2025-2030年可見(jiàn)光干涉合成孔徑望遠(yuǎn)鏡企業(yè)制定與實(shí)施新質(zhì)生產(chǎn)力戰(zhàn)略研究報(bào)告
- 幕墻工程招投標(biāo)與合同管理考核試卷
- 2025年嵌入式安全型玻璃雙灶項(xiàng)目可行性研究報(bào)告
- 2025至2030年表面抗原試紙項(xiàng)目投資價(jià)值分析報(bào)告
- 2025至2030年火水清潔槍項(xiàng)目投資價(jià)值分析報(bào)告
- 長(zhǎng)江委水文局2025年校園招聘17人歷年高頻重點(diǎn)提升(共500題)附帶答案詳解
- 2025年湖南韶山干部學(xué)院公開(kāi)招聘15人歷年高頻重點(diǎn)提升(共500題)附帶答案詳解
- 廣東省廣州市番禺區(qū)2023-2024學(xué)年七年級(jí)上學(xué)期期末數(shù)學(xué)試題
- 智研咨詢(xún)發(fā)布:2024年中國(guó)MVR蒸汽機(jī)械行業(yè)市場(chǎng)全景調(diào)查及投資前景預(yù)測(cè)報(bào)告
- JGJ46-2024 建筑與市政工程施工現(xiàn)場(chǎng)臨時(shí)用電安全技術(shù)標(biāo)準(zhǔn)
- 家譜、宗譜頒譜慶典講話(huà)
- 方案報(bào)審表(樣表)
- pp顧問(wèn)的常見(jiàn)面試問(wèn)題
- 法理學(xué)原理與案例完整版教學(xué)課件全套ppt教程
- 隧道仰拱施工之仰拱棧橋結(jié)構(gòu)計(jì)算書(shū)
- 軟體家具、沙發(fā)質(zhì)量檢驗(yàn)及工藝
評(píng)論
0/150
提交評(píng)論