SimMechanics | ![]() ![]() |
Measure constraint force/torque between a pair of constrained bodies
Library
Description
The Constraint & Driver Sensor block measures the force/torque of constraint (reaction force/torque) between a pair of bodies. You connect the block to the Constraint or Driver block connected between the two Bodies. The output signal is the reaction force/torque.
The Constraint & Driver Sensor measures the reaction force/torque in the reference coordinate system (CS) specified in the block dialog box. The Constraint or Driver block connects a base and a follower Body. You choose in the dialog box to measure the reaction force/torque on either the base or the follower Body.
The input is the Connector Port connected to the Constraint or Driver block you want to sense. The outport is a set of Simulink signals or one bundled Simulink signal of the reaction force/torque vector(s).
Dialog Box and Parameters
The dialog box has one active area, Measurements.
Measurements
Base
.Absolute (
World)
.Here is a Constraint & Driver Sensor connected to a Gear Constraint, which connects and constraints two Bodies:
You must add an Sensor port (Connector Port) to the Constraint/Driver block to connect the Constraint & Driver Sensor to it. The base (B)-follower (F) Body sequence on the two sides of the Joint determines the sense of the Constraint & Driver Sensor data.
N-m
(Newton-meters).N
(Newtons).See Also
Body Sensor, Driver Actuator, Joint Sensor
See Creating Constraints and Drivers.
In Simulink, see the Signal Routing Library and the Sinks Library.
![]() | Connection Port | Continuous Angle | ![]() |