Backlash
DiscontinuousModels mechanical backlash (play/speling). The output stays constant until the input moves more than half the deadband width away from the current output position. Used for modeling gears, linkages, and other mechanical systems with play.
Mathematical Model
where u is the input, y the output, y_prev the previous output, and D the deadband width.
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
In | number | Required |
| ← Out | out |
Out | number | Output |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
deadbandWidth |
Deadband Width | number | 1 |
|
initialOutput |
Initial Output | number | 0 |
Usage Examples
- Zie de ingebouwde voorbeelden in de handleiding voor een demonstratie van dit blok.
Remarks & Best Practices
- Direction-dependent: Backlash output trajectory depends on whether the input is increasing or decreasing
- Initial condition: The
initialOutputparameter should match the physical system's rest position - Deadband symmetry: The deadband is centred around the current output; total play equals deadbandWidth
- Cascading: Multiple backlash blocks in series model complex mechanical drivetrains
- Numerical stability: Small deadband widths relative to signal amplitude may cause chattering