Rotational Detent
Double-sided, spring-loaded rotational detent
Library
Simscape / Driveline / Brakes & Detents / Rotational
Description
The Rotational Detent block represents a double-sided, spring-loaded rotational detent.
The detent rod rotates over the detent case. The case has notches or magnets that create a net relative torque with the rod as the rod rotates. You can parameterize the block by using peak torque and notch width, or by using a table lookup. The block includes viscous damping and kinetic friction between the rod and case. You can set the friction to zero.
As the rod rotates over the case, the relative rotation, ϕ = ϕR – ϕC, induces a torque, τ. Depending on the setting of the Parameterization parameter, the torque is either defined by the peak torque and notch width, or by a table lookup that specifies relative rotation versus torque.
If you specify multiple detents, the detents have the same torque-relative rotation function.
Peak Torque and Notch Width
If you set Parameterization to By peak torque
and notch width, the block ensures that the torque-relative
rotation curve provides a continuous torque and torque derivative over the detent
region. The peak torques are halfway between the detent center and detent edge, as
shown in the figure.

By Table Lookup
If you set Parameterization to By table
lookup, you can create an arbitrary function that relates torque
to the relative rotation. Consider these best practices when creating the function.
To ensure that the detent conserves energy, the total integral of the torque-relative rotation curve, area under the curve, must be zero.
To stabilize simulation of the detent, avoid discontinuities in the torque-relative rotation function.
Assumption and Limitations
The block does not account for inertia. Add inertia terms externally to the R and C ports.
The kinetic friction is independent of the detent normal force.
