STOP

Mechanical Stop

Mechanics
Run the live example Free · no sign-up · runs in your browser

Acausal translational mechanical end-stop and backlash element (MechanicalStop) between flange_a and flange_b. Inside [minGap, maxGap] the flanges move freely (F=0F = 0); outside those bounds a stiff elastic contact force F=k(Δx−xbound)F = k(\Delta x - x_{\text{bound}}) opposes further travel.

Mathematical Model

Let Δx=xA−xB\Delta x = x_A - x_B with d(Δx)dt=vA−vB\frac{d(\Delta x)}{dt} = v_A - v_B:

F(Δx)={k (Δx−xmax⁡)Δx>xmax⁡0xmin⁡≤Δx≤xmax⁡k (Δx−xmin⁡)Δx<xmin⁡F(\Delta x) = \begin{cases} k\,(\Delta x - x_{\max}) & \Delta x > x_{\max} \\ 0 & x_{\min} \le \Delta x \le x_{\max} \\ k\,(\Delta x - x_{\min}) & \Delta x < x_{\min} \end{cases}

Inputs & Outputs

Direction ID Label Type Status
→ In flange_a A number Required
→ In flange_b B number Required
← Out force Force number Output

Parameters

Parameters Label Type Default Description
minGap Min Gap (Lower Stop) number -0.1 Lower relative displacement limit [m]
maxGap Max Gap (Upper Stop) number 0.1 Upper relative displacement limit [m]
stiffness Contact Stiffness number 100000 Elastic contact stiffness outside [minGap, maxGap]
initialGap Initial Displacement number 0 Initial relative displacement dx = x_A - x_B [m]

Usage Examples

Example 1: Mass Hitting Hard End-Stop

Drive a Mass and TranslationalDamper with a 100 N ForceSource into a MechanicalStop (maxGap = 0.1 m) to observe free travel followed by equilibrium contact at 100 N100\text{ N}.

Example 2: Symmetric Backlash Deadband

Place MechanicalStop between two Mass blocks with minGap = -0.01 m, maxGap = 0.01 m to model mechanical play.

Remarks & Best Practices

  • Contact Damping: Pair with a parallel TranslationalDamper when modeling inelastic impacts.
  • Step Size: Very high stiffness values reduce the natural contact period; use trbdf2 or a smaller sampleTime for stiff impacts.

Related Components