Fixed angle between two frame Z axes
This block applies a fixed angle between the Z axes of the base and follower port frames. The frames lose one rotational degree of freedom if the constraint angle is greater than 0° and smaller than 180°. They lose two rotational degrees of freedom if the constraint angle is exactly 0° or 180°—that is, if the frames are parallel or anti-parallel. The figure shows the constraint angle between two frames.
This block supports code generation for real-time simulation tasks. Certain blocks and block settings may be more suitable for simulation on a real-time device. For suggestions on how to improve real-time simulation performance, use the Simulink® Performance Advisor (Simulink). Suggestions include ways to reduce model complexity where helpful and to decrease numerical stiffness.
Select Analysis > Performance Tools > Performance
Advisor in the Simulink menu bar to
open the Performance Advisor. Set the Activity parameter
Execute real-time application to view
suggestions specific to real-time simulation performance. Expand the Real-Time node
in the tree view pane to select performance checks specific to Simscape™ products.
Angle constraint type. The default setting is
|Align the base and follower frame +Z axes.|
|Align the base frame +Z axis with the follower frame -Z axis.|
|Make the base and follower frame Z axes perpendicular to each other.|
|Hold the specified angle between the Z axes of the base and follower port frames.|
Constraint angle between the base and follower frame Z axes.
The angle must lie in the range 0 < θ
< 180 deg. For an angle of
set Type to
The default value is
Select whether to compute and output the distance constraint torque vector and its magnitude. The distance constraint torque is the torque the block must apply in order to maintain the angle you specify between the base and follower port frames.
Constraint torques act in pairs. As expressed by Newton's third law of motion, if the base port frame exerts a constraint torque on the follower port frame, then the follower port frame must exert an equal and opposite torque on the base port frame. Select which of the two constraint torques to sense:
Follower on Base —
Sense the constraint torque that the follower port frame exerts on
the base port frame.
Base on Follower —
Sense the constraint torque that the base port frame exerts on the
follower port frame.
The block expresses the constraint torque vector in terms of its Cartesian vector components. The splitting of a vector into vector components is known as vector resolution. The frame whose axes define the vector component directions is known as the resolution frame. Select whether to resolve the constraint torque vector in the base or follower port frame.
Compute and output the Cartesian components of the angle constraint torque vector. The output signal is a three-dimensional vector with components expressed about the X, Y, and Z axes of the resolution frame.
Compute and output the magnitude of the angle constraint torque, including its sign.
The block provides two frame ports:
B — Base frame port
F — Follower frame port
In addition, the block provides two physical signal output ports:
t — Angle constraint torque vector
tm — Signed magnitude of the angle constraint torque