modelWeakSphericalSpring

Spherical joint with torsional stiffness (weak formulation, 3 constraints and no potential states, or 3 degrees-of-freedom and 3 states)

Extends from Modelica.Mechanics.MultiBody.Interfaces.PartialTwoFrames (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected).

Information

Attribution Notice

This model is an extension of the Spherical block in the Mechanics.MultiBody.Joints package of the Modelica Standard Library
Copyright © 1998-2016, Modelica Association and DLR.

Block for modeling a spherical joint with a weak constraint. Most Modelica joints introduce strong constraints, i.e. the position of the two frames must be exactly equal. In reality, such strong constraints can cause binding in systems with multiple joints and cause systems to have kinematic loops. This joint overcomes these problems by using a weak formulation of the joint constraints.

The torsional stiffness of this joint in all three directions is determined by the constant c.

Copyright © 2018
ATA ENGINEERING, INC.
ALL RIGHTS RESERVED

Parameters

TypeNameDefaultDescription
SI.TranslationalSpringConstantc_constraint1.0e6Spring constant
SI.TranslationalSpringConstantcSpring constants {rx,ry,rz}
SI.Anglephi_rel0{0, 0, 0}Unstretched spring angles
Booleananimationfalse= true, if animation shall be enabled (show sphere)
if animation = true
SI.DistancesphereDiameterworld.defaultJointLengthDiameter of sphere representing the spherical joint
Advanced
Types.RotationSequencesequence_angles{1, 2, 3}Sequence of rotations to rotate frame_a into frame_b around the 3 angles used as states

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_a (from PartialTwoFrames)Coordinate system a fixed to the component with one cut-force and cut-torque
Interfaces.Frame_bframe_b (from PartialTwoFrames)Coordinate system b fixed to the component with one cut-force and cut-torque

Components

TypeNameDefaultDescription
Types.ColorsphereColorModelica.Mechanics.MultiBody.Types.Defaults.JointColorColor of sphere representing the spherical joint
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
SI.Position[3]r_rel_0Position vector from frame_a to frame_b resolved in world frame
SI.Angle[3]phiThree angles to rotate frame_a into frame_b
Frames.OrientationR_relRelative orientation object to rotate from frame_a to frame_b