Force proportional to the distance and relative velocity between two frame origins
Forces and Torques
This block represents a linear spring and damper force pair acting reciprocally between base and follower frame origins. The two forces in the pair have equal magnitude but opposite directions. One force acts on the base frame origin, along the vector connecting follower to base frame origins. The other force acts on the follower frame origin, along the vector connecting base to follower frame origins.
The magnitude of the spring force component is proportional to the distance between base and follower frame origins. This distance is the length of the straight line segment connecting the two origins. The magnitude of the damper force component is proportional to the relative velocity of the follower frame origin with respect to the base frame.
This block supports code generation for real-time simulation tasks. Certain blocks and block settings may be more suitable for simulation on a real-time device. For suggestions on how to improve real-time simulation performance, use the Simulink® Performance Advisor (Simulink). Suggestions include ways to reduce model complexity where helpful and to decrease numerical stiffness.
Select Analysis > Performance Tools > Performance
Advisor in the Simulink menu bar to
open the Performance Advisor. Set the Activity parameter
Execute real-time application to view
suggestions specific to real-time simulation performance. Expand the Real-Time node
in the tree view pane to select performance checks specific to Simscape™ products.
Enter the equilibrium distance between the base and follower
frame origins. This is the distance at which the magnitude of the
spring force is zero. The default value is
or enter a physical unit.
Enter the value of the linear spring constant. The value must be greater than or equal to zero. The default value is zero. Select or enter a physical unit.
Enter the value of the linear damping coefficient. The value must be greater than or equal to zero. The default value is zero. Select or enter a physical unit.
Select to sense the signed magnitude of the spring and damper force acting between the two frame origins. The block exposes an additional physical signal port to output the force signal. The output signal is a scalar value. This value is positive if the force is repulsive; it is negative if the force is attractive.
The block contains frame ports B and F, representing base and follower frames, respectively.
Selecting the Sense Force check box in the block dialog box adds a physical signal port, fm.