Gripper
Event-driven compliant connection between two frames.
Description
Connections
Modes of Operation
Parameters
The equations for the Gripper component are given below.
Reaction Forces:
F = −Ks⋅r−r0 − Kd⋅v
where
F=fx,fy,fz, is the reaction force vector,
r=rb−ra=xb−xa,yb−ya,zb−za, is the relative displacement vector,
r0, is the undeformed distance to frame_b from frame_a expressed along the inboard frame (frame_a), and
v=ddtr,is the relative velocity vector.
Reaction Torques:
Reaction torques are applied only when Use Torque Reactions = true.
M = −Kθ⋅θ−θ0−Kω⋅ω
M =τx,τy,τz,is the reaction torque vector,
θ=θ1,θ2,θ3T, are the Euler angles - defined by the Rotation Sequence [1,2,3] and calculated from the relative rotation matrix of frame_b with respect to frame_a (see Euler Angle Sensor),
θ0, designates the undeformed rotation of frame_b with respect to frame_a, and
ω=ωx,ωy,ωz,is the relative angular velocity vector.
Activation:
The actual reaction forces and torques applied depend on the values of active (Boolean Signal Input, see below), Use Torque Reactions, and In Place (Boolean Parameter, see below). See the section Modes of Operation, below, for details. The reaction forces and torques are turned on and off according to the parameter T__on/off and the value of active. This is controlled internally by an integer variable state described below.
State Value
1
ON state.
The state of the Gripper when active=true at initialization or T__on/off seconds have passed since active became true during simulation. In this state the reaction forces and torques are applied as described above.
2
ON2OFF state.
The state of the Gripper when less than T__on/off seconds have passed since active became false during simulation. In this state the reaction forces and torques are multiplied by an internal variable onoff that decreases linearly from 1 to 0 over T__on/off seconds. Changing the value of active while in this state has no effect.
3
OFF state.
The state of the Gripper when active=false at initialization or T__on/off seconds have passed since active became false during simulation. In this state there are no reaction forces and torques applied.
4
OFF2ON state.
The state of the Gripper when less than T__on/off seconds have passed since active became true during simulation. In this state the reaction forces and torques are multiplied by an internal variable onoff that increases linearly from 0 to 1 over T__on/off seconds. Changing the value of active while in this state has no effect.
Note: If T__on/off ≤1e −12 then the ON2OFF and OFF2ON states are never activated and state will only switch between the ON and OFF states.
Name
Modelica ID
framea
Inboard frame
frame_a
frameb
Outboard frame
frame_b
active
Boolean signal to activate/deactivate the joint
The Gripper has a number of settings that control the conditions under which the reaction forces and torques are applied:
Case
Use Torque Reactions
In Place
The Gripper is activated and deactivated by an input boolean signal and only force reactions (due to translational springs) are applied.
Unlike case #1, the initial translational offset between frame_a and frame_b is used as the undeformed lengths of the translational springs. These undeformed lengths are updated any time the Gripper is not active and is then made active.
The same as case #1 and torque reactions (due to angular springs) are applied. When these options are selected the joint rotational stiffness and damping must be specified.
The same as case #2 and torque reactions (due to angular springs) are applied. When these options are selected the joint rotational stiffness and damping must be specified. The initial rotational offset between frame_a and frame_b is used as the undeformed angles of the angular springs. The undeformed angles are updated any time the Gripper is not active and is then made active.
Symbol
Default
Units
T__on/off
0.1
[s]
Time constant for activation/deactivation
T
Linear Reactions
All
With this enumeration, the directions in which the gripper applies reaction forces is controlled. There are seven choices:
All: Reactions are applied in X, Y, and Z axes (w.r.t. frame_a)
X and Y
Y and Z
Z and X
Only X
Only Y
Only Z
TransDir
K__s
1e6
[N m]
Linear stiffness in all three directions.
cT
K__d
1e3
[N s/m]
Linear damping coefficient in all three directions.
dT
When checked (true) torque reactions are also included.
useMoment
K__θ
1e4
[N m/rad]
Angular stiffness for all three rotations ([1,2,3] Euler angles).
cR
K__ω
1e2
[N m s/rad]
Angular damping coefficient in all three directions.
dR
When checked (true) the joint will use the displacement (translational and rotational) between frame_a and frame_b at the initial or activation time as the spring offsets.
useInPlace
Angular Offsets
Keep Current
Options for how to select angle offsets when using In Place.
Keep current: The relative angles between frame_a and frame_b at the instance of activation are used.
Reset to zero
setAngles
See Also
Forces and Moments
Multibody Overview
Download Help Document