Documentation

Nonlinear Translational Spring

Translational spring based on polynomial or lookup table parameterizations

Library

Couplings & Drives/Springs & Dampers

Description

The block represents a translational spring with nonlinear force-displacement curve. The spring force magnitude is a general function of displacement. It need not satisfy Hooke’s law. Polynomial and lookup-table parameterizations provide two ways to specify the force-displacement relationship. The spring force can be symmetric or asymmetric with respect to zero deformation.

The symmetric polynomial parameterization defines spring force according to the expression

F=k1x+sign(x)k2x2+k3x3+sign(x)k4x4+k5x5,

where:

  • F — Spring force

  • k1, k2, ..., k5 — Spring coefficients

  • x — Relative displacement between ports R and C, x=xinit+xRxC

  • xinit — Initial relative displacement

  • xR — Absolute displacement associated with port R

  • xC — Absolute displacement associated with port C

At simulation start (t=0), xR and xC are zero, making x equal to xinit.

To avoid zero-crossings that slow simulation, eliminate the sign function from the polynomial expression by specifying an odd polynomial (b2,b4 = 0).

The asymmetric polynomial parameterization defines spring force according to the expression:

F={k1tx+k2tx2+k3tx3+k4tx4+k5tx5,x0k1cx+k2cx2+k3cx3+k4cx4+k5cx5,x<0,

where:

  • k1, k2, ..., k5 — Spring tension coefficients

  • k1, k2, ..., k5 — Spring compression coefficients

Both polynomial parameterizations use a fifth-order polynomial expression. To use a lower-order polynomial, set the unneeded higher-order coefficients to zero. To use a higher-order polynomial, fit to a lower-order polynomial or use the lookup table parameterization.

The lookup table parameterization defines damping torque based on a set of torque and angular velocity vectors. If not specified, the block automatically adds a data point at the origin (zero angular velocity and zero torque).

Variables

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.

Ports

C

Rotational conserving port

R

Rotational conserving port

Parameters

Parameterization

Select spring parameterization. Options are By polynomial and By lookup table.

 By polynomial

 By lookup table

Was this topic helpful?