Professional Documents
Culture Documents
NX MCD
Siemens
NX MCD v1872, SIZER v3.19, SIMOTION SCOUT v5.2 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109770271 Support
Legal information
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG ("Siemens"). They are
non-binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with Industrial Security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
Table of Contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Software Versions ................................................................................ 4
2 Modeling of the digital twin in NX MCD ........................................................... 5
2.1 Import a Cam profile from SCOUT to NX MCD.................................... 5
2.2 Export Cam profile from MCD to SCOUT ............................................ 9
2.3 Set up a digital twin movement .......................................................... 10
2.4 Advanced settings .............................................................................. 12
2.4.1 Specific settings in MCD .................................................................... 12
2.4.2 Friction models and friction compensation in MCD ............................ 13
3 Transfer of physical simulation results......................................................... 16
3.1 Export a load curve from MCD ........................................................... 16
3.2 Import a load curve to SIZER ............................................................. 18
3.3 Selecting a motor in SIZER ................................................................ 20
4 Examples .......................................................................................................... 24
4.1 Example 1: Rotating Table ................................................................. 24
4.1.1 Comparison of MCD simulation result and measured values of
a real machine .................................................................................... 24
4.1.2 Comparison of MCD simulation result and SIZER result ................... 27
4.2 Example 2: Metal press ...................................................................... 31
5 Additional information .................................................................................... 34
5.1 Reliability of simulated load curves .................................................... 34
5.2 Advice on selecting the correct sizing software ................................. 35
5.3 Limitation of the physics simulation .................................................... 35
6 Appendix .......................................................................................................... 36
6.1 Application support ............................................................................. 36
6.2 Links and literature ............................................................................. 36
6.3 Change documentation ...................................................................... 36
1 Introduction
1.1 Overview
In the process of developing a machine, motor selection is one required step. With
NX MCD (Mechatronics Concept Designer), it is possible to do motor selection in
collaboration with the software SIZER. Due to the kinematic design, including
mechanics and physics simulation in MCD, it’s possible to export the simulation
result to SIZER to do further selection. Motor sizing analysis of the virtual model
can be performed using custom applications to ensure proper performance and
reduce over-sizing.
Figure 1-1 The Process Motor Selection using MCD and SIZER
© Siemens AG 2019 All rights reserved
Export
MCD
SCOUT
Import
Download
© Siemens AG 2019 All rights reserved
NOTE In order to import a cam profile from SCOUT in NX MCD, the cam profile must
be interpolated.
1. Open a cam curve in SCOUT, then choose the option Cam → Export geometry
→ “As polynomials” to export cam profile, as shown in Figure 2-2.
2. Fill in a file name and format, then press the Save button as shown in
Figure 2-3.
After a successful export of the cam profile, it is necessary to import this cam profile
to NX MCD.
1. Open the NX MCD project, go to Toolbar “Home - Design Collaboration” and
select the Button ”Import Cam Profile” as shown in Figure 2-4. Cam profile is a
physics object in NX MCD, which includes a cam curve and specific settings.
2. Click the browse button in Figure 2-4 and select the previously exported cam
file (.csv). Add a cam profile name and click the button “OK”.
3. Configuration of a cam profile can be done as shown in Figure 2-5. In this
dialog, it’s possible to define and change the information of a cam profile and
the simulation preferences. In the Axes part, it’s needed to define the master
and slave axis type, these settings must fit to the chosen project and cam
profile. Axis type of master can be linear, rotary and time based. The slave axis
can be a linear or rotary, speed or position. If it’s an imported cam profile, the
minimum and maximum value can be filled in automatically. Otherwise, it’s
possible to insert the limits manually, based on the information of the curve.
Additionally, the cycle type must be selected correctly.
Explanation of cyclic types:
- “Non-cyclic”: Cam profile only cycles once. Only in this mode, it’s possible
to export the cam profile from NX MCD.
- “Cyclic”: Cam profile cycles continuously, starting from the same absolute
slave position.
- “Relative Cyclic”: Cam profile cycles continuously, starting relative to the
end position of the slave’s previous cycle.
NOTE Avoid over-determined definitions, like using two motors to drive one gantry. This
might lead to unstable calculation results. Try to simplify the model, use one
motor to drive one axis.
NOTE In order to make the digital twin closer to the real machine, it’s also very
important to define the correct materials to each part. This is a basic function in
NX, click “Menu”→ “Tools” → “Materials” to assign a material.
In theory, the usage of motor torque is divided into the following main parts:
- Acceleration: Considered/Calculated in MCD
- Overcoming gravity: Considered/Calculated in MCD
- Overcoming friction: Friction occurs in all mechanical systems e.g.
bearings, transmissions, hydraulic and pneumatic cylinders. Friction exists
at the physical connection between two surfaces. If a realistic behavior of
friction is needed, a specific friction model is necessary. In this case choose
a simple friction model to get an almost realistic calculation.
According to “Friction models and friction compensation1”, the following model was
built and evaluated. The meaning of the variables used in the formula is shown in
Figure 2-11.
NOTE In the design phase, it’s hard to evaluate the friction of a real machine. This
example provides a simple friction model called “Coulomb and Viscous Friction”
as shown in Figure 2-11. “ZeroSpeed” represents a very low speed close to the
origin point. Within this interval from -ZeroSpeed to ZeroSpeed, the friction is
continuously changing. If there is no such interval, the calculation of MCD’s
© Siemens AG 2019 All rights reserved
(ZeroSpeed,F_coulomb)
The next step is to implement the calculation of the physics objects in MCD. To do
so, open physics object “Runtime Parameters” as shown in Figure 2-12, to create a
reusable object that contains physics parameters. These parameters can be
referenced by any physical object in a model. The physics object “Runtime
Expression” defines an expression for a runtime parameter.
(Toolbar “Home – Mechanical”, Runtime Parameters / Runtime Expression)
1 Olsson H, Åström K J, De Wit C C, et al. Friction models and friction compensation[J]. Eur. J. Control, 1998, 4(3): 176-195
1. Create one “Force/Torque Controller” and add specific friction to each joint if not
negligible. In this example we focus on adding friction to the axis which was
connected to a PositionController before.
2. Create one “Runtime Parameters” and add the parameters as shown in
Figure 2-12. After selecting the parameter attributes, remember to click the
green check button.
Figure 2-12 Configurate Runtime Parameters
© Siemens AG 2019 All rights reserved
3. Create one “Runtime Expression”. Firstly, click “Select object” and choose the
Force/Torque control added before.
4. Select the torque property to assign the calculation result to the torque value.
5. Select the physics object and add the needed parameters as shown in
Figure 2-13, step 3 to 5. Via double click the step 6 area, it’s possible to change
the alias name, which is used for the formula.
6. Click the step 7 button “Insert Conditional”. A conditional builder will be opened
to fill in the formula. Figure 2-14
If: speed < ZeroSpeed & speed > -ZeroSpeed
Then: -F_coloumb/ZeroSpeed*speed
Else: -F_coloumb*Sign(speed)-ß*speed
time
Velocity
time
.mdix file
© Siemens AG 2019 All rights reserved
NOTE The column of “Inertia” is 0, currently NX MCD cannot calculate the inertia
information.
NOTE In reality, there would be one or several gearboxes or synchronous belts after a
motor shaft. It’s possible to define the gearbox ratios in MCD by using the
physics object “Gear” or setting the gearbox ratios, when selecting motors in
SIZER. When trying to simplify a digital twin, be careful with combining several
speed reduction mechanisms. It may change the speed and torque of some
parts and leads to a wrong simulation result. This also depends on the selected
record point.
NOTE If the project type of Mechatronic project cannot be found in SIZER, one possible
reason is that the user didn’t select the complete features when installing it.
The following components are supported for the creation of a mechatronic project:
- Converter Systems
• SINAMICS S120 DC/AC multi-axis converter built-in units (with
Basic Line Module, Smart Line Module or Active Line Module)
• SINAMICS S120 AC/AC single drive
- Motor Types (editable properties)
• 1PH8
• 1FT/1FK (with/without mounted gearbox)
1. If only one axis is contained in the transferred mechatronic data, it can be
decided, whether a single-axis or a multi-axis drive system is to be created.
The appropriate options are offered in SIZER. If several axes are contained, a
multi-axis converter system is always created. Figure 3-4
2. The required type of the Line Module can be selected (BLM, SLM, ALM).
3. Select the motor type and its properties for each axis.
The linked mechanical system cannot be changed in a mechatronic project.
There are different ways of choosing a motor, according to the actual requirement
as shown in Figure 3-6. The specification of the mechanical system, required for
the complete description of a drive, can be facilitated by using pre-configured
mechanical systems. For the first example machine, in order to analyze the torque
demand of a slip ring, select a motor of type “1FW”.
Figure 3-7 shows the load cycle curve, which is calculated from the transfered
data, including the speed and torque values of the motor shaft. All mechanical
variables, in accordance with the mechanical entries are included in the calculated
torques. In the following dialog box, it’s possible to select basic type specifications,
such as cooling methods, winding systems and clamping elements. With the button
“Check all” a suitable motor can be selected, automatically.
In Figure 3-8, the following data of the selected motor can be checked:
- The result of the dimensioning criteria
- The most important calculated load data
- The actual utilization of the motor
- The graph display of the load and motor characteristics
The system checks, whether the selected motor satisfies the required dimensioning
criteria, which is indicated by a green check mark. If the motor does not satisfy the
dimensioning criteria, a red cross is displayed.
4 Examples
4.1 Example 1: Rotating Table
4.1.1 Comparison of MCD simulation result and measured values of a real
machine
This example shows a rotary table machine for testing different slip rings Figure 4-1.
It’s a quite simple model. All components of the moving part are connected via a
fixed joint to each other. So, the inertia of the machine is constant. The motor
installed in this machine is the selected one of the previous steps (1FW3150…).
Figure 3-8
Figure 4-1 A rotation machine for testing slip ring
© Siemens AG 2019 All rights reserved
The simplified model of this machine is shown in Figure 4-2. Since there are many
components in the model, each component is composed of multiple materials, it is
difficult to obtain theoretical inertia information. If the inertia calculation is not
performed by any software but manually calculated, the moment of inertia is first
calculated according to the following formula. Afterwards it will be multiplied by the
required angular acceleration to obtain the required torque.
Figure 4-2 A simplified model and the moment of inertia calculation formula2
𝐹 =( 𝑚) = ( 𝑚)𝑟
Z
= 𝑟𝐹 = ( 𝑚 ) 𝑟
𝐹
=𝑟 = ( 𝑚 )𝑟
= = ( 𝑚 )𝑟 = ( 𝑚 )𝑟
ω
O 𝑟 𝑚
𝑜𝑚𝑒𝑛 𝑜 𝑖𝑛𝑒𝑟 𝑖 = 𝑚 𝑟
𝑜 𝑖𝑜𝑛 𝑙 𝑚𝑜𝑚𝑒𝑛 =
The motion of the device moves according to the cam curves in Figure 4-3. In the
point of position 1, the cam velocity is 0, but the acceleration is in minimum value
as position 2. When the direction of the speed changes, the theoretical applied
moment is continuous. The purpose of this design is that it’s obviously able to
observe the friction influence at this point.
© Siemens AG 2019 All rights reserved
NOTE For the Rotating table simulation case, it’s preferable to use the same
parameters shown in the previous sections, such as parameters in the Physics
Engine and friction coefficients.
Cam Position
Cam Velocity
Cam Acceleration
Cam Jerk
© Siemens AG 2019 All rights reserved
Measured torque
When using SIZER to perform motor selection, the first step is to select a
mechanical system. After that a traversing profile must be defined. In the selection
mechanical system phase, it’s necessary to define efficiency, friction torque, the
additional moment of inertia in relation to the motor (e.g. clutch) and moment of
inertia of the mechanical system(load). In the phase of defining a traversing profile,
if “Other mechanical system” is chosen, a free traversing profile curve will be
generated from the entered values, which after the complete input of traversing
sections, is displayed as M-t and n-t diagram.
If the model system in SIZER is chosen, such as “Travel drive”, “Hoist drive” or
others, it’s possible to define a traversing profile by using one of the following
options in SIZER:
- Time optimization: Time is the value to be determined
- Variants of distance optimization: Distance is the value to be determined
- Optimizations based on dividing the total travel time into three on the
sections of the trapezoidal (acceleration, constant velocity, deceleration)
In the Load cycle data dialog, a torque curve is displayed. Figure 4-6
It’s visible, that there are several jumps as well, which are also caused by friction.
The friction calculation in SIZER is based on a constant value, which is effective
opposite to the direction of motion, independent of the angle of inclination.
Figure 4-6 Select motor in SIZER
1
2
© Siemens AG 2019 All rights reserved
2. Insert the values for parameters of destination, speed and acceleration. MCD
would calculate the movement profile automatically as shown in Figure 4-7.
Figure 4-7 Basic movement profile in MCD
© Siemens AG 2019 All rights reserved
After defining an equal motion profile in MCD, the simulation must be started to
receive the calculated load curve. Afterwards the torque curve calculated in SIZER,
the torque curve generated in MCD simulation and the actual curve traced from the
real machine are copied into one graph for comparison as shown in Figure 4-8.
The torque of the real machine is higher than the simulated torque of MCD and the
calculated one of SIZER. It’s also clearly visible, that the simulated torque curve is
more approximated to the torque curve of the real machine. The comparison
indicates also that the slope, while the acceleration phase, is consistent. The
curves calculated in MCD and SIZER are mostly composed of straight lines, which
means the calculation result is ideal.
1
© Siemens AG 2019 All rights reserved
2
3
1 Small pulley
2 Large pulley
3 Rod
4 Ram
In this example, according to different cam curves, the machine is projected to drive
in two different modes depending to process requirements:
- Mode 1: The speed is constantly changing, performed by an acceleration
motion. Figure 4-10
- Mode 2: The speed remains constant in some phases. Figure 4-12
The jerk values in the two CAM curves are bounded, thus ensuring continuous
movement and reducing the impact.
Cam position
Cam velocity
Cam acceleration
Cam jerk
Figure 4-11 The comparison of real data and the simulation data for mode 1
© Siemens AG 2019 All rights reserved
Measured torque
Measured speed
Cam position
Cam velocity
Cam acceleration
Cam jerk
Figure 4-13 The comparison of real data and the simulation data for mode 2
The comparisons of the simulated and real curves are shown for mode 1 in
Figure 4-11 and for mode 2 in Figure 4-13. These two comparisons of curves are
nearly equal. In both figures, precisely in the lower speed part, the dynamic friction
is relatively low. If the speed increases, a gap will be visible as shown in
Figure 4-132. Therefore, it is proved that using MCD for torque calculation and do
motor sizing is reliable.
However, the difference between the measured torque curve and the simulation
© Siemens AG 2019 All rights reserved
one, including the dynamic friction calculation, the torque curve is not constant.
The possible reasons are the changes of inertia in motion leads to the change of
torque and the friction modifies with the change of speed.
5 Additional Information
5.1 Reliability of simulated load curves
There is a 5% to 10% difference between theory and practice.
Possible reasons:
1. The friction model is not accurate. The actual friction exists on almost all
contact surfaces, so it’s difficult to develop a friction model to constitute the real
friction.
2. Caused by e.g. assembly errors, usage of different materials or simplified
mechanical components like gears, the inertia information of the 3D model and
the real device can be inaccurate.
3. The measured torque on a real machine is calculated based on the current.
Because of this, the simulated torque cannot be exactly reflected.
The illustration below shows the negative direction friction and positive direction
friction traced from the real machine. Figure 5-1
Comparing these two curves, no regularities can be seen.
If needed, special friction coefficients can be added manually from e.g.:
- Mechanical design manual
- Bearing manual
- Motor manual
© Siemens AG 2019 All rights reserved
Figure 5-1 The actual friction curve in negative and positive direction
6 Appendix
https://support.industry.siemens.com
\2\ Link to this entry page of this application example
https://support.industry.siemens.com/cs/ww/en/view/109770271
\3\ Sizer for Siemens Drives
https://support.industry.siemens.com/cs/document/54992004/
\4\ Link to online help of NX
https://docs.plm.automation.siemens.com/tdoc/nx/1872/nx_help/#uid:index