This package contains models of the robot r3 of the company Manutec. These models are used to demonstrate in which way complex robot models might be built up by testing first the component models individually before composing them together. Furthermore, it is shown how CAD data can be used for animation.
The following models are available:
oneAxis Test one axis (controller, motor, gearbox). fullRobot Test complete robot model.
The r3 robot is no longer manufactured. In fact the company Manutec does no longer exist. The parameters of this robot have been determined by measurements in the laboratory of DLR. The measurement procedure is described in:
Tuerk S. (1990): Zur Modellierung der Dynamik von Robotern mit rotatorischen Gelenken. Fortschrittberichte VDI, Reihe 8, Nr. 211, VDI-Verlag 1990.
The robot model is described in detail in
Otter M. (1995): Objektorientierte Modellierung mechatronischer Systeme am Beispiel geregelter Roboter. Dissertation, Fortschrittberichte VDI, Reihe 20, Nr. 147, VDI-Verlag 1995. This report can be downloaded as compressed postscript file from: http://www.robotic.dlr.de/Martin.Otter.
The path planning is performed in a simple way by using essentially the Modelica.Mechanics.Rotational.KinematicPTP block. A user defines a path by start and end angle of every axis. A path is planned such that all axes are moving as fast as possible under the given restrictions of maximum joint speeds and maximum joint accelerations. The actual r3 robot from Manutec had a different path planning strategy. Today's path planning algorithms from robot companies are much more involved.
In order to get a nice animation, CAD data from a KUKA robot is used, since CAD data of the original r3 robot was not available. The KUKA CAD data was derived from public data of KUKA. Since dimensions of the corresponding KUKA robot are similar but not identical to the r3 robot, the data of the r3 robot (such as arm lengths) have been modified, such that it matches the CAD data.
In this model, a simplified P-PI cascade controller for every axes is used. The parameters have been manually adjusted by simulations. The original r3 controllers are more complicated. The reason to use simplified controllers is to have a simpler demo.
Extends from Modelica.Icons.ExamplesPackage
(Icon for packages containing runnable examples).
Name | Description |
---|---|
Components … | Library of components of the robot |
fullRobot | Six degree of freedom robot with path planning, controllers, motors, brakes, gears and mechanics |
oneAxis | Model of one axis of robot (controller, motor, gearbox) with simple load |
With this model one axis of the r3 robot is checked. The mechanical structure is replaced by a simple load inertia.
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Mass | mLoad | 15 | Mass of load |
Real | kp | 5 | Gain of position controller of axis 2 |
Real | ks | 0.5 | Gain of speed controller of axis 2 |
Time | Ts | 0.05 | Time constant of integrator of speed controller of axis 2 |
Real | startAngle | 0 | Start angle of axis 2 |
Real | endAngle | 120 | End angle of axis 2 |
Time | swingTime | 0.5 | Additional time after reference motion is in rest before simulation is stopped |
AngularVelocity | refSpeedMax | 3 | Maximum reference speed |
AngularAcceleration | refAccMax | 10 | Maximum reference acceleration |
This example animates a motion of a detailed model of the robot with predefined axes' angles over time. For animation, CAD data is used. Translate and simulate with the default settings (default simulation stop time = 2 s).
The path planning block incorporates a simulation termination condition. Thus, the simulation can be terminated before reaching the stop time. The condition depends on the start and end positions of the joints, and on their reference speeds and reference accelerations. For current settings, the termination condition should indeed be fulfilled right before the simulation stops.
Extends from Modelica.Icons.Example
(Icon for runnable examples).
Type | Name | Default | Description |
---|---|---|---|
Mass | mLoad | 15 | Mass of load |
Position | rLoad[3] | {0.1, 0.25, 0.1} | Distance from last flange to load mass |
Acceleration | g | 9.81 | Gravity acceleration |
Time | refStartTime | 0 | Start time of reference motion |
Time | refSwingTime | 0.5 | Additional time after reference motion is in rest before simulation is stopped |
Real | startAngle1 | -60 | Start angle of axis 1 |
Real | startAngle2 | 20 | Start angle of axis 2 |
Real | startAngle3 | 90 | Start angle of axis 3 |
Real | startAngle4 | 0 | Start angle of axis 4 |
Real | startAngle5 | -110 | Start angle of axis 5 |
Real | startAngle6 | 0 | Start angle of axis 6 |
Real | endAngle1 | 60 | End angle of axis 1 |
Real | endAngle2 | -70 | End angle of axis 2 |
Real | endAngle3 | -35 | End angle of axis 3 |
Real | endAngle4 | 45 | End angle of axis 4 |
Real | endAngle5 | 110 | End angle of axis 5 |
Real | endAngle6 | 45 | End angle of axis 6 |
AngularVelocity | refSpeedMax[6] | {3, 1.5, 5, 3.1, 3.1, 4.1} | Maximum reference speeds of all joints |
AngularAcceleration | refAccMax[6] | {15, 15, 15, 60, 60, 60} | Maximum reference accelerations of all joints |
Real | kp1 | 5 | Gain of position controller |
Real | ks1 | 0.5 | Gain of speed controller |
Time | Ts1 | 0.05 | Time constant of integrator of speed controller |
Real | kp2 | 5 | Gain of position controller |
Real | ks2 | 0.5 | Gain of speed controller |
Time | Ts2 | 0.05 | Time constant of integrator of speed controller |
Real | kp3 | 5 | Gain of position controller |
Real | ks3 | 0.5 | Gain of speed controller |
Time | Ts3 | 0.05 | Time constant of integrator of speed controller |
Real | kp4 | 5 | Gain of position controller |
Real | ks4 | 0.5 | Gain of speed controller |
Time | Ts4 | 0.05 | Time constant of integrator of speed controller |
Real | kp5 | 5 | Gain of position controller |
Real | ks5 | 0.5 | Gain of speed controller |
Time | Ts5 | 0.05 | Time constant of integrator of speed controller |
Real | kp6 | 5 | Gain of position controller |
Real | ks6 | 0.5 | Gain of speed controller |
Time | Ts6 | 0.05 | Time constant of integrator of speed controller |
Generated 2018-12-12 12:12:41 EST by MapleSim.