modelBasicCutTorque
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-torque acting between the two frames is determined to which this model is connected. This cut-torque is provided at the output signal connector torque (= frame_a.f). If parameter positiveSign = false, the negative cut-torque is provided (= frame_b.f).
Via parameter resolveInFrame it is defined in which frame the torque 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 torque is resolved in the frame to which frame_resolve is connected.
In the following figure the animation of a CutTorque sensor is shown. The dark blue coordinate system is frame_b, and the green arrow is the cut torque acting at frame_b and with negative sign at frame_a.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Types.ResolveInFrameA | resolveInFrame (from PartialCutForceBaseSensor) | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a | Frame in which output vector is resolved (world, frame_a, or frame_resolve) |
| Boolean | positiveSign | true | = true, if torque with positive sign is returned (= frame_a.t), otherwise with negative sign (= frame_b.t) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | frame_a (from PartialCutForceBaseSensor) | Coordinate system a | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_b | frame_b (from PartialCutForceBaseSensor) | Coordinate system b | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_resolve | frame_resolve (from PartialCutForceBaseSensor) | The output vector is optionally resolved in this frame (cut-force/-torque are set to zero) | |
| Modelica.Blocks.Interfaces.RealOutput[3] | torque | Cut torque resolved in frame defined by resolveInFrame |