Main Content

Lead Screw Joint

Joint with coupled rotational and translational degrees of freedom

  • Lead Screw Joint block

Libraries:
Simscape / Multibody / Joints

Description

The Lead Screw Joint block represents a joint that has one degree of freedom and models a pair of coupled rotation and translation, as shown in the image.

Illustration of the lead-screw joint primitive

During simulation, the joint constrains the z-axes of the base and follower frames to be aligned. The follower frame origin can translate along the base z-axis while the follower x-axis and y-axis rotate about the base frame z-axis. The translation is proportional to the rotation based on the value of the Lead and Direction parameters.

To specify the target of the initial state for the joint, use the parameters under State Targets. You can specify the targets based on the relative rotation or translation between the joint frames. To specify the joint mode configuration, use the Mode parameter. For more details, see Mode Configuration under the Ports and Parameters sections.

The joint block has ports that output sensing data, such as position, velocity, acceleration, force, and torque, that you can use to perform analytical tasks on a model.

Examples

Ports

Frame

expand all

Base frame of the joint block.

Follower frame of the joint block.

Input

expand all

Mode Configuration

Input port that controls the mode of the joint. The signal must be a unitless scalar. The joint mode is normal when the input signal is 0, disengaged when the input signal is -1, and locked when the input signal is 1. You can change the mode at any time during the simulation.

The table shows how the position and velocity of the joint change during transitions between modes.

TransitionsPositionVelocity
Normal to LockedThe joint position retains the current value and remains constant after the transition.The joint velocity becomes zero and remains constant after the transition.
Normal to DisengagedThe joint position retains the current value but can change in any direction after the transition.The joint velocity retains the current value but can change in any direction after the transition.
Locked to NormalThe joint position retains the current value but can change in the directions aligned with the joint degrees of freedom (DOFs) after the transition.The joint velocity remains at zero but can change in the directions aligned with the joint DOFs after the transition.
Locked to DisengagedThe joint position retains the current value but can change in any direction after the transition.The joint velocity remains at zero but can change in any direction after the transition.
Disengaged to NormalFor the directions aligned with the joint DOFs, the joint positions initially take values calculated by using Newton's method and can change thereafter. In the constrained directions, the joint positions become zero and remain constant after the transition.For the directions aligned with the joint DOFs, the joint velocities initially take values calculated by using Newton's method and can change thereafter. In the constrained directions, the joint velocities become zero and remain constant after the transition.
Disengaged to LockedFor the directions aligned with the joint DOFs, the joint positions initially take values calculated by using Newton's method and remain constant after the transition. In the constrained directions, the joint positions become zero and remain constant after the transition.The joint velocity becomes zero and remains constant after the transition.

Dependencies

To enable this port, under Mode Configuration, set Mode to Provided by Input.

Output

expand all

Rotation

Physical signal port that outputs the rotation angle of the follower frame with respect to the base frame.

Dependencies

To enable this port, under Sensing > Rotation, select Position.

Physical signal port that outputs the first derivative of the joint rotation.

Dependencies

To enable this port, under Sensing > Rotation, select Velocity.

Physical signal port that outputs the second derivative of the joint rotation.

Dependencies

To enable this port, under Sensing > Rotation, select Acceleration.

Translation

Physical signal port that outputs the joint translation of the follower frame with respect to the base frame.

Dependencies

To enable this port, under Sensing > Translation, select Position.

Physical signal port that outputs the first derivative of the joint translation.

Dependencies

To enable this port, under Sensing > Translation, select Velocity.

Physical signal port that outputs the second derivative of the joint translation.

Dependencies

To enable this port, under Sensing > Translation, select Acceleration.

Composite Force/Torque Sensing

Physical signal port that outputs the constraint force that acts in the joint. The force maintains the translational constraints of the joint. For more information, see Measure Joint Constraint Forces.

Dependencies

To enable this port, under Composite Force/Torque Sensing, select Constraint Force.

Physical signal port that outputs the constraint torque that acts in the joint. The torque maintains the rotational constraints of the joint. For more information, see Force and Torque Sensing.

Dependencies

To enable this port, under Composite Force/Torque Sensing, select Constraint Torque.

Physical signal port that outputs the total force that acts in the joint. The total force is the sum of the forces transmitted from one frame to the other through the joint. For more information, see Force and Torque Sensing.

Dependencies

To enable this port, under Composite Force/Torque Sensing, select Total Force.

Physical signal port that outputs the total torque that acts in the joint. The total torque is the sum of the torques transmitted from one frame to the other through the joint. For more information, see Force and Torque Sensing.

Dependencies

To enable this port, under Composite Force/Torque Sensing, select Total Torque.

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Z Lead Screw Primitive (LSz)

Handedness of the lead screw joint, specified as Right-Hand or Left-Hand. A right-handed joint translates a positive rotation into a positive linear movement, whereas a left-handed joint translates in a negative linear movement from a positive rotation.

Lead of the lead screw joint, specified as a scalar with a unit of length/angle. The lead refers to the distance the follower frame moves along the z-axis of the base frame with one complete turn of the follower frame.

State Targets

Select this parameter to enable parameters that specify the position target of the joint primitive.

Priority level of the position target, specified as High (desired) or Low (approximate).

Dependencies

To enable this parameter, under State Targets, select Specify Position Target.

Motion type to use to specify the position target, specified as Translation or Rotation.

Dependencies

To enable this parameter, under State Targets, select Specify Position Target.

Rotational position target, specified as a scalar with a unit of angle.

Dependencies

To enable this parameter, under State Targets > Specify Position Target > Based On, select Rotation.

Translational position target, specified as a scalar with a unit of length.

Dependencies

To enable this parameter, under State Targets > Specify Position Target > Based On, select Translation.

Select this parameter to enable parameters that specify the velocity target of the joint primitive.

Priority level of the velocity target, specified as High (desired) or Low (approximate).

Dependencies

To enable this parameter, under State Targets, select Specify Velocity Target.

Motion type to use to specify the velocity target, specified as Translation or Rotation.

Dependencies

To enable this parameter, under State Targets, select Specify Velocity Target.

Angular velocity target of the joint primitive, specified as a scalar with a unit of angular velocity.

Dependencies

To enable this parameter, under State Targets > Specify Position Target > Based On, select Rotation.

Linear velocity target of the joint primitive, specified as a scalar with a unit of linear velocity.

Dependencies

To enable this parameter, under State Targets > Specify Position Target > Based On, select Translation.

Mode Configuration

Joint mode for the simulation, specified as one of these values:

ModeDescription
LockedLocked mode constrains all the degrees of freedom (DOFs) for the joint. The locked joint maintains its initial assembly position with zero velocity during the simulation. The joint block can sense forces or torques in accordance with the settings of the Internal Mechanics, Limits, and Actuation parameters.
NormalNormal mode enables the DOFs and the constraints of the joint work as intended during the simulation.
DisengagedDisengaged mode releases the joint from all constraints throughout the simulation. The settings for Internal Mechanics, Limits, and Actuation parameters do not affect the disengaged joint. All output ports output zero.
Provided by InputThe Provided by Input option allows you to specify the joint mode by using an input signal. For more information, see the port mode in the Input section.

Composite Force/Torque Sensing

Measurement direction, specified as one of these values:

  • Follower on Base — The block senses the force and torque that the follower frame exerts on the base frame.

  • Base on Follower — The block senses the force and torque that the base frame exerts on the follower frame.

This parameter affects only the output signals under the Composite Force/Torque Sensing section. Reversing the direction changes the sign of the measurements. For more information, see Force and Torque Measurement Direction.

Frame used to resolve the measurements, specified as one of these values:

  • Base — The block resolves the measurements in the coordinates of the base frame.

  • Follower — The block resolves the measurements in the coordinates of the follower frame.

This parameter affects only the output signals under the Composite Force/Torque Sensing section.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2015a