⊏⊐

Dead Zone

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

Implements a piecewise linear dead zone (deadband) nonlinearity. The output remains strictly zero while the input signal stays within the configurable interval [ulower,uupper][u_{\text{lower}}, u_{\text{upper}}]. Once the input leaves this region, the output follows the input linearly, offset by the boundary value to preserve mathematical continuity. Essential for modeling mechanical backlash, actuator stiction, deadband valve dynamics, and eliminating small-signal chatter in feedback controllers.

Mathematical Model

The continuous piecewise transfer characteristic is defined as:

y(t)={u(t)−uupper,if u(t)>uupper0,if ulower≤u(t)≤uupperu(t)−ulower,if u(t)<ulowery(t) = \begin{cases} u(t) - u_{\text{upper}}, & \text{if } u(t) > u_{\text{upper}} \\ 0, & \text{if } u_{\text{lower}} \le u(t) \le u_{\text{upper}} \\ u(t) - u_{\text{lower}}, & \text{if } u(t) < u_{\text{lower}} \end{cases}

where uloweru_{\text{lower}} denotes lowerLimit and uupperu_{\text{upper}} denotes upperLimit.

Because the respective boundary threshold is subtracted from the input outside the deadband, the function is C0C^0-continuous across the switching points:

lim⁡u→uupper+y(u)=lim⁡u→uupper−y(u)=0\lim_{u \to u_{\text{upper}}^+} y(u) = \lim_{u \to u_{\text{upper}}^-} y(u) = 0

Inputs & Outputs

Direction ID Label Type Status
→ In in Input number Required
← Out out Output number Output

Parameters

Parameters Label Type Default Description
lowerLimit Lower Limit number -0.5
upperLimit Upper Limit number 0.5

Usage Examples

Example 1: Mechanical Backlash and Gear Stiction Simulation

In robotic drivetrains and servomechanisms, mechanical tolerance between mating gear teeth produces an angular region where motor shaft rotation produces zero torque on the driven load. Placing a DeadZone block with lowerLimit = -0.02 rad and upperLimit = 0.02 rad on the relative position error accurately captures gear play, exposing potential limit cycles and phase lag in rapid positioning loops.

Example 2: Controller Chatter Suppression on Noisy Sensor Channels

In industrial furnace temperature loops, microvolt thermocouple noise around the setpoint causes high-gain PID controllers to constantly dither fuel control valves, leading to premature mechanical actuator wear. Inserting a DeadZone block with thresholds [-0.5, 0.5] °C directly on the control error e(t)e(t) silences actuator commands during steady-state equilibrium while immediately engaging full control action upon genuine process deviations.

Remarks & Best Practices

  • Live Deadband Characteristic Preview: The property editor dynamically plots the piecewise deadband characteristic y=f(u)y = f(u), visually outlining the zero-output insensitivity band and linear transfer slopes.
  • Continuous Piecewise Characteristic: Offsetting the signal by the boundary limit prevents sudden step discontinuities, minimizing numerical integration chatter in variable-step ODE solvers.
  • Asymmetric Deadband Support: Independent parameterization of lowerLimit and upperLimit facilitates accurate simulation of asymmetric mechanical friction and directional valve seating.
  • Actuator Life Extension: Critical for deadband compensation in process engineering, preventing unnecessary control effort and cycling in pneumatic control valves and hydraulic servos.
  • Boundary Constraint: For physically meaningful operation, lowerLimit should be less than or equal to upperLimit. If the limits are set equal, the block degenerates to a pure linear passthrough y(t)=u(t)−ulimity(t) = u(t) - u_{\text{limit}}.

Related Components

  • Saturation: Restricts signal excursion beyond upper and lower boundaries while maintaining a linear pass-band.
  • Backlash: Dynamic hysteretic deadband where the boundary location tracks the direction of reversal.
  • Relay: Produces discontinuous two-state or three-state switching outputs.
  • Quantizer: Quantizes continuous signals into stair-step discrete amplitude levels.