Backlash
This block represents a backlash system in which the input and output are directly related when the system is engaged. If the direction of the input changes, the system enters a neutral zone where the output remains constant.
Library
Hybrid
Description
The Backlash block represents a backlash system where the input and the output are directly related when the system is engaged. In case the direction of the input changes, the system enters a neutral zone (deadzone) where the output is then constant. The term deadzone refers to a neutral zone with the width of parameter Gap and centered at the block current output. The system starts in disengaged mode when simulation starts.
Once the input with a positive slope reaches the upper end of the deadzone, the system is engaged and the output is y(i) = u(i) - Gap/2
When the input with a negative slope reaches the lower end of the deadzone, the system is engaged and the output is y(i) = u(i) + Gap/2
The system is disengaged when the input changes direction, the output remains its previous value y(i) = y(i-1)
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
ini | Initial output | Initial output value is the center of the deadzone when simulation starts. | Matrix | |
gap | Gap | Width of the deadzone, or gap. Real value. Default 1. Scalar (applies to all the output) or matrix (of compatible dimension), each element defines the gap for each signal. | Matrix | |
zcr | Apply zero-crossing | Activate the zero-crossings detection. | Scalar | 0 |
externalActivation | External activation | Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | output | 1 | |
Port 2 | explicit | The input data type should be double. | input | 1 |
Port 3 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | yes | |
zero-crossing | yes | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |