Spherical Joint
Joint allows 3-D rotations
Libraries:
Simscape /
Multibody /
Joints
Description
The Spherical Joint block provides three rotational degrees of freedom between two frames. The follower frame can have an arbitrary 3-D rotation with respect to the base frame. During a simulation, the origins of the base and follower frames remain coincident, as shown in the image.
Unlike a gimbal joint, the Spherical Joint does not have kinematic singularity.
To specify the target of the initial state for a joint primitive, use the parameters under State Targets. The targets are specified in the base frame. You can also set the priority levels for the targets. If the joint is not able to satisfy all the state targets, the priority level determines which targets to satisfy first and how closely to satisfy them. For an example, see the Guiding Assembly section of How Multibody Assembly Works.
To model damping and the spring behavior for a joint primitive, use the parameters under Internal Mechanics. Use the Damping Coefficient parameter to model energy dissipation and the Spring Stiffness parameter to model energy storage. Joint springs attempt to displace the joint primitive from its equilibrium position, and joint dampers act as energy dissipation elements. The springs and dampers are strictly linear.
To specify the limits of a joint primitive, use the parameters under Limits. The lower and upper bounds define the width of the free region. The block applies a force to accelerate the joint position back to the free region when the position exceeds the bounds. The block uses a smoothed spring-damper method to compute the force. For more information about the smoothed spring-damper method, see the Description section of the Spatial Contact Force block.
The Force, Torque, and Motion parameters in the Actuation section control the motion of the joint primitives during simulation. For more information, see Specifying Joint Actuation Inputs. Additionally, 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. For more information, see Sensing and Force and Torque Sensing.
To specify the joint mode configuration, use the Mode parameter. For more details, see Mode Configuration under the Ports and Parameters sections.
Examples
Double Wishbone Suspension
Illustrates a double wishbone front wheel automotive suspension. The suspension is mounted on two platforms that can independently move up and down to simulate a road profile on each wheel. For a given pair of road profiles, the resultant roll and bounce of the chassis can be studied and the suspension parameters tuned for optimal performance. The inputs to the two platforms are the road profile and its derivative. The platforms have a PD controller that controls the vertical position of the platform to mimic the input road profile. See "Road Profiles Generator" block dialog for details on the test road profiles.
Ports
Frame
B — Base frame
frame
Base frame of the joint block.
F — Follower frame
frame
Follower frame of the joint block.
Input
tx — Actuation torque about x-axis of resolution frame
physical signal
Physical signal input port that accepts the actuation torque for the spherical primitive. The signal has a scalar format that represents the torque about the x-axis of the resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Actuation, set Torque to Provided by Input
and select Torque (X).
ty — Actuation torque about y-axis of resolution frame
physical signal
Physical signal input port that accepts the actuation torque for the spherical primitive. The signal has a scalar format that represents the torque about the y-axis of the resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Actuation, set Torque to Provided by Input
and select Torque (Y).
tz — Actuation torque about z-axis of resolution frame
physical signal
Physical signal input port that accepts the actuation torque for the spherical primitive. The signal has a scalar format that represents the torque about the z-axis of the resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Actuation, set Torque to Provided by Input
and select Torque (Z).
t — Actuation torque vector
physical signal
Physical signal input port that accepts the actuation torque for the spherical primitive. The vector represents the actuation torque to apply between the base and follower frame as expressed in resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Actuation, set Motion to Provided by Input
and select Torque (XYZ).
mode — Joint mode control
physical signal
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.
Transitions | Position | Velocity |
---|---|---|
Normal to Locked | The 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 Disengaged | The 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 Normal | The 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 Disengaged | The 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 Normal | For 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 Locked | For 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
Q — Relative orientation in quaternion parameterization
physical signal
Orientation of the follower frame with respect to the base frame, returned as a unit quaternion. See Quaternion Measurements for more information.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Position.
wx — x
-coordinate of relative angular
velocity
physical signal
x-coordinate of the relative angular velocity, returned as a scalar. The value is resolved in the resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Velocity (X).
wy — y
-coordinate of relative angular velocity
physical signal
y-coordinate of the relative angular velocity, returned as a scalar. The value is resolved in the resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Velocity (Y).
wz — z
-coordinate of relative angular velocity
physical signal
z-coordinate of the relative angular velocity, returned as a scalar. The value is resolved in the resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Velocity (Z).
w — Angular velocity vector
physical signal
Relative angular velocity, returned as a 3-D vector resolved in the resolution frame.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Velocity.
bx — x
-coordinate of relative angular
acceleration
physical signal
x-coordinate of the relative angular acceleration, returned as a scalar. This quantity equals the time derivative of the signal exported from the port wx.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Acceleration (X).
by — y
-coordinate of relative angular acceleration
physical signal
y-coordinate of the relative angular acceleration, returned as a scalar. This quantity equals the time derivative of the signal exported from the port wy.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Acceleration (Y).
bz — z
-coordinate of relative angular acceleration
physical signal
z-coordinate of the relative angular acceleration, returned as a scalar. This quantity equals the time derivative of the signal exported from the port wz.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Acceleration (Z).
b — Angular acceleration vector
physical signal
Relative angular acceleration, returned as a 3-D vector resolved in the resolution frame. This quantity equals the time derivative of the signal exported from the port w.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Acceleration.
tll — Lower-limit torque magnitude
physical signal
Physical signal port that outputs the magnitude of the lower-limit torque. The block applies the lower-limit torque when the angle between the z-axes of the two frames is less than the bound of the lower limit. The torque applies to both the base and follower frames of the spherical primitive to accelerate the relative position back to the free region.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Signed Lower-Limit Torque Magnitude.
tul — Upper-limit torque magnitude
physical signal
Physical signal port that outputs the magnitude of the upper-limit torque. The block applies the upper-limit torque when the angle between the z-axes of the two frames exceeds the upper bound. The torque applies to both the base and follower frames of the spherical primitive to accelerate the relative position back to the free region.
Dependencies
To enable this port, under Spherical Primitive (S) > Sensing, select Upper-Limit Torque.
fc — Constraint force
physical signal
Physical signal port that outputs the constraint forces that act across 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.
tc — Constraint torque
physical signal
Physical signal port that outputs the constraint torques that act across 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.
ft — Total force
physical signal
Physical signal port that outputs the total force that acts across the joint. The total force is the sum of the forces transmitted from one frame to the other through the joint. The force includes the actuation, internal, limit, and constraint forces. See Force and Torque Sensing for more information.
Dependencies
To enable this port, under Composite Force/Torque Sensing, select Total Force.
tt — Total torque
physical signal
Physical signal port that outputs the total torque that acts across the joint. The total torque is the sum of the torques transmitted from one frame to the other through the joint. The torque includes the actuation, internal, limit, and constraint torques. For more information, see Force and Torque Sensing.
Dependencies
To enable this port, under Composite Force/Torque Sensing, select Total Torque.
Parameters
Spherical Primitive (S)
State TargetsSpecify Position Target — Whether to specify relative orientation target
off
(default) | on
Select this parameter to specify the target of the relative orientation between the base and follower frames.
Priority — Priority level of relative orientation target
High (desired)
(default) | Low (approximate)
Priority level of the relative orientation target, specified as High (desired)
or Low (approximate)
. See Guiding Assembly for more information.
Dependencies
To enable this parameter, select Specify Position Target.
Value > Method — Method to specify relative orientation target
None
(default) | Aligned Axes
| Standard Axis
| Arbitrary Axis
| Rotation Sequence
| Rotation Matrix
| Quaternion
Method to use to specify the relative orientation target between the base and follower frames.
When specifying the parameter to None
, the follower
and base frames have the same orientation at the beginning of the
simulation.
Dependencies
To enable this parameter, select Specify Position Target.
Pair 1: Follower — Follower frame axis used to align with specified base frame axis
+X
(default) | -X
| +Y
| -Y
| +Z
| -Z
Follower frame axis used to align with the base frame axis set by the Pair 1: Base parameter, specified as an orthogonal axis of the follower frame. The follower frame rotates with respect to the base frame to enable the alignment between the selected axes of the base and follower frames.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Aligned Axis
.
Pair 1: Base — Base frame axis
+Y
(default) | +X
| -X
| -Y
| +Z
| -Z
Base frame axis to align with the follower frame specified by the Pair 1: Follower, specified as an orthogonal axis of the base frame.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Aligned Axis
.
Pair 2: Follower — Follower frame axis used to align with specified base frame axis
+Y
| +X
| -X
| -Y
| +Z
| -Z
Base frame axis to align with the follower frame specified by the Pair 2: Follower, specified as an orthogonal axis of the follower frame. The follower frame rotates with respect to the base frame to enable the alignment between the selected axes of the base and follower frames.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Aligned Axis
.
Pair2: Base — Base frame axis
+Z
(default) | +X
| -X
| +Y
| -Y
| -Z
Base frame axis used to let the follower frame axis set in the Pair2: Follower parameter to align with, specified as an orthogonal axis of the base frame. The axis choices for Pair 2 depend on the Pair 1 axis selections.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Aligned Axis
.
Axis — Standard axis of relative rotation
+Z
(default) | +X
| -X
| +Y
| -Y
| -Z
Axis of the relative rotation, specified as an orthogonal axis of the base frame.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Standard Axis
.
Angle — Angle of relative rotation
0.0 deg
(default) | scalar
Angle of the relative rotation, specified as a scalar. The angle indicates the rotation of the follower frame with respect to the base frame about the specified axis.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Standard Axis
.
Axis — Axis of relative rotation
[0 0 1] (default) | 3-by1 vector
Axis of the relative rotation, specified as a 3-by-1 unit vector. The vector is dimensionless and indicates the rotational axis resolved in the base frame.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Arbitrary Axis
.
Angle — Angle of relative rotation
0.0 deg
(default) | scalar
Angle of the relative rotation, specified as a scalar. The angle indicates the rotation of the follower frame with respect to the base frame about the axis specified by the Axis parameter.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Arbitrary Axis
.
Rotation About — Frame whose axes to rotate follower frame about
Follower Axes
(default) | Base Axes
Frame whose axes to rotate the follower frame about, specified as Follower Axes
or Base Axes
. If you set the parameter to Follower Axes
, the follower frame rotates about its own axes, and the follower frame changes the orientation with each successive rotation. If you set the parameter to Base Axes
, the follower frame rotates about the fixed base frame axes. See Rotational Measurements for more information.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Rotation Sequence
.
Sequence — Sequence of rotation axis
X-Y-X
(default) | X-Y-Z
| X-Z-X
| X-Z-Y
| Y-X-Y
| Y-X-Z
| Y-Z-X
| Y-Z-Y
| Z-X-Y
| Z-X-Z
| Z-Y-X
| Z-Y-Z
Sequence of the rotation axis for three successive elementary rotations. See Rotation Sequence Measurements for more information.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Rotation Sequence
.
Angles — Angles for rotation sequence parameterization
[0 0 0] deg
(default) | 1-by-3 vector
Angles for the rotation sequence parameterization, specified as a 1-by-3 vector. See Rotation Sequence Measurements for more information.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to
Rotation Sequence
.
Rotation Matrix — Relative rotation using rotation matrix
[1 0 0; 0 1 0; 0 0 1] (default) | 3-by-3 matrix
Relative rotation, specified as a 3-by-3 matrix that maps vectors from the follower frame to the base frame. The matrix must be orthogonal and have determinant 1. See Rotational Measurements for more information.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Rotation Matrix
.
Quaternion — Relative rotation using quaternion
[1 0 0 0] (default) | unit quaternion vector
Relative rotation, specified as a unit quaternion vector. See Rotational Measurements for more information about the quaternion.
Dependencies
To enable this parameter, under Specify Position Target > Value, set Method parameter to Quaternion
.
Specify Velocity Target — Whether to specify angular velocity target
off
(default) | on
Select this parameter to specify the angular velocity target for the spherical primitive.
Priority — Priority level of angular velocity target
High (desired)
(default) | Low (approximate)
Priority level of the angular velocity target, specified as High
(desired)
or Low (approximate)
. See
Guiding Assembly for more information.
Dependencies
To enable this parameter, select Specify Velocity Target.
Value — Angular velocity target of spherical primitive
[0 0 0] deg/s
(default) | 1-by-3 vector
Angular velocity target for the spherical primitive, specified as a 1-by-3 vector resoved in resolution frame.
Dependencies
To enable this parameter, select Specify Velocity Target.
Resolution Frame — Frame used to resolve specified angular velocity target
Base
(default) | Follower
Frame used to resolve the specified angular velocity target, specified as one of these:
Base
— The joint block resolves the angular velocity target in the coordinates of the base frame.Follower
— The joint block resolves the angular velocity target in the coordinates of the follower frame.
Equilibrium Position > Method — Method to specify equilibrium frame
None
(default) | Aligned Axes
| Standard Axis
| Arbitrary Axis
| Rotation Sequence
| Rotation Matrix
| Quaternion
Method to use to specify the equilibrium frame with respect to the base frame. The equilibrium frame is fixed during the simulation. If the z-axes of the follower and equilibrium frames are aligned, the spring torque of the spherical primitive is zero.
Set the Equilibrium Position > Method parameter to None
to let the equilibrium and base frames be coincident.
Pair 1: Follower — Equilibrium frame axis used to align with specified base frame axis
+X
(default) | -X
| +Y
| -Y
| +Z
| -Z
Equilibrium frame axis used to align with the base frame axis set by the Pair 1: Base parameter, specified as an orthogonal axis of the equilibrium frame. The equilibrium frame rotates with respect to the base frame to enable the alignment between the selected axes of the base and equilibrium frames.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Aligned Axis
.
Pair 1: Base — Base frame axis
+Y
(default) | +X
| -X
| -Y
| +Z
| -Z
Base frame axis to align with the equilibrium frame specified by the Pair 1: Follower, specified as an orthogonal axis of the base frame.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Aligned Axis
.
Pair 2: Follower — Equilibrium frame axis used to align with specified base frame axis
+Y
| +X
| -X
| -Y
| +Z
| -Z
Base frame axis to align with the equilibrium frame specified by the Pair 2: Follower, specified as an orthogonal axis of the equilibrium frame. The equilibrium frame rotates with respect to the base frame to enable the alignment between the selected axes of the base and equilibrium frames.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Aligned Axis
.
Pair2: Base — Base frame axis
+Z
(default) | +X
| -X
| +Y
| -Y
| -Z
Base frame axis used to let the equilibrium frame axis set in the Pair2: Follower parameter to align with, specified as an orthogonal axis of the base frame. The axis choices for Pair 2 depend on the Pair 1 axis selections.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Aligned Axis
.
Axis — Standard axis of relative rotation
+Z
(default) | +X
| -X
| +Y
| -Y
| -Z
Axis of the relative rotation, specified as an orthogonal axis of the base frame.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Standard Axis
.
Angle — Angle of relative rotation
0.0 deg
(default) | scalar
Angle of the relative rotation, specified as a scalar. The angle indicates the rotation of the equilibrium frame with respect to the base frame about the specified axis.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Standard Axis
.
Axis — Axis of relative rotation
[0 0 1] (default) | 3-by1 vector
Axis of the relative rotation, specified as a 3-by-1 unit vector. The vector is dimensionless and indicates the rotational axis resolved in the base frame.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Arbitrary Axis
.
Angle — Angle of relative rotation
0.0 deg
(default) | scalar
Angle of the relative rotation, specified as a scalar. The angle indicates the rotation of the equilibrium frame with respect to the base frame about the axis specified by the Axis parameter.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Arbitrary Axis
.
Rotation About — Frame whose axes to rotate equilibrium frame about
Follower Axes
(default) | Base Axes
Frame whose axes to rotate the equilibrium frame about, specified as Follower Axes
or Base Axes
. If you set the parameter to Follower Axes
, the equilibrium frame rotates about its own axes, and the equilibrium frame changes the orientation with each successive rotation. If you set the parameter to Base Axes
, the equilibrium frame rotates about the fixed base frame axes. See Rotational Measurements for more information.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Rotation Sequence
.
Sequence — Sequence of rotation axis
X-Y-X
(default) | X-Y-Z
| X-Z-X
| X-Z-Y
| Y-X-Y
| Y-X-Z
| Y-Z-X
| Y-Z-Y
| Z-X-Y
| Z-X-Z
| Z-Y-X
| Z-Y-Z
Sequence of the rotation axis for three successive elementary rotations. See Rotation Sequence Measurements for more information.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Rotation Sequence
.
Angles — Angles for elementary rotations
[0 0 0] deg
(default) | 1-by-3 vector
Angles for elementary rotations, specified as a 1-by-3 vector. See Rotation Sequence Measurements for more information.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Rotation Sequence
.
Matrix — Relative rotation using rotation matrix
[1 0 0; 0 1 0; 0 0 1] (default) | 3-by-3 matrix
Relative rotation, specified as a 3-by-3 matrix. The matrix must be orthogonal and have determinant 1. See Rotational Measurements for more information.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Rotation Matrix
.
Quaternion — Relative rotation using quaternion
[1 0 0 0] (default) | unit quaternion vector
Relative rotation, specified as a unit quaternion vector. See Rotational Measurements for more information about the quaternion.
Dependencies
To enable this parameter, under Equilibrium Position, set Method parameter to Quaternion
.
Spring Stiffness — Stiffness of force law
0 N*m/deg
(default) | scalar
Stiffness of the internal spring-damper force law for the spherical primitive, specified as a scalar with a unit of rotational stiffness.
The spring attempts to pull the follower frame so that the follower frame is aligned with the specified equilibrium fame.
Damping Coefficient — Damping coefficient of force law
0 N*m/(deg/s)
(default) | scalar
Damping coefficient of the internal spring-damper force law for the spherical primitive, specified as a scalar with a unit of rotational damping coefficient.
Specify Lower Limit — Whether to specify lower position limit
off
(default) | on
Select this parameter to specify the lower limit of the spherical primitive. Joint limits use spring-dampers to resist travel past the bounds of the range.
Bound — Lower bound of free region
15 deg
(default) | scalar
Lower bound for the free region of the spherical primitive, specified as a scalar with a unit of angle.
Dependencies
To enable this parameter, select Specify Lower Limit.
Spring Stiffness — Stiffness of spring at lower bound
1e4 N*m/deg
(default) | scalar
Stiffness of the spring at lower bound, specified as a scalar with a unit of rotational stiffness.
Dependencies
To enable this parameter, select Specify Lower Limit.
Damping Coefficient — Damping coefficient at lower bound
10 N*m/(deg/s)
(default) | scalar
Damping coefficient at lower bound, specified as a scalar with a unit of rotational damping coefficient.
Dependencies
To enable this parameter, select Specify Lower Limit.
Transition Region Width — Region to smooth spring and damper torque
0.1 deg
(default) | scalar
Region to smooth the spring and damper torques, specified as a scalar with a unit of angle.
The block applies the full value of the lower-limit torque when the penetration reaches the width of the transition region. The smaller the region, the sharper the onset of torques and the smaller the time-step required of the solver. In the trade-off between simulation accuracy and simulation speed, reducing the transition region improves accuracy while expanding it improves speed.
Dependencies
To enable this parameter, select Specify Lower Limit.
Specify Upper Limit — Whether to specify upper position limit
off
(default) | on
Select this parameter to specify the upper limit of the spherical primitive. Joint limits use spring-dampers to resist travel past the bounds of the range.
Bound — Upper bound of free region
45 deg
(default) | scalar
Upper bound for the free region of the spherical primitive, specified as a scalar with a unit of angle.
Dependencies
To enable this parameter, select Specify Upper Limit.
Spring Stiffness — Stiffness of spring at upper bound
1e4 N*m/deg
(default) | scalar
Stiffness of the spring at upper bound, specified as a scalar with a unit of stiffness.
Dependencies
To enable this parameter, select Specify Upper Limit.
Damping Coefficient — Damping coefficient at upper bound
10 N*m/(deg/s)
(default) | scalar
Damping coefficient at upper bound, specified as a scalar with a unit of damping coefficient.
Dependencies
To enable this parameter, select Specify Upper Limit.
Transition Region Width — Region to smooth spring and damper torques
0.1 deg
(default) | scalar
Region to smooth the spring and damper torques, specified as a scalar with a unit of angle.
The block applies the full value of the upper-limit torque when the penetration reaches the width of the transition region. The smaller the region, the sharper the onset of torques and the smaller the time-step required of the solver. In the trade-off between simulation accuracy and simulation speed, reducing the transition region improves accuracy while expanding it improves speed.
Dependencies
To enable this parameter, select Specify Upper Limit.
Torque — Option to provide actuation torque
None
(default) | Provided by Input
Option to provide the actuation torque for the spherical primitive, specified as one of these values.
Actuation Torque Setting | Description |
---|---|
None | Apply no actuation torque. |
Provided by Input | Apply actuation torques based on physical signals. The signal specifies the torque acting on the follower frame with respect to the base frame. The signal provides the value of the torque applied equally and oppositely to the base and follower frames. Selecting this option exposes additional parameters that you can use to enable input ports See the Input section for details. |
Resolution Frame — Frame used to resolve actuation torque
Base
(default) | Follower
Frame used to resolve the input actuation torques, specified as Base
or Follower
.
Resolution Frame — Frame used to resolve sensing outputs
Base
(default) | Follower
Frame used to resolve the sensing output signals, specified as
Base
or Follower
. For
more information about the output signals, see the Output
section.
Mode Configuration
Mode — Joint mode
Normal
(default) | Locked
| Disengaged
| Provided by Input
Joint mode for the simulation, specified as one of these values:
Mode | Description |
---|---|
Locked | Locked 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. |
Normal | Normal mode enables the DOFs and the constraints of the joint work as intended during the simulation. |
Disengaged | Disengaged 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 Input | The 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
Direction — Measurement direction
Follower on Base
(default) | Base on Follower
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.
Resolution Frame — Frame used to resolve measurements
Base
(default) | Follower
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 R2012a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)