modelJointUPS

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

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

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 rotation axis of revolute joint 1 is along parameter vector n1_a which is fixed in frame_a.
  • The rotation axis of revolute joint 2 is perpendicular to axis 1 and to the line connecting the universal and the spherical joint.

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

Parameters

TypeNameDefaultDescription
Booleananimationtrue= true, if animation shall be enabled
BooleanshowUniversalAxestrue= true, if universal joint shall be visualized with two cylinders, otherwise with a sphere (provided animation=true)
Modelica.Mechanics.MultiBody.Types.Axisn1_a{0, 0, 1}Axis 1 of universal joint resolved in frame_a (axis 2 is orthogonal to axis 1 and to line from universal to spherical joint)
SI.Position[3]nAxis_ia{1, 0, 0}Axis vector along line from origin of frame_a to origin of frame_b, resolved in frame_ia
SI.Positions_offset0Relative distance offset (distance between frame_a and frame_b = s(t) + s_offset)
Real[3]eAxis_iaModelica.Math.Vectors.normalizeWithAssert(nAxis_ia)Unit vector from origin of frame_a to origin of frame_b, resolved in frame_ia
Real[3]e2_iaModelica.Math.Vectors.normalizeWithAssert(cross(n1_a, eAxis_ia))Unit vector in direction of second rotation axis of universal joint, resolved in frame_ia
Real[3]e3_iacross(eAxis_ia, e2_ia)Unit vector perpendicular to eAxis_ia and e2_ia, resolved in frame_ia
Animation › if animation = true
SI.DiametersphereDiameterworld.defaultJointLengthDiameter of spheres representing the spherical joints
SI.DiameteraxisDiametersphereDiameter/Types.Defaults.JointRodDiameterFractionDiameter of cylinder on the connecting line from frame_a to frame_b
Animation › if animation = true and showUniversalAxes
SI.DistancecylinderLengthworld.defaultJointLengthLength of cylinders representing the two universal joint axes
SI.DistancecylinderDiameterworld.defaultJointWidthDiameter of cylinders representing the two universal joint axes
Advanced
BooleancheckTotalPowerfalse= true, if total power flowing into this component shall be determined (must be zero)

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_a (from PartialTwoFramesDoubleSize)Coordinate system fixed to the component with one cut-force and cut-torque
Interfaces.Frame_bframe_b (from PartialTwoFramesDoubleSize)Coordinate system fixed to the component with one cut-force and cut-torque
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_iaCoordinate system at origin of frame_a fixed at prismatic joint
Modelica.Mechanics.MultiBody.Interfaces.Frame_bframe_ibCoordinate system at origin of frame_b fixed at prismatic joint
Modelica.Mechanics.Translational.Interfaces.Flange_aaxis1-dim. translational flange that drives the prismatic joint
Modelica.Mechanics.Translational.Interfaces.Flange_bbearing1-dim. translational flange of the drive bearing of the prismatic joint

Components

TypeNameDefaultDescription
Types.ColorsphereColorModelica.Mechanics.MultiBody.Types.Defaults.JointColorColor of spheres representing the spherical joints
Types.ColoraxisColorModelica.Mechanics.MultiBody.Types.Defaults.SensorColorColor of cylinder on the connecting line from frame_a to frame_b
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
Types.ColorcylinderColorModelica.Mechanics.MultiBody.Types.Defaults.JointColorColor of cylinders representing the two universal joint axes
SI.PositionsRelative distance between frame_a and frame_b along axis nAxis = s + s_offset
SI.Forcef= axis.f (driving force in the axis; = -bearing.f)
SI.LengthaxisLengthDistance between frame_a and frame_b
SI.PowertotalPowerTotal power flowing into this element, if checkTotalPower=true (otherwise dummy)