Components that aggregate several joints for analytic loop handling
The joints in this package are mainly designed to be used in kinematic loop structures. Every component consists of 3 elementary joints. These joints are combined in such a way that the kinematics of the 3 joints between frame_a and frame_b are computed from the movement of frame_a and frame_b, i.e., there are no constraints between frame_a and frame_b. This requires to solve a non-linear system of equations which is performed analytically (i.e., when a mathematical solution exists, it is computed efficiently and reliably). A detailed description how to use these joints is provided in MultiBody.UsersGuide.Tutorial.LoopStructures.AnalyticLoopHandling.
The assembly joints in this package are named JointXYZ where XYZ are the first letters of the elementary joints used in the component, in particular:
P | Prismatic joint |
R | Revolute joint |
S | Spherical joint |
U | Universal joint |
For example, JointUSR is an assembly joint consisting of a universal, a spherical and a revolute joint.
This package contains the following models:
Model | Description |
---|---|
JointUPS | Universal - prismatic - spherical joint aggregation |
JointUSR | Universal - spherical - revolute joint aggregation |
JointUSP | Universal - spherical - prismatic joint aggregation |
JointSSR | Spherical - spherical - revolute joint aggregation
with an optional mass point at the rod connecting
the two spherical joints |
JointSSP | Spherical - spherical - prismatic joint aggregation
with an optional mass point at the rod connecting
the two spherical joints |
JointRRR | Revolute - revolute - revolute joint aggregation for planar loops |
JointRRP | Revolute - revolute - prismatic joint aggregation for planar loops |
Note, no component of this package has potential states, since the components are designed in such a way that the generalized coordinates of the used elementary joints are computed from the frame_a and frame_b coordinates. Still, it is possible to use the components in a tree structure. In this case states are selected from bodies that are connected to the frame_a or frame_b side of the component. In most cases this gives a less efficient solution, as if elementary joints of package Modelica.Mechanics.MultiBody.Joints would be used directly.
The analytic handling of kinematic loops by using joint aggregations with 6 degrees of freedom as provided in this package, is a new methodology. It is based on a more general method for solving non-linear equations of kinematic loops developed by Woernle and Hiller. An automatic application of this more general method is difficult, and a manual application is only suited for specialists in this field. The method introduced here is a compromise: It can be quite easily applied by an end user, but for a smaller class of kinematic loops. The method of the "characteristic pair of joints" from Woernle and Hiller is described in:
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
JointUPS | Universal - prismatic - spherical joint aggregation (no constraints, no potential states) |
JointUSR | Universal - spherical - revolute joint aggregation (no constraints, no potential states) |
JointUSP | Universal - spherical - prismatic joint aggregation (no constraints, no potential states) |
JointSSR | Spherical - spherical - revolute joint aggregation with mass (no constraints, no potential states) |
JointSSP | Spherical - spherical - prismatic joint aggregation with mass (no constraints, no potential states) |
JointRRR | Planar revolute - revolute - revolute joint aggregation (no constraints, no potential states) |
JointRRP | Planar revolute - revolute - prismatic joint aggregation (no constraints, no potential states) |
Universal - prismatic - spherical joint aggregation (no constraints, no potential states)
This component consists of a universal joint at frame_a, a spherical joint at frame_b and a prismatic joint along the line connecting the origin of frame_a and the origin of frame_b, see the default animation in the following figure (the axes vectors are not part of the default animation):
This joint aggregation has no mass and no inertia and introduces neither constraints nor potential state variables. It is especially useful to build up more complicated force elements where the mass and/or inertia of the force element shall be taken into account.
The universal joint is defined in the following way:
The definition of axis 2 of the universal joint is performed according to the most often occurring case for the sake of simplicity. Otherwise, the treatment is much more complicated and the number of operations is considerably higher, if axis 2 is not orthogonal to axis 1 and to the connecting rod.
Note, there is a singularity when axis 1 and the connecting line are parallel to each other. Therefore, if possible n1_a should be selected in such a way that it is perpendicular to nAxis_ia in the initial configuration (i.e., the distance to the singularity is as large as possible).
An additional frame_ia is present. It is fixed on the line connecting the universal and the spherical joint at the origin of frame_a. The placement of frame_ia on this line is implicitly defined by the universal joint (frame_a and frame_ia coincide when the angles of the two revolute joints of the universal joint are zero) and by parameter vector nAxis_ia, an axis vector directed along the line from the origin of frame_a to the spherical joint, resolved in frame_ia.
An additional frame_ib is present. It is fixed in the line connecting the prismatic and the spherical joint at the origin of frame_b. It is always parallel to frame_ia.
Note, this joint aggregation can be used in cases where in reality a rod with spherical joints at each end are present. Such a system has an additional degree of freedom to rotate the rod along its axis. In practice this rotation is usually of no interest and is mathematically removed by replacing one of the spherical joints by a universal joint.
The easiest way to define the parameters of this joint is by moving the MultiBody system in a reference configuration where all frames of all components are parallel to each other (alternatively, at least frame_a, frame_ia and frame_ib of the JointUSP joint should be parallel to each other when defining an instance of this component).
Extends from Interfaces.PartialTwoFramesDoubleSize (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected (default icon size is factor 2 larger as usual)).
Name | Description |
---|---|
animation | = true, if animation shall be enabled |
showUniversalAxes | = true, if universal joint shall be visualized with two cylinders, otherwise with a sphere (provided animation=true) |
n1_a | Axis 1 of universal joint resolved in frame_a (axis 2 is orthogonal to axis 1 and to line from universal to spherical joint) [1] |
nAxis_ia[3] | Axis vector along line from origin of frame_a to origin of frame_b, resolved in frame_ia [m] |
s_offset | Relative distance offset (distance between frame_a and frame_b = s(t) + s_offset) [m] |
Animation | |
if animation = true | |
sphereDiameter | Diameter of spheres representing the spherical joints [m] |
sphereColor | Color of spheres representing the spherical joints |
axisDiameter | Diameter of cylinder on the connecting line from frame_a to frame_b [m] |
axisColor | Color of cylinder on the connecting line from frame_a to frame_b |
specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
if animation = true and showUniversalAxes | |
cylinderLength | Length of cylinders representing the two universal joint axes [m] |
cylinderDiameter | Diameter of cylinders representing the two universal joint axes [m] |
cylinderColor | Color of cylinders representing the two universal joint axes |
Advanced | |
checkTotalPower | = true, if total power flowing into this component shall be determined (must be zero) |
Name | Description |
---|---|
frame_a | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_ia | Coordinate system at origin of frame_a fixed at prismatic joint |
frame_ib | Coordinate system at origin of frame_b fixed at prismatic joint |
axis | 1-dim. translational flange that drives the prismatic joint |
bearing | 1-dim. translational flange of the drive bearing of the prismatic joint |
Universal - spherical - revolute joint aggregation (no constraints, no potential states)
This component consists of a universal joint at frame_a, a revolute joint at frame_b and a spherical joint which is connected via rod1 to the universal and via rod2 to the revolute joint, see the default animation in the following figure (the axes vectors are not part of the default animation):
This joint aggregation has no mass and no inertia and introduces neither constraints nor potential state variables. It should be used in kinematic loops whenever possible since the non-linear system of equations introduced by this joint aggregation is solved analytically (i.e., a solution is always computed, if a unique solution exists).
The universal joint is defined in the following way:
The definition of axis 2 of the universal joint is performed according to the most often occurring case for the sake of simplicity. Otherwise, the treatment is much more complicated and the number of operations is considerably higher, if axis 2 is not orthogonal to axis 1 and to the connecting rod.
Note, there is a singularity when axis 1 and the connecting rod are parallel to each other. Therefore, if possible n1_a should be selected in such a way that it is perpendicular to rRod1_ia in the initial configuration (i.e., the distance to the singularity is as large as possible).
The rest of this joint aggregation is defined by the following parameters:
An additional frame_ia is present. It is fixed in the rod connecting the universal and the spherical joint at the origin of frame_a. The placement of frame_ia on the rod is implicitly defined by the universal joint (frame_a and frame_ia coincide when the angles of the two revolute joints of the universal joint are zero) and by parameter vector rRod1_ia, the position vector from the origin of frame_a to the spherical joint, resolved in frame_ia.
An additional frame_ib is present. It is fixed in the rod connecting the revolute and the spherical joint at the side of the revolute joint that is connected to this rod (= rod2.frame_a = revolute.frame_a).
An additional frame_im is present. It is fixed in the rod connecting the revolute and the spherical joint at the side of the spherical joint that is connected to this rod (= rod2.frame_b). It is always parallel to frame_ib.
The easiest way to define the parameters of this joint is by moving the MultiBody system in a reference configuration where all frames of all components are parallel to each other (alternatively, at least frame_a and frame_ia of the JointUSR joint should be parallel to each other when defining an instance of this component).
In the public interface of the JointUSR joint, the following (final) parameters are provided:
parameter Real rod1Length(unit="m") "Length of rod 1"; parameter Real eRod1_ia[3] "Unit vector along rod 1, resolved in frame_ia"; parameter Real e2_ia [3] "Unit vector along axis 2, resolved in frame_ia";
This allows a more convenient definition of data which is related to rod 1. For example, if a box shall be connected at frame_ia directing from the origin of frame_a to the middle of rod 1, this might be defined as:
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSP jointUSR(rRod1_ia={1.2, 1, 0.2}); Modelica.Mechanics.MultiBody.Visualizers.FixedShape shape(shapeType = "box", lengthDirection = jointUSR.eRod1_ia, widthDirection = jointUSR.e2_ia, length = jointUSR.rod1Length/2, width = jointUSR.rod1Length/10); equation connect(jointUSP.frame_ia, shape.frame_a);
Extends from Interfaces.PartialTwoFramesDoubleSize (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected (default icon size is factor 2 larger as usual)).
Name | Description |
---|---|
animation | = true, if animation shall be enabled |
showUniversalAxes | = true, if universal joint shall be visualized with two cylinders, otherwise with a sphere (provided animation=true) |
n1_a | Axis 1 of universal joint fixed and resolved in frame_a (axis 2 is orthogonal to axis 1 and to rod 1) [1] |
n_b | Axis of revolute joint fixed and resolved in frame_b [1] |
rRod1_ia[3] | Vector from origin of frame_a to spherical joint, resolved in frame_ia [m] |
rRod2_ib[3] | Vector from origin of frame_ib to spherical joint, resolved in frame_ib [m] |
phi_offset | Relative angle offset of revolute joint (angle = phi(t) + from_deg(phi_offset)) [deg] |
phi_guess | Select the configuration such that at initial time |phi(t0) - from_deg(phi_guess)| is minimal [deg] |
Animation | |
if animation = true | |
sphereDiameter | Diameter of the spheres representing the universal and the spherical joint [m] |
sphereColor | Color of the spheres representing the universal and the spherical joint |
rod1Diameter | Diameter of rod 1 connecting the universal and the spherical joint [m] |
rod1Color | Color of rod 1 connecting the universal and the spherical joint |
rod2Diameter | Diameter of rod 2 connecting the revolute and the spherical joint [m] |
rod2Color | Color of rod 2 connecting the revolute and the spherical joint |
revoluteDiameter | Diameter of cylinder representing the revolute joint [m] |
revoluteLength | Length of cylinder representing the revolute joint [m] |
revoluteColor | Color of cylinder representing the revolute joint |
specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
if animation = true and showUniversalAxes | |
cylinderLength | Length of cylinders representing the two universal joint axes [m] |
cylinderDiameter | Diameter of cylinders representing the two universal joint axes [m] |
cylinderColor | Color of cylinders representing the two universal joint axes |
Advanced | |
checkTotalPower | = true, if total power flowing into this component shall be determined (must be zero) |
Name | Description |
---|---|
frame_a | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_ia | Coordinate system at origin of frame_a fixed at connecting rod of universal and spherical joint |
frame_ib | Coordinate system at origin of frame_b fixed at connecting rod of spherical and revolute joint |
frame_im | Coordinate system at origin of spherical joint fixed at connecting rod of spherical and revolute joint |
axis | 1-dim. rotational flange that drives the revolute joint |
bearing | 1-dim. rotational flange of the drive bearing of the revolute joint |
Universal - spherical - prismatic joint aggregation (no constraints, no potential states)
This component consists of a universal joint at frame_a, a prismatic joint at frame_b and a spherical joint which is connected via rod1 to the universal and via rod2 to the prismatic joint, see the default animation in the following figure (the axes vectors are not part of the default animation):
This joint aggregation has no mass and no inertia and introduces neither constraints nor potential state variables. It should be used in kinematic loops whenever possible since the non-linear system of equations introduced by this joint aggregation is solved analytically (i.e., a solution is always computed, if a unique solution exists).
The universal joint is defined in the following way:
The definition of axis 2 of the universal joint is performed according to the most often occurring case for the sake of simplicity. Otherwise, the treatment is much more complicated and the number of operations is considerably higher, if axis 2 is not orthogonal to axis 1 and to the connecting rod.
Note, there is a singularity when axis 1 and the connecting rod are parallel to each other. Therefore, if possible n1_a should be selected in such a way that it is perpendicular to rRod1_ia in the initial configuration (i.e., the distance to the singularity is as large as possible).
The rest of this joint aggregation is defined by the following parameters:
An additional frame_ia is present. It is fixed in the rod connecting the universal and the spherical joint at the origin of frame_a. The placement of frame_ia on the rod is implicitly defined by the universal joint (frame_a and frame_ia coincide when the angles of the two revolute joints of the universal joint are zero) and by parameter vector rRod1_ia, the position vector from the origin of frame_a to the spherical joint, resolved in frame_ia.
An additional frame_ib is present. It is fixed in the rod connecting the prismatic and the spherical joint at the side of the prismatic joint that is connected to this rod (= rod2.frame_a = prismatic.frame_a). It is always parallel to frame_b.
An additional frame_im is present. It is fixed in the rod connecting the prismatic and the spherical joint at the side of the spherical joint that is connected to this rod (= rod2.frame_b). It is always parallel to frame_b.
The easiest way to define the parameters of this joint is by moving the MultiBody system in a reference configuration where all frames of all components are parallel to each other (alternatively, at least frame_a and frame_ia of the JointUSP joint should be parallel to each other when defining an instance of this component).
In the public interface of the JointUSP joint, the following (final) parameters are provided:
parameter Real rod1Length(unit="m") "Length of rod 1"; parameter Real eRod1_ia[3] "Unit vector along rod 1, resolved in frame_ia"; parameter Real e2_ia [3] "Unit vector along axis 2, resolved in frame_ia";
This allows a more convenient definition of data which is related to rod 1. For example, if a box shall be connected at frame_ia directing from the origin of frame_a to the middle of rod 1, this might be defined as:
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSP jointUSP(rRod1_ia={1.2, 1, 0.2}); Modelica.Mechanics.MultiBody.Visualizers.FixedShape shape(shapeType = "box", lengthDirection = jointUSP.eRod1_ia, widthDirection = jointUSP.e2_ia, length = jointUSP.rod1Length/2, width = jointUSP.rod1Length/10); equation connect(jointUSP.frame_ia, shape.frame_a);
Extends from Interfaces.PartialTwoFramesDoubleSize (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected (default icon size is factor 2 larger as usual)).
Name | Description |
---|---|
animation | = true, if animation shall be enabled |
showUniversalAxes | = true, if universal joint shall be visualized with two cylinders, otherwise with a sphere (provided animation=true) |
n1_a | Axis 1 of universal joint fixed and resolved in frame_a (axis 2 is orthogonal to axis 1 and to rod 1) [1] |
n_b | Axis of prismatic joint fixed and resolved in frame_b [1] |
rRod1_ia[3] | Vector from origin of frame_a to spherical joint, resolved in frame_ia [m] |
rRod2_ib[3] | Vector from origin of frame_ib to spherical joint, resolved in frame_ib (frame_ib is parallel to frame_b) [m] |
s_offset | Relative distance offset of prismatic joint (distance between the prismatic joint frames = s(t) + s_offset) [m] |
s_guess | Select the configuration such that at initial time |s(t0)-s_guess| is minimal [m] |
Animation | |
if animation = true | |
sphereDiameter | Diameter of the spheres representing the universal and the spherical joint [m] |
sphereColor | Color of the spheres representing the universal and the spherical joint |
rod1Diameter | Diameter of rod 1 connecting the universal and the spherical joint [m] |
rod1Color | Color of rod 1 connecting the universal and the spherical joint |
rod2Diameter | Diameter of rod 2 connecting the prismatic and the spherical joint [m] |
rod2Color | Color of rod 2 connecting the prismatic and the spherical joint |
boxWidthDirection | Vector in width direction of prismatic joint, resolved in frame_b [1] |
boxWidth | Width of prismatic joint box [m] |
boxHeight | Height of prismatic joint box [m] |
boxColor | Color of prismatic joint box |
specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
if animation = true and showUniversalAxes | |
cylinderLength | Length of cylinders representing the two universal joint axes [m] |
cylinderDiameter | Diameter of cylinders representing the two universal joint axes [m] |
cylinderColor | Color of cylinders representing the two universal joint axes |
Advanced | |
checkTotalPower | = true, if total power flowing into this component shall be determined (must be zero) |
Name | Description |
---|---|
frame_a | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_ia | Coordinate system at origin of frame_a fixed at connecting rod of universal and spherical joint |
frame_ib | Coordinate system at origin of frame_b fixed at connecting rod of spherical and prismatic joint |
frame_im | Coordinate system at origin of spherical joint fixed at connecting rod of spherical and prismatic joint |
axis | 1-dim. translational flange that drives the prismatic joint |
bearing | 1-dim. translational flange of the drive bearing of the prismatic joint |
Spherical - spherical - revolute joint aggregation with mass (no constraints, no potential states)
This component consists of a spherical joint 1 at frame_a, a revolute joint at frame_b and a spherical joint 2 which is connected via rod 1 to the spherical joint 1 and via rod 2 to the revolute joint, see the default animation in the following figure (the axes vectors are not part of the default animation):
Besides an optional point mass in the middle of rod 1, this joint aggregation has no mass and no inertia, and introduces neither constraints nor potential state variables. It should be used in kinematic loops whenever possible since the non-linear system of equations introduced by this joint aggregation is solved analytically (i.e., a solution is always computed, if a unique solution exists).
An additional frame_ib is present. It is fixed in rod 2 connecting the revolute and the spherical joint at the side of the revolute joint that is connected to this rod (= rod2.frame_a = revolute.frame_a).
An additional frame_im is present. It is fixed in rod 2 connecting the revolute and the spherical joint at the side of spherical joint 2 that is connected to this rod (= rod2.frame_b). It is always parallel to frame_ib.
The easiest way to define the parameters of this joint is by moving the MultiBody system in a reference configuration where all frames of all components are parallel to each other (alternatively, at least frame_b and frame_ib of the JointSSR joint should be parallel to each other when defining an instance of this component).
Extends from Interfaces.PartialTwoFramesDoubleSize (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected (default icon size is factor 2 larger as usual)).
Name | Description |
---|---|
animation | = true, if animation shall be enabled |
showMass | = true, if point mass on rod 1 shall be shown (provided animation = true and rod1Mass > 0) |
rod1Length | Distance between the origins of the two spherical joints [m] |
rod1Mass | Mass of rod 1 (= point mass located in middle of rod connecting the two spherical joints) [kg] |
n_b | Axis of revolute joint fixed and resolved in frame_b [1] |
rRod2_ib[3] | Vector from origin of frame_ib to spherical joint in the middle, resolved in frame_ib [m] |
phi_offset | Relative angle offset of revolute joint (angle = phi(t) + from_deg(phi_offset)) [deg] |
phi_guess | Select the configuration such that at initial time |phi(t0) - from_deg(phi_guess)| is minimal [deg] |
Animation | |
if animation = true | |
sphereDiameter | Diameter of the spheres representing the two spherical joints [m] |
sphereColor | Color of the spheres representing the two spherical joints |
rod1Diameter | Diameter of rod 1 connecting the two spherical joints [m] |
rod1Color | Color of rod 1 connecting the two spherical joint |
rod2Diameter | Diameter of rod 2 connecting the revolute joint and spherical joint 2 [m] |
rod2Color | Color of rod 2 connecting the revolute joint and spherical joint 2 |
revoluteDiameter | Diameter of cylinder representing the revolute joint [m] |
revoluteLength | Length of cylinder representing the revolute joint [m] |
revoluteColor | Color of cylinder representing the revolute joint |
specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
Advanced | |
checkTotalPower | = true, if total power flowing into this component shall be determined (must be zero) |
Name | Description |
---|---|
frame_a | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_ib | Coordinate system at origin of frame_b fixed at connecting rod of spherical and revolute joint |
frame_im | Coordinate system at origin of spherical joint in the middle fixed at connecting rod of spherical and revolute joint |
axis | 1-dim. rotational flange that drives the revolute joint |
bearing | 1-dim. rotational flange of the drive bearing of the revolute joint |
Spherical - spherical - prismatic joint aggregation with mass (no constraints, no potential states)
This component consists of a spherical joint 1 at frame_a, a prismatic joint at frame_b and a spherical joint 2 which is connected via rod 1 to the spherical joint 1 and via rod 2 to the prismatic joint, see the default animation in the following figure (the axes vectors are not part of the default animation):
Besides an optional point mass in the middle of rod 1, this joint aggregation has no mass and no inertia, and introduces neither constraints nor potential state variables. It should be used in kinematic loops whenever possible since the non-linear system of equations introduced by this joint aggregation is solved analytically (i.e., a solution is always computed, if a unique solution exists).
An additional frame_ib is present. It is fixed in rod 2 connecting the prismatic and the spherical joint at the side of the prismatic joint that is connected to this rod (= rod2.frame_a = prismatic.frame_a).
An additional frame_im is present. It is fixed in rod 2 connecting the prismatic and the spherical joint at the side of spherical joint 2 that is connected to this rod (= rod2.frame_b). It is always parallel to frame_ib.
The easiest way to define the parameters of this joint is by moving the MultiBody system in a reference configuration where all frames of all components are parallel to each other (alternatively, at least frame_b and frame_ib of the JointSSP joint should be parallel to each other when defining an instance of this component).
Extends from Interfaces.PartialTwoFramesDoubleSize (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected (default icon size is factor 2 larger as usual)).
Name | Description |
---|---|
animation | = true, if animation shall be enabled |
showMass | = true, if point mass on rod 1 shall be shown (provided animation = true and rod1Mass > 0) |
rod1Length | Distance between the origins of the two spherical joints [m] |
rod1Mass | Mass of rod 1 (= point mass located in middle of rod connecting the two spherical joints) [kg] |
n_b | Axis of prismatic joint fixed and resolved in frame_b [1] |
rRod2_ib[3] | Vector from origin of frame_ib to spherical joint in the middle, resolved in frame_ib [m] |
s_offset | Relative distance offset of prismatic joint (distance between frame_b and frame_ib = s(t) + s_offset) [m] |
s_guess | Select the configuration such that at initial time |s(t0)-s_guess| is minimal [m] |
Animation | |
if animation = true | |
sphereDiameter | Diameter of the spheres representing the two spherical joints [m] |
sphereColor | Color of the spheres representing the two spherical joints |
rod1Diameter | Diameter of rod 1 connecting the two spherical joints [m] |
rod1Color | Color of rod 1 connecting the two spherical joint |
rod2Diameter | Diameter of rod 2 connecting the revolute joint and spherical joint 2 [m] |
rod2Color | Color of rod 2 connecting the revolute joint and spherical joint 2 |
boxWidthDirection | Vector in width direction of prismatic joint box, resolved in frame_b [1] |
boxWidth | Width of prismatic joint box [m] |
boxHeight | Height of prismatic joint box [m] |
boxColor | Color of prismatic joint box |
specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
Advanced | |
checkTotalPower | = true, if total power flowing into this component shall be determined (must be zero) |
Name | Description |
---|---|
frame_a | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_ib | Coordinate system at origin of frame_b fixed at connecting rod of spherical and prismatic joint |
frame_im | Coordinate system at origin of spherical joint in the middle fixed at connecting rod of spherical and prismatic joint |
axis | 1-dim. translational flange that drives the prismatic joint |
bearing | 1-dim. translational flange of the drive bearing of the prismatic joint |
Planar revolute - revolute - revolute joint aggregation (no constraints, no potential states)
This component consists of 3 revolute joints with parallel axes of rotation that are connected together by two rods, see the default animation in the following figure (the axes vectors are not part of the default animation):
This joint aggregation introduces neither constraints nor state variables and should therefore be used in kinematic loops whenever possible to avoid non-linear systems of equations. It is only meaningful to use this component in planar loops. Basically, the position and orientation of the 3 revolute joints as well as of frame_ia, frame_ib, and frame_im are calculated by solving analytically a non-linear equation, given the position and orientation at frame_a and at frame_b.
Connector frame_a is the "left" side of the first revolute joint whereas frame_ia is the "right side of this revolute joint, fixed in rod 1. Connector frame_b is the "right" side of the third revolute joint whereas frame_ib is the "left" side of this revolute joint, fixed in rod 2. Finally, connector frame_im is the connector at the "right" side of the revolute joint in the middle, fixed in rod 2.
The easiest way to define the parameters of this joint is by moving the MultiBody system in a reference configuration where all frames of all components are parallel to each other (alternatively, at least frame_a, frame_ia, frame_im, frame_ib, frame_b of the JointRRR joint should be parallel to each other when defining an instance of this component).
Basically, the JointRRR model consists internally of a universal - spherical - revolute joint aggregation (= JointUSR). In a planar loop this will behave as if 3 revolute joints with parallel axes are connected by rigid rods.
Extends from Interfaces.PartialTwoFramesDoubleSize (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected (default icon size is factor 2 larger as usual)).
Name | Description |
---|---|
animation | = true, if animation shall be enabled |
n_a | Axes of revolute joints resolved in frame_a (all axes are parallel to each other) [1] |
rRod1_ia[3] | Vector from origin of frame_a to revolute joint in the middle, resolved in frame_ia [m] |
rRod2_ib[3] | Vector from origin of frame_ib to revolute joint in the middle, resolved in frame_ib [m] |
phi_offset | Relative angle offset of revolute joint at frame_b (angle = phi(t) + from_deg(phi_offset)) [deg] |
phi_guess | Select the configuration such that at initial time |phi(t0) - from_deg(phi_guess)| is minimal [deg] |
Animation | |
if animation = true | |
cylinderLength | Length of cylinders representing the revolute joints [m] |
cylinderDiameter | Diameter of cylinders representing the revolute joints [m] |
cylinderColor | Color of cylinders representing the revolute joints |
rodDiameter | Diameter of the two rods connecting the revolute joints [m] |
rodColor | Color of the two rods connecting the revolute joint |
specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
Advanced | |
checkTotalPower | = true, if total power flowing into this component shall be determined (must be zero) |
Name | Description |
---|---|
frame_a | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_ia | Coordinate system at origin of frame_a fixed at connecting rod of left and middle revolute joint |
frame_ib | Coordinate system at origin of frame_b fixed at connecting rod of middle and right revolute joint |
frame_im | Coordinate system at origin of revolute joint in the middle fixed at connecting rod of middle and right revolute joint |
axis | 1-dim. rotational flange that drives the right revolute joint at frame_b |
bearing | 1-dim. rotational flange of the drive bearing of the right revolute joint at frame_b |
Planar revolute - revolute - prismatic joint aggregation (no constraints, no potential states)
This component consists of 2 revolute joints with parallel axes of rotation that and a prismatic joint with a translational axis that is orthogonal to the revolute joint axes, see the default animation in the following figure (the axes vectors are not part of the default animation):
This joint aggregation introduces neither constraints nor state variables and should therefore be used in kinematic loops whenever possible to avoid non-linear systems of equations. It is only meaningful to use this component in planar loops. Basically, the position and orientation of the 3 joints as well as of frame_ia, frame_ib, and frame_im are calculated by solving analytically a non-linear equation, given the position and orientation at frame_a and at frame_b.
Connector frame_a is the "left" side of the first revolute joint whereas frame_ia is the "right side of this revolute joint, fixed in rod 1. Connector frame_b is the "right" side of the prismatic joint whereas frame_ib is the "left" side of this prismatic joint, fixed in rod 2. Finally, connector frame_im is the connector at the "right" side of the revolute joint in the middle, fixed in rod 2. The frames frame_b, frame_ib, frame_im are always parallel to each other.
The easiest way to define the parameters of this joint is by moving the MultiBody system in a reference configuration where all frames of all components are parallel to each other (alternatively, at least frame_a, frame_ia, frame_im, frame_ib, frame_b of the JointRRP joint should be parallel to each other when defining an instance of this component).
Basically, the JointRRP model consists internally of a universal - spherical - prismatic joint aggregation (= JointUSP). In a planar loop this will behave as if 2 revolute joints with parallel axes and 1 prismatic joint are connected by rigid rods.
Extends from Interfaces.PartialTwoFramesDoubleSize (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected (default icon size is factor 2 larger as usual)).
Name | Description |
---|---|
animation | = true, if animation shall be enabled |
n_a | Axes of the two revolute joints resolved in frame_a (both axes are parallel to each other) [1] |
n_b | Axis of prismatic joint fixed and resolved in frame_b (must be orthogonal to revolute joint axes) [1] |
rRod1_ia[3] | Vector from origin of frame_a to revolute joint in the middle, resolved in frame_ia [m] |
rRod2_ib[3] | Vector from origin of frame_ib to revolute joint in the middle, resolved in frame_ib (frame_ib is parallel to frame_b) [m] |
s_offset | Relative distance offset of prismatic joint (distance between the prismatic joint frames = s(t) + s_offset) [m] |
s_guess | Select the configuration such that at initial time |s(t0)-s_guess| is minimal [m] |
Animation | |
if animation = true | |
cylinderLength | Length of cylinders representing the revolute joints [m] |
cylinderDiameter | Diameter of cylinders representing the revolute joints [m] |
cylinderColor | Color of cylinders representing the revolute joints |
boxWidthDirection | Vector in width direction of prismatic joint, resolved in frame_b [1] |
boxWidth | Width of prismatic joint box [m] |
boxHeight | Height of prismatic joint box [m] |
boxColor | Color of prismatic joint box |
rodDiameter | Diameter of the two rods connecting the joints [m] |
rodColor | Color of the two rods connecting the joints |
specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) |
Advanced | |
checkTotalPower | = true, if total power flowing into this component shall be determined (must be zero) |
Name | Description |
---|---|
frame_a | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
frame_ia | Coordinate system at origin of frame_a fixed at connecting rod of revolute joints |
frame_ib | Coordinate system at origin of frame_b fixed at connecting rod of revolute and prismatic joint |
frame_im | Coordinate system at origin of revolute joint in the middle fixed at connecting rod of revolute and prismatic joint |
axis | 1-dim. translational flange that drives the prismatic joint |
bearing | 1-dim. translational flange of the drive bearing of the prismatic joint |