modelBasicCutForce

Basic sensor to measure cut force vector (frame_resolve must be connected)

Extends from Modelica.Mechanics.MultiBody.Sensors.Internal.PartialCutForceBaseSensor (Base class to measure cut force and/or torque between two frames, defined by equations (frame_resolve must be connected exactly once)).

Information

This basic sensor is aimed to be used within advanced sensors where the cut-force acting between the two frames is determined to which this model is connected. This cut-force is 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:

resolveInFrame =
Types.ResolveInFrameA.
Meaning
world Resolve vector in world frame
frame_a Resolve vector in frame_a
frame_resolve Resolve vector in frame_resolve

In this basic sensor model, the connector frame_resolve is always enabled and must be connected. If resolveInFrame = Types.ResolveInFrameA.frame_resolve, the vector force is resolved in the frame to which frame_resolve is connected.

In the following figure the animation of a CutForce sensor is shown. The dark blue coordinate system is frame_b, and the green arrow is the cut force acting at frame_b and with negative sign at frame_a.

Parameters

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Types.ResolveInFrameAresolveInFrame (from PartialCutForceBaseSensor)Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_aFrame in which output vector is resolved (world, frame_a, or frame_resolve)
BooleanpositiveSigntrue= true, if force with positive sign is returned (= frame_a.f), otherwise with negative sign (= frame_b.f)

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_a (from PartialCutForceBaseSensor)Coordinate system a
Modelica.Mechanics.MultiBody.Interfaces.Frame_bframe_b (from PartialCutForceBaseSensor)Coordinate system b
Modelica.Mechanics.MultiBody.Interfaces.Frame_resolveframe_resolve (from PartialCutForceBaseSensor)The output vector is optionally resolved in this frame (cut-force/-torque are set to zero)
Modelica.Blocks.Interfaces.RealOutput[3]forceCut force resolved in frame defined by resolveInFrame