Lose (gear)
This block implements a gear of width 2*dXL.
Operation
Y = X - dXL IF X > Y(old) + dXL
Y = X + dXL IF X < Y(old) - dXL
Y = Y(old) IF Y(old) - dXL < X < Y(old) + dXL
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
X | I | FLOAT | Input signal |
dXL | I | FLOAT | Tolerance |
Y | O | FLOAT | Output signal |