11/9/06

共軸齒列之計算

共軸齒列之計算可利用MATLAB程式函數coaxial_trains(),其如下:

function coaxial_trains(rv,n2,n3,teeth_limit,pitch_list)


輸入參數:

rv:速度比。
n2,n3:第一齒輪組合之齒數。
teeth_limit:所選齒輪之最低齒數。
pitch_list:可被選用之齒輪周節選單。



程式內容(10.1)



function coaxial_trains(rv,n2,n3,teeth_limit,pitch_list)
%
%prog 10.1
% pitch_list is a row vector for listing pitches of gears
% rv: velocity ratio
% teeth_limit:number of teeth limit for gears
% n2,n3: no. of teeth for the first pair gears
% Example:
% pitch_list=[1:.25:2,2.5,3,3.5,4:2:18,20:4:56]
% coaxial_trains(10,20,30,15,[1:.25:2,2.5,3,3.5,4:2:18,20:4:56])
nlist=length(pitch_list);
fact=n3/n2/rv;
[' N4 N5 Pd2 Pd4']
for i=1:nlist
pd2=pitch_list(i);
for j=1:nlist
pd4=pitch_list(j);
for k=teeth_limit:200
n4=k;
n5=n4/fact;
n4f=(n2+n3)/(1+1/fact)*(pd4/pd2);
if fix(n5)==n5 & abs(n4f-n4)<0.1
[n4,n5,pd2,pd4]
end
end
end
end


執行例:


設RV=10,N2=20,N3=30 及 最低齒數=15,求其可能之組合。

>> coaxial_trains(10,20,30,15,[1:.25:2,2.5,3,3.5,4:2:18,20:4:56])
ans = N4 N5 Pd2 Pd4
ans = 87 580 1.5 20
ans = 174 1160 1.5 40
ans = 15 100 1.75 4*
ans = 87 580 3 40
ans = 15 100 3.5 8*
ans = 24 160 12 44*
ans = 15 100 14 32*
ans = 18 120 16 44*

上述中徑節比較接近的如具星號的組合。程式之輸入項中,pitch_list為業界所使用之可能徑節。

No comments:

Post a Comment