Modelica.Mechanics.MultiBody.Joints.Assemblies

Components that aggregate several joints for analytic loop handling

Information

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:

PPrismatic joint
RRevolute joint
SSpherical joint
UUniversal joint

For example, JointUSR is an assembly joint consisting of a universal, a spherical and a revolute joint.

This package contains the following models:

Content

ModelDescription
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:

Woernle C.:
Ein systematisches Verfahren zur Aufstellung der geometrischen Schliessbedingungen in kinematischen Schleifen mit Anwendung bei der Rückwärtstransformation für Industrieroboter.
Fortschritt-Berichte VDI, Reihe 18, Nr. 59, Düsseldorf: VDI-Verlag 1988, ISBN 3-18-145918-6.
 
Hiller M., and Woernle C.:
A Systematic Approach for Solving the Inverse Kinematic Problem of Robot Manipulators.
Proceedings 7th World Congress Th. Mach. Mech., Sevilla 1987.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

Name Description
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUPS JointUPS Universal - prismatic - spherical joint aggregation (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSR JointUSR Universal - spherical - revolute joint aggregation (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSP JointUSP Universal - spherical - prismatic joint aggregation (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSR JointSSR Spherical - spherical - revolute joint aggregation with mass (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSP JointSSP Spherical - spherical - prismatic joint aggregation with mass (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointRRR JointRRR Planar revolute - revolute - revolute joint aggregation (no constraints, no potential states)
Modelica.Mechanics.MultiBody.Joints.Assemblies.JointRRP JointRRP Planar revolute - revolute - prismatic joint aggregation (no constraints, no potential states)

Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUPS Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUPS

Universal - prismatic - spherical joint aggregation (no constraints, no potential states)

Information

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):

model Joints.Assemblies.JointUPS

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)).

Parameters

NameDescription
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_aAxis 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_offsetRelative distance offset (distance between frame_a and frame_b = s(t) + s_offset) [m]
Animation
if animation = true
sphereDiameterDiameter of spheres representing the spherical joints [m]
sphereColorColor of spheres representing the spherical joints
axisDiameterDiameter of cylinder on the connecting line from frame_a to frame_b [m]
axisColorColor of cylinder on the connecting line from frame_a to frame_b
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
if animation = true and showUniversalAxes
cylinderLengthLength of cylinders representing the two universal joint axes [m]
cylinderDiameterDiameter of cylinders representing the two universal joint axes [m]
cylinderColorColor of cylinders representing the two universal joint axes
Advanced
checkTotalPower= true, if total power flowing into this component shall be determined (must be zero)

Connectors

NameDescription
frame_aCoordinate system fixed to the component with one cut-force and cut-torque
frame_bCoordinate system fixed to the component with one cut-force and cut-torque
frame_iaCoordinate system at origin of frame_a fixed at prismatic joint
frame_ibCoordinate system at origin of frame_b fixed at prismatic joint
axis1-dim. translational flange that drives the prismatic joint
bearing1-dim. translational flange of the drive bearing of the prismatic joint

Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSR Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSR

Universal - spherical - revolute joint aggregation (no constraints, no potential states)

Information

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):

model Joints.Assemblies.JointUSR

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)).

Parameters

NameDescription
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_aAxis 1 of universal joint fixed and resolved in frame_a (axis 2 is orthogonal to axis 1 and to rod 1) [1]
n_bAxis 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_offsetRelative angle offset of revolute joint (angle = phi(t) + from_deg(phi_offset)) [deg]
phi_guessSelect the configuration such that at initial time |phi(t0) - from_deg(phi_guess)| is minimal [deg]
Animation
if animation = true
sphereDiameterDiameter of the spheres representing the universal and the spherical joint [m]
sphereColorColor of the spheres representing the universal and the spherical joint
rod1DiameterDiameter of rod 1 connecting the universal and the spherical joint [m]
rod1ColorColor of rod 1 connecting the universal and the spherical joint
rod2DiameterDiameter of rod 2 connecting the revolute and the spherical joint [m]
rod2ColorColor of rod 2 connecting the revolute and the spherical joint
revoluteDiameterDiameter of cylinder representing the revolute joint [m]
revoluteLengthLength of cylinder representing the revolute joint [m]
revoluteColorColor of cylinder representing the revolute joint
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
if animation = true and showUniversalAxes
cylinderLengthLength of cylinders representing the two universal joint axes [m]
cylinderDiameterDiameter of cylinders representing the two universal joint axes [m]
cylinderColorColor of cylinders representing the two universal joint axes
Advanced
checkTotalPower= true, if total power flowing into this component shall be determined (must be zero)

Connectors

NameDescription
frame_aCoordinate system fixed to the component with one cut-force and cut-torque
frame_bCoordinate system fixed to the component with one cut-force and cut-torque
frame_iaCoordinate system at origin of frame_a fixed at connecting rod of universal and spherical joint
frame_ibCoordinate system at origin of frame_b fixed at connecting rod of spherical and revolute joint
frame_imCoordinate system at origin of spherical joint fixed at connecting rod of spherical and revolute joint
axis1-dim. rotational flange that drives the revolute joint
bearing1-dim. rotational flange of the drive bearing of the revolute joint

Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSP Modelica.Mechanics.MultiBody.Joints.Assemblies.JointUSP

Universal - spherical - prismatic joint aggregation (no constraints, no potential states)

Information

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):

model Joints.Assemblies.JointUSP

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)).

Parameters

NameDescription
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_aAxis 1 of universal joint fixed and resolved in frame_a (axis 2 is orthogonal to axis 1 and to rod 1) [1]
n_bAxis 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_offsetRelative distance offset of prismatic joint (distance between the prismatic joint frames = s(t) + s_offset) [m]
s_guessSelect the configuration such that at initial time |s(t0)-s_guess| is minimal [m]
Animation
if animation = true
sphereDiameterDiameter of the spheres representing the universal and the spherical joint [m]
sphereColorColor of the spheres representing the universal and the spherical joint
rod1DiameterDiameter of rod 1 connecting the universal and the spherical joint [m]
rod1ColorColor of rod 1 connecting the universal and the spherical joint
rod2DiameterDiameter of rod 2 connecting the prismatic and the spherical joint [m]
rod2ColorColor of rod 2 connecting the prismatic and the spherical joint
boxWidthDirectionVector in width direction of prismatic joint, resolved in frame_b [1]
boxWidthWidth of prismatic joint box [m]
boxHeightHeight of prismatic joint box [m]
boxColorColor of prismatic joint box
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
if animation = true and showUniversalAxes
cylinderLengthLength of cylinders representing the two universal joint axes [m]
cylinderDiameterDiameter of cylinders representing the two universal joint axes [m]
cylinderColorColor of cylinders representing the two universal joint axes
Advanced
checkTotalPower= true, if total power flowing into this component shall be determined (must be zero)

Connectors

NameDescription
frame_aCoordinate system fixed to the component with one cut-force and cut-torque
frame_bCoordinate system fixed to the component with one cut-force and cut-torque
frame_iaCoordinate system at origin of frame_a fixed at connecting rod of universal and spherical joint
frame_ibCoordinate system at origin of frame_b fixed at connecting rod of spherical and prismatic joint
frame_imCoordinate system at origin of spherical joint fixed at connecting rod of spherical and prismatic joint
axis1-dim. translational flange that drives the prismatic joint
bearing1-dim. translational flange of the drive bearing of the prismatic joint

Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSR Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSR

Spherical - spherical - revolute joint aggregation with mass (no constraints, no potential states)

Information

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):

model Joints.Assemblies.JointSSR

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)).

Parameters

NameDescription
animation= true, if animation shall be enabled
showMass= true, if point mass on rod 1 shall be shown (provided animation = true and rod1Mass > 0)
rod1LengthDistance between the origins of the two spherical joints [m]
rod1MassMass of rod 1 (= point mass located in middle of rod connecting the two spherical joints) [kg]
n_bAxis 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_offsetRelative angle offset of revolute joint (angle = phi(t) + from_deg(phi_offset)) [deg]
phi_guessSelect the configuration such that at initial time |phi(t0) - from_deg(phi_guess)| is minimal [deg]
Animation
if animation = true
sphereDiameterDiameter of the spheres representing the two spherical joints [m]
sphereColorColor of the spheres representing the two spherical joints
rod1DiameterDiameter of rod 1 connecting the two spherical joints [m]
rod1ColorColor of rod 1 connecting the two spherical joint
rod2DiameterDiameter of rod 2 connecting the revolute joint and spherical joint 2 [m]
rod2ColorColor of rod 2 connecting the revolute joint and spherical joint 2
revoluteDiameterDiameter of cylinder representing the revolute joint [m]
revoluteLengthLength of cylinder representing the revolute joint [m]
revoluteColorColor of cylinder representing the revolute joint
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
Advanced
checkTotalPower= true, if total power flowing into this component shall be determined (must be zero)

Connectors

NameDescription
frame_aCoordinate system fixed to the component with one cut-force and cut-torque
frame_bCoordinate system fixed to the component with one cut-force and cut-torque
frame_ibCoordinate system at origin of frame_b fixed at connecting rod of spherical and revolute joint
frame_imCoordinate system at origin of spherical joint in the middle fixed at connecting rod of spherical and revolute joint
axis1-dim. rotational flange that drives the revolute joint
bearing1-dim. rotational flange of the drive bearing of the revolute joint

Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSP Modelica.Mechanics.MultiBody.Joints.Assemblies.JointSSP

Spherical - spherical - prismatic joint aggregation with mass (no constraints, no potential states)

Information

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):

model Joints.Assemblies.JointSSP

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)).

Parameters

NameDescription
animation= true, if animation shall be enabled
showMass= true, if point mass on rod 1 shall be shown (provided animation = true and rod1Mass > 0)
rod1LengthDistance between the origins of the two spherical joints [m]
rod1MassMass of rod 1 (= point mass located in middle of rod connecting the two spherical joints) [kg]
n_bAxis 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_offsetRelative distance offset of prismatic joint (distance between frame_b and frame_ib = s(t) + s_offset) [m]
s_guessSelect the configuration such that at initial time |s(t0)-s_guess| is minimal [m]
Animation
if animation = true
sphereDiameterDiameter of the spheres representing the two spherical joints [m]
sphereColorColor of the spheres representing the two spherical joints
rod1DiameterDiameter of rod 1 connecting the two spherical joints [m]
rod1ColorColor of rod 1 connecting the two spherical joint
rod2DiameterDiameter of rod 2 connecting the revolute joint and spherical joint 2 [m]
rod2ColorColor of rod 2 connecting the revolute joint and spherical joint 2
boxWidthDirectionVector in width direction of prismatic joint box, resolved in frame_b [1]
boxWidthWidth of prismatic joint box [m]
boxHeightHeight of prismatic joint box [m]
boxColorColor of prismatic joint box
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
Advanced
checkTotalPower= true, if total power flowing into this component shall be determined (must be zero)

Connectors

NameDescription
frame_aCoordinate system fixed to the component with one cut-force and cut-torque
frame_bCoordinate system fixed to the component with one cut-force and cut-torque
frame_ibCoordinate system at origin of frame_b fixed at connecting rod of spherical and prismatic joint
frame_imCoordinate system at origin of spherical joint in the middle fixed at connecting rod of spherical and prismatic joint
axis1-dim. translational flange that drives the prismatic joint
bearing1-dim. translational flange of the drive bearing of the prismatic joint

Modelica.Mechanics.MultiBody.Joints.Assemblies.JointRRR Modelica.Mechanics.MultiBody.Joints.Assemblies.JointRRR

Planar revolute - revolute - revolute joint aggregation (no constraints, no potential states)

Information

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):

model Joints.Assemblies.JointRRR

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)).

Parameters

NameDescription
animation= true, if animation shall be enabled
n_aAxes 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_offsetRelative angle offset of revolute joint at frame_b (angle = phi(t) + from_deg(phi_offset)) [deg]
phi_guessSelect the configuration such that at initial time |phi(t0) - from_deg(phi_guess)| is minimal [deg]
Animation
if animation = true
cylinderLengthLength of cylinders representing the revolute joints [m]
cylinderDiameterDiameter of cylinders representing the revolute joints [m]
cylinderColorColor of cylinders representing the revolute joints
rodDiameterDiameter of the two rods connecting the revolute joints [m]
rodColorColor of the two rods connecting the revolute joint
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
Advanced
checkTotalPower= true, if total power flowing into this component shall be determined (must be zero)

Connectors

NameDescription
frame_aCoordinate system fixed to the component with one cut-force and cut-torque
frame_bCoordinate system fixed to the component with one cut-force and cut-torque
frame_iaCoordinate system at origin of frame_a fixed at connecting rod of left and middle revolute joint
frame_ibCoordinate system at origin of frame_b fixed at connecting rod of middle and right revolute joint
frame_imCoordinate system at origin of revolute joint in the middle fixed at connecting rod of middle and right revolute joint
axis1-dim. rotational flange that drives the right revolute joint at frame_b
bearing1-dim. rotational flange of the drive bearing of the right revolute joint at frame_b

Modelica.Mechanics.MultiBody.Joints.Assemblies.JointRRP Modelica.Mechanics.MultiBody.Joints.Assemblies.JointRRP

Planar revolute - revolute - prismatic joint aggregation (no constraints, no potential states)

Information

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):

model Joints.Assemblies.JointRRP

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)).

Parameters

NameDescription
animation= true, if animation shall be enabled
n_aAxes of the two revolute joints resolved in frame_a (both axes are parallel to each other) [1]
n_bAxis 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_offsetRelative distance offset of prismatic joint (distance between the prismatic joint frames = s(t) + s_offset) [m]
s_guessSelect the configuration such that at initial time |s(t0)-s_guess| is minimal [m]
Animation
if animation = true
cylinderLengthLength of cylinders representing the revolute joints [m]
cylinderDiameterDiameter of cylinders representing the revolute joints [m]
cylinderColorColor of cylinders representing the revolute joints
boxWidthDirectionVector in width direction of prismatic joint, resolved in frame_b [1]
boxWidthWidth of prismatic joint box [m]
boxHeightHeight of prismatic joint box [m]
boxColorColor of prismatic joint box
rodDiameterDiameter of the two rods connecting the joints [m]
rodColorColor of the two rods connecting the joints
specularCoefficientReflection of ambient light (= 0: light is completely absorbed)
Advanced
checkTotalPower= true, if total power flowing into this component shall be determined (must be zero)

Connectors

NameDescription
frame_aCoordinate system fixed to the component with one cut-force and cut-torque
frame_bCoordinate system fixed to the component with one cut-force and cut-torque
frame_iaCoordinate system at origin of frame_a fixed at connecting rod of revolute joints
frame_ibCoordinate system at origin of frame_b fixed at connecting rod of revolute and prismatic joint
frame_imCoordinate system at origin of revolute joint in the middle fixed at connecting rod of revolute and prismatic joint
axis1-dim. translational flange that drives the prismatic joint
bearing1-dim. translational flange of the drive bearing of the prismatic joint
Automatically generated Thu Oct 1 16:07:54 2020.