资源描述
Harbin Institute of Technology
哈尔滨工业大学 机械设计作业设计计算说明书
设计题目: V带传动设计
院 系: 英才学院
班 级:
设 计 者:
学 号:
设计时间: 2012.11.25
哈尔滨工业大学
一、程序框图
a1=0.7(dd1+dd2),a2=2(dd1+dd2)
输入初估中心距a0,计算 Ld0
A
dd2=
查标准带轮直径表确定dd2
Y
V<Vmax ?
根据型号确定最大带速Vmax,
额定功率P0中系数K1,K2,K3,
弯曲影响系数Kb
V=
输出该型号带轮系列直径,选择输入小带轮基准直径dd1
输入带型号
查表求传动比系数Ki
查KA, 计算Pd,选型
查表求KA, 计算Pd
输入P, n1, i
输入各原始数据
开始
减小直径
图1 V带设计程序框图
B
查标准长度确定Ld,同时
查取KL,计算实际中心距a
A
计算小带轮包角查表确定包角系数
计算Po,
Z<10 ?
计算Fo, Q,B ( 取整)
输出结果
计算下一型号带 ?
结束
计算下一种带轮直径?
Y
Y
Y
N
N
N
N
B
二、V带设计程序
function varargout = V_caculate(varargin)
%本程序用于计算V带的各项数据
%部分中文注释复制出来之后为乱码
% V_CACULATE M-file for V_caculate.fig
% V_CACULATE, by itself, creates a new V_CACULATE or raises the existing
% singleton*.
%
% H = V_CACULATE returns the handle to a new V_CACULATE or the handle to
% the existing singleton*.
%
% V_CACULATE('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in V_CACULATE.M with the given input arguments.
%
% V_CACULATE('Property','Value',...) creates a new V_CACULATE or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before V_caculate_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to V_caculate_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help V_caculate
% Last Modified by GUIDE v2.5 06-Dec-2012 15:27:18
% Begin initialization code - DO NOT EDIT
gui_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', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before V_caculate is made visible.
function V_caculate_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to V_caculate (see VARARGIN)
global Pd yilei erlei chuandongbi zhuansu TYPE Dd1array Dd1 MINMAX P0array Narray Vmax Ldarray Dd1pos Kaarray Klarray Dd2array DSPcellarray CELLDSP TABLEPOS HEADMES;
Vmax=25;%ZABCÐÍ´øµÄ×î´ó´øËÙ
%ÒÔÏÂÊÇÆÕͨV´ø»ù±¾¶î¶¨¹¦ÂÊP0µÄ±í¸ñÊý¾Ý
P0array=[
0.00 0.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.00 0.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.00 0.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.00 0.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.00 0.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.00 0.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.00 0.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.00 0.37,0.67,1.07,1.19 1.37 1.66 1.92 2.07 2.44 2.74 2.98 3.16 3.26 0.00 0.00 0.00 0.00 0.00;
0.00 0.48 0.84 1.30 1.44 1.64 1.93 2.19 2.33 2.64 2.85 2.96 2.94 2.80 0.00 0.00 0.00 0.00 0.00;
0.00 0.59 1.05 1.64 1.82 2.08 2.47 2.82 3.00 3.42 3.70 3.85 3.83 0.00 0.00 0.00 0.00 0.00 0.00;
0.00 0.74 1.32 2.09 2.32 2.66 3.17 3.62 3.86 4.40 4.75 4.89 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
0.00 0.88 1.59 2.53 2.81 3.22 3.85 4.39 4.68 5.30 5.67 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
0.00 1.39 2.41 3.69 4.07 4.58 5.29 5.84 6.07 6.34 6.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
0.00 2.03 3.62 5.64 6.23 7.04 8.21 9.04 9.38 9.62 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
0.00 2.84 5.14 8.09 8.92 10.05 11.53 12.46 12.72 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
0.00 3.91 7.06 11.02 12.10 13.48 15.04 0.0 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
3.01 5.31 9.24 13.70 14.83 16.15 17.25 16.77 15.63 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
3.66 6.52 11.45 17.07 18.46 20.06 21.20 0.00 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
4.37 7.90 13.85 20.63 22.25 24.01 24.84 0.00 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
5.08 9.21 16.20 23.99 25.76 27.50 0.000 0.00 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
6.21 10.86 18.55 26.21 27.57 28.32 0.00 0.00 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
7.32 13.09 22.49 31.59 33.03 33.40 0.00 0.00 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
8.75 15.65 26.95 37.26 38.62 0.000 0.00 0.00 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00;
10.31 18.52 31.83 42.87 43.52 0.00 0.00 0.00 0.000 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.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];
%ÒÔÏÂÊÇ´øµÄ»ù×¼³¤¶ÈLdϵÁÐ
Ldarray=[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];
%ÒÔÏÂÊǹ¤×÷»·¾³µÄKa²é±í
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];
%°ü½ÇÐÞÕýϵÊý±í
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];
%´ø³¤ÐÞÕýϵÊý±í
Klarray=[
200 zeros(1,6);
224 zeros(1,6);
250 zeros(1,6);
280 zeros(1,6);
315 zeros(1,6);
355 zeros(1,6);
400 0.87 zeros(1,5);
450 0.89 zeros(1,5);
500 0.91 zeros(1,5);
560 0.94 zeros(1,5);
630 0.96 0.81 zeros(1,4);
710 0.99 0.83 zeros(1,4);
800 1.00 0.85 0.82 zeros(1,3);
900 1.03 0.87 0.84 0.83 zeros(1,2);
1000 1.06 0.89 0.86 0.86 0.83 0;
1120 1.08 0.91 0.88 0.88 0.86 0;
1250 1.10 0.93 0.90 0.91 0.89 0;
1400 1.14 0.96 0.92 0.93 0.91 0;
1600 1.16 0.99 0.95 0.95 0.93 0;
1800 1.18 1.01 0.98 0.97 0.96 0;
2000 0 1.03 1.00 0.99 0.98 0;
2240 0 1.06 1.03 1.02 1.00 0;
2500 0 1.09 1.05 1.04 1.03 0;
2800 0 1.11 1.07 1.07 1.06 0;
3150 0 1.13 1.09 1.09 1.08 0;
3550 0 1.17 1.13 1.12 1.11 0;
4000 0 1.19 1.15 1.15 1.14 0;
4500 0 0 1.18 1.18 1.17 0;
5000 0 0 0 1.21 1.20 0];
%СÂÖÖ±¾¶ÏµÁÐÊý×é
Dd1array=[50 63 71 80 75 90 100 125 125 140 160 180 200 250 315 400 355 400 450 500 500 560 630 710];
%½çÃæ³õʼ»¯
TYPE=get(handles.popupmenu11,'value');
switch(TYPE)
case 1
set(handles.popup,'string','50|63|71|80');
case 2
set(handles.popup,'string','75|90|100|125');
case 3
set(handles.popup,'string','125|140|160|180');
case 4
set(handles.popup,'string','200|250|315|400');
case 5
set(handles.popup,'string','355|400|450|500');
Vmax=30;
case 6
set(handles.popup,'string','500|560|630|710');
Vmax=30;
end
Dd1pos=get(handles.popup,'value'); %È·¶¨popupÖÐDd1Ñ¡ÔñµÄλÖÃ
Dd1=Dd1array((TYPE-1)*4+Dd1pos);
TABLEPOS=1;
changetabledsp(handles.uitable1,'deleteall',TABLEPOS,TYPE);
set(handles.edit9,'string','');
% Choose default command line output for V_caculate
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes V_caculate wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = V_caculate_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on selection change in popupmenu3.
function popupmenu3_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu3 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu3
% --- Executes during object creation, after setting all properties.
function popupmenu3_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit2_Callback(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit2 as text
% str2double(get(hObject,'String')) returns contents of edit2 as a double
% --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit3_Callback(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 as a double
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in popupmenu9.
function popupmenu9_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu9 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu9 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu9
% --- Executes during object creation, after setting all properties.
function popupmenu9_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu9 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in popupmenu5.
function popupmenu5_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu5 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu5
% --- Executes during object creation, after setting all properties.
function popupmenu5_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
展开阅读全文