Body Spring & Damper - Model damped linear oscillator force between two bodies

Library

Force Elements

Description

The Body Spring & Damper block models the force of a damped spring acting between two bodies. By Newton's third law, the spring applies equal and opposite forces to the two bodies. You can use this Force Element block to model any linear (Hooke's law) force with constant coefficients that acts between a pair of bodies.

You connect a Body Spring & Damper between two Body coordinate systems (CSs), each on one body. The vector between the Body CSs defines the direction and length of the spring. One of the Bodies can be a Ground.

Grounding the Connected Submachines

The Body Spring & Damper block contains a Shared Environment block. The submachines connected to either side of this block constitute a single composite machine that requires exactly one Machine Environment block, but at least one Ground for each submachine.

Referencing Coordinate Systems on the Connected Bodies

The Body Spring & Damper block is not a Joint and cannot propagate adjoining coordinate systems from a Body on one side to a Body on the other side.

One Body is connected to one side of the Body Spring & Damper at one of that Body's CSs. If you attempt to define that CS in terms of the adjoining CS (the connected CS of the other Body connected to the other side), the first Body cannot detect the connected CS of the second body. If you need to define adjoining CSs on either side of a Body Spring & Damper, add a Joint block in parallel with the spring-damper.

Adding Joints in Parallel to the Body Spring & Damper

To represent the DoFs of one body with respect to the other, either

Body Spring and Damper Force Law

You connect this block to each Body, A or B, at a Body coordinate system (CS). If rA and rB are the positions of these Body CSs, the relative position vector connecting them is r = rB - rA. The distance of separation is |r|. The relative velocity is v = dr/dt. Then the vector force that body A exerts on body B is

The first term represents the spring or linear displacement force. The second represents the damper or velocity dissipation force, which acts only along the direction of r. Thus the damper is equivalent to a dashpot, not a viscous medium.

You specify

Body Spring and Damper Force in Singular Cases

Singular cases include the following:

Dialog Box and Parameters

The dialog has two active areas, Parameters and Units.

 Tunable Parameters

Parameters

Spring constant (k)

Enter the linear spring force constant k. The default is 0.

The units for k are derived implicitly from your choice of position and force units.

Damper constant (b)

Enter the linear damping force constant b. The default is 0.

The units for b are derived implicitly from your choice of velocity and force units.

Spring natural length (r0)

Enter the spring's natural length (offset) r0. The default is 0.

Units

Position

In the pull-down menu, choose units for the relative position vector r. The default is m (meters).

Velocity

In the pull-down menu, choose units for the relative velocity vector v. The default is m/s (meters/second).

Force

In the pull-down menu, choose units for the spring-damper force F acting between the bodies. The default is N (newtons).

Example

This is a simple but representative use of the Body Spring & Damper.

See Also

Body, Body Actuator, Body Sensor, Custom Joint, Ground, Joint Spring & Damper, Machine Environment, Prismatic, Shared Environment

See Adding Internal Forces in the Modeling Mechanical Systems chapter.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS