modelPrismatic

Prismatic joint (1 translational degree-of-freedom, 2 potential states, optional axis flange)

Extends from Modelica.Mechanics.MultiBody.Interfaces.PartialElementaryJoint (Base model for elementary joints (has two frames + outer world + assert to guarantee that the joint is connected)).

Information

Joint where frame_b is translated along axis n which is fixed in frame_a. The two frames coincide when the relative distance "s = 0".

Optionally, two additional 1-dimensional mechanical flanges (flange "axis" represents the driving flange and flange "support" represents the bearing) can be enabled via parameter useAxisFlange. The enabled axis flange can be driven with elements of the Modelica.Mechanics.Translational library.

In the "Advanced" menu it can be defined via parameter stateSelect that the relative distance "s" and its derivative shall be definitely used as states by setting stateSelect=StateSelect.always. Default is StateSelect.prefer to use the relative distance and its derivative as preferred states. The states are usually selected automatically. In certain situations, especially when closed kinematic loops are present, it might be slightly more efficient, when using the StateSelect.always setting.

In the following figure the animation of a prismatic joint is shown. The light blue coordinate system is frame_a and the dark blue coordinate system is frame_b of the joint. The black arrow is parameter vector "n" defining the translation axis (here: n = {1,1,0}).

Parameters

TypeNameDefaultDescription
BooleanuseAxisFlangefalse= true, if axis flange is enabled
Booleananimationtrue= true, if animation shall be enabled
Modelica.Mechanics.MultiBody.Types.Axisn{1, 0, 0}Axis of translation resolved in frame_a (= same as in frame_b)
Real[3]eModelica.Math.Vectors.normalizeWithAssert(n)Unit vector in direction of prismatic axis n
Animation › if animation = true
Types.AxisboxWidthDirection{0, 1, 0}Vector in width direction of box, resolved in frame_a
SI.DistanceboxWidthworld.defaultJointWidthWidth of prismatic joint box
SI.DistanceboxHeightboxWidthHeight of prismatic joint box
Advanced
StateSelectstateSelectStateSelect.preferPriority to use distance s and v=der(s) as states

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_a (from PartialElementaryJoint)Coordinate system fixed to the joint with one cut-force and cut-torque
Interfaces.Frame_bframe_b (from PartialElementaryJoint)Coordinate system fixed to the joint with one cut-force and cut-torque
Modelica.Mechanics.Translational.Interfaces.Flange_aaxis1-dim. translational flange that drives the joint
Modelica.Mechanics.Translational.Interfaces.Flange_bsupport1-dim. translational flange of the drive support (assumed to be fixed in the world frame, NOT in the joint)

Components

TypeNameDefaultDescription
Types.ColorboxColorModelica.Mechanics.MultiBody.Types.Defaults.JointColorColor of prismatic joint box
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
SI.PositionsRelative distance between frame_a and frame_b
SI.VelocityvFirst derivative of s (relative velocity)
SI.AccelerationaSecond derivative of s (relative acceleration)
SI.ForcefActuation force in direction of joint axis