Tesi
Tesi
6 Conclusion............................................................................................... 52
References .................................................................................................... 53
1 Introduction
In mechanical transmission system, gear pairs are widely used in
automotive industries because of its accurate transmission ratio
and good reliability. Noise is created during the engagement of
gear pairs system and the vibration comes down to excitation of
gear transmission error (TE). Many literature has revealed that
transmission error is the main parameter that affects the
performance and quality of transmission of gear pairs, especially
for NVH performance of vehicle. The most efficient and common
used way to control the transmission error is to do tooth profile
modification (TPM) on a perfect involute tooth profile. TPM can
decrease the interference during the engagement of gear pairs
and compensate teeth deflection under load without sacrificing the
tooth strength, therefore transmission error can be decreased by
doing TPM.
MATLAB comes with feature that allows you to design a GUI
(graphic user interface ) which can provide a convenient way to
the users who can interact with the electronic device without
knowing the programming code.
The structure of this thesis can be divided into 3 main parts, the
first part is to establish different types of gears by MATLAB codes.
To design gear models in MATLAB, the first step is to find out the
functions and the relationships of all the curves of the gear from
mathematic and geometric point of view, and then use proper
MATLAB codes and functions to programme it. Using programming
codes to design gear models is much simpler compared to
professional drawing software (Solidworks, AutoCAD…), especially
for designing tooth profile modification.
The second part is to study how to do tooth profile modification
based on a perfect involute tooth profile and apply those
modification codes to the established gear models. Thanks for
MATLAB can import and save data from a .mat file by using a
single command, this is helpful if you want to do analysis on
previously recorded data. So, after establishing the perfect
involute gear models by MATLAB codes, MATLAB can offer a
simple and convenient way to implement the tooth profile
modification codes with the established gear models codes to
obtain all kinds of modified gear models. Besides, for the tooth
profiles are consisted by coordinates, users can decrease the gap
between each nodes to improve the accuracy of modification.
At last, a GUI is designed to gather all the codes in a single
MATLAB file which provides a clear interface to the users. In the
GUI, users can easily obtain different types of gear models and do
tooth profile modifications on the established teeth and gears by
just simply inputting some parameters in the edit texts and clicking
few buttons.
2 Different Tooth and Gear Models Drawing
In total, four different types of gear models will be plotted in this
chapter which are: spur gear, helix gear, straight bevel gear and
spiral bevel gear. Before drawing the four whole gear models, the
tooth of the gear should be plotted at first.
The figure below is the right active flank (‘active’ means that goes
into contact with a conjugate tooth) and it is made up of 303
nodes.
Figure 2-1
Figure 2-3
In order to illustrate more briefly, for all types of gear and its tooth,
only the ‘mesh model images’ will be shown in this thesis.
The first step is to draw all the teeth with a base circle on 2D
plane at first, then find out the curve function along the z-axis and
the relationship functions between the three directions, finally use
proper ‘for’ loop codes to finish the gear model drawing.
Following the below codes:
%save the first tooth profile coordinates to two
variables
xx = [-coordinates(1,:),xc,coordinates(1,end:-1:1)];
yy = [ coordinates(2,:),yc,coordinates(2,end:-1:1)];
% number of teeth
nChi = 28;
% dalp is the angle between two adjoining teeth, tB
and rB are two variables to save the base curve of
the first tooth.
dalp = 360/nChi; alp = dalp*pi/180;
tha10 = atan(yy(end)/xx(end));
tha20 = pi-tha10;
dtha = abs(tha10-tha20);
hudu = alp-dtha;
tB = linspace(tha10,tha10-hudu,50);
rB = sqrt(yy(end)^2+xx(end)^2)*ones(size(tB));
[xF,yF]=pol2cart(tB,rB);
%Convert the coordinates of first tooth from
Cartesian to polar coordinates
[thetaChi1,rChi1] = cart2pol(xx,yy);
%To save the coordinates of the first tooth and its
corresponding base curve
thetaChiHu = [thetaChi1, tB];
rChiHu = [rChi1,rB];
%To save all the 28 teeth and the base circle
coordinates
Beta = [];
Rbet = [];
for kk1 = 1:1:nChi
Betak = thetaChiHu-(kk1-1)*alp;
Rbetk = rChiHu;
Beta = [Beta, Betak];
Rbet = [Rbet, Rbetk];
End
%Convert all the saved coordinates back to Cartesian
coordinates
[XX,YY] = pol2cart(Beta,Rbet);
figure()
plot(XX,YY,'LineWidth',2)
axis equal;
grid on;
%hCHI is the face width of gear
hChi = 6.35;
nPh = 40;
[row0,col0] = size(XX);
zz0 = linspace(0,hChi,nPh);
%the use of repmat function here is very important
which is to let the three direction variables X,Y,Z
have the same matrix dimension.
ZZk = repmat(zz0',1,col0);
XXk = repmat(XX,nPh ,1);
YYk = repmat(YY,nPh ,1);
Figure()
hold on;
mesh(XXk,YYk,ZZk)
%To draw the shaft cylinder, R is the radius of shaft
R = 30;
tc = linspace(0,2*pi,100);
xCk = R*cos(tc);
yCk = R*sin(tc);
xC = repmat(xCk,nPh,1);
yC = repmat(yCk,nPh,1);
zz0 = linspace(0,hChi,nPh);
zC = repmat(zz0',1,100);
mesh(xC,yC,zC)
%To fill up the top layer and bottom layer of spur
gear
nC = 10;
lenB = length(Beta);
XCin = zeros(lenB,nC);
YCin = zeros(lenB,nC);
for kk1 = 1:1:lenB
Rxk = linspace(R,Rbet(kk1),nC);
Thk = Beta(kk1)*ones(1,nC);
[xkin,ykin] = pol2cart(Thk,Rxk);
XCin(kk1,:) = xkin;
YCin(kk1,:) = ykin;
end
[p1,p2] = size(XCin);
Zcin1 = max(zz0)*ones(p1,p2);
Zcin2 = min(zz0)*ones(p1,p2);
mesh(XCin,YCin,Zcin1)
mesh(XCin,YCin,Zcin2)
xlabel('X-axis');
ylabel('Y-axis');
zlabel('Z-axis');
The whole spur gear model is obtained (note: only the simplified
version gear models without any fillet are plotted in this thesis for
all types.)
To draw the helix gear, the first step is the same as the spur gear
that is to draw all the teeth with a base circle on a 2D plane. The
difference is the straight line along the Z-axis is changed to a helix
curve, so the codes to plot the 3D model should be changed to:
%To save all the teeth and the base circle
coordinates along the z-axis and mesh the 28 teeth
with the base circle.
ABeta = [];
AR = [];
AZ = [];
for kk1 = 1:1:length(TH)
ABeta(kk1,:) = Beta+TH(kk1);
AR(kk1,:) = Rbet;
AZ(kk1,:) = Z(kk1)*ones(1,size(Rbet,2));
end
[XX,YY,ZZ] = pol2cart(ABeta,AR,AZ);
Figure()
hold on;
mesh(XX,YY,ZZ);
%To plot the shaft cylinder, assume the radius of
shaft is 30mm.
Rc = 30;
nPh = length(TH);
tc = linspace(0,2*pi,100);
xCk = Rc*cos(tc);
yCk = Rc*sin(tc);
xC = repmat(xCk,nPh,1);
yC = repmat(yCk,nPh,1);
zz0 = linspace(Z(1),Z(end),nPh);
zC = repmat(zz0',1,length(yCk));
mesh(xC,yC,zC)
%To fill up the top layer of helix gear
nC = 10;
Beta1 = ABeta(end,:);
Rbet1 = AR(end,:);
Z1 = Z(end);
lenB = length(Beta1);
XCin1 = zeros(lenB,nC);
YCin1 = zeros(lenB,nC);
for kk1 = 1:1:lenB
Rxk = linspace(Rc,Rbet1(kk1),nC);
Thk = Beta1(kk1)*ones(1,nC);
[xkin,ykin] = pol2cart(Thk,Rxk);
XCin1(kk1,:) = xkin;
YCin1(kk1,:) = ykin;
end
[p1,p2] = size(XCin1);
Zcin1 = Z1*ones(p1,p2);
%To fill up the bottom layer of helix gear
Beta2 = ABeta(1,:);
Rbet2 = AR(1,:);
Z2 = Z(1);
lenB = length(Beta2);
XCin2 = zeros(lenB,nC);
YCin2 = zeros(lenB,nC);
for kk1 = 1:1:lenB
Rxk = linspace(Rc,Rbet2(kk1),nC);
Thk = Beta2(kk1)*ones(1,nC);
[xkin,ykin] = pol2cart(Thk,Rxk);
XCin2(kk1,:) = xkin;
YCin2(kk1,:) = ykin;
end
[p1,p2] = size(XCin2);
Zcin2 = Z2*ones(p1,p2);
mesh(XCin1,YCin1,Zcin1)
mesh(XCin2,YCin2,Zcin2)
title('Helix Gear');
xlabel('X-axis');
ylabel('Y-axis');
zlabel('Z-axis');
The next step is to plot a center line of the tooth along the
truncated cone:
% round(R)=63, Assume 63 profiles that we are going
to plot along the cone
numP = round(R);
Z1 = linspace(0,nH,numP)*H0;
R1 = linspace(1,1-nH,numP)*Rr;
TH = 0*ones(1,numP);
[X1,Y1,Z1] = pol2cart(TH,R1,Z1);
X2 = Y1;
Y2 = Z1;
Z2 = X1;
% plot the center line
plot3(X2,Y2,Z2,'LineWidth',3)
axis equal;
Figure 2-13: The Straight Line Along The Truncated Cone
Figure 2-14
Set the two controlled parameters △Lr (length of root relief) and Cr
(amount of root relief) for 1mm and 0.2mm as examples.
Figure 3-7: Root Relief Modification
The first step is also to find out the start modification node from
the active flank:
La2=1;
Ca2=0.2;
n=length(coordinates(1,:));
for i=1:1:n
if abs(coordinates(2,i)-
coordinates(2,1))<=La2&&abs(coordinates(2,i+1)-
coordinates(2,1))>La2;
ind=i;
break
end
end
x0 = coordinates(1,ind);
y0 = coordinates(2,ind);
plot(coordinates(1,ind),coordinates(2,ind),'r*')
Figure 3-11
Figure 4-4
end
figure()
hold on;
mesh(xloc,yloc,zloc)
axis equal;
title('3D Spur Tooth with Crown Relief');
xlabel('X-axis');
ylabel('Z-axis');
zlabel('Y-axis');
Apart from doing the tooth profile modification and tooth lead
crown relief modification independently, TPM and tooth lead crown
relief can be combined together. The combination procedure is
quite easy which is just to combine the two parts codes together,
the only thing that should be noticed is that TPM should be done
first.
Figure 4-7: Lead Crown Relief with Tip Linear Relief of Spur Tooth
Figure 4-8: Lead Crown Relief with Tip Linear Relief of Spur Gear
4.3 Helix Gear with TPM
Then users can directly click the different tooth and gear tabs to
view the 3D model of tooth without any modification. If users
want to do micro-geometry modification on tooth, they should
click the ‘Tooth Tip and Root Relief Modification’ tab and ‘Tooth
Lead Crown Relief ’ tab to do the modifications at first.
Figure 5-3: Tab of Tooth Tip and Root Relief Modification
Then users can click tooth and whole gear model tabs to view and
compare the modified models with the unmodified models:
Figure 5-5:Tab of Spur Tooth
[2] Wenjie Mei,1 Jingzhou Na,2 Fan Yang,3 Guike Shen,1 and Jiawei Chen, “The
Optimal Design Method and Standardized Mathematical Model of Tooth Profile
Modification of Spur Gear”, Hindawi Publishing Corporation Mathematical
Problems in Engineering Volume 2016, Article ID 6347987, 7 pages
[3] https://www.iso.org/obp/ui/#iso:std:iso:23509:ed-2:v1:en:sec:4.4
[4] Wennian Yu, ‘Dynamic modelling of gear transmission systems with and without
localized tooth defects’.
[5] Qibin Wang, Peng Hu, Yimin Zhang, Yi Wang, Xu Pang, and Cao Tong, “A Model
to Determine Mesh Characteristics in a Gear Pair with Tooth Profile Error”, Hindawi
Publishing Corporation Advances in Mechanical Engineering Volume 2014, Article ID
751476, 10 pages
[6] http://www.sdp-si.com/resources/elements-of-metric-gear-
technology/page3.php
[7] https://en.wikipedia.org/wiki/Helix_angle#/media/File:Helix_angle.jpg