Translational spring with variable spring stiffness
Couplings & Drives/Springs & Dampers
The block represents a translational spring with variable spring stiffness. A physical signal input port provides the variable spring stiffness. The magnitude of the spring force is equal to the product of the physical signal input and the relative linear displacement between the two translational conserving ports. A minimum spring rate prevents non-physical values.
The translational spring force satisfies the following expression:
The parameters are:
F — Force transmitted through the spring between the two translational conserving ports
K — Spring rate (stiffness)
Kmin — Minimum allowed spring rate (stiffness)
x — Relative displacement between the two translational conserving ports according to
xinit — initial spring deformation
xR — Absolute displacement of translational conserving port R
xC — Absolute displacement of translational conserving port C
The block applies equal and opposite spring forces on the two translational conserving ports. The sign of the spring force acting on port R is equal to the sign of the relative linear displacement between the two ports. A positive linear velocity corresponds to a positive spring force acting on port R, and a negative spring force of equal magnitude acting on port C.
Use the Variables tab to set the priority and initial target values for the block variables before simulating. For more information, see Set Priority and Initial Target for Block Variables (Simscape).
Unlike block parameters, variables do not have conditional visibility. The Variables tab lists all the existing block variables. If a variable is not used in the set of equations corresponding to the selected block configuration, the values specified for this variable are ignored.
The value of the variable spring stiffness must be greater than zero.
K
Physical signal input port representing the variable spring stiffness.
C
Translational conserving port.
R
Translational conserving port.
Minimum value allowed for the spring rate. The physical signal input
saturates below the specified value. The parameter must be greater than
zero. The default value is 1
N/m
.