Tut 003 E GearTransmission With PlanetaryDifferential PDF
Tut 003 E GearTransmission With PlanetaryDifferential PDF
Tut 003 E GearTransmission With PlanetaryDifferential PDF
KISSsoft AG
Rosengartenstrasse 4
8608 Bubikon
Switzerland
Tel: +41 55 254 20 50
Fax: +41 55 254 20 51
info@KISSsoft.AG
www.KISSsoft.AG
Foreword
The tutorial has two parts to be studied in this order.
Part I Introduction,
explains the most important points for this modeling task and introduces how to start KISSsys.
Part II Modelling,
shows techniques how to build a KISSsys model of a complex gearbox with several power path
possibilities.
During the study of this tutorial, questions may arise or problems may occur. The KISSsoft customer support
can be reached through the address and phone number given above.
10.11.2014
2 / 35
Contents
1
Introduction .............................................................................................................................................. 4
1.1
Summary of the most important points ........................................................................................... 4
1.2
Systematic procedure ..................................................................................................................... 4
1.3
Errata and remarks ......................................................................................................................... 4
1.4
Modelling task................................................................................................................................. 5
1.5
Starting KISSsys............................................................................................................................. 6
1.6
Selection of the project directory .................................................................................................... 6
1.7
Use KISSsys in the administrator mode ......................................................................................... 7
1.8
Loading the templates .................................................................................................................... 7
2 Building a model....................................................................................................................................... 8
2.1
Tree structure ................................................................................................................................. 8
2.1.1
Shafts and shaft groups ............................................................................................................. 8
2.1.2
Machine elements ...................................................................................................................... 9
2.1.3
Connection of coaxial shafts .................................................................................................... 11
2.1.4
Connections of the gears ......................................................................................................... 12
2.1.4.1
Helical gearpair connections ............................................................................................ 12
2.1.4.2
2.1.5
Definition of the boundary conditions ....................................................................................... 14
2.1.6
Adding KISSsoft calculation elements ...................................................................................... 15
2.2
Input of Gear, shaft, and bearing data .......................................................................................... 17
2.2.1
Gear data ................................................................................................................................. 17
2.2.2
Definition of shafts and bearings .............................................................................................. 19
3D View .................................................................................................................................................. 20
3.1
Adding 3D view in the tree structure ............................................................................................. 20
3.2
Location of the shafts ................................................................................................................... 21
3.2.1
Positioning of the shafts group Middle ................................................................................... 21
3.2.2
Positioning of the shaft group Main ........................................................................................ 21
3.2.3
Positioning of the group Planet .............................................................................................. 22
3.3
Work with the 3D Viewer .............................................................................................................. 22
3.3.1
Inside diameters of the gear wheels ......................................................................................... 22
3.3.2
Color and transparency ............................................................................................................ 23
3.4
Insert data from CAD system ....................................................................................................... 24
Changing of gears .................................................................................................................................. 25
4.1
Background Information about clutch elements ........................................................................... 25
4.2
Application in the current example ............................................................................................... 25
4.3
Call the function ............................................................................................................................ 26
4.4
Table approach............................................................................................................................. 27
User Interface......................................................................................................................................... 28
5.1
Input of the power ......................................................................................................................... 28
5.2
Execute buttons for function in the User Interface ........................................................................ 30
Completing the model ............................................................................................................................ 31
6.1
Input of the speed ratio for front and rear drive ............................................................................ 31
6.2
Input of efficiency.......................................................................................................................... 33
6.3
Settings to calculation methodology ............................................................................................. 33
Annex ..................................................................................................................................................... 34
7.1
Code [line numbers are not part of the code] ............................................................................... 34
7.1.1
Clarification ............................................................................................................................... 34
7.2
Code to set the internal diameter di of the gears ....................................................................... 35
10.11.2014
3 / 35
1 Introduction
1.1 Summary of the most important points
1.
Where two or more shafts overlap (e.g. loose gear, ring and sun of the planetary stage), the shafts
(element kSysCoaxialShaft) must be positioned under the same element kSysGroup.
2.
The calculation of a connection with three helical gears is calculated with KISSsoft calculation
kSoft3HelicalGears.
3.
The speed at the two output shafts (front and rear axle) are placed with one to another in reference.
Therefore the speed at one output shaft has to be set as "Constraint=Yes" and an expression is set
to compute one speed (those of the front axle) from the other (the rear axle). In addition, an iteration
is necessary for the calculation of the relative speed.
4.
"Iteration for torques and speed with damping" must be set to execute the iteration.
2.
3.
4.
5.
6.
7.
8.
9.
Tests, debugging
If questions or difficulties arise during the tutorial, KISSsoft Hotline can be used for assistance (email address, phone no.etc. are written on the front page).
10.11.2014
4 / 35
2.
3.
The planetary differential used for this example in practice would be a double planet planetary where
the sun and the planet carrier have the same sense of rotation. However, to prevent the example
becoming too complex, a simple planetary train is used. Therefore both outputs rotate contrary to
each other.
The original idea for this tutorial had planned a differential lock between the annulus and the planet
carrier. This clutch is called c3. In reality it will be not used although in the tutorial it is described. It
is recommended to proceed exactly according to the tutorial instructions (i.e. the clutch c3 is to be
modeled although this is not used).
10.11.2014
5 / 35
Figure 1.
10.11.2014
6 / 35
respective KISSsoft files are saved. Before a KISSsys model can be opened or created, the project / folder
where the model will be saved has to be defined.
File Open project folder, the project folder will be defined.
If there is no Project folder defined everything will be saved in the default folder. E.g. Users KISSsoft.
In the following figure it is shown the project folder for this tutorial. In this case the folder is
C:\Programme\KISSsoft 03-2014\KISSsys\Tutorial. After the selection, this is confirmed and KISSsys opens.
Figure 2.
Figure 3.
If the option "Administrator" can not be selected, then the KISSsys license is missing. In this case contact
KISSsoft AG.
10.11.2014
7 / 35
Figure 4.
After having imported the templates, it can be started with building the model.
2 Building a model
It is up to the user which method is used to build the model. It is recommended to use the Elements box
method
Figure 5.
The shaft group planet is placed under the shaft s5. This group characterizes the planet of the differential
Figure 6. The coaxial shafts pin and planet are copied into Planet. The shaft pin (Planet pin) is fixed
with the planet carrier s5 by a coupling.
10.11.2014
8 / 35
Figure 6.
The planet is supported by two bearings of the planet pin (shaft pin). The pin is fixed with
supports support1and support2 and will be connected with the planet carrier through the
coupling constraint carrier_pin (element kSysCouplingConstraint).
3)
The planet carrier needs a special coupling: kSysPlanetCarrierCoupling. Do not mix up this
element with kSysCoupling. This special coupling should be named as carriercoup and will be
positioned on the shaft s5. This element is necessary to rotate the planet in the world coordinate
system.
10.11.2014
9 / 35
Figure 7.
The settings for the connection carrier_pin between the carrier and the planet pin are as followed:
Figure 8.
The connection of two coaxial shafts with clutches and bearings will be described in the next chapter.
10.11.2014
10 / 35
Figure 9.
Selection of the inner and outer race for the connecting roller bearings
All of the other coaxial shafts can be mounted in the same way together.
Figure 10.
10.11.2014
11 / 35
is given in the information in section 1.3, the clutch c3 is modelled but not used in the Tutorial. Therefore the
rotation around the y-axis has to be free.
Figure 11.
In the next step, the gear elements can be added to the Model tree.
Figure 12.
In the next step the gears are connected. For the spur gears, the type "kSysGearPairConstraint"
necessary. The following connections need to be defined:
10.11.2014
is
12 / 35
Connection
Element1
Element2
gp1
z1
z2
gp2
z3
z4
gp3
z4
z5
gp4
z6
z7
Figure 13.
2.1.4.2
Figure 14.
Left: Definiton of the connection ps Planet/Sun; right: Definition of the connection pr Planet/Ring.
The tree structure with the connections defined in the KISSsys sketch should look now as follows:
Figure 15.
10.11.2014
13 / 35
Element
CIn
cPTO
crOut
cfOut
Figure 16.
Speed contraint
Yes
No
No
Yes
Speed[1/min]
2000
Torque constraint
Yes
Yes
No
No
Power/Torque input
Torque with sign
Torque with sign
Torque [Nm]
100
10
During the power input "Input" speed and the torque are given. Both values are signed sizes. If the product
of the two signs is positive, then the power is positive, i.e. it concerns a positive input power.
The PTO torque is set to 10Nm (acceptance for this example). The direction of rotation is counter clockwise.
The number of revolutions is therefore negative. The torque has to be entered positively thereby the power
output becomes negative.
The condition for the front wheel drive (OutF) is defined as follows:
Front axle and rear axle turn with the same speed, but contrary. This condition will be still specified in section
6.2. Thus the number of revolutions at this output (the front axle) is the same as from the number of revolutions
of the output OutR", therefore "speed of constrained=yes" must be set.
With the right mouse-click on the power output "OutF" and the choice in "Properties" of "speed", an expression
for the speed can be defined at this output. Enter in the field "Expression":
"-OutR.speed". This guarantees that the speed at the output is equal to the speed of the shaft s5, but in
opposite direction of rotation.
Figure 17.
10.11.2014
14 / 35
Figure 18.
Diagram after the definition of the boundary conditions and the kinematic calculation
Figure 19.
10.11.2014
15 / 35
Figure 20.
The shaft calculation elements have to be placed in the corresponding shaft group. Since only coaxial shafts
are used in this Tutorial, the coaxial shaft calculation element
has to be added.
Figure 21.
10.11.2014
16 / 35
Figure 22.
Figure 23.
10.11.2014
17 / 35
Figure 24.
10.11.2014
18 / 35
Figure 25.
position gears:
z2 y = 50 mm
z4 y = 120 mm
position shaft s6:
y = 180 mm
position bearings b1,b2:
y = 15 mm
y = 170 mm
position z7, cPTO (resp. s6):
y = 10mm
y = 22.5mm
Figure 27.
10.11.2014
19 / 35
Figure 28.
b1 y = 10,5 mm
b2 y = 136 mm
position gears:
zs(resp.s4)y=190mm
zr(resp.s3) y=20mm
z5(resp.s3) y=10mm
Figure 29.
3D View
10.11.2014
20 / 35
Figure 30.
Figure 31.
Figure 32.
10.11.2014
21 / 35
Figure 33.
Press Refresh button on menu to see all components places correctly in the space.
Figure 34.
Expression for the variable di, which has to be defined for the gears
This supplies the outside diameter of the shaft at the place where the gear part is located, checking that the
input value is not superior to the root diameter.
10.11.2014
22 / 35
Figure 35.
Figure 36.
10.11.2014
23 / 35
Figure 37.
Figure 38.
10.11.2014
24 / 35
Figure 39.
4 Changing of gears
4.1 Background Information about clutch elements
The variable stateRy of the clutches
c1 and c2 is necessary for switching the gears. This variable can
be free (disconnected) or fixed (connected). The same can also be done by clicking with the right mouse
button on the element and selecting Dialog.
Figure 40.
10.11.2014
25 / 35
Figure 41.
The function "CADH_VarDialog" generates a dialogue in which can be defined whether the on- or off- road
gear is selected. The dialogue supplies an array of "res" as result. Zero elements into "res" is 1 (or TRUE) if
the dialogue is confirmed using "OK", 0 (or FALSE) if the dialogue is closed with "CANCEL". The first element
of the array corresponds to the selection made. If "on-Road" is selected then 0 is returned, otherwise "off
Road" is selected and 1 is set.
The first IF condition examines if the dialogue was closed with "OK". After this the selection is put into the
variable Settings.OnOffRoad. If "on-Road" was selected, the clutch c1 is closed, c2 is open. If "off Road"
was selected, the clutch c2 is closed, and c1 is open. Next, the kinematic calculation is called to calculate
new power flow. To see the clutches in 3D-view, the outer diameter D, the inner diameter d and the
thickness must be set under properties. The function can still be extended so that the open clutch in the 3D
diagram is translucently represented, the closed clutch obscurely:
Figure 42.
10.11.2014
26 / 35
Figure 43.
Through a double-click on the grey button "SetSpeed" the following dialogue is called:
Figure 44.
Depending upon selection, either the on- or off road gear is activated and the current power flow is computed.
The path over which the power flows is marked red marked in the pattern.
10.11.2014
27 / 35
5 User Interface
The user interface table can be created in different ways. The method with copying the values to the right cell
was used in the previous tutorials. As an alternative, the method with inserting the values directly to the cell
is shown in this tutorial.
Figure 45.
10.11.2014
28 / 35
Figure 46.
Figure 47.
Now for the definition of the input torque and speed, a reference can be inserted for each:
Figure 48.
10.11.2014
29 / 35
After Reference is selected, the reference to field is switch on to insert a text. The path of the desired
variable must be inserted now. (put it between the two semicolons )
Here the example for Input.speed as the Input speed is shown.
For the input of the torque at the input shaft the following expression has to be insert accordantly:
Input.torque
Figure 49.
Figure 50.
10.11.2014
30 / 35
Figure 51.
Figure 52.
If user doesnt want to create functions for Kinematics, Strength and Report it is possible to use buttons
for the same from the menu.
10.11.2014
31 / 35
Figure 53.
The speed at the front axle is now equal to the number of revolutions at the rear axle multiplied by this ratio.
Also, under the element "OutF" (output at the front axle) in the tree structure the expression for "speed" is
extended as follows:
Figure 54.
In the same dialogue where the gear is selected, the speed ratio can also be entered. For this purpose the
dialogue must be extended (input of a value, delivery of this value into the variable provided above). This is
possible through edit", with a right mouse-click on "SetSpeed" in the characteristics of "Settings. Again the
function editor appears:
10.11.2014
32 / 35
Figure 55.
The dialogue now looks as follows. For instance, when the value 1.5 is entered for "Front to Rear, the
numbers of revolutions result is as shown:
Figure 56.
10.11.2014
33 / 35
Figure 57.
7 Annex
7.1 Code [line numbers are not part of the code]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
VAR res;
res=CADH_VarDialog( ["SetSpeed",250,250,0.4,1],
[[C:VDLG_StrCom],"Speed:",["On-Road","Off-Road"],[OnOffRoad],1],
[[C:VDLG_Real],"Front to Rear:",Settings.FrontRearRatio,Settings.FrontRearRatio]
);
IF res[0] THEN
OnOffRoad=res[1];
Settings.FrontRearRatio=res[2];
IF res[1]=0 THEN
GB.Input.c1.stateRy=1;
GB.Input.c2.stateRy=0;
GB.Input.c1.kSys_3DTransparency=0;
GB.Input.c2.kSys_3DTransparency=0.7;
ELSE
GB.Input.c1.stateRy=1;
GB.Input.c2.stateRy=0;
GB.Input.c1.kSys_3DTransparency=0;
GB.Input.c2.kSys_3DTransparency=0.7;
ENDIF
System.calcKinematic();
ENDIF
7.1.1 Clarification
VAR res;
A local variable of "res" is defined. The type of the variable does not have to be defined for the time being.
The type is equal to the type on the right side of the equal sign being located in the line 2. Since the instruction
CADH_VarDialog returns an array, "res" is likewise an array.
10.11.2014
34 / 35
CADH_VarDialog
"Set speed" is the name of the dialogue, 250 is the width (in pixels), 250 is the height (in pixels). Value 0.4
defines that 40% of the width is in the left part of the window, 60% in the right. The following expressions in
square brackets define in each case an input field. The square brackets are separate by comma. In the first
expression a selection list is generated, called "speed". Between "on Road" and "off Road" are selected. The
second line permits the input of a value. The pre-emption of the input mask becomes defined through [
Settings.OnOffRoad ] and Settings.FrontRearRatio.
The outside IF loop examines whether the dialogue with "ok" was locked or not. If this applies, then the zero
element is alike 1 in the array of "res". Thus returns res[0] 1 or TRUE and the IF condition is fulfilled.
Line 7: Into the variable "OnOffRoad" is written 1 or 0. 0 means on road gear is selected, 1 means off road
gear is selected.
Line 8: The entered ratio is written into the variable "FrontRearRatio".
Second IF loop: if the selection is zero, whether on-road or off-road gear is selected (res [1]), then the onroad gear is set. The clutch c1 is closed and c2 open. In the ELSE loop (will be execute if the on-road gear is
selected) c2 is closed and c1 opened.
In line 20 the kinematics calculation will be executed.
10.11.2014
35 / 35