modelPlatform

Platform of a Stewart Platform
Diagram of Platform

Extends from StewartPlatform.Icons.Platform (Icon for 'Platform' model), Disc (Cylindrical disc used to model the base and the platform).

Parameters

TypeNameDefaultDescription
StewartPlatform.Types.DiscParametersdiscParameters (from Disc)Parameters of the disc
Directiondirection (from Disc)Direction.downCylinder direction from x-y plane along z-axis
BooleanuseGlobalParameterstrue=true, if you want to use the parameters defined in the 'gp' (GlobalParameters) object
StewartPlatform.Types.DiscParametersplatformPlatform parameters
SI.Velocity[3]initPlatformVel{0, 0, 0}Initial platform velocity
SI.Acceleration[3]initPlatformAcc{0, 0, 0}Initial platform acceleration
SI.AngularVelocity[3]initPlatformAngularVel{0, 0, 0}Initial platform angular velocity
SI.AngularAcceleration[3]initPlatformAngularAcc{0, 0, 0}Initial platform angular acceleration
Modelica.Mechanics.MultiBody.Types.RotationSequence_sequence_angleStates{1, 2, 3}Sequence of rotations to rotate world frame into frame_a around the 3 angles used as potential states
Frames.OrientationR_relif useGlobalParameters then Frames.nullRotation() else if rotationType == TY.RotationTypes.RotationAxis then Frames.planarRotation(Modelica.Math.Vectors.normalizeWithAssert(n), from_deg(angle), 0) else if rotationType == TY.RotationTypes.TwoAxesVectors then Frames.from_nxy(n_x, n_y) else Frames.axesRotations(sequence, from_deg(angles), zeros(3))Fixed rotation object from base frame to platform frame
TY.RotationSequenceinitSequenceif useGlobalParameters then gp.initSequence else {1, 2, 3}Sequence of rotations to rotate base frame into platform frame; used to initialize the model
SI.Angle[3]initAnglesif useGlobalParameters then gp.initAngles else Frames.axesRotationsAngles(R_rel, initSequence)Initial values of angles to rotate base frame around 'initSequence' axes into platform frame; used to initialize the model
Initialization
Booleanfix_initPlatformPosfalse=true, if you want to use the platform initial position as initial equation
Booleanfix_initPlatformVelfalse=true, if you want to use the platform initial velocity as initial equation
Booleanfix_initPlatformAccfalse=true, if you want to use the platform initial acceleration as initial equation
Booleanfix_initPlatformOrientationfalse=true, if you want to use the platform initial orientation as initial equation
Booleanfix_initPlatformAngularVelfalse=true, if you want to use the platform initial angular velocity as initial equation
Booleanfix_initPlatformAngularAccfalse=true, if you want to use the platform initial angular acceleration as initial equation
Boolean_enforceStatesfalse= true, if absolute variables of body object shall be used as states (StateSelect.always)
Boolean_useQuaternionsfalse= true, if quaternions shall be used as potential states otherwise use 3 angles as potential states
SI.Position[3]basePos{0, 0, 0}Vector from world frame to base.frame_a resolved in world frame
SI.Position[3]initPlatformPos{0, 0, 1.45}Coordinates of the platform frame resolved in base frame
TY.RotationTypesrotationTypeTY.RotationTypes.RotationAxisType of rotation description
if rotationType = RotationAxis
TY.Axisn{1, 0, 0}Axis of rotation in base frame (= same as in base frame and platform frame)
NonSI.Angle_degangle0Angle to rotate base frame around axis n into platform frame
if rotationType = TwoAxesVectors
TY.Axisn_x{1, 0, 0}Vector along x-axis of platform frame resolved in base frame
TY.Axisn_y{0, 1, 0}Vector along y-axis of platform frame resolved in base frame
if rotationType = PlanarRotationSequence
TY.RotationSequencesequence{1, 2, 3}Sequence of rotations
NonSI.Angle_deg[3]angles{0, 0, 0}Rotation angles around the axes defined in 'sequence'

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_a (from Disc)Frame in the center of the disc
Modelica.Mechanics.MultiBody.Interfaces.Frame_b[6]frame_b (from Disc)Frames where the joints are located

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedRotation1 (from Disc)
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedRotation2 (from Disc)
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedRotation3 (from Disc)
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedRotation4 (from Disc)
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedRotation5 (from Disc)
Modelica.Mechanics.MultiBody.Parts.FixedRotationfixedRotation6 (from Disc)
Modelica.Mechanics.MultiBody.Parts.BodyCylinderbodyCylinder (from Disc)
StewartPlatform.Components.GlobalParametersgp