WOLFRAM SYSTEM MODELER

CutForce

Measure cut force vector

Diagram

Wolfram Language

In[1]:=
SystemModel["PlanarMechanics.Sensors.CutForce"]
Out[1]:=

Information

The cut-force acting between the two frames to which this model is connected, is determined and provided at the output signal connector force (= frame_a.f). If parameter positiveSign = false, the negative cut-force is provided (= frame_b.f).

Via parameter resolveInFrame it is defined, in which frame the force vector is resolved.

Options of parameter resolveInFrame
resolveInFrame = … Output vector resolved in
Types.ResolveInFrameAB.world world frame
Types.ResolveInFrameAB.frame_a frame_a
Types.ResolveInFrameAB.frame_b frame_b
Types.ResolveInFrameAB.frame_resolve frame_resolve (must be connected)

If resolveInFrame = Types.ResolveInFrameAB.frame_resolve, the conditional connector frame_resolve is enabled and output force is resolved in the frame, to which frame_resolve is connected. Note, if this connector is enabled, it must be connected.

In the following figure the modeling and animation of this sensor is shown.

Modelica diagram
CutForce animation

Parameters (3)

resolveInFrame

Value: Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a

Type: ResolveInFrameA

Description: Frame in which output vector(s) is/are resolved (1: world, 2: frame_a, 3: frame_resolve)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled (show arrow)

positiveSign

Value: true

Type: Boolean

Description: = true, if force with positive sign is returned (= frame_a.f), otherwise with negative sign (= frame_b.f)

Inputs (4)

N_to_m

Default Value: planarWorld.defaultN_to_m

Type: Real (N/m)

Description: Force arrow scaling (length = force/N_to_m)

forceDiameter

Default Value: planarWorld.defaultArrowDiameter

Type: Diameter (m)

Description: Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)

forceColor

Default Value: Modelica.Mechanics.MultiBody.Types.Defaults.ForceColor

Type: Color

Description: Color of force arrow

specularCoefficient

Default Value: planarWorld.defaultSpecularCoefficient

Type: SpecularCoefficient

Description: Reflection of ambient light (= 0: light is completely absorbed)

Connectors (4)

frame_a

Type: Frame_a

Description: Coordinate system a

frame_b

Type: Frame_b

Description: Coordinate system b

frame_resolve

Type: Frame_resolve

Description: Output vectors are optionally resolved in this frame (cut-force/-torque are set to zero)

force

Type: RealOutput[2]

Description: Cut force resolved in frame defined by resolveInFrame

Components (4)

planarWorld

Type: PlanarWorld

Description: Planar world coordinate system + gravity field + default animation definition

arrowForce

Type: Vector

Description: Visualizing a vector quantity (force, torque, etc.)

cutForce

Type: BasicCutForce

Description: Measure cut force vector (frame_resolve must be connected)

zeroPosition

Type: ZeroPosition

Description: Set zero position vector and orientation object of frame_resolve

Used in Examples (1)

PendulumExcited

PlanarMechanics.Examples

A swinging pendulum excited by a world force

Revisions

DLR logo Developed 2010 at the DLR Institute of System Dynamics and Control