Rotational Spring

Ideal spring in mechanical rotational systems

Library

Mechanical Rotational Elements

  • Rotational Spring block

Description

The Rotational Spring block represents an ideal mechanical rotational linear spring, described with the following equations:

T=K·φ

φ=φinit+φRφC

ω=dφdt

where

TTorque transmitted through the spring
KSpring rate
φRelative displacement angle (spring deformation)
φinitSpring preliminary winding (spring offset)
φR, φCAbsolute angular displacements of terminals R and C, respectively
ωRelative angular velocity
tTime

The block positive direction is from port R to port C. This means that the torque is positive if it acts in the direction from R to C.

Variables

To set the priority and initial target values for the block variables prior to simulation, use the Variables tab in the block dialog box (or the Variables section in the block Property Inspector). For more information, see Set Priority and Initial Target for Block Variables.

Parameters

Spring rate

Spring rate. The default value is 10 N*m/rad.

Ports

The block has the following ports:

R

Mechanical rotational conserving port.

C

Mechanical rotational conserving port.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2007a