4. April 2008
1 / 34
Table of content
1 Start KISSsys ...................................................................................................................................................................3 1.1 Start program...........................................................................................................................................................3 1.2 Definition of project folder .....................................................................................................................................3 1.3 Opening a KISSsys model.......................................................................................................................................3 Toolbars and views ..........................................................................................................................................................5 2.1 Views in KISSsys....................................................................................................................................................5 2.1.1 Views and windows ............................................................................................................................................5 2.1.2 Arranging elements in the schematic ..................................................................................................................6 2.1.3 Connection between 3D view, schematic and tree structure...............................................................................6 2.1.4 Using the 3D view ..............................................................................................................................................6 2.1.5 Refresh All..........................................................................................................................................................6 2.2 In- and output of data ..............................................................................................................................................7 2.3 Starting KISSsoft analysis.......................................................................................................................................7 Using the model 001-KISSsys-Tutorial .......................................................................................................................8 3.1 Calculate kinematics ...............................................................................................................................................8 3.2 Analysis of root and flank safety factors.................................................................................................................8 3.3 Changing gear data, bearing data and shaft geometry.............................................................................................9 Task................................................................................................................................................................................10 Structure of the system...................................................................................................................................................10 5.1 Start KISSsys ........................................................................................................................................................10 5.2 Loading the templates ...........................................................................................................................................10 5.3 Principles...............................................................................................................................................................11 5.3.1 Elements, templates ..........................................................................................................................................11 5.3.2 Drag/Drop, Copy/paste, rename, delete ............................................................................................................12 5.4 Insert machine elements ........................................................................................................................................12 5.5 Definition of the kinematics ..................................................................................................................................14 5.6 Adding KISSsoft analysis modules.......................................................................................................................16 5.6.1 KISSsoft shaft analysis .....................................................................................................................................16 5.6.2 Add KISSsoft gear analysis ..............................................................................................................................17 5.6.3 Adding bearing analysis....................................................................................................................................19 5.7 Positioning the elements........................................................................................................................................19 5.7.1 Preliminary positioning.....................................................................................................................................19 5.7.2 Positioning of the shafts....................................................................................................................................20 5.7.3 3D View............................................................................................................................................................21 5.8 Definition of the shaft geometry ...........................................................................................................................22 5.9 Definition of bearings............................................................................................................................................24 User Interfaces ...............................................................................................................................................................25 6.1 Table with information on gear and bearing data..................................................................................................25 6.2 User Interfaces ......................................................................................................................................................26 6.2.1 Introducing an user interface ............................................................................................................................26 6.2.2 Adding text .......................................................................................................................................................26 6.2.3 Display of results ..............................................................................................................................................26 6.2.4 Changing values using the UserInterface ......................................................................................................29 6.2.5 Changing calculation method from the UserInterface...................................................................................29 6.2.6 Further settings .................................................................................................................................................30 6.2.7 Execution of functions ......................................................................................................................................31 Completing the model....................................................................................................................................................33 7.1 Display of the coupling .........................................................................................................................................33 7.2 Definition of fixed and free bearings ....................................................................................................................33 7.3 Definition of the force acting on the output shaft..................................................................................................34
4 5
2 / 34
3 / 34
Note that models should be opened only from the current project.
4 / 34
3D View
User Interface
Tables
Schematic
The tree structure, the schematic and the messages can be shown/hidden using the following buttons:
The tables, user interfaces and 3D view can be minimised, restored and closed. Using the menu Window, navigating between the windows is possible. A closed window can be shown by a right mouse click on its corresponding element in the tree structure and then selecting Show.
5 / 34
2.1.2 2.1.3
Arranging elements in the schematic Connection between 3D view, schematic and tree structure
The elements shown in the schematic can be arranged with the left mouse button.
If an element in the tree structure is selected (left mouse click), it is highlighted blue. Also, in the 3D view, a local co-ordinates system is shown in the centre of the element.
If an element is selected in the schematic, it is highlighted in the tree structure and in the 3D view. When moving the cursor over the elements of the schematic, the name of the respective element is shown. With a right mouse click, the element can be modified.
2.1.4 2.1.5
In the 3D view, the gearbox can be rotated, moved and zoomed (left, centre, right mouse buttons respectively).
Data and graphics are updated when the Refresh All button is pressed.
6 / 34
This command results in an update of for example the 3D view after having changed some parameters such as the tip diameter of a gear or that the power flow is highlighted in the schematic after the calculation of the kinematics.
Grey background
Functions
KISSsoft bearing analysis KISSsoft bevel gear analysis KISSsoft chain drive analysis KISSsoft crossed helical gear analysis KISSsoft feather key analysis KISSsoft helical gear analysis KISSsoft interference fit analysis KISSsoft journal bearing analysis KISSsoft planetary gear analysis KISSsoft polygon analysis KISSsoft shaft analysis / graphical editor KISSsoft spline analysis KISSsoft splined shaft analysis KISSsoft toothed belt analysis KISSsoft v belt analysis KISSsoft woodruff key analysis KISSsoft worm gear analysis
Figure2.3-1 KISSsoft analysis
7 / 34
The speed at the input and the torque at the output can be defined directly. Note that the sign of the torque defines the direction of the power flow. After having changed the values for input speed and output torque, the kinematics should be analyzed again by executing the function Kinematic in order to get the corresponding results.
If the analysis is to be performed for a different lifetime, the required lifetime should be changed in KISSsoft. Using the function GP1, access to KISSsoft is available where the lifetime can be changed from 20 000h to e.g. 30 000h (repeat for second stage). In order to have the new value accepted, Calculate F5 has to be pressed, then exit KISSsoft.:
8 / 34
After that, the calculation of the safety factors can be repeated by double click on Strength
9 / 34
If the option Administrator is not available, the respective license is missing. Contact KISSsoft AG.
10 / 34
After having imported the templates, the model can now be assembled
5.3 Principles
5.3.1 Elements, templates
In KISSsys, a model is assembled from different elements. These elements are arranged in a tree structure. The following types of elements are available: Machine elements (red symbols) Analysis modules for the respective machine element (light blue) Connections (grey) Tables Graphics They are available from a library, called the templates. The templates may be modified by the user (recommended for experienced users only). The user can switch between the elements arranged in the tree structure and the template using the tabs as shown below or for easier use tabs can be arranged to be seen simultaneously:
5.3.2
User can select how to copy elements from templates to the model. You may drag and drop elements or you can copy and paste elements from the templates to the tree structure using Ctrl+C / Ctrl+V or, with right mouse click, copy / paste. Delete elements by selecting them and press Del or right mouse click and Delete element. Renaming an element is performed by right mouse click and selection of Rename. Note: Renaming an element will result in the connections to this element being invalid. Renaming elements is hence not recommended.
Now, the other machine elements are integrated. They are arranged in the tree structure below their respective parent element (the respective shaft). First, the element kSysCoupling is copied from the templates and pasted below s1 and below s3. Use the names cIn for the coupling on shaft 1 (power input) and cOut for the coupling on shaft 3 (power output). Similarly, on shaft 1 and 3, a single gear and on shaft 2 two gears are placed. They are copied from the templates, element kSysHelicalGear, and pasted below s1, s2 and s3. Use the names z1, z2, z3 and z4. The model should look as follows:
12 / 34
Now, two roller bearings are included for each shaft. From the templates, the element kSysRollerBearing is copied and pasted twice below each shaft. Use the names b1, and b2 in this example. On the output shaft (s3), a centric load is added. For this, the element kSysCentricalLoad is copied from the templates and pasted below s3 and named as f1. The model should look as follows:
Choose first element of connection Choose second element of connection Efficiency (leave at 1.00)
Figure5.5-1 Dialog for the definition of a gear-gear connection, left for the first connection called gp1, right for the second connection called gp2
In this example, the efficiency is to be left at 1.00. The definition of the power input is thorough the element kSysSpeedOrForce. For the input, paste the element on the same level as GB, using the name Input. Again, a dialog appears, where the connection to the coupling of the input shaft is defined. The input speed is defined as well by setting Speed constrained to yes and giving a value for the input speed:
The Kinematics of the gearbox is defined by two parameters, a speed and a torque. In this example, the speed on the input and the torque on the output are defined. To set the speed on the input, choose Speed constrained, yes. Set Torque constrained, no since the torque is defined for the output, not for the input. The power is defined by the speed and the torque and is shown here for information.
For the output, a second element kSysSpeedOrForce is added, to be called Output. In the dialog, the coupling on the output shaft is to be selected as the connecting element. Here, the torque is to be given with e.g. -20Nm (Torque constrained, yes). Set a negative value for the torque to get a negative power.
14 / 34
On the output, only the torque (with sign) is defined, Torque constrained, yes. The speed is not defined here, it is calculated based on the gearbox kinematics and the speed on the input, hence Speed constrained, no.
If a torque of +20Nm instead of -20Nm is used, the direction of the powerflow in the gearbox is reversed.
The symbols for the power input and output should be rearranged in the schematic. The KISSsys model should now look as follows:
Double click on menu Calculate kinematics to start kinematics calculation. In the status line (bottom of the window), a message Kinematic calculated occurs. There should be no error message.
Note that the connections shown in the schematic have not turned red to indicate that power flows through them. Use Refresh button on menu to show power flow through the system. The information on the power flow is given with right mouse click on the element Input and selecting Dialog:
Opposed to Figure5.5-2 not only the pre-defined speed at the input is shown but also the calculated torque.
Figure5.5-6 Power input. The torque is calculated from the torque given for the input, the efficiency and the gearbox kinematics
5.6.1
The shaft analysis Shaft is copied from the templates and pasted below the three shafts. They are called S1, S2 and S3. On pasting them, a dialog appears in which the shaft to be analyzed is to be selected. Saving mode should set to Save file in KISSsys.
Select the element for which the analysis will be used There are different ways to safe the KISSsoft analysis modules. With Save file in KISSsys, all data is saved in KISSsys This is the most simple way. It is also possible to import or export KISSsoft files. Figure5.6-1 Dialog for definition of shaft to be analyzed
16 / 34
Figure5.6-2 Model with KISSsoft shaft analysis added for all three shafts
5.6.2
From the templates, copy HelicalGearPair and paste them below the two connections gp1 and gp2, using the names GP1 and GP2. Again, the analysis is connected to the connection using a dialog as follows. Set Saving mode to Save file in KISSsys:
17 / 34
Through a double click on the KISSsoft gear analysis icon, the KISSsoft interface for definition of gears is shown. Here, gears can be defined in the usual way and the centre distance can be calculated. It is also possible to import gear data from an existing KISSsoft file for a gear pair. After having defined the gears, press Calculate F5 and exit.
This has to be done for both stages. Accept the input by pressing Calculate F5 and close the KISSsoft window.
18 / 34
5.6.3
The bearing analysis Bearing2 is imported from the templates (index 2 since two bearings are to be analyzed). They are pasted below the three shafts, once per shaft. Names: B_s1, B_s2 and B_s3. In the dialog that appears, the shaft where the bearings to be analyzed are seated is to be selected. Set Saving mode to Save file in KISSsys:
With this procedure, the KISSsoft bearing analysis is included. The KISSsys model should now look as follows:
Figure5.6-7 KISSsys Model with all KISSsoft analysis modules (light blue icons) included
Next step: preliminary positioning of the parts on the shaft so that they can be identified more easily in the graphical shaft editor (when importing the elements from the templates, they all have position=0 mm). This step is not necessary to accomplish. For the bearings, gears and couplings, using right mouse click on the elements (z1 through z4, cIn, cOut and all b1 and b2) and selecting Properties, the variable position is available. Set the value for example to 10 mm for the left bearings (b1), 100 mm for the right bearings (b2), to 120 mm couplings on the output and input shaft, 120 mm for the force f1 and 30 mm and 70 mm for the gears. Example: left bearing on the input shaft:
19 / 34
Figure5.7-1 Right mouse click on the element (here b1 below s1, the left bearing on the input shaft), select Properties
A list with all variables available for the bearing appears. Set the value for the variable position to 10:
This should be repeated for all elements. After pressing Refresh, the elements are shown in the correct order in the schematic:
5.7.2
The shafts are still to be positioned with respect to each other. The second shaft should be parallel to the first shaft, the distance being the centre distance of the first gear pair. Shaft 3 should be parallel to shaft 2, and again in the distance of the centre distance of the second gear pair.
20 / 34
Positioning procedure is started by right mouse click on s2 and s3, select Dialog:
First, s2 is positioned with respect to s1. In the dialog, select Parallel to Shaft:
Figure5.7-5 First part of the dialog, positioning with respect to an existing shaft
In the second part of the dialog, the shaft is positioned using a polar co-ordinates system. The distance between the two shafts (the radial co-ordinate) is equal to the centre distance of the first gear pair. The centre distance is available from the variable GB.gp1.GP1.a. The angle and the axial displacement are set to zero (no input required):
In Element reference element is selected. The starting point of the shaft (always its left end) to be positioned can now be defined using polar or Cartesian coordinates. Easier is to use polar coordinates. The radial co-ordinate is equal to the centre distance of the gear pair 1 (= variable GB.gp1.GP1.a)
5.7.3
3D View
Now that all elements have been positioned (although only preliminary), the 3D view can be included (copy from templates, element kSys3Dview and insert on the same level as the group GB). Using right mouse click and Show, the 3D view is shown as follows:
21 / 34
The shaft geometry and the bearings have not been defined yet.
22 / 34
The shaft can now be detailed in the usual way. It is also possible to define bearings in shaft module including the axial supporting. After definition press Calculate F5 in order to start the shaft analysis. This is necessary to get reaction forces on the bearings which are in turn necessary for the bearing definition/analysis. This should be repeated for all three shafts (in this example, all shafts are 130 mm long and 20 mm, 30 mm and 40 mm in diameter. The 3D view changes as shown below when pressing Refresh All:
23 / 34
Figure5.9-1 Selection of bearing in KISSsoft for the given inner diameter of the bearing (=shaft diameter)
After having chosen the bearing type and the bearing, press Calculate F5 in order to activate the selection. To be repeated for all three pairs of bearings. The 3D view changes accordingly after pressing Refresh All:
24 / 34
6 User Interfaces
6.1 Table with information on gear and bearing data
From the templates, the following three tables can be copied into the tree structure below the group GB: Bearing2Calculations, GearPairCalulations and ShaftCalculations:
Once copied, using a right mouse click on the tables and pressing Show gives:
Figure6.1-2 Tables with gear data, bearing data and KISSsoft gear pair analysis data
These tables offer an overview over the parameters used. Parameters in red can be changed using the tables.
25 / 34
A table for definition of the main input and output data is to be introduced: Choose the table UserInterface from the templates and copy it into the tree using the name UserInterface. With Show, the table is shown. Use function Dialog to define the number of rows and columns for table size.
6.2.2
Adding text
Use right mouse click and Insert String to insert text as shown in the figure below. The text is to be defined in the field Value:
If information in the field is only a text user can also directly write the information in the right field.
6.2.3
Display of results
First, the speed at the output and the torque at the input (these values are calculated from the input values and the gear kinematics) are included in the user interface. With right mouse click, Insert real, the following dialog is shown. In Expression the name and the path of the variable should be given. The speed at the output is given in the variable speed. Note that the full path Output.speed is to be given. Press Ok to accept and the result is shown in the user interface.
26 / 34
In the same manner, the torque at the input is shown in the user interface. Right mouse click on the desired field, Insert Real, Expression: Input.torque, and the torque should be shown as follows:
Similarly input and output powers can be shown. Furthermore, the total gear ratio shall be shown. Again, right mouse click on the desired field, insert real and defining the following expression:
Figure6.2-6 Calculation of the total reduction from input speed and output speed
Expression is extended to have a condition (IFTHEN and ELSE) to check that Output speed is not zero to be able to evaluate the formula.
27 / 34
It is also possible to change the type of information e.g. from real value to text. Total efficiency of the system can be calculated from power difference between input and output. With right mouse click, Insert string, in desired field, the following dialog is shown. In Expression the formula for efficiency can be given. Again condition is first checked and then CADH_ValToSrt() converts value to a string and CADH_Round(value, nof digitst) will round the value to desired number of digits. After the conversion also % mark is shown. Press Ok to accept and the result is shown in the user interface. Be careful to type expression correctly not to lose it if there is typing mistakes.
Figure 6.2-7 Condition and formula to calculate efficiency of the system and to convert the value to a text
Now, the root and flank safety factors for the three gears shall be included. The procedure is illustrated using the root safety of gear 1 as an example. Again, with right mouse click and Insert Real, the following dialog is shown. Set the expression as follows:
With this dialog, the variable SF1 is shown in the user interface. The complete path (as defined in the tree structure) has to be given in the expression. In the same manner, the other root and flank safety factors are shown. Use the expressions in the table below to get the correct variables:
Gear Input Shaft, Gear 1 (z1) Input Shaft, Gear 1 (z1) Second Shaft, Gear 1 (z2) Second Shaft, Gear 1 (z2) Second Shaft, Gear 2 (z3) Second Shaft, Gear 2 (z3) Output Shaft, Gear 1 (z4) Output Shaft, Gear 1 (z4) Root/Flank Root Flank Root Flank Root Flank Root Flank Variable inclusive of path, text to be entered _O.GB.gp1.GP1.SF1 GB.gp1.GP1.SH1 GB.gp1.GP1.SF2 GB.gp1.GP1.SH2 GB.gp2.GP2.SF1 GB.gp2.GP2.SH1 GB.gp2.GP2.SF2 GB.gp2.GP2.SH2
28 / 34
Figure6.2-9 User Interface with safety factors for root and flank for all four gears
6.2.4
In this example, the input speed and the output torque are given to calculate the kinematics. Changing these values through the user interface should be made possible in this example model. For this, a so-called Reference is added to the User Interface. Right mouse click into the desired field, insert real and activate Reference. It is important to define the name of the variable to be addressed in the field Reference to. After Ok, the value is shown in the user interface in red. Reference needs to be written in quotation marks e.g. Input.speed.
In this field (red text) a value for the input speed can be typed directly. This value is then written into the variable Input.speed to be used for the next kinematics analysis. In the same manner, the output torque is included in the user interface (reference to Output.torque).
6.2.5
To be able to perform calculations for the gears existing calculation method need to be selected for the gears. This change can easily be done via UserInterface, instead of doing it for every gear calculation separately. To do this create reference to the gear calculation methods in the UserInteraface. Select field to add new data. Select Insert database list as a type of information. This calculation method is coming form the KISSsoft database and therefore list values are needed to be connected to the values defined in the database. Create
29 / 34
reference to gear calculation methods. Note that definer reference variables need to be in quotation marks (Variable name). Gear pair GP1 GP2 Reference to _O.GB.gp1.GP1.CalcMethod _O.GB.gp2.GP2.CalcMethod
6.2.6
Further settings
To be able to change the efficiency of the gear pairs use reference to real in the table to change the values. Gear connection Reference to gp1 _O.GB.gp1.eta gp2 _O.GB.gp2.eta It can also be interesting to change the layout of the shaft positions easily via a table. To do this user needs to create new variables in UserInterface table, show these new variables in the table as reference and then make link from these variables to the positions of the shafts. Create first new variables angle1 and angle2 under UserInterface table selecting table from the tree and using function NewVariable. Select type to be real, name is angle1 and value can be set to desired. Do the same to create also angle2.
Insert again real value to the table field and set reference to
Figure 6.2-14 Create access to the new value angle1 form the table 30 / 34
Set expression to the shaft positions (angles) to change from the table. Select shaft s2 from the tree and use function Dialog to do settings. Add new value for the angle as taken from UserInterface. (_O.UserInterface.angle1)
The angle is equal to the angle defined in the UserInterface table (= variable UserInterface.angle1)
6.2.7
Execution of functions
calculates the kinematics of the gearbox execution of KISSsoft strength analysis KISSsoft interface for gears of first stage KISSsoft interface for gears of second stage
In the user interface, functions can be included. In this example, four functions are included: - Function Kinematic - Function Strength - Function GP1 - Function GP2
Functions can also be defined within a field of the user interface (right mouse click, Insert function). A name for the function is to be given and the commands to be executed have to be listed. For the function Kinematic:
The name of the function Kinematic will be visible in the User Interface, but has no other effect otherwise. System.calcKinematic(); means that in System, the function calcKinematic is executed (empty brackets since no values are handed over to the function), ; to complete the command line kSys_Refresh corresponds to Refresh All, to ensure that the values calculated (the output speed and the input torque) are shown as results in the user interface. Enter the following text: System.calcKinematic(); kSys_Refresh();
31 / 34
In the first step, the kinematics of the gear is analysed again to ensure that the correct power is used.
System.kSoftCalculate(); calls the function kSoftCalculate under System. This command executes all KISSsoft strength analysis.
Figure6.2-18 Definition of the function for calling KISSsoft interface for the gears of stage 1 (repeat for stage 2)
Now, the user interface shows four light blue fields with executable (double click) functions:
33 / 34
34 / 34